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

body {
    font-family: 'Fredoka One', cursive;
    background: #000;
    color: #fff;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* Enter Page Styles */
.enter-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(45deg, #1a0000, #330000, #660000, #990000);
    background-size: 400% 400%;
    animation: fireBackground 8s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.enter-content {
    text-align: center;
    z-index: 2;
}

.enter-title {
    font-family: 'Creepster', cursive;
    font-size: clamp(4rem, 12vw, 8rem);
    background: linear-gradient(45deg, #ff0000, #ff6600, #ffaa00, #ff0000);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: lavaFlow 3s ease-in-out infinite, glow 2s ease-in-out infinite alternate;
    text-shadow: 0 0 30px rgba(255, 0, 0, 0.8);
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

.enter-subtitle {
    font-family: 'Creepster', cursive;
    font-size: 1.8rem;
    background: linear-gradient(45deg, #ff0000, #ff4400, #ff8800, #ffaa00, #ff0000);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: lavaFlow 2s ease-in-out infinite, fireFlicker 1.5s ease-in-out infinite alternate;
    text-shadow: 
        0 0 10px rgba(255, 0, 0, 0.8),
        0 0 20px rgba(255, 100, 0, 0.6),
        0 0 30px rgba(255, 200, 0, 0.4),
        0 0 40px rgba(255, 255, 0, 0.2);
    margin-bottom: 3rem;
    letter-spacing: 0.05em;
    position: relative;
}

.enter-button {
    position: relative;
    background: linear-gradient(45deg, #ff0000, #ff4400, #ff8800);
    border: none;
    padding: 20px 40px;
    border-radius: 50px;
    font-family: 'Fredoka One', cursive;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.5);
    animation: buttonGlow 2s ease-in-out infinite alternate;
    min-height: 60px;
    min-width: 200px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    z-index: 10;
}

.enter-button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 50px rgba(255, 0, 0, 0.8);
}

.enter-button:active {
    transform: scale(0.95);
}

.button-text {
    position: relative;
    z-index: 2;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}


.enter-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.enter-particles .particle {
    position: absolute;
    background: #ff4400;
    border-radius: 50%;
    animation: simpleFloat 6s ease-in-out infinite;
    box-shadow: 0 0 6px rgba(255, 68, 0, 0.8);
    opacity: 0.7;
}

.enter-particles .particle:nth-child(1) {
    left: 5%;
    width: 6px;
    height: 6px;
    animation-delay: 0s;
    animation-duration: 5s;
}

.enter-particles .particle:nth-child(2) {
    left: 15%;
    width: 4px;
    height: 4px;
    animation-delay: 1s;
    animation-duration: 4s;
}

.enter-particles .particle:nth-child(3) {
    left: 25%;
    width: 8px;
    height: 8px;
    animation-delay: 2s;
    animation-duration: 6s;
}

.enter-particles .particle:nth-child(4) {
    left: 35%;
    width: 5px;
    height: 5px;
    animation-delay: 0.5s;
    animation-duration: 4.5s;
}

.enter-particles .particle:nth-child(5) {
    left: 45%;
    width: 7px;
    height: 7px;
    animation-delay: 1.5s;
    animation-duration: 5.5s;
}

.enter-particles .particle:nth-child(6) {
    left: 55%;
    width: 3px;
    height: 3px;
    animation-delay: 2.5s;
    animation-duration: 3.5s;
}

.enter-particles .particle:nth-child(7) {
    left: 65%;
    width: 9px;
    height: 9px;
    animation-delay: 0.8s;
    animation-duration: 7s;
}

.enter-particles .particle:nth-child(8) {
    left: 75%;
    width: 4px;
    height: 4px;
    animation-delay: 3s;
    animation-duration: 4.2s;
}

.enter-particles .particle:nth-child(9) {
    left: 85%;
    width: 6px;
    height: 6px;
    animation-delay: 1.2s;
    animation-duration: 5.8s;
}

.enter-particles .particle:nth-child(10) {
    left: 95%;
    width: 5px;
    height: 5px;
    animation-delay: 2.8s;
    animation-duration: 4.8s;
}

.enter-particles .particle:nth-child(11) {
    left: 8%;
    width: 7px;
    height: 7px;
    animation-delay: 0.3s;
    animation-duration: 6.2s;
}

.enter-particles .particle:nth-child(12) {
    left: 18%;
    width: 3px;
    height: 3px;
    animation-delay: 1.8s;
    animation-duration: 3.8s;
}

.enter-particles .particle:nth-child(13) {
    left: 28%;
    width: 8px;
    height: 8px;
    animation-delay: 2.2s;
    animation-duration: 5.2s;
}

.enter-particles .particle:nth-child(14) {
    left: 38%;
    width: 4px;
    height: 4px;
    animation-delay: 0.7s;
    animation-duration: 4.3s;
}

.enter-particles .particle:nth-child(15) {
    left: 48%;
    width: 6px;
    height: 6px;
    animation-delay: 3.2s;
    animation-duration: 5.5s;
}

.enter-particles .particle:nth-child(16) {
    left: 58%;
    width: 5px;
    height: 5px;
    animation-delay: 1.7s;
    animation-duration: 4.7s;
}

.enter-particles .particle:nth-child(17) {
    left: 68%;
    width: 7px;
    height: 7px;
    animation-delay: 0.9s;
    animation-duration: 6.1s;
}

.enter-particles .particle:nth-child(18) {
    left: 78%;
    width: 3px;
    height: 3px;
    animation-delay: 2.3s;
    animation-duration: 3.9s;
}

.enter-particles .particle:nth-child(19) {
    left: 88%;
    width: 8px;
    height: 8px;
    animation-delay: 1.4s;
    animation-duration: 5.6s;
}

.enter-particles .particle:nth-child(20) {
    left: 98%;
    width: 4px;
    height: 4px;
    animation-delay: 2.9s;
    animation-duration: 4.1s;
}

/* Main Page Styles */
.main-page {
    min-height: 100vh;
}

/* Video Background */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: linear-gradient(45deg, #1a0000, #330000, #660000);
}

.video-background video {
    width: 92%;
    height: 92%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 20px;
    box-shadow: 0 0 50px rgba(255, 0, 0, 0.5);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(255, 0, 0, 0.1),
        rgba(255, 100, 0, 0.1),
        rgba(255, 200, 0, 0.1)
    );
    z-index: -1;
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

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

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    position: relative;
}

.hexzilla-title {
    font-family: 'Creepster', cursive;
    font-size: clamp(4rem, 12vw, 8rem);
    background: linear-gradient(45deg, #ff0000, #ff6600, #ffaa00, #ff0000);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: lavaFlow 3s ease-in-out infinite, glow 2s ease-in-out infinite alternate;
    text-shadow: 0 0 30px rgba(255, 0, 0, 0.8);
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
}

.parity-text {
    margin-top: 0;
    position: relative;
    padding-top: 0;
    transform: translateY(-32vh);
    text-shadow: 
        0 0 10px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(0, 0, 0, 0.4),
        2px 2px 4px rgba(0, 0, 0, 0.9);
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    opacity: 0;
    animation: fadeInText 0.5s ease-in-out 1s forwards;
}

.lava-text {
    font-family: 'Creepster', cursive;
    font-size: 4rem;
    background: linear-gradient(45deg, #ff0000, #ff4400, #ff8800, #ffaa00);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: lavaFlow 2s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(255, 100, 0, 0.9);
    display: inline-block;
    margin-right: 1rem;
}

.till-parity {
    font-family: 'Creepster', cursive;
    font-size: 4rem;
    background: linear-gradient(45deg, #ff0000, #ff4400, #ff8800, #ffaa00);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: lavaFlow 2s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(255, 100, 0, 0.9);
    display: inline-block;
}


.warning-text {
    font-family: 'Fredoka One', cursive;
    font-size: 1.5rem;
    color: #ffdd00;
    text-shadow: 
        0 0 10px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(0, 0, 0, 0.4),
        2px 2px 4px rgba(0, 0, 0, 0.9),
        0 0 15px rgba(255, 221, 0, 0.8);
    text-align: center;
    margin-top: -18rem;
    animation: progressiveShake 0.3s ease-in-out infinite, fadeInText 0.5s ease-in-out 1s forwards;
    letter-spacing: 0.05em;
    position: relative;
    transform: translateY(-35vh);
    --shake-intensity: 1;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    opacity: 0;
}


/* Social Media Section */
.social-section {
    padding: 2rem 0 2rem 0;
    background: linear-gradient(180deg, transparent, rgba(255, 0, 0, 0.05));
    margin-top: -23rem;
}

.social-cards {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    opacity: 0;
    animation: fadeInText 0.5s ease-in-out 1s forwards;
}

.social-card {
    background: linear-gradient(135deg, rgba(187, 48, 6, 0.9), rgba(94, 19, 19, 0.9));
    border: 4px solid rgba(180, 40, 0, 1);
    border-radius: 50%;
    width: 200px;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    padding: 1rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), inset 0 0 15px rgba(255, 100, 0, 0.2);
    outline: 3px solid rgba(255, 0, 0, 0.8);
    outline-offset: 2px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-height: 60px;
    min-width: 60px;
}

.social-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(255, 100, 0, 0.3);
    touch-action: manipulation;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.social-card::before,
.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.social-card:hover::before,
.social-link:hover::before {
    left: 100%;
}

.social-card:hover,
.social-link:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(255, 100, 0, 0.3);
    border-color: rgba(200, 80, 0, 1);
    background: linear-gradient(135deg, rgba(220, 60, 0, 0.95), rgba(170, 40, 0, 0.95));
    outline: 4px solid rgba(255, 0, 0, 1);
    outline-offset: 3px;
    text-decoration: none;
    color: inherit;
}

.social-card .logo {
    margin-bottom: 0.5rem;
    color: #ffaa00;
    filter: drop-shadow(0 0 8px rgba(255, 170, 0, 0.8));
    transition: all 0.3s ease;
}

.social-card .logo img {
    filter: drop-shadow(0 0 8px rgba(255, 170, 0, 0.8));
    transition: all 0.3s ease;
}

.social-card:hover .logo {
    transform: scale(1.1);
    filter: drop-shadow(0 0 12px rgba(255, 170, 0, 1));
}

.social-card:hover .logo img {
    transform: scale(1.1);
    filter: drop-shadow(0 0 12px rgba(255, 170, 0, 1));
}

.social-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #ffaa00;
    text-shadow: 0 0 10px rgba(255, 170, 0, 0.8);
}

.social-card p {
    margin: 0.3rem 0;
    color: #fff;
    font-size: 0.9rem;
    line-height: 1.2;
}

/* Content Section */
.content-section {
    padding: 4rem 0 4rem 0;
    background: linear-gradient(180deg, transparent, rgba(255, 0, 0, 0.1));
    margin-top: 2rem;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    opacity: 0;
    animation: fadeInText 0.5s ease-in-out 1s forwards;
}

.card {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(50, 0, 0, 0.8));
    border: 4px solid rgba(255, 0, 0, 1);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(255, 0, 0, 0.3);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(255, 0, 0, 0.8), inset 0 0 30px rgba(255, 0, 0, 0.5);
    border-color: rgba(255, 100, 0, 1);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(100, 0, 0, 0.9));
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffaa00;
    text-shadow: 0 0 10px rgba(255, 170, 0, 0.8);
}

.card p {
    margin: 0.5rem 0;
    color: #fff;
    font-size: 1.1rem;
}

/* Particle Effects */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, #ff0000, #ff4400);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    left: 30%;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    left: 50%;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    left: 70%;
    animation-delay: 1s;
}

