* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    color: inherit;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #4c1d95 0%, #5b21b6 100%);
    color: #ffffff;
    min-height: 100vh;
}

.navbar {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.logo {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: transparent;
}

.nav-links a:hover {
    color: #c4b5fd;
    background: rgba(255, 255, 255, 0.1);
}

.nav-links a:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
}

.nav-links a:active {
    background: rgba(255, 255, 255, 0.1);
}

/* Hamburger toggle - hidden on desktop */
.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.6rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    z-index: 1001;
    position: relative;
}

.nav-toggle.open {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
}

.nav-container {
    display: flex;
    align-items: center;
}

/* Mobile nav hidden by default; revealed when .open class is added */
.nav-container.hidden-mobile {
    display: none;
}

.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-backdrop.show {
    display: block;
    opacity: 1;
}

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

.hero {
    text-align: center;
    padding: 6rem 3rem 8rem 3rem;
    background: rgba(0, 0, 0, 0.15);
    /* lighter hero background */
    border-radius: 20px;
    margin-bottom: 3rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.02em;
}

.hero p {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-top: 1.5rem;
    padding-bottom: 1rem;
}

.section {
    background: rgba(255, 255, 255, 0.08);
    /* lighter sections with white tint */
    backdrop-filter: blur(6px);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.section h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.section p,
.section li {
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.section ul {
    margin-left: 2rem;
}

.subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 2rem;
    font-style: italic;
}

.announcement {
    background: rgba(139, 92, 246, 0.08);
    /* more airy announcement */
    border-left: 4px solid #8b5cf6;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
}

.announcement h3 {
    margin-top: 0;
    color: #ffffff;
}

.btn {
    display: inline-block;
    background: #7c3aed;
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
    margin-top: 1rem;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn:hover {
    background: #6d28d9;
    transform: translateY(-1px);
}

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

.card {
    background: rgba(0, 0, 0, 0.5);
    /* darker cards for better contrast */
    padding: 1.5rem;
    border-radius: 10px;
    transition: transform 0.3s;
    border: 1px solid rgba(139, 92, 246, 0.4);
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.8);
}

.card h3 {
    margin-top: 0;
    color: #e9d5ff;
    margin-bottom: 1rem;
}

.card ul {
    margin-left: 1.5rem;
}

.card li {
    margin-bottom: 0.5rem;
}

footer {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.5);
    margin-top: 3rem;
}

.hidden {
    display: none;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.social-links a {
    color: #a78bfa;
    text-decoration: none;
    font-weight: 500;
}

.social-links a:hover {
    color: #e9d5ff;
}

/* FAQ Specific Styles */
.faq-category {
    margin-bottom: 2.5rem;
}

.faq-category h3 {
    font-size: 1.8rem;
    color: #e9d5ff;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(139, 92, 246, 0.5);
}

.faq-item {
    background: rgba(255, 255, 255, 0.08);
    /* lighter FAQ items */
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 10px;
    border-left: 3px solid #8b5cf6;
    transition: all 0.3s;
}

.faq-item:hover {
    background: rgba(0, 0, 0, 0.4);
    border-left-color: #a78bfa;
}

.faq-item h4 {
    color: #c4b5fd;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.faq-item p {
    color: #e9d5ff;
    line-height: 1.7;
    margin-bottom: 0;
}

.text-link {
    color: #a78bfa;
    text-decoration: underline;
    transition: color 0.3s;
    cursor: pointer;
}

.text-link:hover {
    color: #c4b5fd;
}

/* About Page - Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    background: rgba(0, 0, 0, 0.5);
    /* darker team member cards */
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid rgba(139, 92, 246, 0.3);
    transition: all 0.3s;
}

.team-member:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.8);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.member-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.team-member h3 {
    color: #e9d5ff;
    font-size: 1.5rem;
    margin: 0.5rem 0;
}

.member-role {
    color: #a78bfa;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-traits {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.trait {
    background: rgba(139, 92, 246, 0.4);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #e9d5ff;
}

.team-member p {
    color: #ddd6fe;
    line-height: 1.6;
    font-size: 1rem;
}

/* About Page - Thanks Section */
.thanks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.thanks-member {
    background: rgba(255, 255, 255, 0.08);
    /* lighter thanks member cards */
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s;
}

.thanks-member:hover {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(139, 92, 246, 0.6);
}

.thanks-icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
}

