/* ==========================================================================
   ALICIA MU ONLINE - SEASON 21 LANDING PAGE STYLESHEET
   Dark Fantasy Aesthetic, Glassmorphism, Vibrant Gold & Purple Accents
   ========================================================================== */

:root {
    --bg-dark: #0a0813;
    --bg-card: rgba(18, 14, 33, 0.75);
    --bg-card-hover: rgba(30, 22, 54, 0.85);
    --gold-primary: #ffd700;
    --gold-secondary: #e6a100;
    --gold-glow: rgba(255, 215, 0, 0.4);
    --purple-primary: #9b51e0;
    --purple-glow: rgba(155, 81, 224, 0.5);
    --crimson-accent: #ff2a5f;
    --text-light: #f1f3f9;
    --text-muted: #a0a5ba;
    --border-glass: rgba(255, 215, 0, 0.18);
    --border-card: rgba(255, 255, 255, 0.08);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
}

body {
    position: relative;
    line-height: 1.6;
}

/* Canvas background */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* Typography Helpers */
h1, h2, h3, h4, .brand-text, .section-title {
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
}

.gold-text {
    color: var(--gold-primary);
    text-shadow: 0 0 10px var(--gold-glow);
}

.gradient-text {
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 50%, #e52e71 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Header & Nav */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 8, 19, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition);
}

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

.brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-light);
}

.nav-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--gold-primary);
    box-shadow: 0 0 12px var(--gold-glow);
    object-fit: cover;
}

.brand-text {
    font-size: 1.4rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-item {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-item:hover, .nav-item.active {
    color: var(--gold-primary);
    text-shadow: 0 0 8px var(--gold-glow);
}

.highlight-btn {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
    color: #0d0a1a !important;
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 700;
    box-shadow: 0 0 15px var(--gold-glow);
}

.highlight-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.7);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 24px 80px;
    background: url('assets/bg.jpg') no-repeat center center/cover;
    text-align: center;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(10, 8, 19, 0.65) 0%, rgba(10, 8, 19, 0.95) 90%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    margin: 0 auto;
}

.season-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(155, 81, 224, 0.2);
    border: 1px solid var(--purple-primary);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
    box-shadow: 0 0 15px var(--purple-glow);
}

.glowing-icon {
    color: var(--gold-primary);
}

.hero-logo-container {
    position: relative;
    display: inline-block;
    margin-bottom: 24px;
}

.hero-logo {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    border: 3px solid var(--gold-primary);
    box-shadow: 0 0 35px var(--gold-glow);
    object-fit: cover;
    animation: float 4s ease-in-out infinite;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--purple-glow) 0%, transparent 70%);
    z-index: -1;
    border-radius: 50%;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.btn {
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-primary), #ff8c00);
    color: #0d0a1a;
    box-shadow: 0 0 20px var(--gold-glow);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
}

.btn-discord {
    background: #5865f2;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.4);
}

.btn-discord:hover {
    background: #4752c4;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 0 30px rgba(88, 101, 242, 0.7);
}

.pulse-effect {
    animation: pulse 2s infinite;
}

.server-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-card);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.status-dot.upcoming {
    width: 10px;
    height: 10px;
    background-color: var(--gold-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--gold-primary);
}

/* Section Header */
.section-header {
    margin-bottom: 48px;
}

.sub-header {
    color: var(--purple-primary);
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.3rem;
    font-weight: 700;
    color: var(--text-light);
    margin-top: 6px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 8px;
}

.divider-line {
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-primary), var(--purple-primary));
    margin: 16px auto 0;
    border-radius: 2px;
}

/* Countdown Section */
.countdown-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(18, 14, 33, 0.9) 100%);
    position: relative;
}

.timer-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 50px;
}

.timer-box {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-md);
    padding: 24px;
    min-width: 130px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.timer-box:hover {
    transform: translateY(-5px);
    border-color: var(--gold-primary);
    box-shadow: 0 15px 35px var(--gold-glow);
}

.timer-number {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--gold-primary);
    text-shadow: 0 0 15px var(--gold-glow);
    display: block;
    line-height: 1;
}

.timer-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    margin-top: 10px;
    display: block;
}

