/* Global Styles */
:root {
    --primary-bg: #171c26;
    --secondary-bg: #1e2535;
    --accent-color: #3a8eff;
    --text-primary: #ffffff;
    --text-secondary: #a0a8c0;
    --discord-color: #5865f2;
    --card-bg: #222a3c;
    --border-color: #2c364f;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.btn {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--text-primary);
}

.btn-primary:hover {
    background-color: #2a7dee;
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--text-secondary);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background-color: rgba(160, 168, 192, 0.1);
}

.btn-discord {
    background-color: var(--discord-color);
    color: var(--text-primary);
}

.btn-discord:hover {
    background-color: #4752c4;
}

.btn:active, .read-more:active, a:active {
    opacity: 0.8;
    transform: scale(0.98);
}

.touch-active .btn:hover {
    transform: none;
}

.touch-active .announcement-card:hover {
    transform: none;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(23, 28, 38, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.nav-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Hero Section */
.hero {
    min-height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 70px;
    padding-bottom: 20px;
    background: linear-gradient(to bottom, var(--primary-bg), var(--secondary-bg));
}

.hero-content {
    max-width: 800px;
    padding: 0 1rem;
    width: 100%;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    word-wrap: break-word;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.invite-only {
    font-size: 0.9rem;
    color: var(--accent-color);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Announcements Section */
.announcements {
    padding: 1.5rem 1rem;
    background-color: var(--secondary-bg);
}

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

.announcements h2 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.announcements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.announcement-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 1.2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.5s ease;
    border: 1px solid var(--border-color);
    opacity: 0;
    transform: translateY(20px);
}

.announcement-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.announcement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.announcement-date {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.announcement-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.announcement-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.read-more {
    display: inline-block;
    color: var(--accent-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #2a7dee;
}

/* Footer */
footer {
    background-color: var(--primary-bg);
    padding: 4rem 2rem 1.5rem;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 1001;
    background-color: var(--accent-color);
    color: var(--text-primary);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    text-align: center;
    line-height: 45px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background-color: #2a7dee;
}

.menu-toggle i {
    font-size: 1.2rem;
}

/* Navbar is active class for mobile */
.navbar.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

/* Mobile Header */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-bg);
    padding: 1rem;
    z-index: 1001;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    justify-content: space-between;
    align-items: center;
}

.mobile-logo a {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .navbar-container {
        padding: 0 1rem;
    }
    
    .navbar {
        padding: 0.8rem 0;
    }
    
    .logo a {
        font-size: 1.3rem;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .hero {
        min-height: auto;
        padding-top: 80px;
        padding-bottom: 10px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .announcements-grid {
        grid-template-columns: 1fr;
    }
    
    .announcement-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .mobile-header {
        display: flex;
    }
    
    .menu-toggle {
        position: relative;
        top: 0;
        right: 0;
        z-index: 1002;
    }
    
    .navbar .logo {
        display: none; /* Hide duplicate logo in navbar */
    }
    
    .navbar {
        position: fixed;
        top: 60px; /* Position below mobile header */
        left: 0;
        width: 100%;
        height: auto;
        transform: translateY(-120%) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: all 0.3s ease;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        background-color: rgba(23, 28, 38, 0.97);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        z-index: 1000;
    }
    
    .navbar.active {
        transform: translateY(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .navbar-container {
        flex-direction: column;
        gap: 1rem;
        padding: 2rem 1rem;
    }
    
    .nav-buttons {
        width: 100%;
        flex-direction: column;
        justify-content: center;
        gap: 1rem;
    }
    
    .hero {
        padding-top: 80px; /* Adjust for mobile header */
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        width: 100%;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .invite-only {
        font-size: 0.8rem;
        margin-bottom: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }
    
    .announcements h2 {
        font-size: 1.5rem;
    }
    
    .announcement-card h3 {
        font-size: 1.1rem;
    }
}

/* Fix for very small screens */
@media (max-width: 320px) {
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        width: 100%;
    }
    
    .nav-buttons {
        flex-direction: column;
    }
} 