/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8B4513;
    --secondary-color: #D2691E;
    --accent-color: #DAA520;
    --dark-bg: #1a0f0a;
    --light-bg: #2d1810;
    --text-light: #f5e6d3;
    --text-dark: #1a0f0a;
    --border-color: #5c3a21;
}

body {
    font-family: 'Georgia', serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 15, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 2px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-family: 'Rye', cursive;
    font-size: 2rem;
    color: var(--accent-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 3px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--accent-color);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%23654321" width="1200" height="800"/><path fill="%23543210" d="M0 400 L200 350 L400 420 L600 380 L800 410 L1000 370 L1200 400 L1200 800 L0 800 Z"/><circle fill="%23D2691E" cx="900" cy="150" r="80" opacity="0.3"/></svg>');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(139, 69, 19, 0.03) 2px,
            rgba(139, 69, 19, 0.03) 4px
        );
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(26, 15, 10, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

.hero-title {
    font-family: 'Rye', cursive;
    font-size: 6rem;
    color: var(--accent-color);
    text-shadow: 
        3px 3px 0px var(--primary-color),
        6px 6px 20px rgba(0, 0, 0, 0.8);
    margin-bottom: 1rem;
    letter-spacing: 8px;
    animation: fadeInDown 1s ease;
}

.hero-subtitle {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-description {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.4s both;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: var(--accent-color);
    animation: bounce 2s infinite;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 3px solid var(--accent-color);
    background: var(--primary-color);
    color: var(--text-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

.btn:hover {
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(218, 165, 32, 0.4);
}

.btn-discord {
    background: #5865F2;
    border-color: #5865F2;
}

.btn-discord:hover {
    background: #4752C4;
    border-color: #4752C4;
}

/* Sections */
section {
    padding: 5rem 0;
    position: relative;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--accent-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 3px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: var(--accent-color);
    margin: 1rem auto;
}

/* About Section */
.about {
    background: var(--light-bg);
    border-top: 2px solid var(--border-color);
    border-bottom: 2px solid var(--border-color);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.about-card {
    background: rgba(139, 69, 19, 0.2);
    padding: 2rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(218, 165, 32, 0.2);
}

.card-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.about-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.about-card p {
    color: var(--text-light);
    opacity: 0.9;
}

/* Features Section */
.features {
    background: var(--dark-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.3), rgba(92, 58, 33, 0.3));
    padding: 2rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: var(--accent-color);
    transform: scale(1.05);
}

.feature-item h3 {
    font-size: 1.3rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.feature-item p {
    opacity: 0.9;
}

/* Rules Section */
.rules {
    background: var(--light-bg);
    border-top: 2px solid var(--border-color);
}

.rules-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.rule-card {
    background: rgba(26, 15, 10, 0.6);
    padding: 2rem;
    border-left: 4px solid var(--accent-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.rule-card:hover {
    background: rgba(26, 15, 10, 0.8);
    transform: translateX(10px);
}

.rule-card h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-family: 'Cinzel', serif;
}

/* Join Section */
.join {
    background: var(--dark-bg);
}

.join-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--accent-color);
    color: var(--dark-bg);
    font-size: 2.5rem;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(218, 165, 32, 0.3);
}

.step h3 {
    font-family: 'Cinzel', serif;
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Discord Section */
.discord {
    background: linear-gradient(135deg, var(--light-bg), var(--dark-bg));
    border-top: 2px solid var(--border-color);
    text-align: center;
}

.discord-content {
    max-width: 600px;
    margin: 0 auto;
}

.discord-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    border-top: 3px solid var(--border-color);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--accent-color);
    font-family: 'Cinzel', serif;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    opacity: 0.7;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-20px);
    }
    60% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-grid,
    .features-grid,
    .rules-content,
    .join-steps {
        grid-template-columns: 1fr;
    }
}
