/* ===== ROOT VARIABLES ===== */
:root {
    /* Core Brand Colors */
    --aura-gold: #d4b483;
    --aura-gold-light: #e8c39e;
    --aura-gold-dark: #8b6f47;
    --aura-dark: #0a0a0a;
    --aura-darker: #050505;
    --aura-gray: #2a2a2a;
    --aura-light: #f0f0f0;
    --aura-text: #e0e0e0;
    --aura-text-muted: #888;
    --aura-sky: #87ceeb;

    /* Semantic Colors */
    --success: #4caf50;
    --warning: #ff9800;
    --error: #f44336;
    --info: #2196f3;

    /* Shadows */
    --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-strong: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(212, 180, 131, 0.3);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 50%;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
}

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

html, body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--aura-text);
    overflow-x: hidden;
}

/* Ensure body doesn't override fantasy background */
body {
    background: transparent !important;
}

/* Remove ALL text-decoration underline */
a, a:hover, a:focus, a:active, a:visited {
    text-decoration: none !important;
}

/* ===== FANTASY BACKGROUND ===== */
.fantasy-background {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, rgba(10, 10, 10, 0.8), rgba(26, 26, 46, 0.6)),
        url('/assets/images/guildcastle_bg.jpg') no-repeat center center;
    background-size: cover;
    z-index: -1;
    animation: backgroundShift 20s ease-in-out infinite alternate;
}

/* Fallback background if image fails to load */
.fantasy-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

@keyframes backgroundShift {
    0% { 
        filter: brightness(1) contrast(1);
    }
    100% { 
        filter: brightness(1.1) contrast(1.05);
    }
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Animated Background Elements */
.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.floating-particle {
    position: absolute;
    font-size: 24px;
    animation: float-particle 8s ease-in-out infinite;
    opacity: 0.6;
}

.particle-1 { top: 10%; left: 10%; animation-delay: 0s; }
.particle-2 { top: 20%; right: 15%; animation-delay: 2s; }
.particle-3 { top: 60%; left: 20%; animation-delay: 4s; }
.particle-4 { top: 40%; right: 10%; animation-delay: 1s; }
.particle-5 { top: 80%; left: 60%; animation-delay: 3s; }

.magic-circle {
    position: absolute;
    border: 2px solid rgba(212, 180, 131, 0.3);
    border-radius: 50%;
    animation: rotate-circle 20s linear infinite;
}

.circle-1 { width: 200px; height: 200px; top: 20%; left: 10%; }
.circle-2 { width: 150px; height: 150px; top: 60%; right: 15%; animation-delay: 5s; }
.circle-3 { width: 100px; height: 100px; top: 40%; left: 70%; animation-delay: 10s; }

/* Hero Content Layout */
.hero-content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    width: 100%;
    display: flex;
    gap: 60px;
    align-items: center;
    padding: 0 40px;
}

.hero-main {
    flex: 1;
    max-width: 600px;
}

/* Premium Logo Section */
.premium-logo-section {
    position: relative;
    text-align: center;
    margin-bottom: 40px;
}

.logo-glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(212, 180, 131, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 3s ease-in-out infinite;
}

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

.logo-crown {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 32px;
    animation: crown-shine 2s ease-in-out infinite;
}

.hero-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid var(--aura-gold);
    box-shadow: 0 0 30px rgba(212, 180, 131, 0.5);
    animation: logo-rotate 20s linear infinite;
}

.logo-sparkles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.sparkle {
    position: absolute;
    font-size: 16px;
    animation: sparkle-burst 3s ease-in-out infinite;
}

.s1 { top: 10%; left: 20%; animation-delay: 0s; }
.s2 { top: 30%; right: 10%; animation-delay: 1s; }
.s3 { bottom: 20%; left: 10%; animation-delay: 2s; }

/* Hero Title */
.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 10px;
    text-shadow: 0 0 30px rgba(212, 180, 131, 0.8);
}