.particle:nth-child(5) {
    left: 90%;
    animation-delay: 3s;
}

/* Animations */
@keyframes lavaFlow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes glow {
    0% {
        text-shadow: 0 0 30px rgba(255, 0, 0, 0.8);
    }
    100% {
        text-shadow: 0 0 50px rgba(255, 0, 0, 1), 0 0 80px rgba(255, 100, 0, 0.8);
    }
}

@keyframes flicker {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    50% {
        transform: translateY(-100px) rotate(180deg);
    }
}

@keyframes simpleFloat {
    0% {
        transform: translateY(100vh) translateX(0px);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(-20vh) translateX(10px);
        opacity: 0;
    }
}

@keyframes fireBackground {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes buttonGlow {
    0% {
        box-shadow: 0 0 30px rgba(255, 0, 0, 0.5);
    }
    100% {
        box-shadow: 0 0 50px rgba(255, 0, 0, 0.8), 0 0 80px rgba(255, 100, 0, 0.4);
    }
}

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

@keyframes fireFlicker {
    0%, 100% {
        text-shadow: 
            0 0 10px rgba(255, 0, 0, 0.8),
            0 0 20px rgba(255, 100, 0, 0.6),
            0 0 30px rgba(255, 200, 0, 0.4),
            0 0 40px rgba(255, 255, 0, 0.2);
        filter: brightness(1);
    }
    25% {
        text-shadow: 
            0 0 15px rgba(255, 50, 0, 0.9),
            0 0 25px rgba(255, 150, 0, 0.7),
            0 0 35px rgba(255, 250, 0, 0.5),
            0 0 45px rgba(255, 255, 100, 0.3);
        filter: brightness(1.1);
    }
    50% {
        text-shadow: 
            0 0 20px rgba(255, 100, 0, 1),
            0 0 30px rgba(255, 200, 0, 0.8),
            0 0 40px rgba(255, 255, 0, 0.6),
            0 0 50px rgba(255, 255, 150, 0.4);
        filter: brightness(1.2);
    }
    75% {
        text-shadow: 
            0 0 12px rgba(255, 25, 0, 0.85),
            0 0 22px rgba(255, 125, 0, 0.65),
            0 0 32px rgba(255, 225, 0, 0.45),
            0 0 42px rgba(255, 255, 50, 0.25);
        filter: brightness(1.05);
    }
}

@keyframes emberFlicker {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 8px rgba(255, 0, 0, 0.6);
    }
    25% {
        opacity: 0.8;
        transform: scale(1.1);
        box-shadow: 0 0 12px rgba(255, 100, 0, 0.8);
    }
    50% {
        opacity: 0.9;
        transform: scale(0.9);
        box-shadow: 0 0 15px rgba(255, 200, 0, 1);
    }
    75% {
        opacity: 0.7;
        transform: scale(1.05);
        box-shadow: 0 0 10px rgba(255, 50, 0, 0.7);
    }
}


