/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --bg-dark: #0a0a0a;
    --bg-darker: #000000;
    --text-primary: #ffffff;
    --text-secondary: #999999;
    --yellow: #fbbf24;
    --yellow-dark: #d97706;
    --yellow-glow: rgba(251, 191, 36, 0.4);
    --orange: #f97316;
    --discord: #5865f2;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-hover: rgba(255, 255, 255, 0.06);

    /* Gradients */
    --gradient-yellow: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-darker);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== ANIMATED BACKGROUND ===== */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    background: linear-gradient(180deg, #000000 0%, #0a0a0a 100%);
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #fbbf24 0%, transparent 70%);
    top: -10%;
    right: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #d97706 0%, transparent 70%);
    bottom: -10%;
    left: -5%;
    animation-delay: 5s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #fcd34d 0%, transparent 70%);
    top: 40%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: particleFloat linear infinite;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

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

/* ===== NAVIGATION ===== */
.navbar {
    position: relative;
    z-index: 100;
    padding: 1.5rem 0;
}

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

.nav-left,
.nav-right {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    text-shadow: 0 0 30px rgba(251, 191, 36, 0.5);
}

.nav-btn,
.discord-btn,
.shop-btn {
    text-decoration: none;
}

.nav-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 0.75rem 1.25rem;
    border-radius: 4px;
    font-size: 0.813rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.nav-btn:hover {
    background: var(--glass-hover);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.discord-btn {
    background: var(--discord);
    border: 2px solid var(--discord);
    padding: 0.75rem;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.discord-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.discord-btn svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.shop-btn {
    background: var(--yellow);
    border: 2px solid var(--yellow);
    color: #000;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-size: 0.813rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.shop-btn:hover {
    transform: translateY(-2px);
    background: var(--yellow-dark);
}

/* ===== TOS SECTION ===== */
.tos-section {
    position: relative;
    z-index: 10;
    padding: 4rem 0 6rem;
    min-height: calc(100vh - 200px);
}

.tos-header {
    text-align: center;
    margin-bottom: 4rem;
    padding-top: 2rem;
}

.tos-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    background: var(--gradient-yellow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.05em;
}

.tos-date {
    font-size: 0.875rem;
    color: var(--yellow);
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.tos-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== TOS CONTENT ===== */
.tos-content {
    margin-bottom: 4rem;
}

.tos-section-block {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-left: 4px solid var(--yellow);
    border-radius: 4px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
}

.tos-section-block:hover {
    background: var(--glass-hover);
    border-left-color: var(--yellow-dark);
    transform: translateX(5px);
}

.tos-section-block.highlight {
    border: 2px solid var(--yellow);
    border-left: 4px solid var(--yellow);
    background: rgba(251, 191, 36, 0.05);
}

.section-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.section-text {
    color: var(--text-secondary);
    font-size: 0.938rem;
    line-height: 1.8;
    text-align: justify;
}

/* ===== TOS FOOTER ===== */
.tos-footer {
    margin-top: 4rem;
}

.tos-notice {
    background: var(--glass-bg);
    border: 2px solid var(--yellow);
    border-radius: 4px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    text-align: center;
}

.tos-notice h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--yellow);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.tos-notice p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.938rem;
}

.tos-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.tos-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.938rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.tos-link:hover {
    color: var(--yellow);
    background: var(--glass-hover);
    border-color: var(--yellow);
    transform: translateY(-2px);
}

/* ===== FOOTER ===== */
.footer {
    position: relative;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid var(--glass-border);
    padding: 3rem 0 2rem;
    backdrop-filter: blur(10px);
}

.footer-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.footer-disclaimer {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.75rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .nav-container {
        flex-wrap: wrap;
    }

    .nav-center {
        order: -1;
        width: 100%;
        margin-bottom: 1rem;
    }

    .tos-title {
        font-size: 2.5rem;
    }

    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-left,
    .nav-right {
        gap: 0.5rem;
    }

    .nav-btn {
        padding: 0.625rem 1rem;
        font-size: 0.75rem;
    }

    .nav-btn svg {
        display: none;
    }

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

    .tos-subtitle {
        font-size: 1rem;
    }

    .tos-section-block {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .tos-section-block:hover {
        transform: translateX(3px);
    }

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

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

    .section-text {
        font-size: 0.875rem;
        text-align: left;
    }

    .tos-notice {
        padding: 1.5rem;
    }

    .tos-notice h3 {
        font-size: 1.25rem;
    }

    .tos-links {
        flex-direction: column;
        gap: 1rem;
    }

    .tos-link {
        width: 100%;
        text-align: center;
    }
}

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

    .tos-title {
        font-size: 1.75rem;
    }

    .container {
        padding: 0 1rem;
    }

    .tos-section-block {
        padding: 1.25rem;
    }

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

    .tos-date {
        font-size: 0.75rem;
    }
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--yellow);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--yellow-dark);
}