:root {
    --primary: #ff3b00;
    --dark: #0d0d0d;
    --darker: #000000;
    --light: #ffffff;
    --accent: #1f1f1f;
    --chicago-red: #ff3b00;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
    background-color: var(--darker);
    color: var(--light);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background-color: var(--dark);
    padding: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 60px;
    height: 60px;
    margin-right: 15px;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 18px;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8)), url('images/chicago-skyline.jpg') center/cover;
    margin-top: 100px;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--primary);
}

.hero img {
    width: 200px;
    height: 200px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.hero h2 {
    font-size: 48px;
    margin: 20px 0;
    color: var(--primary);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 20px;
    max-width: 600px;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary);
    color: var(--dark);
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 59, 0, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(255, 59, 0, 0.4);
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: var(--dark);
    position: relative;
}

.features::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--primary);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h3 {
    font-size: 36px;
    color: var(--primary);
}

.section-title p {
    font-size: 18px;
    max-width: 600px;
    margin: 15px auto 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--accent);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border-top: 3px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border-top: 3px solid var(--primary);
}

.feature-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-card h4 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary);
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background-color: var(--darker);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    border: 3px solid var(--dark);
    transition: all 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover {
    border-color: var(--primary);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Join Section */
.join {
    padding: 100px 0;
    background-color: var(--dark);
    text-align: center;
    position: relative;
}

.join::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--primary);
}

.server-info {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    flex-wrap: wrap;
    gap: 30px;
}

.info-card {
    background-color: var(--accent);
    border-radius: 10px;
    padding: 30px;
    min-width: 300px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border-left: 3px solid var(--chicago-red);
}

.info-card h4 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary);
}

.info-card p {
    font-size: 18px;
    margin-bottom: 20px;
}

.discord-button {
    display: inline-flex;
    align-items: center;
    background-color: #5865F2;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: 40px;
}

.discord-button i {
    margin-right: 10px;
}

.discord-button:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

/* Footer */
footer {
    background-color: var(--darker);
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 20px 0;
}

.footer-links li {
    margin: 0 15px;
}

.footer-links a {
    color: var(--light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.copyright {
    font-size: 14px;
    color: #a0a0a0;
    margin-top: 20px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
    display: block;
}

.modal-content {
    background-color: var(--dark);
    margin: 5% auto;
    padding: 25px;
    border-radius: 10px;
    max-width: 800px;
    width: 90%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    border-top: 4px solid var(--chicago-red);
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close {
    color: var(--primary);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: white;
}

.modal h2 {
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-body {
    margin-top: 20px;
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 15px;
}

.modal-body h3 {
    color: var(--primary);
    margin: 25px 0 10px 0;
    font-size: 18px;
    font-weight: bold;
}

.modal-body p {
    margin-bottom: 15px;
    line-height: 1.5;
}

.modal-body ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.modal-body li {
    margin-bottom: 8px;
}

.docs-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin: 15px 0;
    border: 1px solid var(--primary);
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.docs-link:hover {
    background-color: var(--primary);
    color: var(--darker);
}

.rules-footer {
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-style: italic;
    color: #aaa;
}

.faq-list .faq-item {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-list .faq-item:last-child {
    border-bottom: none;
}

.faq-list h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--dark);
        flex-direction: column;
        align-items: center;
        padding-top: 40px;
        transition: all 0.5s ease;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .hero h2 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .section-title h3 {
        font-size: 30px;
    }
    
    .features-grid, .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
    }
    
    .footer-links li {
        margin: 10px 0;
    }
}