@keyframes progressiveShake {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    5% {
        transform: translateX(calc(-4px * var(--shake-intensity))) translateY(calc(-1px * var(--shake-intensity)));
    }
    10% {
        transform: translateX(calc(3px * var(--shake-intensity))) translateY(calc(1px * var(--shake-intensity)));
    }
    15% {
        transform: translateX(calc(-2px * var(--shake-intensity))) translateY(calc(-2px * var(--shake-intensity)));
    }
    20% {
        transform: translateX(calc(5px * var(--shake-intensity))) translateY(calc(0px * var(--shake-intensity)));
    }
    25% {
        transform: translateX(calc(-3px * var(--shake-intensity))) translateY(calc(1px * var(--shake-intensity)));
    }
    30% {
        transform: translateX(calc(2px * var(--shake-intensity))) translateY(calc(-1px * var(--shake-intensity)));
    }
    35% {
        transform: translateX(calc(-5px * var(--shake-intensity))) translateY(calc(2px * var(--shake-intensity)));
    }
    40% {
        transform: translateX(calc(4px * var(--shake-intensity))) translateY(calc(-1px * var(--shake-intensity)));
    }
    45% {
        transform: translateX(calc(-1px * var(--shake-intensity))) translateY(calc(1px * var(--shake-intensity)));
    }
    50% {
        transform: translateX(calc(3px * var(--shake-intensity))) translateY(calc(-2px * var(--shake-intensity)));
    }
    55% {
        transform: translateX(calc(-4px * var(--shake-intensity))) translateY(calc(0px * var(--shake-intensity)));
    }
    60% {
        transform: translateX(calc(2px * var(--shake-intensity))) translateY(calc(1px * var(--shake-intensity)));
    }
    65% {
        transform: translateX(calc(-3px * var(--shake-intensity))) translateY(calc(-1px * var(--shake-intensity)));
    }
    70% {
        transform: translateX(calc(5px * var(--shake-intensity))) translateY(calc(2px * var(--shake-intensity)));
    }
    75% {
        transform: translateX(calc(-2px * var(--shake-intensity))) translateY(calc(-1px * var(--shake-intensity)));
    }
    80% {
        transform: translateX(calc(3px * var(--shake-intensity))) translateY(calc(1px * var(--shake-intensity)));
    }
    85% {
        transform: translateX(calc(-4px * var(--shake-intensity))) translateY(calc(0px * var(--shake-intensity)));
    }
    90% {
        transform: translateX(calc(2px * var(--shake-intensity))) translateY(calc(-2px * var(--shake-intensity)));
    }
    95% {
        transform: translateX(calc(-1px * var(--shake-intensity))) translateY(calc(1px * var(--shake-intensity)));
    }
}