.thanks-name {
    color: #e9d5ff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.thanks-role {
    color: #c4b5fd;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Streamers Page */
.streamers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.streamer-card {
    background: rgba(0, 0, 0, 0.5);
    /* darker streamer cards */
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid rgba(139, 92, 246, 0.3);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.streamer-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.8);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.streamer-avatar {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.streamer-avatar img.streamer-logo {
    width: 96px;
    height: 96px;
    object-fit: contain;
    border-radius: 12px;
    display: inline-block;
}

.streamer-card h3 {
    color: #e9d5ff;
    font-size: 1.5rem;
    margin: 0.5rem 0;
}

.streamer-platform {
    color: #a78bfa;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.streamer-platform a {
    color: #a78bfa;
    text-decoration: none;
    transition: color 0.3s;
}

.streamer-card p {
    color: #ddd6fe;
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.streamer-stats {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.stat {
    background: rgba(139, 92, 246, 0.4);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #e9d5ff;
}

.streamer-btn {
    display: inline-block;
    background: #7c3aed;
    color: #ffffff;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
    cursor: pointer;
}

.streamer-btn:hover {
    background: #6d28d9;
    transform: translateY(-1px);
}

/* Change Log Page */
.changelog-entry {
    background: rgba(0, 0, 0, 0.5);
    /* darker changelog entries */
    border-radius: 12px;
    margin-bottom: 2rem;
    overflow: hidden;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.changelog-header {
    background: rgba(139, 92, 246, 0.15);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.changelog-header h3 {
    color: #e9d5ff;
    font-size: 1.5rem;
    margin: 0;
}

.changelog-date {
    color: #c4b5fd;
    font-size: 0.95rem;
    margin-left: auto;
}

.changelog-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.changelog-badge.new {
    background: #10b981;
    color: #ffffff;
}

.changelog-badge.launch {
    background: #f59e0b;
    color: #ffffff;
}

.changelog-content {
    padding: 2rem;
}

.changelog-content h4 {
    color: #e9d5ff;
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.changelog-content h4:first-child {
    margin-top: 0;
}

.changelog-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.changelog-content li {
    color: #ddd6fe;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

/* Hero overlay + layout (appended) */
.hero {
    position: relative;
    overflow: hidden;
    padding: 0;
    /* remove padding so the absolutely-positioned image can reach container edges */
}

/* Header image fills the hero container */
.hero-header-image {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    width: 100%;
    /* span the hero's width (which is bounded by the .container) */
    height: 320px;
    object-fit: cover;
    border-radius: 0;
    /* match container edges */
    margin: 0;
}

.hero-content {
    position: relative;
    /* sits above the absolutely positioned image */
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    color: #ffffff;
    text-align: center;
    padding: 2rem;
    /* keep content padding inside the hero */
}

.hero-content h1 {
    font-size: 3rem;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
    margin-bottom: 0.5rem;
}

.hero-content p {
    font-size: 1.1rem;
    max-width: 900px;
    opacity: 0.95;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.45);
}

/* subtle overlay for readability */
.hero::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.4));
    z-index: 1;
}

@media (max-width: 900px) {
    .hero-header-image {
        height: 260px;
    }

    .hero-content h1 {
        font-size: 2.25rem;
    }
}

@media (max-width: 480px) {
    .hero-header-image {
        height: 180px;
    }

    .hero-content h1 {
        font-size: 1.6rem;
    }
}

/* Carousel styles */
.carousel {
    position: relative;
    max-width: 1000px;
    margin: 1.5rem auto;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.02));
    border-radius: 8px;
}

.carousel-track {
    display: flex;
    transition: transform 400ms ease-in-out;
    will-change: transform;
}

.carousel-slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-slide img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
}

.carousel-btn:focus {
    outline: 2px solid #ffd;
}

.carousel-btn.prev {
    left: 12px;
}

.carousel-btn.next {
    right: 12px;
}

.carousel-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    padding: 0.75rem 0;
}

.carousel-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
}

.carousel-dots button[aria-selected="true"] {
    background: #6c5ce7;
}

@media (min-width: 700px) {
    .carousel-slide {
        padding: 1rem;
    }
}

