/* Crythionyx - Frozen Crystal Theme */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;600;700&family=Megrim&display=swap');

:root {
    --ice-blue: #a8d5e2;
    --deep-frost: #0d1b2a;
    --crystal-white: #f0f8ff;
    --glacier-blue: #1b4965;
    --silver-shine: #c0d6df;
    --frozen-violet: #5e60ce;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Quicksand', sans-serif;
    background: var(--deep-frost);
    color: var(--crystal-white);
    min-height: 100vh;
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(168, 213, 226, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(94, 96, 206, 0.1) 0%, transparent 40%);
}

/* Frozen Header */
.frozen-header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(13, 27, 42, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(168, 213, 226, 0.2);
}

.header-flex {
    max-width: 1500px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.crystal-logo {
    font-family: 'Megrim', cursive;
    font-size: 2.5rem;
    color: var(--ice-blue);
    text-decoration: none;
    letter-spacing: 5px;
    text-shadow: 0 0 30px rgba(168, 213, 226, 0.6);
}

.frost-nav {
    display: flex;
    gap: 3rem;
}

.frost-nav a {
    color: var(--silver-shine);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s;
}

.frost-nav a:hover {
    color: var(--ice-blue);
    text-shadow: 0 0 15px rgba(168, 213, 226, 0.5);
}

.ice-burger {
    display: none;
    cursor: pointer;
    padding: 10px;
}

.ice-burger div {
    width: 28px;
    height: 2px;
    background: var(--ice-blue);
    margin: 6px 0;
    transition: all 0.3s;
}

.ice-burger.active div:first-child {
    transform: rotate(45deg) translate(5px, 6px);
}

.ice-burger.active div:nth-child(2) {
    opacity: 0;
}

.ice-burger.active div:last-child {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Glacier Hero */
.glacier-hero {
    min-height: 100vh;
    padding: 120px 2rem 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.glacier-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(60deg, transparent 40%, rgba(168, 213, 226, 0.03) 40%, rgba(168, 213, 226, 0.03) 60%, transparent 60%),
        linear-gradient(-60deg, transparent 40%, rgba(94, 96, 206, 0.03) 40%, rgba(94, 96, 206, 0.03) 60%, transparent 60%);
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 1000px;
}

.hero-container h1 {
    font-family: 'Megrim', cursive;
    font-size: 4rem;
    color: var(--ice-blue);
    margin-bottom: 1.5rem;
    letter-spacing: 8px;
    text-shadow: 0 0 40px rgba(168, 213, 226, 0.5);
}

.hero-container .intro {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--silver-shine);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.ice-button {
    display: inline-block;
    padding: 1.1rem 3rem;
    background: linear-gradient(135deg, var(--glacier-blue), var(--frozen-violet));
    color: var(--crystal-white);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    border-radius: 5px;
    transition: all 0.4s;
    border: 1px solid rgba(168, 213, 226, 0.3);
}

.ice-button:hover {
    background: linear-gradient(135deg, var(--frozen-violet), var(--glacier-blue));
    box-shadow: 0 0 40px rgba(168, 213, 226, 0.4);
    transform: translateY(-3px);
}

/* Crystal Cards */
.crystal-cards {
    display: flex;
    gap: 1.5rem;
    margin-top: 4rem;
    flex-wrap: wrap;
    justify-content: center;
}

.c-card {
    background: rgba(27, 73, 101, 0.3);
    border: 1px solid rgba(168, 213, 226, 0.2);
    padding: 1.8rem;
    border-radius: 10px;
    width: 260px;
    backdrop-filter: blur(10px);
}

.c-card h4 {
    color: var(--ice-blue);
    margin-bottom: 0.6rem;
    font-weight: 600;
}

.c-card p {
    font-size: 0.9rem;
    color: var(--silver-shine);
    font-weight: 300;
}

/* Game Chamber */
.game-chamber {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, transparent, rgba(27, 73, 101, 0.3), transparent);
}

.chamber-title {
    font-family: 'Megrim', cursive;
    font-size: 2.5rem;
    color: var(--ice-blue);
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: 5px;
}

.game-crystal {
    max-width: 1150px;
    margin: 0 auto;
    background: rgba(13, 27, 42, 0.7);
    border: 2px solid rgba(168, 213, 226, 0.3);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 80px rgba(94, 96, 206, 0.15);
}

.game-crystal iframe {
    width: 100%;
    height: 640px;
    border: none;
}

/* Features Frost */
.features-frost {
    padding: 5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.frost-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.frost-card {
    background: linear-gradient(145deg, rgba(27, 73, 101, 0.4), rgba(13, 27, 42, 0.6));
    border: 1px solid rgba(168, 213, 226, 0.15);
    border-radius: 15px;
    padding: 2.5rem;
    transition: all 0.4s;
}

.frost-card:hover {
    border-color: var(--ice-blue);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(168, 213, 226, 0.1);
}

.frost-icon {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
}

.frost-card h3 {
    font-family: 'Megrim', cursive;
    color: var(--ice-blue);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.frost-card p {
    color: var(--silver-shine);
    font-weight: 300;
    line-height: 1.7;
}

/* About Frost */
.about-frost {
    padding: 5rem 2rem;
    background: rgba(94, 96, 206, 0.05);
}

.about-inner {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.about-frost h2 {
    font-family: 'Megrim', cursive;
    color: var(--ice-blue);
    font-size: 2rem;
    margin-bottom: 2rem;
    letter-spacing: 3px;
}

.about-frost p {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.9;
    color: var(--silver-shine);
    margin-bottom: 1.5rem;
}

/* Footer */
.frozen-footer {
    background: rgba(0, 0, 0, 0.4);
    padding: 2.5rem 2rem;
    border-top: 1px solid rgba(168, 213, 226, 0.2);
}

.footer-center {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.support-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.support-links a {
    color: var(--ice-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.support-links a:hover {
    color: var(--crystal-white);
}

.footer-info {
    color: var(--silver-shine);
    opacity: 0.6;
    font-size: 0.85rem;
    font-weight: 300;
}

/* Age Gate */
.age-screen {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.97);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.age-screen.hidden {
    display: none;
}

.age-panel {
    background: linear-gradient(145deg, var(--glacier-blue), var(--deep-frost));
    border: 2px solid var(--ice-blue);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 0 100px rgba(168, 213, 226, 0.2);
}

.age-panel h2 {
    font-family: 'Megrim', cursive;
    color: var(--ice-blue);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    letter-spacing: 3px;
}

.age-panel p {
    color: var(--silver-shine);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-weight: 300;
}

.age-choices {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-enter {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--ice-blue), var(--frozen-violet));
    color: var(--deep-frost);
    border: none;
    border-radius: 8px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-enter:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(168, 213, 226, 0.5);
}

.btn-exit {
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--crystal-white);
    border: 1px solid var(--silver-shine);
    border-radius: 8px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-exit:hover {
    border-color: var(--ice-blue);
    color: var(--ice-blue);
}

/* Inner Pages */
.content-page {
    padding: 120px 2rem 60px;
    min-height: 100vh;
}

.content-wrap {
    max-width: 920px;
    margin: 0 auto;
}

.content-page h1 {
    font-family: 'Megrim', cursive;
    color: var(--ice-blue);
    font-size: 2.8rem;
    margin-bottom: 2rem;
    letter-spacing: 4px;
}

.content-page h2 {
    font-family: 'Megrim', cursive;
    color: var(--ice-blue);
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem;
    letter-spacing: 2px;
}

.content-page p {
    color: var(--silver-shine);
    line-height: 1.9;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.content-page ul {
    margin: 0 0 1.5rem 1.5rem;
}

.content-page li {
    color: var(--silver-shine);
    margin-bottom: 0.6rem;
    font-weight: 300;
}

/* Responsive */
@media (max-width: 768px) {
    .ice-burger {
        display: block;
    }

    .frost-nav {
        position: fixed;
        top: 75px;
        left: 0;
        width: 100%;
        background: rgba(13, 27, 42, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-150%);
        transition: transform 0.4s;
        border-bottom: 1px solid rgba(168, 213, 226, 0.2);
    }

    .frost-nav.visible {
        transform: translateY(0);
    }

    .hero-container h1 {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }

    .crystal-cards {
        flex-direction: column;
        align-items: center;
    }

    .game-crystal iframe {
        height: 480px;
    }
}

@media (max-width: 480px) {
    .crystal-logo {
        font-size: 1.8rem;
    }

    .hero-container h1 {
        font-size: 2rem;
    }

    .game-crystal iframe {
        height: 380px;
    }

    .age-choices {
        flex-direction: column;
    }
}