/* Short height screens - move warning text down */
@media (max-height: 1000px) {
    .warning-text {
        margin-top: -12rem;
    }
    
    .social-section {
        margin-top: -15rem;
    }
    
    .social-card {
        width: 120px;
        height: 120px;
        padding: 0.6rem;
    }
    
    .social-card .logo svg,
    .social-card .logo img {
        width: 25px;
        height: 25px;
    }
    
    .social-card h3 {
        font-size: 0.9rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hexzilla-title {
        font-size: 3rem;
    }
    
    .lava-text {
        font-size: 2rem;
    }
    
    .till-parity {
        font-size: 1.5rem;
    }
    
    .parity-text {
        transform: translateY(-25vh);
        padding: 15px;
        margin: 0 10px;
    }
    
    .warning-text {
        font-size: 1.2rem;
        margin-top: -10rem;
        transform: translateY(-25vh);
        padding: 12px;
        margin-left: 10px;
        margin-right: 10px;
    }
    
    .social-section {
        margin-top: -20rem;
        padding: 1rem 0;
    }
    
    .social-cards {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        margin-top: 1rem;
        flex-wrap: wrap;
    }
    
    .social-card {
        width: 110px;
        height: 110px;
        padding: 0.8rem;
    }
    
    .social-card .logo {
        margin-bottom: 0.3rem;
    }
    
    .social-card .logo svg,
    .social-card .logo img {
        width: 30px;
        height: 30px;
    }
    
    .social-card h3 {
        font-size: 1rem;
    }
    
    .social-card p {
        font-size: 0.8rem;
    }
    
    .content-section {
        margin-top: 1rem;
        padding: 2rem 0;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .card h3 {
        font-size: 1.3rem;
    }
    
    .card p {
        font-size: 1rem;
    }
    
    .video-background video {
        width: 95%;
        height: 95%;
    }
    
    .enter-button {
        padding: 15px 30px;
        font-size: 1.2rem;
        min-height: 50px;
        min-width: 180px;
        -webkit-tap-highlight-color: rgba(255, 0, 0, 0.3);
        touch-action: manipulation;
        cursor: pointer;
    }
    
    .enter-button:active {
        transform: scale(0.95);
        background: linear-gradient(45deg, #ff2200, #ff5500, #ff9900);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hexzilla-title {
        font-size: 2.5rem;
    }
    
    .lava-text {
        font-size: 1.5rem;
    }
    
    .till-parity {
        font-size: 1.2rem;
    }
    
    .parity-text {
        transform: translateY(-20vh);
        padding: 12px;
        margin: 0 5px;
        margin-top: -6rem;
    }
    
    .warning-text {
        font-size: 1rem;
        margin-top: -8rem;
        transform: translateY(-20vh);
        padding: 10px;
        margin-left: 5px;
        margin-right: 5px;
        line-height: 1.3;
    }
    
    .social-section {
        margin-top: -17rem;
        padding: 0.5rem 0;
    }
    
    .social-cards {
        gap: 0.8rem;
        flex-wrap: wrap;
    }
    
    .social-card {
        width: 100px;
        height: 100px;
        padding: 0.7rem;
    }
    
    .social-card .logo svg,
    .social-card .logo img {
        width: 25px;
        height: 25px;
    }
    
    .social-card h3 {
        font-size: 0.9rem;
    }
    
    .social-card p {
        font-size: 0.7rem;
    }
    
    .content-section {
        margin-top: 0.5rem;
        padding: 1.5rem 0;
    }
    
    .card {
        padding: 1rem;
    }
    
    .card h3 {
        font-size: 1.1rem;
    }
    
    .card p {
        font-size: 0.9rem;
    }
    
    .video-background video {
        width: 98%;
        height: 98%;
    }
    
    .enter-button {
        padding: 12px 25px;
        font-size: 1rem;
        min-height: 45px;
        min-width: 160px;
        -webkit-tap-highlight-color: rgba(255, 0, 0, 0.3);
        touch-action: manipulation;
        cursor: pointer;
    }
    
    .enter-button:active {
        transform: scale(0.95);
        background: linear-gradient(45deg, #ff2200, #ff5500, #ff9900);
    }
    
    .enter-title {
        font-size: clamp(2rem, 8vw, 4rem);
    }
    
    .enter-subtitle {
        font-size: 1.4rem;
    }
}

/* Volume Control Button */
.volume-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.8), rgba(255, 68, 0, 0.8));
    border: 2px solid rgba(255, 100, 0, 1);
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    opacity: 0;
    transform: scale(0.8);
    animation: volumeButtonAppear 0.5s ease-out 2s forwards;
}

.volume-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.6);
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.9), rgba(255, 68, 0, 0.9));
}

