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

:root {
    --primary-red: #d32f2f;
    --dark-red: #8b1a1a;
    --orange: #ff6f00;
    --gold: #ffd700;
    --dark-brown: #2d1810;
    --light-brown: #8b6f47;
    --cream: #f4e4c1;
    --black: #0a0a0a;
    --white: #ffffff;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--cream);
    background: var(--black);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 2px solid var(--dark-red);
    box-shadow: 0 4px 20px rgba(211, 47, 47, 0.3);
}

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

.nav-logo {
    font-family: 'Rye', serif;
    font-size: 1.8rem;
    color: var(--primary-red);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--cream);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links a:hover {
    color: var(--orange);
    background: rgba(255, 111, 0, 0.1);
}

.discord-btn {
    background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
    color: white !important;
    padding: 0.7rem 1.5rem !important;
    border-radius: 8px;
    font-weight: 600;
}

.discord-btn:hover {
    background: linear-gradient(135deg, #4752c4 0%, #3c45a5 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.4);
}

.mobile-menu-btn {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--cream);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0f0a 50%, #2d1810 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(211, 47, 47, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 111, 0, 0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(to bottom, 
            transparent 0%, 
            rgba(10, 10, 10, 0.4) 50%, 
            rgba(10, 10, 10, 0.9) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
    padding: 2rem;
}

.hero-logo {
    max-width: 800px;
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 10px 40px rgba(211, 47, 47, 0.6));
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-tagline {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: var(--cream);
    margin-bottom: 2rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 4rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(211, 47, 47, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(211, 47, 47, 0.6);
}

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

.btn-secondary:hover {
    background: rgba(139, 111, 71, 0.2);
    border-color: var(--orange);
    color: var(--orange);
}

.server-info {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.info-card {
    background: rgba(45, 24, 16, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--light-brown);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(211, 47, 47, 0.3);
    border-color: var(--primary-red);
}

.info-icon {
    font-size: 2.5rem;
}

.info-text {
    text-align: left;
}

.info-label {
    font-size: 0.9rem;
    color: var(--light-brown);
    margin-bottom: 0.3rem;
}

.info-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--cream);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

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

.scroll-arrow {
    font-size: 2rem;
    color: var(--orange);
}

/* Section Styles */
section {
    padding: 6rem 0;
}

.section-title {
    font-family: 'Rye', serif;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-red);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    letter-spacing: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--light-brown);
    margin-bottom: 3rem;
}

/* About Section */
.about {
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-brown) 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect fill="rgba(211,47,47,0.03)" width="100" height="100"/></svg>');
    opacity: 0.3;
}

.about-content {
    position: relative;
    z-index: 1;
}

.about-text h3 {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: var(--orange);
    margin-bottom: 1.5rem;
    text-align: center;
}

.about-text > p {
    font-size: 1.2rem;
    line-height: 1.8;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--cream);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    background: rgba(45, 24, 16, 0.4);
    border: 2px solid var(--light-brown);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    border-color: var(--orange);
    box-shadow: 0 8px 30px rgba(255, 111, 0, 0.2);
}

.feature-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.feature-content h4 {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    color: var(--cream);
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--light-brown);
    line-height: 1.6;
}

/* Rules Section */
.rules {
    background: var(--black);
}

.rules-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--light-brown);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.rule-card {
    background: linear-gradient(135deg, rgba(45, 24, 16, 0.6) 0%, rgba(26, 15, 10, 0.6) 100%);
    border: 2px solid var(--light-brown);
    border-left: 4px solid var(--primary-red);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.rule-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(211, 47, 47, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.rule-card:hover {
    transform: translateY(-5px);
    border-color: var(--orange);
    box-shadow: 0 8px 30px rgba(211, 47, 47, 0.3);
}

.rule-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 60px;
    height: 60px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Rye', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4);
}

.rule-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    color: var(--cream);
    margin-bottom: 1rem;
    margin-right: 50px;
}

.rule-card p {
    color: var(--light-brown);
    line-height: 1.7;
}

.rules-footer {
    background: rgba(45, 24, 16, 0.4);
    border: 2px solid var(--light-brown);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.rules-footer p {
    font-size: 1.1rem;
    color: var(--cream);
    margin-bottom: 0.5rem;
}

/* Characters Section */
.characters {
    background: linear-gradient(135deg, var(--dark-brown) 0%, var(--black) 100%);
}

.characters-coming-soon {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.coming-soon-icon {
    font-size: 6rem;
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.characters-coming-soon h3 {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: var(--orange);
    margin-bottom: 1.5rem;
}

.characters-coming-soon p {
    font-size: 1.1rem;
    color: var(--light-brown);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.characters-coming-soon ul {
    list-style: none;
    text-align: left;
    max-width: 400px;
    margin: 2rem auto;
}

.characters-coming-soon ul li {
    padding: 0.8rem;
    margin-bottom: 0.5rem;
    background: rgba(45, 24, 16, 0.4);
    border-left: 3px solid var(--primary-red);
    border-radius: 4px;
    color: var(--cream);
}

.characters-coming-soon ul li::before {
    content: '✓ ';
    color: var(--orange);
    font-weight: bold;
    margin-right: 0.5rem;
}

.stay-tuned {
    font-style: italic;
    color: var(--orange) !important;
    font-size: 1.2rem !important;
    margin-top: 2rem !important;
}

/* Discord Section */
.discord-section {
    background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
    position: relative;
    overflow: hidden;
}

.discord-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: drift 30s linear infinite;
}

@keyframes drift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.discord-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    align-items: center;
}

.discord-text h2 {
    font-family: 'Rye', serif;
    font-size: 3rem;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}

.discord-text p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.discord-benefits {
    list-style: none;
}

.discord-benefits li {
    padding: 0.8rem 0;
    font-size: 1.1rem;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.discord-benefits li:last-child {
    border-bottom: none;
}

.discord-widget {
    display: flex;
    justify-content: center;
    align-items: center;
}

.discord-card {
    background: white;
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 100%;
}

.discord-logo {
    color: #5865f2;
    margin-bottom: 1.5rem;
}

.discord-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.discord-members {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.btn-discord {
    background: #5865f2;
    color: white;
    width: 100%;
    text-align: center;
    padding: 1.2rem;
    font-size: 1.1rem;
    display: block;
}

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

.discord-note {
    font-size: 0.85rem;
    color: #999;
    margin-top: 1rem;
    font-style: italic;
}

/* Footer */
.footer {
    background: var(--dark-brown);
    padding: 3rem 0 1.5rem;
    border-top: 3px solid var(--primary-red);
}

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

.footer-section h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    color: var(--cream);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--light-brown);
    line-height: 1.6;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--light-brown);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(139, 111, 71, 0.3);
}

.footer-bottom p {
    color: var(--light-brown);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

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

    .hero-logo {
        max-width: 100%;
    }

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

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .server-info {
        flex-direction: column;
    }

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

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

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

    .discord-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .discord-text h2 {
        font-size: 2rem;
    }
}