.title-main {
    background: linear-gradient(135deg, var(--aura-gold), #ffd700, var(--aura-gold));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradient-shift 3s ease-in-out infinite;
}

.title-subtitle {
    color: var(--aura-sky);
    font-weight: 300;
}

.hero-tagline {
    margin-top: 20px;
}

.tagline-text {
    font-size: 1.2rem;
    color: var(--aura-text-muted);
    margin-bottom: 10px;
}

.tagline-accent {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--aura-gold), var(--aura-sky));
    margin: 0 auto;
    border-radius: 2px;
}

/* Hero Description */
.hero-description {
    margin-bottom: 40px;
}

.hero-story {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--aura-text);
    margin-bottom: 20px;
    text-align: center;
}

.hero-highlights {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 15px;
    border-radius: 25px;
    border: 1px solid rgba(212, 180, 131, 0.3);
}

.highlight-icon {
    font-size: 18px;
}

.highlight-item span {
    font-weight: 500;
    color: var(--aura-text);
}

/* Premium CTA Section */
.hero-cta-section {
    margin-top: 40px;
    margin-bottom: 30px;
}

.cta-buttons-premium {
    display: flex;
    gap: 24px;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.cta-button-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--aura-gold), #b8860b);
    color: #000;
    padding: 18px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-glow);
    overflow: hidden;
}

.cta-button-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(212, 180, 131, 0.5);
}

.button-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: button-shine 3s ease-in-out infinite;
}

.button-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
}

.button-icon {
    font-size: 24px;
}

.button-text {
    font-size: 1.1rem;
    font-weight: 700;
}

.button-subtext {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 500;
}

.button-particles {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

.particle {
    position: absolute;
    font-size: 12px;
    animation: particle-float 2s ease-in-out infinite;
}

.p1 { animation-delay: 0s; }
.p2 { animation-delay: 0.5s; }

.cta-button-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--aura-sky);
    padding: 18px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--aura-sky);
    transition: var(--transition-normal);
    min-width: 200px;
    justify-content: center;
}

.cta-button-secondary:hover {
    background: rgba(135, 206, 235, 0.2);
    border-color: var(--aura-gold);
    color: var(--aura-gold);
    transform: translateY(-2px);
}

/* Hero Meta */
.hero-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.meta-item {
    text-align: center;
}

.meta-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--aura-gold);
    display: block;
    margin-bottom: 5px;
}

.meta-label {
    font-size: 0.9rem;
    color: var(--aura-text-muted);
    font-weight: 500;
}

/* Hero Visual Showcase */
.hero-visual-showcase {
    flex: 1;
    max-width: 500px;
}

.showcase-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 500px;
}

.feature-preview {
    position: relative;
    width: 300px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
}

.preview-glow {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, var(--aura-gold), var(--aura-sky), var(--aura-gold));
    border-radius: 25px;
    z-index: -1;
    animation: preview-glow 3s ease-in-out infinite;
}

.preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.preview-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px;
    border-radius: 0 0 20px 20px;
}

.preview-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ff4444, #ff6666);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.preview-stats {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
}

.preview-stats span {
    display: block;
    margin-bottom: 2px;
}

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

.action-card {
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--aura-gold);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--aura-gold);
    backdrop-filter: blur(10px);
    animation: card-float 4s ease-in-out infinite;
}

.card-magic { top: 10%; right: 10%; animation-delay: 0s; }
.card-explore { top: 50%; left: -10%; animation-delay: 1.5s; }
.card-social { bottom: 10%; right: 5%; animation-delay: 3s; }

.card-icon {
    font-size: 28px;
    margin-bottom: 2px;
}

.card-text {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--aura-text-muted);
    z-index: 2;
}

.scroll-mouse {
    width: 24px;
    height: 36px;
    border: 2px solid var(--aura-text-muted);
    border-radius: 12px;
    margin: 0 auto 10px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--aura-gold);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s ease-in-out infinite;
}

.scroll-text {
    font-size: 0.9rem;
    font-weight: 500;
}