.timer-divider {
    font-size: 3rem;
    font-weight: 900;
    color: var(--purple-primary);
}

.launch-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.detail-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    padding: 24px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
}

.detail-card:hover {
    border-color: var(--purple-primary);
    background: var(--bg-card-hover);
}

.detail-icon {
    font-size: 2rem;
    color: var(--gold-primary);
    margin-bottom: 12px;
}

.detail-card h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.detail-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: var(--bg-dark);
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    padding: 32px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-glass);
    background: var(--bg-card-hover);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(155, 81, 224, 0.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--gold-primary);
    margin-bottom: 20px;
    border: 1px solid var(--purple-primary);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Classes Section */
.classes-section {
    padding: 100px 0;
    background: linear-gradient(180deg, rgba(18, 14, 33, 0.9) 0%, var(--bg-dark) 100%);
}

.classes-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.tab-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    color: var(--text-muted);
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn:hover, .tab-btn.active {
    background: var(--purple-primary);
    color: #ffffff;
    border-color: var(--purple-primary);
    box-shadow: 0 0 15px var(--purple-glow);
}

.class-display-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 40px;
    backdrop-filter: blur(10px);
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.class-info h3 {
    font-size: 1.8rem;
    color: var(--gold-primary);
    margin-bottom: 12px;
}

.class-roles {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.role-badge {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.class-info p {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 28px;
}

.class-stats {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.stat-bar-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-label {
    width: 90px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

.stat-progress {
    flex-grow: 1;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.stat-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--purple-primary), var(--gold-primary));
    border-radius: 5px;
    transition: width 0.5s ease-in-out;
}

/* Pre-Registration Section */
.register-section {
    padding: 100px 0;
    background: var(--bg-dark);
}

.glass-panel {
    background: rgba(24, 18, 44, 0.8);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 48px;
    backdrop-filter: blur(16px);
    max-width: 750px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.register-header {
    text-align: center;
    margin-bottom: 36px;
}

.gift-icon {
    font-size: 2.8rem;
    color: var(--gold-primary);
    margin-bottom: 12px;
    text-shadow: 0 0 15px var(--gold-glow);
}

.register-header h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.register-header p {
    color: var(--text-muted);
    font-size: 1rem;
}

.pre-reg-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    position: relative;
}

.input-icon {
    position: absolute;
    top: 50%;
    left: 18px;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.1rem;
}

.form-group input {
    width: 100%;
    padding: 16px 16px 16px 48px;
    background: rgba(10, 8, 19, 0.7);
    border: 1px solid var(--border-card);
    border-radius: 30px;
    color: var(--text-light);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 15px var(--gold-glow);
}

.btn-submit {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
    color: #0d0a1a;
    padding: 16px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-top: 10px;
    box-shadow: 0 0 20px var(--gold-glow);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
}

.form-message {
    margin-top: 16px;
    padding: 12px;
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(46, 204, 113, 0.2);
    border: 1px solid #2ecc71;
    color: #2ecc71;
}

.rewards-preview {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--border-card);
}

.rewards-preview h4 {
    margin-bottom: 14px;
    font-size: 1.1rem;
}

.rewards-preview ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.rewards-preview li {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.rewards-preview li i {
    color: var(--gold-primary);
}

/* Footer */
.footer {
    background: #06040d;
    border-top: 1px solid var(--border-card);
    padding: 60px 0 24px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--gold-primary);
    margin-bottom: 12px;
}

.footer-brand h3 {
    color: var(--gold-primary);
    margin-bottom: 10px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links h4, .footer-social h4 {
    color: var(--text-light);
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold-primary);
}

.social-icons {
    display: flex;
    gap: 14px;
}

.social-icons a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.2rem;
    transition: var(--transition);
    text-decoration: none;
}

.social-icons a:hover {
    background: var(--gold-primary);
    color: #0d0a1a;
    border-color: var(--gold-primary);
    box-shadow: 0 0 15px var(--gold-glow);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

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

/* Responsive Media Queries */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(10, 8, 19, 0.98);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .timer-grid {
        flex-wrap: wrap;
    }

    .timer-divider {
        display: none;
    }

    .timer-box {
        min-width: 42%;
    }

    .glass-panel {
        padding: 24px;
    }
}
