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

:root {
    --ice-blue: #e6f3ff;
    --frost-blue: #b8e0ff;
    --winter-blue: #87ceeb;
    --deep-blue: #4682b4;
    --crystal-blue: #add8e6;
    --snow-white: #ffffff;
    --ice-gray: #f0f8ff;
    --frozen-silver: #e0e8f0;
    --arctic-blue: #5dade2;
    --text-dark: #2c3e50;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 25%, #ddeeff 50%, #d4e9ff 75%, #cce4ff 100%);
    color: var(--text-dark);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 50%, #ddeeff 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 1s ease-out;
}

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

.loading-container {
    text-align: center;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    border: 2px solid rgba(135, 206, 235, 0.3);
    box-shadow: 
        0 15px 35px rgba(70, 130, 180, 0.2),
        inset 0 2px 10px rgba(255, 255, 255, 0.6);
}

.loading-icon {
    font-size: 4rem;
    color: var(--deep-blue);
    animation: iconFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(70, 130, 180, 0.5));
    margin-bottom: 1rem;
}

.loading-text {
    font-family: 'Fredoka', cursive;
    font-size: 2rem;
    font-weight: 600;
    background: linear-gradient(45deg, var(--deep-blue), var(--winter-blue), var(--arctic-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 1rem 0;
}

.loading-bar {
    width: 300px;
    height: 6px;
    background: rgba(135, 206, 235, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin: 2rem auto;
    border: 1px solid rgba(135, 206, 235, 0.3);
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--deep-blue), var(--winter-blue), var(--arctic-blue));
    width: 0%;
    animation: loadingProgress 3s ease-in-out forwards;
    box-shadow: 0 0 15px rgba(70, 130, 180, 0.5);
    border-radius: 10px;
}



/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8f4f8 0%, #d1e9f0 25%, #b8dde8 50%, #a0d1e0 75%, #87ceeb 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}

.loading-container {
    text-align: center;
    position: relative;
}

.loading-logo {
    margin-bottom: 2rem;
    position: relative;
}

.shield-container {
    position: relative;
    display: inline-block;
}

.shield-container i {
    font-size: 5rem;
    color: #2c5aa0;
    position: relative;
    z-index: 2;
    animation: shieldPulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(135, 206, 235, 0.6));
}

.shield-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(135, 206, 235, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 2s ease-in-out infinite;
}

.loading-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e3a8a;
    margin-bottom: 0.5rem;
    letter-spacing: 4px;
    text-shadow: 0 2px 15px rgba(70, 130, 180, 0.4);
    animation: titleGlow 3s ease-in-out infinite;
}

.loading-subtitle {
    font-family: 'Nunito', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #4682b4;
    margin-bottom: 3rem;
    letter-spacing: 2px;
    opacity: 0.8;
}

.loading-progress-container {
    margin-bottom: 3rem;
}

.loading-progress-bar {
    width: 300px;
    height: 6px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    margin: 0 auto 1rem;
    overflow: hidden;
    box-shadow: inset 0 2px 8px rgba(70, 130, 180, 0.2);
}

.loading-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4682b4, #87ceeb, #b0e0e6, #87ceeb, #4682b4);
    background-size: 300% 100%;
    border-radius: 20px;
    animation: progressFill 2.5s ease-out forwards, progressShimmer 1.5s linear infinite;
    box-shadow: 0 0 15px rgba(135, 206, 235, 0.6);
}

.loading-text {
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    color: #2c5aa0;
    font-weight: 500;
    letter-spacing: 1px;
    animation: textFade 2s ease-in-out infinite;
}

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

.crystal {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #87ceeb;
    border-radius: 50%;
    opacity: 0.7;
    animation: crystalFloat 4s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(135, 206, 235, 0.8);
}

.crystal-1 { top: 20%; left: 15%; animation-delay: 0s; }
.crystal-2 { top: 30%; right: 20%; animation-delay: 0.8s; }
.crystal-3 { bottom: 25%; left: 25%; animation-delay: 1.6s; }
.crystal-4 { bottom: 35%; right: 15%; animation-delay: 2.4s; }
.crystal-5 { top: 60%; left: 50%; animation-delay: 3.2s; }
.crystal-6 { top: 45%; right: 45%; animation-delay: 4s; }

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

@keyframes glowPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.6; }
}

@keyframes titleGlow {
    0%, 100% { text-shadow: 0 2px 15px rgba(70, 130, 180, 0.4); }
    50% { text-shadow: 0 2px 25px rgba(135, 206, 235, 0.8); }
}

@keyframes progressFill {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes progressShimmer {
    0% { background-position: -300% 0; }
    100% { background-position: 300% 0; }
}

@keyframes textFade {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes crystalFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.7; }
    25% { transform: translateY(-20px) rotate(90deg); opacity: 1; }
    50% { transform: translateY(0px) rotate(180deg); opacity: 0.7; }
    75% { transform: translateY(-10px) rotate(270deg); opacity: 0.9; }
}

/* Winter Background */
.winter-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.snowfall {
    position: absolute;
    width: 100%;
    height: 100%;
}