/* Desktop navigation - ensure menu words are always visible */
@media (min-width: 769px) {
    .nav-toggle {
        display: none !important;
    }

    .nav-container {
        position: static !important;
        transform: none !important;
        background: none !important;
        box-shadow: none !important;
        width: auto !important;
        height: auto !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: row !important;
        overflow-y: visible !important;
    }

    .nav-links {
        display: flex !important;
        flex-direction: row !important;
        gap: 2rem !important;
        margin: 0 !important;
        padding: 0 !important;
        width: auto !important;
        align-items: center !important;
    }

    .nav-links li {
        width: auto !important;
        margin: 0 !important;
    }

    .nav-links a {
        display: inline-block !important;
        padding: 0.5rem 1rem !important;
        background: transparent !important;
        width: auto !important;
        border-radius: 6px !important;
        margin-bottom: 0 !important;
    }

    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.1) !important;
    }

    .nav-links a:focus {
        background: rgba(255, 255, 255, 0.1) !important;
    }

    .nav-links a:active {
        background: rgba(255, 255, 255, 0.1) !important;
    }

    .nav-backdrop {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .navbar-inner {
        padding: 0 1rem;
    }

    .logo-container {
        order: 1;
        margin-bottom: 0;
    }

    /* Show hamburger menu on mobile */
    .nav-toggle {
        display: inline-block;
        margin-left: auto;
        order: 2;
    }

    /* Mobile nav panel */
    .nav-container {
        position: fixed;
        top: 70px;
        right: 0;
        width: 80%;
        max-width: 320px;
        height: calc(100vh - 70px);
        background: rgba(12, 6, 23, 0.95);
        backdrop-filter: blur(10px);
        box-shadow: -6px 0 30px rgba(0, 0, 0, 0.6);
        transform: translateX(100%);
        transition: transform 300ms ease;
        z-index: 1000;
        display: flex;
        flex-direction: column;
        padding: 1rem;
        overflow-y: auto;
    }

    .nav-container.open {
        transform: translateX(0);
    }

    .nav-links {
        flex-direction: column;
        gap: 0;
        width: 100%;
        align-items: stretch;
        padding: 0;
        margin-top: 1rem;
    }

    .nav-links li {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .nav-links a {
        display: block;
        padding: 1rem;
        width: 100%;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.05);
        transition: all 0.3s ease;
    }

    .nav-links a:hover {
        background: rgba(124, 58, 237, 0.3);
        color: #ffffff;
    }

    .container {
        padding: 0.5rem;
    }

    .hero {
        border-radius: 0;
        margin-bottom: 1.5rem;
        padding: 0;
    }

    .section {
        padding: 1rem 0.5rem;
        border-radius: 8px;
    }

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

    .team-grid,
    .thanks-grid,
    .streamers-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .card,
    .team-member,
    .thanks-member,
    .streamer-card {
        padding: 1rem;
        border-radius: 8px;
    }

    .hero-content {
        min-height: 180px;
        padding: 1rem 0.5rem;
    }

    .hero-content h1 {
        font-size: 1.3rem;
    }

    .hero-content p {
        font-size: 1rem;
        padding: 0 0.25rem;
    }

    .carousel {
        max-width: 100vw;
        border-radius: 0;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }

    .carousel-slide img {
        border-radius: 4px;
        max-height: 220px;
        object-fit: cover;
    }

    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 1rem;
        border-radius: 6px;
    }

    .announcement {
        padding: 1rem;
        font-size: 1rem;
    }

    .faq-category h3 {
        font-size: 1.2rem;
    }

    .faq-item {
        padding: 1rem;
        font-size: 1rem;
    }

    .logo-container {
        order: 1;
        margin-bottom: 0;
    }

    .nav-container {
        position: fixed;
        top: 70px;
        right: 0;
        width: 80%;
        max-width: 320px;
        height: calc(100vh - 70px);
        background: rgba(12, 6, 23, 0.95);
        backdrop-filter: blur(10px);
        box-shadow: -6px 0 30px rgba(0, 0, 0, 0.6);
        transform: translateX(100%);
        transition: transform 300ms ease;
        z-index: 1000;
        display: flex;
        flex-direction: column;
        padding: 1rem;
        overflow-y: auto;
    }

    .nav-container.open {
        transform: translateX(0);
    }

    /* Duplicate navigation styles removed to prevent dark spots on desktop.
Mobile-specific navigation styles are defined inside the media queries below.
*/

    @media (max-width: 400px) {
        .hero-content {
            min-height: 120px;
            padding: 0.5rem 0.1rem;
        }

        .hero-content h1 {
            font-size: 1.05rem;
        }

        .carousel-slide img {
            max-height: 120px;
        }
    }
}