body {
    background-image: url('../images/background.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

.site-wrapper {
    background-color: rgba(0, 0, 0, 0.3);
}

.hero-banner-background {
    height: 50px;
    width: 100%;
}

.page-container {
    max-width: 1300px;
    margin: 30px auto;
    padding: 25px;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.lottery-content-area {
    display: flex;
    gap: 20px;
}

.main-lottery-column {
    flex: 3;
}

.sidebar-column {
    flex: 1;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

.lottery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.lottery-header h2 {
    margin: 0;
    font-size: 24px;
}

.btn-primary {
    background-color: #3366cc;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.lottery-post {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    transition: box-shadow 0.3s ease;
}

.community-post {
    display: flex;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    transition: box-shadow 0.3s ease;
    cursor: pointer;
}

.community-post:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.community-post .post-main-image {
    width: 150px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 15px;
}

.community-post .post-content {
    flex-grow: 1;
}

.community-post h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: #333;
}

.community-post p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.community-post .meta {
    font-size: 0.8rem;
    color: #888;
}

.community-post .meta span {
    margin-right: 15px;
}

.community-post .meta i {
    margin-right: 5px;
}

.lottery-post:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.lottery-post h3 {
    margin-top: 0;
    font-size: 20px;
}

.lottery-post .meta {
    font-size: 14px;
    color: #666;
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 30px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 10px;
    position: relative;
}

.close-button {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="datetime-local"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
}