.snowflake {
    position: absolute;
    top: -10vh;
    color: rgba(135, 206, 235, 0.7);
    font-size: 1.5rem;
    animation: snowfall 15s linear infinite;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    user-select: none;
    pointer-events: none;
}

.snowflake:nth-child(1) { left: 10%; animation-delay: 0s; font-size: 1.2rem; }
.snowflake:nth-child(2) { left: 20%; animation-delay: 2s; font-size: 1.5rem; }
.snowflake:nth-child(3) { left: 30%; animation-delay: 4s; font-size: 1.8rem; }
.snowflake:nth-child(4) { left: 40%; animation-delay: 1s; font-size: 1.3rem; }
.snowflake:nth-child(5) { left: 50%; animation-delay: 3s; font-size: 1.6rem; }
.snowflake:nth-child(6) { left: 60%; animation-delay: 5s; font-size: 1.4rem; }
.snowflake:nth-child(7) { left: 70%; animation-delay: 2.5s; font-size: 1.7rem; }
.snowflake:nth-child(8) { left: 80%; animation-delay: 4.5s; font-size: 1.1rem; }
.snowflake:nth-child(9) { left: 90%; animation-delay: 1.5s; font-size: 1.9rem; }
.snowflake:nth-child(10) { left: 5%; animation-delay: 3.5s; font-size: 1.2rem; }

.ice-crystals {
    position: absolute;
    width: 100%;
    height: 100%;
}

.crystal {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, rgba(135, 206, 235, 0.1), rgba(173, 216, 230, 0.2));
    border: 1px solid rgba(135, 206, 235, 0.3);
    animation: crystalFloat 20s linear infinite;
    border-radius: 50%;
}

.crystal:nth-child(1) {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.crystal:nth-child(2) {
    top: 60%;
    right: 20%;
    animation-delay: -7s;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.crystal:nth-child(3) {
    bottom: 30%;
    left: 70%;
    animation-delay: -14s;
    transform: rotate(45deg);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    opacity: 0;
    transform: translateY(50px);
    animation: containerReveal 1s ease-out 3.5s forwards;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    border: 2px solid rgba(173, 216, 230, 0.4);
    box-shadow: 
        0 20px 40px rgba(70, 130, 180, 0.15),
        inset 0 4px 15px rgba(255, 255, 255, 0.5);
    position: relative;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23b8e0ff' fill-opacity='0.1'%3E%3Cpath d='M10 2L12 8L18 8L13.5 12L15.5 18L10 14L4.5 18L6.5 12L2 8L8 8L10 2Z'/%3E%3C/g%3E%3C/svg%3E");
    border-radius: 30px;
    pointer-events: none;
}

.alliance-info {
    position: relative;
    z-index: 2;
}

.alliance-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.alliance-logo i {
    font-size: 4rem;
    color: var(--deep-blue);
    filter: drop-shadow(0 0 15px rgba(70, 130, 180, 0.5));
    animation: iconGlow 3s ease-in-out infinite;
}

.alliance-logo h1 {
    font-family: 'Fredoka', cursive;
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--deep-blue), var(--winter-blue), var(--arctic-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(70, 130, 180, 0.3);
}

.game-details {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.game-name, .state-number {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: 'Nunito', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--deep-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.game-name i {
    color: var(--winter-blue);
    animation: snowflakeSpin 6s linear infinite;
    filter: drop-shadow(0 0 8px rgba(135, 206, 235, 0.5));
}

.state-number i {
    color: var(--arctic-blue);
    filter: drop-shadow(0 0 8px rgba(93, 173, 226, 0.5));
    animation: mapPulse 2s ease-in-out infinite;
}

/* Download Section */
.download-section {
    margin-top: 3rem;
    text-align: center;
}

.download-title {
    font-family: 'Nunito', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--deep-blue);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.store-badge {
    display: block;
    transition: all 0.4s ease;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 
        0 8px 25px rgba(70, 130, 180, 0.2),
        0 4px 15px rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(173, 216, 230, 0.3);
    padding: 0.5rem;
}

.store-badge:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 
        0 15px 40px rgba(70, 130, 180, 0.3),
        0 8px 25px rgba(255, 255, 255, 0.2);
    border-color: var(--winter-blue);
    background: rgba(255, 255, 255, 0.2);
}

.store-badge.android-badge:hover {
    border-color: #4CAF50;
    box-shadow: 
        0 15px 40px rgba(76, 175, 80, 0.2),
        0 8px 25px rgba(255, 255, 255, 0.2);
}

.store-badge.ios-badge:hover {
    border-color: #007AFF;
    box-shadow: 
        0 15px 40px rgba(0, 122, 255, 0.2),
        0 8px 25px rgba(255, 255, 255, 0.2);
}

.store-badge img {
    height: 60px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(70, 130, 180, 0.2));
    transition: filter 0.4s ease;
}

.store-badge:hover img {
    filter: drop-shadow(0 4px 15px rgba(70, 130, 180, 0.3));
}

/* Navigation Section */
.navigation-section {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    border: 2px solid rgba(173, 216, 230, 0.3);
    box-shadow: 
        0 15px 35px rgba(70, 130, 180, 0.1),
        inset 0 2px 10px rgba(255, 255, 255, 0.3);
}

.nav-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(173, 216, 230, 0.4);
    border-radius: 20px;
    color: var(--deep-blue);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 
        0 8px 20px rgba(70, 130, 180, 0.15),
        inset 0 2px 8px rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    min-width: 150px;
    text-decoration: none;
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(135, 206, 235, 0.3), transparent);
    transition: left 0.6s;
    z-index: -1;
}