/* ===== FEATURES SHOWCASE SECTION ===== */
.features-showcase-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #16213e 0%, #0f0f0f 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--aura-gold);
    margin-bottom: 10px;
    text-shadow: 0 0 30px rgba(212, 180, 131, 0.5);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--aura-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.feature-card-premium {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(212, 180, 131, 0.2);
    border-radius: 20px;
    padding: 40px;
    transition: var(--transition-normal);
    backdrop-filter: blur(10px);
}

.feature-card-premium:hover {
    transform: translateY(-10px);
    border-color: var(--aura-gold);
    box-shadow: var(--shadow-glow);
}

.feature-visual {
    text-align: center;
    margin-bottom: 30px;
}

.feature-icon-wrapper {
    position: relative;
    display: inline-block;
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.feature-main-icon {
    width: 100%;
    height: 100%;
    filter: brightness(0.9);
}

.feature-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(circle, rgba(212, 180, 131, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: feature-glow 3s ease-in-out infinite;
}

.feature-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--aura-gold);
    margin-bottom: 15px;
}

.feature-content p {
    color: var(--aura-text);
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-highlights {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.highlight-tag {
    background: rgba(212, 180, 131, 0.1);
    color: var(--aura-gold);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(212, 180, 131, 0.3);
}

/* ===== SOCIAL PROOF SECTION ===== */
.social-proof-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f0f0f 0%, #16213e 100%);
}

.social-proof-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.social-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--aura-gold);
    margin-bottom: 20px;
}

.social-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--aura-sky);
    display: block;
    margin-bottom: 5px;
}

.stat-label {
    color: var(--aura-text-muted);
    font-weight: 500;
    font-size: 1rem;
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(212, 180, 131, 0.2);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.testimonial-stars {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial-text {
    color: var(--aura-text);
    line-height: 1.6;
    margin-bottom: 15px;
    font-style: italic;
}

.testimonial-author {
    color: var(--aura-gold);
    font-weight: 600;
}

/* ===== FINAL CTA SECTION ===== */
.final-cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #16213e 0%, #0a0a0a 100%);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 40px;
}

.cta-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--aura-gold);
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(212, 180, 131, 0.5);
}

.cta-description {
    font-size: 1.2rem;
    color: var(--aura-text);
    line-height: 1.6;
    margin-bottom: 40px;
}

.final-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.final-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, var(--aura-gold), #b8860b);
    color: #000;
    padding: 20px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-glow);
}

.final-cta-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(212, 180, 131, 0.5);
}

.cta-icon {
    font-size: 24px;
}

.cta-text {
    font-size: 1.2rem;
    font-weight: 700;
}

.cta-arrow {
    font-size: 20px;
    margin-left: 10px;
}

.final-cta-demo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--aura-sky);
    padding: 18px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--aura-sky);
    transition: var(--transition-normal);
}

.final-cta-demo:hover {
    background: rgba(135, 206, 235, 0.2);
    border-color: var(--aura-gold);
    color: var(--aura-gold);
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.trust-badge {
    background: rgba(255, 255, 255, 0.05);
    color: var(--aura-gold);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(212, 180, 131, 0.3);
    position: relative;
    display: inline-block;
}

.cta-visual {
    margin-top: 60px;
}

.character-showcase {
    position: relative;
    display: inline-block;
}

.showcase-character {
    width: 200px;
    height: 280px;
    object-fit: cover;
    border-radius: 20px;
    border: 3px solid var(--aura-gold);
    box-shadow: var(--shadow-strong);
}

.character-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(circle, rgba(212, 180, 131, 0.4) 0%, transparent 70%);
    border-radius: 30px;
    z-index: -1;
    animation: character-glow 3s ease-in-out infinite;
}

.level-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ff4444, #ff6666);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* ===== LOGGED-IN USER STYLES ===== */
.home-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.welcome-section {
    text-align: center;
    margin-bottom: 20px;
}

.subtitle {
    font-size: 18px;
    color: var(--aura-sky);
    margin-bottom: 20px;
}

.main-actions {
    margin: 20px 0;
}