.volume-button:active {
    transform: scale(0.95);
}

.volume-icon {
    width: 20px;
    height: 20px;
    color: #fff;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.8));
}

.volume-button.muted .volume-icon {
    opacity: 0.5;
}

@keyframes volumeButtonAppear {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Mobile volume button adjustments */
@media (max-width: 768px) {
    .volume-button {
        width: 35px;
        height: 35px;
        bottom: 15px;
        left: 15px;
        -webkit-tap-highlight-color: rgba(255, 100, 0, 0.3);
        touch-action: manipulation;
        cursor: pointer;
    }
    
    .volume-button:active {
        transform: scale(0.9);
        background: linear-gradient(135deg, rgba(255, 0, 0, 0.9), rgba(255, 68, 0, 0.9));
    }
    
    .volume-icon {
        width: 18px;
        height: 18px;
    }
}

/* Additional mobile optimizations */
@media (max-width: 360px) {
    .lava-text {
        font-size: 1.2rem;
    }
    
    .till-parity {
        font-size: 1rem;
    }
    
    .parity-text {
        transform: translateY(-20vh);
        padding: 12px;
        margin: 0 5px;
        margin-top: -6rem;
    }
    
    .warning-text {
        font-size: 1rem;
        margin-top: -8rem;
        transform: translateY(-20vh);
        padding: 10px;
        margin-left: 5px;
        margin-right: 5px;
        line-height: 1.3;
    }
    
    .social-cards {
        gap: 0.6rem;
        flex-wrap: wrap;
    }
    
    .social-card {
        width: 90px;
        height: 90px;
        padding: 0.6rem;
    }
    
    .social-card .logo svg,
    .social-card .logo img {
        width: 20px;
        height: 20px;
    }
    
    .social-card h3 {
        font-size: 0.8rem;
    }
    
    .card {
        padding: 0.8rem;
    }
    
    .card h3 {
        font-size: 1rem;
    }
    
    .card p {
        font-size: 0.8rem;
    }
}

/* Mobile-specific improvements */
@media (max-width: 768px) {
    /* Improve touch targets */
    .social-card,
    .card,
    .enter-button {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Prevent zoom on input focus */
    input, textarea, select {
        font-size: 16px;
    }
    
    /* Improve scrolling performance */
    .main-content {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Optimize animations for mobile */
    .particle {
        will-change: transform;
    }
    
    /* Reduce motion for better performance */
    @media (prefers-reduced-motion: reduce) {
        .particle,
        .enter-particles .particle {
            animation: none;
        }
        
        .lava-text,
        .till-parity,
        .enter-title,
        .enter-subtitle {
            animation: none;
        }
    }
}

/* Landscape mobile optimizations */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 80vh;
    }
    
    .parity-text {
        transform: translateY(-15vh);
    }
    
    .warning-text {
        transform: translateY(-15vh);
        margin-top: -8rem;
    }
    
    .social-section {
        margin-top: -14rem;
    }
    
    .social-cards {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem;
    }
    
    .social-card {
        width: 90px;
        height: 90px;
        padding: 0.6rem;
    }
    
    .social-card .logo svg,
    .social-card .logo img {
        width: 20px;
        height: 20px;
    }
    
    .social-card h3 {
        font-size: 0.7rem;
    }
}
