/* Mystic MUD Landing Page Styles */
/* Modern gaming aesthetic with classic fantasy RPG feel */

:root {
    --color-bg-dark: #0a0a0a;
    --color-bg-section: #111111;
    --color-bg-card: #1a1a1a;
    --color-gold: #d4a84b;
    --color-gold-light: #f0c674;
    --color-gold-dark: #a67c32;
    --color-text: #e0e0e0;
    --color-text-muted: #888888;
    --color-accent: #c9a227;
    --color-discord: #5865F2;
    --font-display: 'Cinzel', serif;
    --font-body: 'Open Sans', sans-serif;
    --shadow-gold: 0 0 20px rgba(212, 168, 75, 0.3);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.5);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg-dark);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

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

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 45px;
    width: auto;
    max-width: 180px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

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

.btn-play {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: #000 !important;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-play:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--color-gold);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('assets/images/hero-dragon.jpg') center center / cover no-repeat;
    filter: brightness(0.4);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 10, 0.3) 0%,
        rgba(10, 10, 10, 0.5) 50%,
        rgba(10, 10, 10, 0.95) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 0 20px;
}

.hero-logo {
    max-width: 600px;
    width: 90%;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 30px rgba(212, 168, 75, 0.5));
}

.hero-tagline {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--color-gold);
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text);
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-subtitle strong {
    color: var(--color-gold-light);
}

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

.hero-note {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.8rem;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--color-gold);
    border-bottom: 2px solid var(--color-gold);
    transform: rotate(45deg);
    margin: 10px auto 0;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-secondary {
    background: transparent;
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
}

.btn-secondary:hover {
    background: var(--color-gold);
    color: #000;
}

.btn-outline {
    background: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-text-muted);
}

.btn-outline:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-discord {
    background: var(--color-discord);
    color: #fff;
}

.btn-discord:hover {
    background: #4752c4;
    transform: translateY(-2px);
}

/* Section Titles */
.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

/* History Section */
.history-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--color-bg-dark) 0%, var(--color-bg-section) 100%);
}

.history-section .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.history-badge {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    border: 3px solid var(--color-gold);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(212, 168, 75, 0.1);
}

.history-years {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--color-gold);
    line-height: 1;
}

.history-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    text-align: center;
}

.history-content h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--color-gold);
    margin-bottom: 15px;
}

.history-content p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.history-content strong {
    color: var(--color-gold-light);
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--color-bg-card);
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--color-gold);
    margin-bottom: 10px;
}

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

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

.world-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.world-text h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--color-gold);
    margin-bottom: 20px;
}

.world-stat {
    margin-bottom: 20px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--color-gold-light);
    display: block;
    line-height: 1;
}

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

.world-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.world-features {
    list-style: none;
    margin-bottom: 30px;
}

.world-features li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--color-text);
}

.world-features li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--color-gold);
}

.world-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 2px solid #2a2a2a;
}

.world-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* How To Section */
.howto-section {
    padding: 100px 0;
    background: var(--color-bg-section);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.step-card {
    text-align: center;
    padding: 40px 30px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: #000;
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-bottom: 10px;
}

.step-card p {
    color: var(--color-text-muted);
}

.howto-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.community-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.community-discord {
    background: var(--color-bg-card);
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
}

.discord-icon {
    width: 80px;
    height: 80px;
    background: var(--color-discord);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.discord-icon svg {
    width: 45px;
    height: 45px;
    fill: #fff;
}

.community-discord h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: 10px;
}

.community-discord p {
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.community-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: var(--color-bg-card);
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 30px;
}

.info-card h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--color-gold);
    margin-bottom: 10px;
}

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

/* Footer */
.site-footer {
    background: #050505;
    padding: 60px 0 30px;
    border-top: 1px solid #1a1a1a;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    text-align: left;
}

.footer-logo {
    max-width: 200px;
    margin-bottom: 15px;
}

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

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-column h4 {
    font-family: var(--font-display);
    color: var(--color-gold);
    margin-bottom: 15px;
    font-size: 1rem;
}

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

.footer-column li {
    margin-bottom: 8px;
}

.footer-column a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #1a1a1a;
}

.footer-bottom p {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.footer-tech {
    font-size: 0.8rem !important;
    opacity: 0.6;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .world-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .world-image {
        order: -1;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .community-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-logo {
        max-width: 350px;
    }

    .hero-tagline {
        font-size: 1.5rem;
    }

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

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

    .history-section .container {
        flex-direction: column;
        text-align: center;
    }

    .history-badge {
        width: 120px;
        height: 120px;
    }

    .history-years {
        font-size: 2.5rem;
    }

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

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

    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn-large {
        width: 100%;
        max-width: 280px;
    }

    .howto-cta {
        flex-direction: column;
        align-items: center;
    }

    .howto-cta .btn {
        width: 100%;
        max-width: 280px;
    }
}
