/* Raffle Page Styles */

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #d32f2f 0%, #c62828 100%);
    background-image: url('/imgs/home/tk-home-bg.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.hero-section h1 {
    color: #fff;
    font-size: 3.5rem;
    font-weight: bold;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Main Content */
.raffle-page {
    padding: 50px 0;
}

.raffle-page .container {
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 0 20px;
}

/* Intro Section */
.intro-section {
    margin-bottom: 40px;
    text-align: center;
}

.intro-section p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 0;
}

/* Video Section */
.video-wrapper {
    margin: 40px auto;
    max-width: 900px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* Description Section */
.description-section {
    margin: 40px 0;
    text-align: center;
}

.description-section p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #555;
}

/* Section Divider */
.section-divider {
    border: none;
    height: 2px;
    background: linear-gradient(to right, transparent, #d32f2f, transparent);
    margin: 50px auto;
    max-width: 600px;
}

/* Why Section */
.why-section {
    margin: 50px 0 40px;
    text-align: center;
}

.why-section h2 {
    font-size: 2.5rem;
    color: #d32f2f;
    margin-bottom: 20px;
    font-weight: bold;
}

.why-section p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #555;
    max-width: 900px;
    margin: 0 auto;
}

/* Benefits Section */
.benefits-section {
    margin: 50px 0;
}

.benefits-section>h2 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 50px;
    text-align: center;
    font-weight: bold;
}

.benefit-row {
    display: flex;
    align-items: stretch;
    gap: 40px;
    margin-bottom: 60px;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.benefit-row-reverse {
    /* flex-direction: row-reverse; */
}

.benefit-image {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
}

.benefit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.benefit-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
}

.benefit-item-inline {
    margin-bottom: 30px;
}

.benefit-item-inline:last-child {
    margin-bottom: 0;
}

.benefit-item-inline h3 {
    font-size: 1.8rem;
    color: #d32f2f;
    margin-bottom: 12px;
    font-weight: bold;
}

.benefit-item-inline p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 12px;
}

.benefit-item-inline ul {
    list-style: none;
    padding-left: 0;
    margin: 12px 0;
}

.benefit-item-inline ul li {
    font-size: 1.1rem;
    color: #555;
    padding: 6px 0 6px 30px;
    position: relative;
}

.benefit-item-inline ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #d32f2f;
    font-weight: bold;
    font-size: 1.3rem;
}

/* How to Enter Section */
.how-to-enter-section {
    margin: 50px auto;
    max-width: 870px;
    width: 100%;
    padding: 40px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.how-to-enter-section h2 {
    font-size: 2.5rem;
    color: #d32f2f;
    margin-bottom: 30px;
    font-weight: bold;
}

.how-to-enter-section ol {
    list-style: none;
    counter-reset: step-counter;
    padding: 0;
    max-width: 600px;
    margin: 0 auto 30px;
    text-align: left;
}

.how-to-enter-section ol li {
    counter-increment: step-counter;
    font-size: 1.2rem;
    color: #333;
    padding: 15px 0 15px 60px;
    position: relative;
    margin-bottom: 15px;
}

.how-to-enter-section ol li:before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: #d32f2f;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.3rem;
}

.closing-text {
    font-size: 1.2rem;
    color: #333;
    font-weight: 500;
    margin-top: 30px;
}

.closing-text a {
    color: #d32f2f;
    text-decoration: none;
    font-weight: bold;
}

.closing-text a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        height: 300px;
    }

    .hero-section h1 {
        font-size: 2.2rem;
    }

    .raffle-page {
        padding: 30px 0;
    }

    .intro-section p {
        font-size: 1rem;
    }

    .description-section p {
        font-size: 1rem;
    }

    .section-divider {
        margin: 35px auto;
        max-width: 400px;
    }

    .why-section h2 {
        font-size: 2rem;
    }

    .why-section p {
        font-size: 1rem;
    }

    .benefits-section>h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .benefit-row {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 40px;
        padding: 20px;
    }

    .benefit-row-reverse {
        flex-direction: column;
    }

    .benefit-image img {
        object-fit: contain;
        height: auto;
    }

    .benefit-content {
        padding: 10px;
    }

    .benefit-item-inline h3 {
        font-size: 1.5rem;
    }

    .benefit-item-inline p,
    .benefit-item-inline ul li {
        font-size: 1rem;
    }

    .how-to-enter-section {
        padding: 25px 20px;
    }

    .how-to-enter-section h2 {
        font-size: 2rem;
    }

    .how-to-enter-section ol li {
        font-size: 1rem;
        padding-left: 55px;
    }

    .closing-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 250px;
    }

    .hero-section h1 {
        font-size: 1.8rem;
    }

    .benefit-item-inline h3 {
        font-size: 1.3rem;
    }
}