.togyz-hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    background-image: url('../../../img/dq2026/hero-togyz.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center; /* Vertically centers the content */
    padding-top: 80px; /* Account for fixed header */
    box-sizing: border-box;
}

/* Gradient Overlay to make text readable */
.togyz-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Darker on the left, transparent on the right */
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    z-index: 1;
}

.togyz-hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align text to left */
}

.togyz-hero-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 120px; /* Large hero text */
    line-height: 1;
    max-width: 500px;
    color: #FFFFFF;
    margin: 0 0 20px 0;
}

/* Goal Section Container */
.togyz-goal-section {
    display: flex;
    justify-content: center;
    padding: 60px 20px; /* Spacing around the card */
    width: 100%;
    box-sizing: border-box;
    background-image: 
        /* Reversed gradient: dark at bottom, transparent at top */
        linear-gradient(to top, #1E1F25 0%, rgba(30, 31, 37, 0) 60%),
        url('../../../img/dq2026/background3.png');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
}

/* Reusable Title & Text Styles (Can replace the ones from Goal section) */
.togyz-section-title2 {
    font-size: 56px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    margin-top: 0;
    margin-top: 160px;
    margin-bottom: 30px;
    background: linear-gradient(90deg, #00BC74 16%, #55FFBE 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.togyz-section-title {
    font-size: 56px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    margin-top: 0;
    margin-bottom: 30px;
    background: linear-gradient(90deg, #00BC74 16%, #55FFBE 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.togyz-body-text {
    font-size: 18px;
    color: #E6E6E6;
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 24px;
    text-align: center;
}

.togyz-body-text:last-child {
    margin-bottom: 0;
}

/* Cleaned up Board Section */
.togyz-board-section {
    /* Combined padding: top 60px, sides 20px, bottom 100px */
    padding: 60px 20px 100px 20px; 
    display: flex;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    background-color: #1E1F25;

    background-image: 
        /* Top dark overlay */
        linear-gradient(
            to bottom,
            rgba(30, 31, 37, 0.9) 0%,
            rgba(30, 31, 37, 0.6) 30%,
            rgba(30, 31, 37, 0) 60%
        ),
        /* Bottom solid fade */
        linear-gradient(
            to top,
            #1E1F25 0%,
            rgba(30, 31, 37, 0) 40%
        ),
        url('../../../img/dq2026/background2.png');

    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
}

/* =========================================
   Mobile Overrides (Max-width: 768px)
   ========================================= */
@media (max-width: 768px) {
    
    /* --- HERO SECTION MOBILE FIXES --- */
    .togyz-hero-section {
        min-height: 60vh; /* Reduces the massive 700px empty space */
        height: auto;
        padding-top: 120px; /* Accounts for header */
        padding-bottom: 60px;
        background-position: center; /* Keeps image centered */
    }

    .togyz-hero-container {
        padding: 0 20px;
        align-items: center; /* Centers the title on mobile */
        text-align: center;
    }

    .togyz-hero-title {
        font-size: 48px; /* Slightly scaled down from 120px to fit mobile naturally */
        line-height: 1.1;
        margin-bottom: 20px;
        word-break: break-word; /* Prevents long words from breaking the screen width */
    }

    /* --- BOARD SECTION MOBILE FIXES --- */
    .togyz-board-section {
        padding: 40px 20px 60px 20px; /* Ensures the 20px side padding stays intact */
    }

    .togyz-board-text-wrapper {
        margin-bottom: 30px; /* Tighter spacing */
    }

    .togyz-board-gallery {
        gap: 20px;
        flex-direction: column;
    }

    .togyz-board-img {
        width: 100%; 
        max-width: 100%; /* Forces images to fit the screen */
        border-radius: 16px; /* Slightly softer corners on small screens */
    }

    /* --- GLOBAL TITLE & TEXT MOBILE FIXES --- */
    .togyz-section-title, 
    .togyz-section-title2 {
        font-size: 32px; /* Prevent titles from overlapping */
        margin-top: 40px; /* Reduces huge top margins from desktop */
        margin-bottom: 20px;
    }
    
    .togyz-body-text {
        font-size: 16px;
        text-align: left; /* Left alignment is usually easier to read on narrow phone screens */
    }
}

.togyz-board-container {
    max-width: 1100px; /* Wider container for the 3 images */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.togyz-board-text-wrapper {
    max-width: 900px;
    margin-bottom: 50px;
}

/* Gallery Grid */
.togyz-board-gallery {
    display: flex;
    gap: 20px;
    width: 100%;
    justify-content: space-between;
}

.togyz-board-img {
    width: calc(33.333% - 14px); /* Distribute width equally accounting for gaps */
    aspect-ratio: 4 / 3; /* Keeps images consistent if dimensions vary slightly */
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .togyz-board-gallery {
        flex-direction: column;
        align-items: center;
    }
    .togyz-board-img {
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .togyz-section-title {
        font-size: 36px;
    }
    .togyz-body-text {
        font-size: 16px;
    }
}

/* Card Style */
.togyz-goal-card {
    background-color: #404144;
    border-radius: 12px;
    padding: 60px 80px; /* Generous inner padding */
    max-width: 900px;
    width: 100%;
    text-align: center;
    /* Optional: adds a very faint border to mimic the crisp edge in the design */
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Gradient Title */
.togyz-goal-title {
    font-size: 56px;
    font-weight: 600; /* Semibold */
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 30px;
    
    /* Linear Gradient */
    background: linear-gradient(90deg, #00BC74 16%, #55FFBE 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Body Text */
.togyz-goal-text {
    font-size: 18px;
    color: #E6E6E6; /* Light gray to contrast against #404144 */
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 24px;
}

/* Remove bottom margin from the last paragraph */
.togyz-goal-text:last-child {
    margin-bottom: 0;
}

/* =========================================
   Rules Accordion Styles
   ========================================= */

.togyz-accordion-section {
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    background-color: #1E1F25;

    background-image: 
        /* Top dark overlay */
        linear-gradient(
            to bottom,
            rgba(30, 31, 37, 0.9) 0%,
            rgba(30, 31, 37, 0.6) 30%,
            rgba(30, 31, 37, 0) 60%
        ),
        /* Bottom solid fade */
        linear-gradient(
            to top,
            #1E1F25 0%,
            rgba(30, 31, 37, 0) 40%
        ),
        url('../../../img/dq2026/background2.png');

    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
}

.togyz-accordion-container {
    width: 100%;
    max-width: 900px; /* Match width constraint of previous sections */
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Base Item Style */
.togyz-accordion-item {
    background-color: #303135; /* Dark background matching the screenshot */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 8px solid #00E37C; /* Bright green indicator */
    border-radius: 12px;
    width: 100%;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Header (Always Visible) */
.togyz-accordion-header {
    padding: 30px 40px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
}

.togyz-accordion-header:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.togyz-accordion-title {
    color: #ffffff;
    font-size: 32px;
    font-weight: 600;
    margin: 0;
}

/* Body (Hidden by default, shown when .active) */
.togyz-accordion-body {
    padding: 0 40px 30px 40px;
    display: none; 
}

.togyz-accordion-item.active .togyz-accordion-body {
    display: block;
    animation: fadeIn 0.4s ease forwards;
}

/* Text Content Formatting inside Accordion */
.togyz-accordion-content p {
    color: #E6E6E6;
    font-size: 18px;
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 20px;
}

.togyz-accordion-content p:last-child {
    margin-bottom: 0;
}

.togyz-accordion-content ul {
    color: #E6E6E6;
    font-size: 18px;
    line-height: 1.6;
    padding-left: 20px;
    margin-bottom: 20px;
}

.togyz-accordion-content li {
    margin-bottom: 8px;
}

.togyz-accordion-content strong {
    color: #ffffff;
    font-size: 20px;
}

/* Hide Button Style */
.togyz-hide-btn-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
}

.togyz-hide-btn {
    background: transparent;
    border: 1px solid #757575; 
    color: #FFFFFF;
    padding: 8px 20px;
    border-radius: 30px; /* Pill shape */
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
}

.togyz-hide-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .togyz-accordion-header, 
    .togyz-accordion-body {
        padding-left: 20px;
        padding-right: 20px;
    }

    .togyz-accordion-title {
        font-size: 24px;
    }
    
    .togyz-accordion-content p,
    .togyz-accordion-content ul {
        font-size: 16px;
    }
}

/* Responsive adjustments for mobile devices */
@media (max-width: 768px) {
    .togyz-goal-card {
        padding: 40px 24px;
    }
    .togyz-goal-title {
        font-size: 36px;
    }
    .togyz-goal-text {
        font-size: 16px;
    }
}

.champ-hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #E0E0E0;
    line-height: 1.4;
    margin: 0 0 40px 0;
    max-width: 500px;     /* Keeps the text from spanning the entire screen width */
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .champ-hero-title {
        font-size: 36px;  /* Scale down for mobile */
        margin-bottom: 16px;
    }
    
    .champ-hero-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
}

.awards-hero-title .text-green {
    color: #00BC74; /* Brand Green */
}

.awards-hero-btn {
    display: inline-block;
    background-color: #00BC74;
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 20px;
    padding: 18px 48px;
    border-radius: 99px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s;
    box-shadow: 0 4px 20px rgba(0, 188, 116, 0.4);
}

.awards-hero-btn:hover {
    background-color: #00a868;
    transform: translateY(-2px);
}

/* --- Responsive --- */

@media (max-width: 1024px) {
    .awards-hero-title {
        font-size: 64px;
    }
}

@media (max-width: 768px) {
    .togyz-hero-section {
        background-position: 70% center; /* Shift bg to see statue on mobile */
    }

    .togyz-hero-container {
        padding: 0 20px;
    }

    .togyz-hero-title {
        font-size: 40px;
        margin-bottom: 30px;
    }

    .togyz-hero-btn {
        width: 100%; /* Full width button on mobile */
        text-align: center;
        padding: 16px 24px;
        font-size: 18px;
    }
}

.togyz-hero-section + .industry-section {
    padding-top: 100px;
    padding-bottom: 100px;
    background: #0C0C0D;
}

@media (max-width: 768px) {
    .togyz-hero-section + .industry-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}

/* =========================================
   End Game Section Styles
   ========================================= */

.togyz-endgame-section {
    padding: 60px 20px 100px; /* Extra padding at the bottom to close out the page nicely */
    display: flex;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    background-color: #1E1F25;

    background-image: 
        /* Top dark overlay */
        linear-gradient(
            to bottom,
            rgba(30, 31, 37, 0.9) 0%,
            rgba(30, 31, 37, 0.6) 30%,
            rgba(30, 31, 37, 0) 60%
        ),
        /* Bottom solid fade */
        linear-gradient(
            to top,
            #1E1F25 0%,
            rgba(30, 31, 37, 0) 40%
        ),
        url('../../../img/dq2026/background2.png');

    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
}

.togyz-endgame-container {
    max-width: 1100px; /* Matches the board gallery width */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.togyz-endgame-text-wrapper {
    max-width: 900px;
    margin-bottom: 50px;
}

.togyz-endgame-img-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.togyz-endgame-img {
    width: 100%;
    height: auto;
    border-radius: 24px; /* Same border radius as the Board images */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

/* =========================================
   Stages/Gameplay Section Styles (Restored Alignment)
   ========================================= */

.stages-section {
    position: relative;
    padding: 100px 20px 150px;
    background-color: transparent; 
    overflow: hidden;
}

.stages-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* --- SUBTITLE --- */
.stages-subtitle {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px auto; /* Centered, with space before the list */
    color: #E6E6E6;
    font-size: 20px;
    line-height: 1.6;
}

/* --- LIST CONTAINER --- */
.stages-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 80px; 
}

/* --- ITEM STRUCTURE --- */
.stage-item {
    display: flex;
    flex-direction: row; 
    align-items: center;
    position: relative;
    width: fit-content; 
    max-width: 600px; /* Restored to original */
}

/* --- ZIG-ZAG ALIGNMENT --- */
.stage-item:nth-child(odd) {
    align-self: flex-start;
    margin-right: auto;
    margin-left: 5%; 
}

.stage-item:nth-child(even) {
    align-self: flex-end;
    margin-left: auto;
    margin-right: 5%; 
}

/* --- NUMBER STYLING --- */
.stage-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 200px;
    font-weight: 900;
    line-height: 0.8;
    color: #2B2C32;
    user-select: none;
    flex-shrink: 0;
    z-index: 0;
}

/* --- TEXT CONTENT STYLING --- */
.stage-content {
    position: relative;
    z-index: 1;
    margin-left: -80px; 
    padding-top: 20px; /* Restored to 20px for proper vertical alignment */
}

/* --- TEXT CONSTRAINTS --- */
.togyz-stage-desc {
    font-size: 15px; /* Decreased back to original */
    line-height: 1.5;
    color: #ffffff;
    max-width: 300px; /* Restored constraint to keep the zig-zag clean */
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
    .stages-list {
        gap: 60px;
    }
    
    .stages-subtitle {
        margin-bottom: 60px;
        font-size: 18px;
    }

    .stage-item:nth-child(odd),
    .stage-item:nth-child(even) {
        align-self: center; 
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        justify-content: center; 
    }
    
    .stage-number {
        font-size: 150px;
    }
    
    .stage-content {
        margin-left: -60px;
    }
}

@media (max-width: 576px) {
    .stage-item {
        justify-content: flex-start; 
        padding-left: 10px;
    }
    
    .stage-number {
        font-size: 120px;
    }
    
    .stage-content {
        margin-left: -40px;
    }
    
    .stage-desc {
        font-size: 14px; /* Even smaller on mobile to prevent overflow */
    }
}
/* --- THE GLOW DIVIDER --- */
.horizon-glow-wrapper-awards {
    margin-top: 240px;
    position: relative;
    width: 100%;
    height: 0; 
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1; /* Lower z-index so title can sit on top */
    pointer-events: none; 
}

.horizon-glow-img-awards {
    position: absolute;
    top: 0; 
    left: 50%;
    transform: translate(-50%, -50%); /* Centers the image on the divider line */
    width: 100%; 
    max-width: 1920px;
    height: auto;
    mix-blend-mode: screen; 
    opacity: 0.9; /* Adjust intensity as needed */
}

/* --- STAGES SECTION ADJUSTMENTS --- */
.stages-section {
    position: relative;
    /* PULL UP: This moves the section title into the glow area */
    margin-top: -80px; 
    
    padding: 0 20px 150px; /* Reduced top padding since we are using margin-top */
    background-color: transparent; 
    overflow: visible; /* Changed from hidden to ensure glow isn't clipped */
}

.stages-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    /* LAYER UP: High z-index to stay above the glow background */
    z-index: 10; 
}

.stages-title {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    
    /* Position title relative to the glow */
    margin-bottom: 80px; 
    
    /* Optional: Add a subtle text shadow to make it pop even more on the glow */
    text-shadow: 0 0 20px rgba(0,0,0,0.8);
}

/* --- MOBILE FIX --- */
@media (max-width: 768px) {
    .stages-section {
        margin-top: -40px; /* Pull up less on mobile */
    }
    
    .stages-title {
        font-size: 32px;
    }
    
    .horizon-glow-img-awards {
        width: 180%; /* Make glow wider on small screens */
    }
}

/* --- STAGES SECTION ADJUSTMENTS --- */
.stages-section {
    position: relative;
    /* PULL UP: This moves the section title into the glow area */
    margin-top: -80px; 
    
    padding: 0 20px 150px; /* Reduced top padding since we are using margin-top */
    background-color: transparent; 
    overflow: visible; /* Changed from hidden to ensure glow isn't clipped */
}

.stages-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    /* LAYER UP: High z-index to stay above the glow background */
    z-index: 10; 
}

.stages-title {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    
    /* Position title relative to the glow */
    margin-bottom: 80px; 
    
    /* Optional: Add a subtle text shadow to make it pop even more on the glow */
    text-shadow: 0 0 20px rgba(0,0,0,0.8);
}

/* --- MOBILE FIX --- */
@media (max-width: 768px) {
    .stages-section {
        margin-top: -40px; /* Pull up less on mobile */
    }
    
    .stages-title {
        font-size: 32px;
    }
    
    .horizon-glow-img-awards {
        width: 180%; /* Make glow wider on small screens */
    }
}

/* =========================================
   Awards Footer Section
   ========================================= */

.awards-footer-section {
    background-color: #191A1E; /* Match your site's dark background */
    padding: 80px 20px;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

.awards-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

/* --- Left Side --- */
.awards-footer-main-text {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    color: #FFFFFF;
    margin: 0 0 40px 0;
}

.awards-footer-highlight {
    color: #00BC74; /* Green from the design */
    display: block;
    margin-top: 5px;
}

.awards-footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.awards-footer-link {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.awards-footer-link:hover {
    opacity: 1;
    color: #00BC74;
}

/* --- Right Side --- */
.awards-footer-cta-btn {
    display: inline-block;
    background-color: #00BC74;
    color: #FFFFFF;
    padding: 18px 45px;
    border-radius: 50px; /* Pill shape */
    font-size: 20px;
    font-weight: 600;
    text-decoration: underline; /* Underline as seen in image */
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.awards-footer-cta-btn:hover {
    background-color: #00d482;
    transform: translateY(-3px);
}

/* --- Responsive Adjustments --- */

@media (max-width: 992px) {
    .awards-footer-main-text {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .awards-footer-container {
        flex-direction: column;
        gap: 50px;
    }
    
    .awards-footer-main-text {
        text-align: left;
    }

    .awards-footer-right {
        width: 100%;
        text-align: left;
    }
    
    .awards-footer-cta-btn {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
}
