:root {
    /* Light mode colors */
    --primary-yellow: #FFD700;
    --primary-orange: #FF8C00;
    --primary-red: #FF4500;
    --primary-brown: #8B4513;
    --primary-black: #000000;
    --background-light: #FFFFFF;
    --text-light: #333333;
    --nav-bg-light: #FFF8E1;
    --footer-bg-light: #FFF8E1;
}

@media (prefers-color-scheme: dark) {
    :root {
        /* Dark mode colors */
        --primary-yellow: #FFD700;
        --primary-orange: #FF8C00;
        --primary-red: #FF4500;
        --primary-brown: #8B4513;
        --primary-black: #000000;
        --background-light: #1A1A1A;
        --text-light: #FFFFFF;
        --nav-bg-light: #2D2D2D;
        --footer-bg-light: #2D2D2D;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background-color: var(--background-light);
    color: var(--text-light);
}

/* Header Styles */
header {
    background: linear-gradient(to right, var(--primary-yellow), var(--primary-orange), var(--primary-red));
    padding: 1rem 0;
}

.banner {
    text-align: center;
    padding: 1rem;
}

.logo {
    max-width: 300px;
    height: auto;
}

/* Navigation Styles */
nav {
    background: rgba(0, 0, 0, 0.8);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

nav li {
    position: relative;
    margin: 0;
    padding: 0;
}

nav a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    padding: 15px 20px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

nav a:hover {
    color: #00b3ff;
    background: rgba(0, 179, 255, 0.1);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #00b3ff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav a:hover::after {
    width: 100%;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(0, 0, 0, 0.95);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    border-radius: 0 0 8px 8px;
    z-index: 1002;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-content,
.dropdown.active .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-content a {
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background: rgba(0, 179, 255, 0.15);
    padding-left: 25px;
}

/* Sub Navigation Styles */
.sub-nav {
    background: rgba(0, 0, 0, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 999;
}

.sub-nav ul {
    justify-content: center;
    padding: 0 20px;
}

.sub-nav a {
    padding: 10px 15px;
    font-size: 0.9em;
}

.sub-nav .dropdown-content {
    z-index: 1001;
}

/* Special Link Styles */
.discord-link {
    background: #5865F2;
    color: white !important;
    border-radius: 4px;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.discord-link:hover {
    background: #4752C4 !important;
    transform: translateY(-2px);
}

.login-link {
    background: #FF8C00;
    color: white !important;
    border-radius: 4px;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.login-link:hover {
    background: #FF6B00 !important;
    transform: translateY(-2px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: stretch;
    }

    nav li {
        width: 100%;
    }

    nav a {
        padding: 12px 20px;
        text-align: center;
    }

    .dropdown-content {
        position: static;
        background: rgba(0, 0, 0, 0.5);
        box-shadow: none;
        opacity: 1;
        transform: none;
        display: none;
        width: 100%;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .dropdown-content a {
        text-align: center;
        padding: 12px 20px;
    }

    .dropdown-content a:hover {
        padding-left: 20px;
    }

    .sub-nav ul {
        flex-direction: column;
    }

    .sub-nav a {
        text-align: center;
    }

    .discord-link, .login-link {
        margin: 5px 0;
        text-align: center;
    }
}

/* Main Content Styles */
main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.about-section {
    background-color: var(--nav-bg-light);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 2rem auto;
    max-width: 1000px;
}

.about-section h1 {
    color: var(--primary-orange);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.about-section .content {
    max-width: 800px;
    margin: 0 auto;
}

.about-section .content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.about-section .content .intro {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary-orange);
}

.about-section .content .mission {
    border-left: 4px solid var(--primary-orange);
    padding-left: 1.5rem;
    margin: 2rem 0;
}

.about-section .content .values {
    background-color: rgba(255, 140, 0, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.about-section .content .cta {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-orange);
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .about-section {
        padding: 1.5rem;
        margin: 1rem;
    }

    .about-section h1 {
        font-size: 2rem;
    }

    .about-section .content p {
        font-size: 1rem;
    }

    .about-section .content .intro {
        font-size: 1.1rem;
    }

    .about-section .content .cta {
        font-size: 1.2rem;
    }
}

/* Footer Styles */
footer {
    background-color: var(--footer-bg-light);
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 0 1rem;
}

.legal-links {
    margin-top: 1rem;
}

.legal-links a {
    color: var(--text-light);
    text-decoration: none;
    margin: 0 1rem;
}

.legal-links a:hover {
    color: var(--primary-orange);
}

/* Org page styles */
.org-section {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.org-header {
    text-align: center;
    margin-bottom: 2rem;
}

.org-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary-orange);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: var(--primary-red);
}

/* Coming soon styles */
.coming-soon-section {
    max-width: 800px;
    margin: 4rem auto;
    padding: 2rem;
    text-align: center;
}

.coming-soon-message {
    background-color: var(--nav-bg-light);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.coming-soon-message h2 {
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

/* Inventory page styles */
.inventory-section {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.inventory-grid {
    background-color: var(--nav-bg-light);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.inventory-grid table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.inventory-grid th,
.inventory-grid td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--primary-orange);
}

.inventory-grid th {
    background-color: var(--primary-orange);
    color: white;
    font-weight: bold;
}

.inventory-grid tr:hover {
    background-color: rgba(255, 140, 0, 0.1);
}

.inventory-controls {
    margin-top: 2rem;
    padding: 1rem;
    background-color: var(--nav-bg-light);
    border-radius: 8px;
}

.inventory-controls input {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid var(--primary-orange);
    border-radius: 4px;
    background-color: var(--background-light);
    color: var(--text-light);
}

.inventory-controls button {
    background-color: var(--primary-orange);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.inventory-controls button:hover {
    background-color: var(--primary-red);
} 