/* Desktop optimizations */
@media (min-width: 769px) {
    .home-container {
        padding: 40px 20px;
    }

    .welcome-hero {
        max-height: 400px;
        margin-bottom: 30px;
        position: relative;
    }

    .hero-content {
        display: flex;
        gap: 40px;
        align-items: center;
        position: relative;
        min-height: 200px;
    }

    .welcome-message {
        flex: 1;
        text-align: left;
    }

    .hero-actions {
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .hero-decoration {
        position: absolute;
        top: 20px;
        right: 20px;
        z-index: 10;
    }

    .dashboard-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }

    .activity-card {
        grid-column: span 2;
    }

    .features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        margin: 30px 0;
    }
}

/* ===== UNIVERSAL BUTTON STYLES ===== */
.button {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-weight: bold;
    transition: var(--transition-normal);
    border: none;
    cursor: pointer;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

.button.primary {
    background: linear-gradient(135deg, var(--aura-gold), #b8860b);
    color: #000;
}

.button.primary:hover {
    background: linear-gradient(135deg, #b8860b, var(--aura-gold));
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.button.secondary {
    background: rgba(184, 166, 140, 0.2);
    color: var(--aura-sky);
    border: 1px solid var(--aura-sky);
}

.button.secondary:hover {
    background: rgba(184, 166, 140, 0.3);
    border-color: var(--aura-gold);
    color: var(--aura-gold);
}

.button.large {
    padding: 16px 32px;
    font-size: 18px;
}

.button-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: middle;
    filter: brightness(0.9);
    flex-shrink: 0;
}

/* ===== UNIVERSAL CARD STYLES ===== */
.card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 180, 131, 0.2);
    border-radius: var(--radius-lg);
    padding: 20px;
    backdrop-filter: blur(10px);
    transition: var(--transition-normal);
}

.card:hover {
    border-color: var(--aura-gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.card-header {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(212, 180, 131, 0.1);
}

.card-title {
    color: var(--aura-gold);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
}

.card-content {
    color: var(--aura-text);
}

/* ===== ICON STYLES ===== */
.action-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 8px;
    filter: brightness(0.8);
}

.activity-icon {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    vertical-align: middle;
    filter: brightness(0.8);
}

.feature-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
    filter: brightness(0.8);
}

.feature-icon-large {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: brightness(0.8);
}

.logo-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-icon {
    width: 48px;
    height: 48px;
    filter: brightness(0.8);
}

.gold-icon {
    width: 16px;
    height: 16px;
    margin-left: 4px;
    filter: brightness(0.9);
}

/* ===== GRADIENT TEXT ===== */
.gradient-text {
    background: linear-gradient(135deg, var(--aura-gold), var(--aura-sky));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradient-shift 3s ease-in-out infinite;
}

/* ===== ANIMATIONS ===== */
@keyframes float-particle {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-20px) translateX(10px) rotate(90deg);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-40px) translateX(-10px) rotate(180deg);
        opacity: 0.5;
    }
    75% {
        transform: translateY(-20px) translateX(5px) rotate(270deg);
        opacity: 0.8;
    }
}

@keyframes rotate-circle {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

@keyframes crown-shine {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.7; }
    50% { transform: translateX(-50%) scale(1.2); opacity: 1; }
}

@keyframes logo-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes sparkle-burst {
    0%, 100% { transform: scale(0) rotate(0deg); opacity: 0; }
    50% { transform: scale(1) rotate(180deg); opacity: 1; }
}

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

@keyframes button-shine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: -100%; }
}

@keyframes particle-float {
    0%, 100% { transform: translateY(0px) scale(1); opacity: 0.5; }
    50% { transform: translateY(-5px) scale(1.2); opacity: 1; }
}

@keyframes preview-glow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes card-float {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-10px) scale(1.05); }
}

@keyframes feature-glow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

@keyframes character-glow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

