/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Courier New", monospace;
    background: #000;
    color: #fff;
    overflow-x: hidden;
}

/* Top Right Buttons */
.top-right-buttons {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 15px;
    z-index: 100;
}

.icon-button {
    width: 50px;
    height: 50px;
    background: rgba(74, 124, 58, 0.8);
    border: 2px solid #6ba83a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 0 15px rgba(74, 124, 58, 0.5);
}

.icon-button:hover {
    background: rgba(107, 168, 58, 0.9);
    box-shadow: 0 0 25px rgba(74, 124, 58, 0.8);
    transform: scale(1.1);
}

.dollar-icon {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.twitter-icon {
    width: 24px;
    height: 24px;
    color: #fff;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

@media (max-width: 768px) {
    .top-right-buttons {
        top: 15px;
        right: 15px;
        gap: 10px;
    }

    .icon-button {
        width: 45px;
        height: 45px;
    }

    .dollar-icon {
        font-size: 20px;
    }

    .twitter-icon {
        width: 20px;
        height: 20px;
    }
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #0a0a0a;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loading-container {
    text-align: center;
    max-width: 600px;
    padding: 20px;
}

/* Glitch Effect */
.mission-text h1 {
    font-size: 3rem;
    font-weight: bold;
    letter-spacing: 0.2em;
    color: #4a7c3a;
    text-shadow: 0 0 10px rgba(74, 124, 58, 0.8);
    margin-bottom: 40px;
}

.glitch {
    position: relative;
    animation: glitch-skew 1s infinite;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 #ff0000;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow:
        -2px 0 #00ff00,
        2px 2px #ff0000;
    animation: glitch-anim2 1s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(10px, 9999px, 31px, 0);
    }
    5% {
        clip: rect(70px, 9999px, 71px, 0);
    }
    10% {
        clip: rect(60px, 9999px, 95px, 0);
    }
    15% {
        clip: rect(86px, 9999px, 74px, 0);
    }
    20% {
        clip: rect(2px, 9999px, 43px, 0);
    }
    25% {
        clip: rect(95px, 9999px, 66px, 0);
    }
    30% {
        clip: rect(37px, 9999px, 14px, 0);
    }
    35% {
        clip: rect(50px, 9999px, 77px, 0);
    }
    40% {
        clip: rect(83px, 9999px, 40px, 0);
    }
    45% {
        clip: rect(63px, 9999px, 27px, 0);
    }
    50% {
        clip: rect(22px, 9999px, 81px, 0);
    }
    55% {
        clip: rect(91px, 9999px, 52px, 0);
    }
    60% {
        clip: rect(18px, 9999px, 38px, 0);
    }
    65% {
        clip: rect(68px, 9999px, 85px, 0);
    }
    70% {
        clip: rect(45px, 9999px, 33px, 0);
    }
    75% {
        clip: rect(74px, 9999px, 21px, 0);
    }
    80% {
        clip: rect(29px, 9999px, 59px, 0);
    }
    85% {
        clip: rect(55px, 9999px, 98px, 0);
    }
    90% {
        clip: rect(12px, 9999px, 46px, 0);
    }
    95% {
        clip: rect(80px, 9999px, 15px, 0);
    }
    100% {
        clip: rect(35px, 9999px, 62px, 0);
    }
}

@keyframes glitch-anim2 {
    0% {
        clip: rect(65px, 9999px, 119px, 0);
    }
    5% {
        clip: rect(90px, 9999px, 110px, 0);
    }
    10% {
        clip: rect(28px, 9999px, 8px, 0);
    }
    15% {
        clip: rect(101px, 9999px, 52px, 0);
    }
    20% {
        clip: rect(76px, 9999px, 37px, 0);
    }
    25% {
        clip: rect(3px, 9999px, 96px, 0);
    }
    30% {
        clip: rect(114px, 9999px, 68px, 0);
    }
    35% {
        clip: rect(49px, 9999px, 82px, 0);
    }
    40% {
        clip: rect(25px, 9999px, 61px, 0);
    }
    45% {
        clip: rect(93px, 9999px, 43px, 0);
    }
    50% {
        clip: rect(17px, 9999px, 105px, 0);
    }
    55% {
        clip: rect(72px, 9999px, 29px, 0);
    }
    60% {
        clip: rect(56px, 9999px, 88px, 0);
    }
    65% {
        clip: rect(108px, 9999px, 14px, 0);
    }
    70% {
        clip: rect(39px, 9999px, 97px, 0);
    }
    75% {
        clip: rect(84px, 9999px, 51px, 0);
    }
    80% {
        clip: rect(6px, 9999px, 73px, 0);
    }
    85% {
        clip: rect(99px, 9999px, 34px, 0);
    }
    90% {
        clip: rect(44px, 9999px, 116px, 0);
    }
    95% {
        clip: rect(21px, 9999px, 67px, 0);
    }
    100% {
        clip: rect(112px, 9999px, 45px, 0);
    }
}

@keyframes glitch-skew {
    0% {
        transform: skew(0deg);
    }
    10% {
        transform: skew(-2deg);
    }
    20% {
        transform: skew(2deg);
    }
    30% {
        transform: skew(0deg);
    }
    40% {
        transform: skew(1deg);
    }
    50% {
        transform: skew(-1deg);
    }
    60% {
        transform: skew(0deg);
    }
    70% {
        transform: skew(-1deg);
    }
    80% {
        transform: skew(2deg);
    }
    90% {
        transform: skew(0deg);
    }
    100% {
        transform: skew(-1deg);
    }
}

/* Loading Bar */
.loading-bar-container {
    width: 100%;
    height: 30px;
    background: #1a1a1a;
    border: 2px solid #4a7c3a;
    border-radius: 5px;
    overflow: hidden;
    margin: 30px 0;
    position: relative;
}

.loading-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #4a7c3a 0%, #6ba83a 50%, #4a7c3a 100%);
    background-size: 200% 100%;
    animation:
        loading-progress 3s ease-out forwards,
        loading-shimmer 1.5s infinite;
    box-shadow: 0 0 20px rgba(74, 124, 58, 0.8);
}