.nav-btn:hover::before {
    left: 100%;
}

.nav-btn:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 
        0 15px 35px rgba(70, 130, 180, 0.25),
        inset 0 2px 12px rgba(255, 255, 255, 0.4);
    border-color: var(--winter-blue);
    background: rgba(255, 255, 255, 0.3);
}

.nav-btn i {
    font-size: 2rem;
    color: var(--winter-blue);
    filter: drop-shadow(0 0 10px rgba(135, 206, 235, 0.5));
    transition: all 0.4s ease;
}

.nav-btn:hover i {
    color: var(--deep-blue);
    filter: drop-shadow(0 0 15px rgba(70, 130, 180, 0.6));
    transform: scale(1.1);
}

.nav-btn span {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* Floating Scroll Buttons */
.scroll-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.scroll-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(173, 216, 230, 0.32);
    color: var(--deep-blue);
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 
        0 8px 25px rgba(70, 130, 180, 0.16),
        inset 0 2px 10px rgba(255, 255, 255, 0.24);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    opacity: 0.8;
}

.scroll-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(135, 206, 235, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 50%;
}

.scroll-btn:hover::before {
    opacity: 1;
}

.scroll-btn:hover {
    transform: scale(1.1);
    box-shadow: 
        0 12px 35px rgba(70, 130, 180, 0.24),
        inset 0 2px 15px rgba(255, 255, 255, 0.32);
    border-color: rgba(135, 206, 235, 0.5);
    background: rgba(255, 255, 255, 0.24);
    opacity: 1;
}

.scroll-btn i {
    font-size: 1.5rem;
    color: var(--winter-blue);
    filter: drop-shadow(0 0 10px rgba(135, 206, 235, 0.5));
    transition: all 0.4s ease;
    z-index: 2;
    position: relative;
}

.scroll-btn:hover i {
    color: var(--deep-blue);
    filter: drop-shadow(0 0 15px rgba(70, 130, 180, 0.6));
    transform: scale(1.1);
}

.scroll-up {
    animation: floatUp 3s ease-in-out infinite;
}

.scroll-down {
    animation: floatDown 3s ease-in-out infinite;
}

@keyframes floatUp {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

@keyframes floatDown {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(5px); }
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    margin-bottom: 6rem;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(135, 206, 235, 0.2) 0%, transparent 70%);
    animation: heroGlow 6s ease-in-out infinite;
    border-radius: 50px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.main-title {
    font-family: 'Fredoka', cursive;
    font-size: 5rem;
    font-weight: 700;
    color: var(--deep-blue);
    margin-bottom: 2rem;
    text-shadow: 
        0 4px 25px rgba(70, 130, 180, 0.4),
        0 8px 40px rgba(135, 206, 235, 0.3);
    animation: titleGlow 3s ease-in-out infinite alternate;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-family: 'Nunito', sans-serif;
    font-size: 1.4rem;
    color: var(--deep-blue);
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.8;
    background: linear-gradient(90deg, var(--deep-blue), var(--winter-blue), var(--arctic-blue), var(--deep-blue));
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textWave 4s ease-in-out infinite;
}

/* Mission Section */
.mission {
    margin-bottom: 6rem;
}

.frost-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(25px);
    border-radius: 35px;
    padding: 4rem;
    border: 2px solid rgba(173, 216, 230, 0.4);
    box-shadow: 
        0 25px 60px rgba(70, 130, 180, 0.15),
        inset 0 4px 20px rgba(255, 255, 255, 0.4);
    animation: cardFloat 8s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.frost-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23b8e0ff' fill-opacity='0.05'%3E%3Cpath d='M20 5L22 15L30 15L24 20L26 30L20 25L14 30L16 20L10 15L18 15L20 5Z'/%3E%3C/g%3E%3C/svg%3E");
    border-radius: 35px;
    pointer-events: none;
}

.card-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.card-header h3 {
    font-family: 'Fredoka', cursive;
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--deep-blue), var(--winter-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.ice-line {
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--winter-blue), var(--deep-blue));
    margin: 0 auto;
    border-radius: 2px;
    animation: lineGlow 3s ease-in-out infinite alternate;
    box-shadow: 0 2px 15px rgba(135, 206, 235, 0.4);
}

.card-content {
    position: relative;
    z-index: 2;
}

.card-content p {
    font-size: 1.3rem;
    line-height: 1.9;
    color: var(--deep-blue);
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 400;
    opacity: 0.9;
}

.highlight {
    color: var(--winter-blue);
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(135, 2