@keyframes scroll-wheel {
    0%, 100% { transform: translateX(-50%) translateY(0px); opacity: 1; }
    50% { transform: translateX(-50%) translateY(8px); opacity: 0.5; }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero-content-wrapper {
        flex-direction: column;
        gap: 40px;
        padding: 0 20px;
    }

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

    .hero-logo {
        width: 100px;
        height: 100px;
    }

    .hero-highlights {
        gap: 15px;
    }

    .highlight-item {
        padding: 8px 12px;
        font-size: 0.9rem;
    }

    .cta-buttons-premium {
        flex-direction: column;
        gap: 18px;
        margin-top: 30px;
    }

    .cta-button-primary,
    .cta-button-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        min-width: auto;
    }

    .hero-meta {
        gap: 20px;
    }

    .meta-number {
        font-size: 1.5rem;
    }

    .showcase-container {
        height: 400px;
    }

    .feature-preview {
        width: 250px;
        height: 330px;
    }

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

    .features-grid-premium {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }

    .feature-card-premium {
        padding: 30px;
    }

    .social-stats {
        gap: 30px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .testimonials {
        grid-template-columns: 1fr;
    }

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

    .final-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .final-cta-primary,
    .final-cta-demo {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .trust-badges {
        gap: 10px;
        margin-top: 20px;
    }
    
    .trust-badge {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .showcase-character {
        width: 150px;
        height: 210px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-story {
        font-size: 1rem;
    }

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

    .cta-title {
        font-size: 1.5rem;
    }

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

/* ===== BACKWARD COMPATIBILITY ===== */
.current-character-info {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 180, 131, 0.2);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin: 30px 0;
    text-align: left;
}

.character-summary {
    display: flex;
    gap: 20px;
    align-items: center;
}

.char-avatar {
    flex-shrink: 0;
}

.avatar-placeholder {
    width: 80px;
    height: 80px;
    background: rgba(212, 180, 131, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    border: 2px solid var(--aura-gold);
}

.char-details h4 {
    color: var(--aura-gold);
    margin-bottom: 5px;
}

.char-details p {
    margin: 3px 0;
    font-size: 14px;
}

.char-stats {
    flex-shrink: 0;
    min-width: 150px;
}

.stat-bar {
    margin-bottom: 10px;
}

.stat-bar label {
    display: block;
    font-size: 12px;
    color: var(--aura-sky);
    margin-bottom: 3px;
}

.bar {
    width: 100%;
    height: 8px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 3px;
}

.fill.health {
    height: 100%;
    background: linear-gradient(90deg, #ff4444, #ff6666);
}

.fill.mana {
    height: 100%;
    background: linear-gradient(90deg, #4444ff, #6666ff);
}

.stat-bar span {
    font-size: 11px;
    color: var(--aura-text-muted);
}

.game-info-section h2 {
    color: var(--aura-gold);
    margin-bottom: 20px;
    text-align: center;
}

.news-item {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(212, 180, 131, 0.1);
    border-radius: var(--radius-md);
    padding: 15px;
    margin-bottom: 15px;
    text-align: left;
}

.news-item h3 {
    color: var(--aura-sky);
    margin-bottom: 8px;
    font-size: 16px;
}

.news-item p {
    line-height: 1.5;
    font-size: 14px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.feature {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(212, 180, 131, 0.1);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.feature h3 {
    color: var(--aura-gold);
    margin-bottom: 10px;
}

.feature p {
    font-size: 14px;
    line-height: 1.4;
}

.auth-actions {
    margin-top: 40px;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--aura-gray);
    border: 1px solid var(--aura-gold);
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid rgba(212, 180, 131, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    color: var(--aura-gold);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: var(--aura-text);
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.modal-close:hover {
    background: rgba(212, 180, 131, 0.2);
    color: var(--aura-gold);
}

.modal-body {
    padding: 20px;
}

/* ===== TUTORIAL STYLES ===== */
.tutorial-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tutorial-step {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--aura-gold);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--aura-sky);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.step-content p {
    color: var(--aura-text);
    line-height: 1.5;
}

/* ===== DASHBOARD STYLES ===== */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.character-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 180, 131, 0.2);
    border-radius: var(--radius-lg);
    padding: 20px;
    backdrop-filter: blur(10px);
}

.character-display {
    display: flex;
    gap: 20px;
    align-items: center;
}

.character-avatar {
    flex-shrink: 0;
}

.avatar-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(212, 180, 131, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--aura-gold);
}

.character-info {
    flex: 1;
}

.character-info h4 {
    color: var(--aura-gold);
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.character-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.level-badge {
    background: var(--aura-gold);
    color: #000;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

.class-badge {
    background: rgba(135, 206, 235, 0.2);
    color: var(--aura-sky);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid var(--aura-sky);
}

.character-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-label {
    color: var(--aura-text-muted);
    font-size: 0.9rem;
}

.stat-value {
    color: var(--aura-text);
    font-weight: 600;
}

.gold-amount {
    color: var(--aura-gold);
}

.character-vitals {
    margin-top: 20px;
}

.vital-bar {
    margin-bottom: 15px;
}

.vital-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.vital-label span:first-child {
    color: var(--aura-sky);
}

.vital-value {
    color: var(--aura-text);
    font-weight: 600;
}

.vital-track {
    width: 100%;
    height: 12px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 6px;
    overflow: hidden;
}

.vital-fill {
    height: 100%;
    border-radius: 6px;
    transition: var(--transition-normal);
}

.health-fill {
    background: linear-gradient(90deg, #ff4444, #ff6666);
}

.mana-fill {
    background: linear-gradient(90deg, #4444ff, #6666ff);
}

.quick-actions-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 180, 131, 0.2);
    border-radius: var(--radius-lg);
    padding: 20px;
    backdrop-filter: blur(10px);
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}

.action-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 180, 131, 0.1);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: var(--transition-normal);
}

.action-button:hover {
    background: rgba(212, 180, 131, 0.1);
    border-color: var(--aura-gold);
    transform: translateY(-2px);
}

.action-button span {
    font-size: 0.9rem;
    text-align: center;
    color: var(--aura-text);
    font-weight: 500;
}

.activity-card {
    grid-column: span 2;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 180, 131, 0.2);
    border-radius: var(--radius-lg);
    padding: 20px;
    backdrop-filter: blur(10px);
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-md);
}

.activity-text {
    flex: 1;
    color: var(--aura-text);
    font-size: 0.9rem;
}

.activity-time {
    color: var(--aura-text-muted);
    font-size: 0.8rem;
    white-space: nowrap;
}

.character-creation-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 180, 131, 0.2);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.creation-prompt h3 {
    color: var(--aura-gold);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.creation-prompt p {
    color: var(--aura-text);
    margin-bottom: 20px;
    font-size: 1rem;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
    .home-container {
        padding: 15px;
    }

    .welcome-hero {
        margin-bottom: 20px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        min-height: auto;
    }

    .hero-actions {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
        order: 2;
    }

    .hero-decoration {
        position: static;
        text-align: center;
        margin: 20px 0;
        order: 3;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 20px;
    }

    .activity-card {
        grid-column: span 1;
    }

    .character-summary {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .char-stats {
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 20px 0;
    }

    .landing-hero {
        flex-direction: column;
        min-height: auto;
        gap: 20px;
        text-align: center;
    }

    .features-showcase {
        flex-direction: column;
        gap: 20px;
    }

    .feature-highlight {
        padding: 15px;
    }

    .cta-section {
        margin: 20px 0;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .floating-scene {
        gap: 10px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .scene-element {
        width: 40px;
        height: 40px;
        margin: 5px;
    }

    .button.large {
        display: block;
        margin: 5px 0;
        width: 100%;
        padding: 12px;
        font-size: 16px;
    }

    .logo-icon {
        width: 60px;
        height: 60px;
    }

    .feature-icon-large {
        width: 40px;
        height: 40px;
    }

    /* Typography adjustments */
    .welcome-message h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 15px;
    }

    /* Card spacing */
    .card {
        margin-bottom: 15px;
    }

    .card-content {
        padding: 15px;
    }

    /* Grid item spacing */
    .action-grid {
        gap: 10px;
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .action-button {
        padding: 12px 8px;
        font-size: 14px;
    }

    .action-icon {
        width: 24px;
        height: 24px;
        margin-bottom: 5px;
    }
}