@keyframes loading-progress {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

@keyframes loading-shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Loading Percentage */
.loading-percentage {
    font-size: 2rem;
    color: #4a7c3a;
    font-weight: bold;
    margin: 20px 0;
    text-shadow: 0 0 10px rgba(74, 124, 58, 0.8);
}

/* Mission Details */
.mission-details {
    margin-top: 40px;
    text-align: left;
}

.mission-details p {
    font-size: 1.2rem;
    color: #6ba83a;
    margin: 10px 0;
    opacity: 0;
}

/* Typewriter Effect */
.typewriter {
    overflow: hidden;
    border-right: 3px solid #6ba83a;
    white-space: nowrap;
    letter-spacing: 0.15em;
    animation:
        typing 1s steps(40, end) 0.5s forwards,
        blink-caret 0.75s step-end infinite;
}

.typewriter.delay-1 {
    animation:
        typing 1s steps(40, end) 1.5s forwards,
        blink-caret 0.75s step-end infinite;
}

.typewriter.delay-2 {
    animation:
        typing 1s steps(40, end) 2.5s forwards,
        blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from {
        width: 0;
        opacity: 1;
    }
    to {
        width: 100%;
        opacity: 1;
    }
}

@keyframes blink-caret {
    from,
    to {
        border-color: transparent;
    }
    50% {
        border-color: #6ba83a;
    }
}

/* Enter Button */
.enter-btn {
    font-family: "Courier New", monospace;
    font-size: 1.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    padding: 20px 60px;
    margin-top: 40px;
    border: 3px solid #6ba83a;
    background: transparent;
    color: #6ba83a;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(74, 124, 58, 0.8);
    box-shadow: 0 0 20px rgba(74, 124, 58, 0.3);
    animation: enterBtnPulse 2s ease-in-out infinite;
}

.enter-btn:hover {
    background: rgba(74, 124, 58, 0.3);
    box-shadow: 0 0 40px rgba(74, 124, 58, 0.8);
    transform: scale(1.05);
}

@keyframes enterBtnPulse {
    0%,
    100% {
        box-shadow: 0 0 20px rgba(74, 124, 58, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(74, 124, 58, 0.6);
    }
}

@media (max-width: 768px) and (orientation: portrait) {
    .enter-btn {
        font-size: 1.3rem;
        padding: 15px 40px;
    }
}

/* Main Content */
.main-content {
    opacity: 1;
    transition: opacity 0.5s ease-in;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    height: 100vh;
    overflow-y: scroll;
    position: relative;
}

.main-content.hidden {
    display: none !important;
    opacity: 0;
    visibility: hidden;
    height: 0;
    overflow: hidden;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.hero-section.screen-shake {
    animation: screenShake 0.6s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes screenShake {
    0%,
    100% {
        transform: translate(0, 0);
    }
    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translate(-4px, 2px) rotate(-0.5deg);
    }
    20%,
    40%,
    60%,
    80% {
        transform: translate(4px, -2px) rotate(0.5deg);
    }
}

.warfield-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("img/Background - Warfield.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    animation: warfield-zoom 2s ease-out forwards;
    filter: brightness(0.4);
}

@keyframes warfield-zoom {
    0% {
        transform: scale(1.3);
        filter: brightness(0) blur(10px);
    }
    100% {
        transform: scale(1);
        filter: brightness(0.4) blur(0px);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 20px;
}

/* Logo Explosion Container */
.logo-explosion-container {
    position: relative;
    max-width: 600px;
    width: 90%;
    margin: 0 auto 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.explosion-reveal {
    position: absolute;
    width: 100%;
    max-width: 800px;
    height: auto;
    opacity: 0;
    transform: scale(0.3);
    filter: brightness(2) drop-shadow(0 0 50px rgba(255, 150, 0, 1));
    animation: explosionReveal 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s
        forwards;
    pointer-events: none;
    z-index: 2;
}

@keyframes explosionReveal {
    0% {
        opacity: 0;
        transform: scale(0.3);
        filter: brightness(3) blur(0px)
            drop-shadow(0 0 80px rgba(255, 150, 0, 1));
    }
    15% {
        opacity: 1;
        transform: scale(0.8);
        filter: brightness(2.5) blur(0px)
            drop-shadow(0 0 60px rgba(255, 100, 0, 1));
    }
    40% {
        opacity: 1;
        transform: scale(1.2);
        filter: brightness(2) blur(2px)
            drop-shadow(0 0 40px rgba(255, 80, 0, 0.8));
    }
    65% {
        opacity: 0.8;
        transform: scale(1.5);
        filter: brightness(1.2) blur(5px)
            drop-shadow(0 0 20px rgba(255, 60, 0, 0.4));
    }
    100% {
        opacity: 0;
        transform: scale(2);
        filter: brightness(0.5) blur(10px)
            drop-shadow(0 0 0px rgba(255, 60, 0, 0));
    }
}

.main-logo {
    max-width: 600px;
    width: 90%;
    margin: 0;
    filter: drop-shadow(0 0 30px rgba(74, 124, 58, 0.8));
    opacity: 0;
    position: relative;
    z-index: 1;
}

.coin-logo {
    max-width: 300px;
    width: 80%;
    margin: 30px auto;
    display: block;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.5));
    opacity: 0;
}

.tagline {
    font-size: 2rem;
    color: #6ba83a;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    text-shadow:
        0 0 20px rgba(74, 124, 58, 0.8),
        2px 2px 4px rgba(0, 0, 0, 0.8);
    opacity: 0;
}

/* Animations */
.fade-in {
    animation: fadeIn 1.5s ease-out 0.5s forwards;
}

.explosion-fade-in {
    animation: explosionFadeIn 1s ease-out 1s forwards;
}

.fade-in-up {
    animation: fadeInUp 1.5s ease-out 1s forwards;
}

.parachute-drop {
    animation: parachuteDrop 2s ease-out 0.8s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes explosionFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(-20px);
    }
    50% {
        transform: scale(1.05) translateY(5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes parachuteDrop {
    0% {
        opacity: 0;
        transform: translateY(-100px) rotate(-5deg);
    }
    50% {
        transform: translateY(10px) rotate(5deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }
}

/* Missile Transition */
.missile-container {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    pointer-events: none;
    z-index: 9999 !important;
    overflow: visible !important;
}

.missile {
    position: absolute;
    width: 150px;
    height: auto;
    opacity: 0;
    filter: drop-shadow(0 0 20px rgba(255, 100, 0, 0.8))
        drop-shadow(0 0 40px rgba(255, 150, 0, 0.4));
    transition: opacity 0.3s ease;
}

/* Missile flying top-left to bottom-right at 35 degrees downward (scrolling down) */
.missile.fly-down {
    animation: missileFlyDown 2.5s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
    transform-origin: center;
}

@keyframes missileFlyDown {
    0% {
        top: -5%;
        left: -10%;
        opacity: 0;
        transform: rotate(35deg) scale(0.8);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        top: 105%;
        left: 110%;
        opacity: 0;
        transform: rotate(35deg) scale(1.2);
    }
}

/* Missile flying bottom-right to top-left at 35 degrees upward (scrolling up) */
.missile.fly-up {
    animation: missileFlyUp 2.5s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
    transform-origin: center;
}

@keyframes missileFlyUp {
    0% {
        top: 105%;
        left: 110%;
        opacity: 0;
        transform: scaleY(-1) rotate(145deg) scale(0.8);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        top: -5%;
        left: -10%;
        opacity: 0;
        transform: scaleY(-1) rotate(145deg) scale(1.2);
    }
}

/* Missile trail effect */
.missile::after {
    content: "";
    position: absolute;
    width: 100px;
    height: 30px;
    background: linear-gradient(
        90deg,
        rgba(255, 150, 0, 0.8) 0%,
        rgba(255, 100, 0, 0.4) 50%,
        transparent 100%
    );
    filter: blur(8px);
    left: -80px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    border-radius: 50%;
}

.missile.fly-up::after {
    left: auto;
    right: -80px;
    background: linear-gradient(
        270deg,
        rgba(255, 150, 0, 0.8) 0%,
        rgba(255, 100, 0, 0.4) 50%,
        transparent 100%
    );
}

/* Missile Impact Explosions */
.missile-explosion {
    position: fixed !important;
    width: 400px;
    height: auto;
    opacity: 0;
    pointer-events: none;
    filter: brightness(2);
    z-index: 10000 !important;
}

.missile-explosion.bottom-right {
    bottom: -5% !important;
    right: -5% !important;
    top: auto !important;
    left: auto !important;
    transform-origin: center;
}

.missile-explosion.top-left {
    top: -5% !important;
    left: -5% !important;
    bottom: auto !important;
    right: auto !important;
    transform-origin: center;
}

/* Explosion animation for bottom-right impact */
.missile-explosion.bottom-right.explode {
    animation: missileExplosion 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94)
        forwards;
}

/* Explosion animation for top-left impact */
.missile-explosion.top-left.explode {
    animation: missileExplosion 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94)
        forwards;
}

@keyframes missileExplosion {
    0% {
        opacity: 0;
        transform: scale(0.3) rotate(0deg);
        filter: brightness(5) blur(0px)
            drop-shadow(0 0 80px rgba(255, 150, 0, 1));
    }
    10% {
        opacity: 1;
        transform: scale(0.6) rotate(15deg);
        filter: brightness(4) blur(0px)
            drop-shadow(0 0 60px rgba(255, 100, 0, 1));
    }
    30% {
        opacity: 1;
        transform: scale(1) rotate(-10deg);
        filter: brightness(3) blur(2px)
            drop-shadow(0 0 50px rgba(255, 80, 0, 0.9));
    }
    50% {
        opacity: 1;
        transform: scale(1.3) rotate(5deg);
        filter: brightness(2) blur(4px)
            drop-shadow(0 0 30px rgba(255, 60, 0, 0.6));
    }
    70% {
        opacity: 0.7;
        transform: scale(1.5) rotate(-8deg);
        filter: brightness(1.2) blur(8px)
            drop-shadow(0 0 15px rgba(200, 50, 0, 0.3));
    }
    90% {
        opacity: 0.2;
        transform: scale(1.7) rotate(3deg);
        filter: brightness(0.6) blur(12px)
            drop-shadow(0 0 5px rgba(150, 40, 0, 0.1));
    }
    100% {
        opacity: 0;
        transform: scale(2) rotate(0deg);
        filter: brightness(0) blur(15px)
            drop-shadow(0 0 0px rgba(100, 30, 0, 0));
    }
}

/* Flash effect for screen */
@keyframes screenFlash {
    0% {
        background: rgba(255, 150, 0, 0);
    }
    10% {
        background: rgba(255, 150, 0, 0.3);
    }
    100% {
        background: rgba(255, 150, 0, 0);
    }
}

.missile-container.flash::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 150, 0, 0);
    animation: screenFlash 0.6s ease-out forwards;
    pointer-events: none;
}

/* Scroll Sections */
.scroll-section {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.section-content {
    text-align: center;
    padding: 40px;
    max-width: 1200px;
    z-index: 10;
}

.section-title {
    font-size: 4rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    color: #6ba83a;
    text-shadow:
        0 0 20px rgba(74, 124, 58, 0.8),
        2px 2px 4px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
}

.section-description {
    font-size: 1.5rem;
    color: #c5d9b8;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Section-specific backgrounds */
.section-jeets {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1f1f 100%);
    position: relative;
}

/* Top-left text box for all sections */
.section-text-box {
    position: absolute;
    top: 20px;
    left: 20px;
    max-width: 400px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #4a7c3a;
    border-radius: 8px;
    padding: 20px;
    z-index: 100;
    opacity: 0;
    transform: translateY(-20px);
}

.section-text-box.show {
    animation: textBoxFadeIn 0.6s ease-out forwards;
}

@keyframes textBoxFadeIn {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-text-box h2 {
    font-size: 1.8rem;
    color: #4a7c3a;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(74, 124, 58, 0.6);
}

.section-text-box p {
    font-size: 1rem;
    line-height: 1.6;
    color: #e0e0e0;
}

@media (max-width: 768px) and (orientation: portrait) {
    .section-text-box {
        top: 10px;
        left: 10px;
        max-width: calc(100% - 20px);
        padding: 15px;
    }

    .section-text-box h2 {
        font-size: 1.3rem;
    }

    .section-text-box p {
        font-size: 0.9rem;
    }
}

/* Section 1: Jeets Animation */
.section-1-text {
    opacity: 1;
    z-index: 20;
    position: relative;
}

.section-1-text.fade-out {
    animation: fadeOutText 0.5s ease-out forwards;
}

@keyframes fadeOutText {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

.jeets-animation-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 10;
}

.jeets-animation-container.active {
    animation: fadeInAnimation 0.5s ease-in forwards;
}

@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.red-candles-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80%;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    padding: 0 50px;
}

.red-candle {
    width: 40px;
    background: linear-gradient(180deg, #ff3333 0%, #cc0000 100%);
    border: 2px solid #990000;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
    position: relative;
    animation: candleGrow 0.5s ease-out forwards;
    transform-origin: bottom;
}

.red-candle::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
    background: #ff3333;
}

@keyframes candleGrow {
    0% {
        transform: scaleY(0);
        opacity: 0;
    }
    100% {
        transform: scaleY(1);
        opacity: 1;
    }
}

.jeets-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.jeet-character {
    position: absolute;
    width: 80px;
    height: auto;
    opacity: 0;
    animation: jeetSpawn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes jeetSpawn {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.5) rotate(-10deg);
    }
    50% {
        opacity: 1;
        transform: translateY(-10px) scale(1.1) rotate(5deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0deg);
    }
}

.section-resistance {
    background: linear-gradient(135deg, #1f2d1f 0%, #1a1a1a 100%);
    position: relative;
}

/* Section 2: Resistance Animation */
.section-2-text {
    opacity: 1;
    z-index: 20;
    position: relative;
}

.section-2-text.fade-out {
    animation: fadeOutText 0.5s ease-out forwards;
}

.resistance-animation-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 10;
}

.resistance-animation-container.active {
    animation: fadeInAnimation 0.5s ease-in forwards;
}

.tank-container {
    position: absolute;
    left: -200px;
    top: 50%;
    transform: translateY(-50%);
}

.tank-container img {
    width: 540px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(74, 124, 58, 0.6));
}

/* Responsive tank sizing */
@media (max-width: 768px) {
    .tank-container img {
        width: 250px !important;
    }
}

@media (max-width: 480px) {
    .tank-container img {
        width: 150px !important;
    }
}

.tank-container.enter {
    animation: tankEntrance 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes tankEntrance {
    0% {
        left: -200px;
        opacity: 0.5;
    }
    100% {
        left: 5%;
        opacity: 1;
    }
}

.landmines-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.landmine {
    position: absolute;
    width: 60px;
    height: auto;
    opacity: 0;
    animation:
        landmineAppear 0.5s ease-out forwards,
        landmineThrobbing 2s ease-in-out 0.5s infinite;
}

@keyframes landmineAppear {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes landmineThrobbing {
    0%,
    100% {
        transform: scale(1);
        filter: brightness(1) drop-shadow(0 0 10px rgba(255, 50, 50, 0.5));
    }
    50% {
        transform: scale(1.15);
        filter: brightness(1.3) drop-shadow(0 0 20px rgba(255, 50, 50, 0.8));
    }
}

.resistance-characters-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.resistance-character {
    position: absolute;
    width: 140px;
    height: auto;
    opacity: 0;
    filter: drop-shadow(0 0 10px rgba(107, 168, 58, 0.5));
}

.resistance-character.spawn {
    animation: resistanceSpawn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94)
        forwards;
}

@keyframes resistanceSpawn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(-30px);
    }
    50% {
        transform: scale(1.1) translateY(5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.jeets-sea-container {
    position: absolute;
    right: 0;
    top: 0;
    width: 20%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
}

.jeets-sea-container.active {
    animation: fadeInAnimation 0.8s ease-in forwards;
}

.jeet-sea-character {
    position: absolute;
    width: 60px;
    height: auto;
    opacity: 0;
    animation: jeetSeaSpawn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes jeetSeaSpawn {
    0% {
        opacity: 0;
        transform: translateX(30px) scale(0.7);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* Section 3: Missile Barrage */
/* Removed .section3-tank - now using .tank-container for all sections */

.section3-animation-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 10;
}

.section3-animation-container.active {
    animation: fadeInAnimation 0.5s ease-in forwards;
}

.barrage-missile {
    position: absolute;
    pointer-events: none;
    z-index: 100;
    filter: drop-shadow(0 0 10px rgba(255, 100, 0, 0.8));
    animation: missileFly 0.8s linear forwards;
}

@keyframes missileFly {
    0% {
        transform: translate(0, 0) rotate(var(--rotation));
        opacity: 1;
    }
    100% {
        transform: translate(var(--target-x), var(--target-y))
            rotate(var(--rotation));
        opacity: 1;
    }
}

@keyframes jeetDeath {
    0% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.3) rotate(10deg);
        filter: brightness(2) hue-rotate(30deg);
    }
    100% {
        opacity: 0;
        transform: scale(0.3) rotate(45deg);
        filter: brightness(0);
    }
}

.section-defeat {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d1f 100%);
}

.section-oneway {
    background: linear-gradient(135deg, #1f1f2d 0%, #1a1a1a 100%);
}

/* Section 4: Arthur Diamond Hands */
.arthur-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.arthur-container img {
    max-width: 600px;
    max-height: 80vh;
    width: auto;
    height: auto;
    border-radius: 12px;
    filter: drop-shadow(0 0 30px rgba(74, 124, 58, 0.8));
    animation: arthurGlow 2s ease-in-out infinite;
}

.arthur-container.active {
    animation: fadeInAnimation 1s ease-in forwards;
}

@keyframes arthurGlow {
    0%,
    100% {
        filter: drop-shadow(0 0 30px rgba(74, 124, 58, 0.8));
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 0 50px rgba(74, 124, 58, 1))
            drop-shadow(0 0 80px rgba(74, 124, 58, 0.6));
        transform: scale(1.02);
    }
}

@media (max-width: 768px) and (orientation: portrait) {
    .arthur-container img {
        max-width: 90vw;
        max-height: 60vh;
    }
}

.section-buy {
    background: linear-gradient(135deg, #1a3a1a 0%, #0a2a0a 100%);
}

/* Audio Toggle Button */
.audio-toggle {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: rgba(74, 124, 58, 0.8);
    border: 2px solid #6ba83a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(74, 124, 58, 0.5);
    z-index: 100;
}

.audio-toggle:hover {
    background: rgba(107, 168, 58, 0.9);
    box-shadow: 0 0 25px rgba(74, 124, 58, 0.8);
    transform: scale(1.1);
}

.audio-toggle .speaker-icon {
    width: 24px;
    height: 24px;
    color: #fff;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

@media (max-width: 768px) {
    .audio-toggle {
        top: 15px;
        left: 15px;
        width: 45px;
        height: 45px;
    }

    .audio-toggle .speaker-icon {
        width: 20px;
        height: 20px;
    }
}

/* Jeet Barrage Button */
.jeet-barrage-btn {
    font-family: "Courier New", monospace;
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 20px 50px;
    margin-top: 40px;
    border: 3px solid #6ba83a;
    background: #4a7c3a;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    box-shadow: 0 0 20px rgba(74, 124, 58, 0.5);
}

.jeet-barrage-btn:hover {
    background: #6ba83a;
    box-shadow: 0 0 30px rgba(74, 124, 58, 1);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .jeet-barrage-btn {
        font-size: 1.2rem;
        padding: 15px 35px;
    }
}

/* Jeet Barrage Modal */
.jeet-barrage-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
}

.jeet-barrage-modal.active {
    display: block;
}

#barrage-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    font-weight: bold;
    color: #6ba83a;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: #fff;
    transform: scale(1.2);
}

/* CTA Buttons */
.cta-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.cta-button {
    font-family: "Courier New", monospace;
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 20px 50px;
    border: 3px solid #6ba83a;
    background: #4a7c3a;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    box-shadow: 0 0 20px rgba(74, 124, 58, 0.5);
}

.cta-button:hover {
    background: #6ba83a;
    box-shadow: 0 0 30px rgba(74, 124, 58, 1);
    transform: scale(1.05);
}

.cta-button.secondary {
    background: transparent;
    color: #6ba83a;
}

.cta-button.secondary:hover {
    background: rgba(74, 124, 58, 0.2);
    color: #fff;
}

/* Responsive */
/* Mobile Portrait Mode Adjustments */
@media (max-width: 768px) and (orientation: portrait) {
    .mission-text h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .cta-button {
        font-size: 1rem;
        padding: 15px 30px;
    }

    .cta-container {
        flex-direction: column;
        gap: 15px;
    }

    .loading-percentage {
        font-size: 1.5rem;
    }

    .mission-details p {
        font-size: 1rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    /* Section 1: Scale down jeet characters */
    .jeet-character {
        width: 50px !important;
    }

    .red-candle {
        width: 25px !important;
    }

    /* Section 2: Adjust positioning for portrait */
    .jeets-sea-container {
        width: 30% !important;
    }

    .jeet-sea-character {
        width: 40px !important;
    }

    .landmine {
        width: 40px !important;
    }

    .tank-container img {
        width: 300px !important;
    }

    .resistance-character {
        width: 80px !important;
    }

    /* Adjust resistance character positions for portrait (concentrated left side) */
    .resistance-character:nth-child(1) {
        left: 45% !important;
        top: 15% !important;
    }
    .resistance-character:nth-child(2) {
        left: 10% !important;
        top: 15% !important;
    }
    .resistance-character:nth-child(3) {
        left: 42% !important;
        top: 25% !important;
    }
    .resistance-character:nth-child(4) {
        left: 27% !important;
        top: 10% !important;
    }
    .resistance-character:nth-child(5) {
        left: 45% !important;
        top: 58% !important;
    }
    .resistance-character:nth-child(6) {
        left: 20% !important;
        top: 62% !important;
    }
    .resistance-character:nth-child(7) {
        left: 8% !important;
        top: 75% !important;
    }
    .resistance-character:nth-child(8) {
        left: 38% !important;
        top: 88% !important;
    }

    /* Section 3: Scale barrage missiles */
    .barrage-missile {
        width: 60px !important;
    }
}
