:root {
    --bg-primary: #0a0e14;
    --bg-secondary: #111827;
    --bg-tertiary: #1f2937;
    --bg-glass: rgba(17, 24, 39, 0.85);
    --accent-primary: #00f0ff;
    --accent-secondary: #ff00ff;
    --accent-success: #00ff88;
    --accent-warning: #ffaa00;
    --accent-error: #ff4444;
    --text-primary: #e8eaed;
    --text-secondary: #9ca3af;
    --text-dim: #6b7280;
    --border-subtle: rgba(0, 240, 255, 0.15);
    --border-hover: rgba(0, 240, 255, 0.3);
    --shadow-glow: 0 0 20px rgba(0, 240, 255, 0.15);
    --shadow-glow-intense: 0 0 30px rgba(0, 240, 255, 0.3);
    --font-mono: 'SF Mono', 'Fira Code', 'JetBrains Mono', 'Cascadia Code', 'Source Code Pro', monospace;
    --font-sans: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

#three-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(0, 240, 255, 0.08), transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 0, 255, 0.06), transparent 50%);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

header {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border-subtle);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1001;
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.logo a {
    display: block;
    position: relative;
    z-index: 2;
}

.logo-image {
    height: 80px;
    width: auto;
    display: block;
    transition: all 0.3s ease;
}

.logo a:hover .logo-image {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.5));
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    cursor: pointer;
    position: relative;
    z-index: 1001;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: var(--accent-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
}

.nav-links li {
    position: relative;
    z-index: 2;
}

.nav-links li a {
    color: var(--text-primary);
    text-decoration: none;
    padding: 0.625rem 1.25rem;
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    display: block;
}

.nav-links li a {
    position: relative;
    overflow: hidden;
}

.nav-links li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.nav-links li a:hover::before {
    left: 100%;
}

.nav-links li a:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    list-style: none;
    padding: 0.5rem 0;
    margin-top: 0;
    padding-top: 0.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    z-index: 1000;
}

/* Invisible hover bridge to prevent dropdown closing */
.nav-dropdown::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 0.5rem;
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu li a {
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 0;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dropdown-menu li a:hover {
    background: var(--bg-primary);
}

.dropdown-menu li:first-child a {
    border-radius: 8px 8px 0 0;
}

.dropdown-menu li:last-child a {
    border-radius: 0 0 8px 8px;
}

main {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 150px auto 80px;
    padding: 0 2rem;
    flex: 1;
}

.content-section {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.hero {
    text-align: center;
    padding: 4rem 0 6rem;
    animation: fadeIn 1s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--accent-primary);
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-shadow: 0 0 30px rgba(0, 240, 255, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
    }
    to {
        text-shadow: 0 0 40px rgba(0, 240, 255, 0.6);
    }
}

.hero p {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.hero-buttons .product-badge {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    margin-bottom: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .hero-buttons {
        flex-direction: row;
        gap: 1rem;
    }
}

.btn {
    padding: 0.875rem 2rem;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

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

.btn-primary:hover {
    box-shadow: var(--shadow-glow-intense);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.discord-btn {
    background: #5865F2;
    color: #fff;
    border-color: #5865F2;
}

.discord-btn:hover {
    background: #4752c4;
    border-color: #4752c4;
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.4);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin: 4rem 0 3rem;
    color: var(--text-primary);
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.05), transparent);
    pointer-events: none;
}

.product-card::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 0;
    background: var(--accent-primary);
    transition: height 0.3s ease;
}

.product-card-link:hover .product-card {
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.product-card-link:hover .product-card::after {
    height: 100%;
}

.product-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-icon svg {
    width: 100%;
    height: 100%;
}

.product-card h2 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--accent-primary);
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

.product-card ul {
    list-style: none;
    padding: 0;
}

.product-card li {
    color: var(--text-secondary);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.product-card li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-family: var(--font-mono);
}

.product-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.badge-alpha {
    background: rgba(255, 170, 0, 0.15);
    color: var(--accent-warning);
    border: 1px solid var(--accent-warning);
}

.badge-coming {
    background: rgba(0, 240, 255, 0.15);
    color: var(--accent-primary);
    border: 1px solid var(--accent-primary);
}

.badge-oss {
    background: rgba(0, 255, 136, 0.15);
    color: var(--accent-success);
    border: 1px solid var(--accent-success);
}

.features-section {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 3rem;
    margin-bottom: 4rem;
}

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

.feature-item {
    text-align: center;
    padding: 1.5rem;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-primary);
}

.feature-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

footer {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-subtle);
    padding: 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

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

footer a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 0 0.5rem;
}

footer a:hover {
    color: var(--accent-secondary);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 70px);
        background: var(--bg-glass);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        gap: 0;
        padding: 2rem 1rem;
        border-left: 1px solid var(--border-subtle);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

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

    .nav-links li a {
        width: 100%;
        text-align: center;
        padding: 1rem;
        border: 1px solid var(--border-subtle);
        background: var(--bg-secondary);
    }

    .nav-links li a:hover {
        border-color: var(--accent-primary);
        background: var(--bg-tertiary);
        transform: translateX(-5px);
    }

    /* Mobile Dropdown */
    .nav-dropdown.open .dropdown-menu {
        display: block;
        position: static;
        background: var(--bg-primary);
        border: none;
        margin-top: 0.5rem;
        padding: 0 0 0.5rem 1rem;
        box-shadow: none;
    }

    .dropdown-menu li a {
        text-align: left;
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
    }

    nav {
        padding: 1rem;
    }

    .logo-image {
        height: 60px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.25rem;
    }

    main {
        margin-top: 100px;
        padding: 0 1rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

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

    .labs-sidebar {
        position: relative;
        top: 0;
    }

    .lab-feature-grid {
        grid-template-columns: 1fr;
    }

    .class-grid {
        grid-template-columns: 1fr;
    }

    .lab-actions {
        flex-direction: column;
    }

    .lab-header h2 {
        font-size: 2rem;
    }

    .lab-tagline {
        font-size: 1.25rem;
    }
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--border-hover);
}

/* Labs Section Styles */
.labs-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 4rem;
}

.labs-sidebar {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 2rem;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.labs-sidebar h3 {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-subtle);
}

.labs-projects {
    list-style: none;
    margin-bottom: 2rem;
}

.labs-projects li {
    margin-bottom: 0.5rem;
}

.labs-projects a {
    display: block;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.labs-projects a:hover,
.labs-projects a.active {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: var(--bg-tertiary);
    box-shadow: var(--shadow-glow);
}

.labs-projects a.coming-soon {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.labs-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.labs-content {
    min-width: 0;
}

.lab-project {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.lab-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-subtle);
}

.lab-header h2 {
    font-size: 2.5rem;
    color: var(--accent-primary);
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 1rem 0;
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.lab-tagline {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-style: italic;
}

.lab-content p {
    font-size: 1.1rem;
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.lab-features,
.lab-classes,
.lab-status {
    margin-bottom: 2.5rem;
}

.lab-features h3,
.lab-classes h3,
.lab-status h3 {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    color: var(--accent-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-subtle);
}

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

.lab-feature {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.lab-feature:hover {
    border-color: var(--accent-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.lab-feature i {
    font-size: 2rem;
    color: var(--accent-primary);
    margin-bottom: 1rem;
}

.lab-feature h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.lab-feature p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

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

.class-card {
    background: var(--bg-tertiary);
    border: 2px solid var(--border-subtle);
    border-radius: 12px;
    padding: 2rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.class-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    transition: all 0.3s ease;
}

.class-card:hover {
    transform: translateY(-5px) scale(1.02);
}

.class-card.class-necromancer:hover,
.class-card.class-necromancer::before {
    border-color: var(--accent-error);
    box-shadow: 0 0 20px rgba(255, 68, 68, 0.3);
}

.class-card.class-necromancer::before {
    background: var(--accent-error);
}

.class-card.class-gangster:hover,
.class-card.class-gangster::before {
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.class-card.class-gangster::before {
    background: var(--accent-primary);
}

.class-card.class-rockstar:hover,
.class-card.class-rockstar::before {
    border-color: var(--accent-warning);
    box-shadow: 0 0 20px rgba(255, 170, 0, 0.3);
}

.class-card.class-rockstar::before {
    background: var(--accent-warning);
}

.class-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.class-card.class-necromancer .class-icon {
    color: var(--accent-error);
}

.class-card.class-gangster .class-icon {
    color: var(--accent-primary);
}

.class-card.class-rockstar .class-icon {
    color: var(--accent-warning);
}

.class-card h4 {
    font-size: 1.25rem;
    color: var(--text-primary);
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.class-type {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.class-card.class-necromancer .class-type {
    background: rgba(255, 68, 68, 0.15);
    color: var(--accent-error);
    border: 1px solid var(--accent-error);
}

.class-card.class-gangster .class-type {
    background: rgba(0, 240, 255, 0.15);
    color: var(--accent-primary);
    border: 1px solid var(--accent-primary);
}

.class-card.class-rockstar .class-type {
    background: rgba(255, 170, 0, 0.15);
    color: var(--accent-warning);
    border: 1px solid var(--accent-warning);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-tertiary);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: pulse-status 2s ease-in-out infinite;
}

@keyframes pulse-status {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.status-dot.status-live {
    background: var(--accent-success);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.status-indicator p {
    color: var(--text-primary);
    font-size: 1rem;
}

.status-indicator strong {
    color: var(--accent-success);
}

.lab-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
}

.page-header {
    text-align: center;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 3rem;
    color: var(--accent-primary);
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.content-section {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.content-section h2 {
    color: var(--accent-primary);
    font-family: var(--font-mono);
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.content-section h2:first-child {
    margin-top: 0;
}

.content-section h3 {
    color: var(--accent-secondary);
    font-family: var(--font-mono);
    font-size: 1.25rem;
    margin: 1.5rem 0 0.75rem;
}

.content-section p {
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

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

.content-section li {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.content-section strong {
    color: var(--accent-primary);
}

.about-intro {
    text-align: center;
    padding: 2rem;
    background: var(--bg-tertiary);
    border-radius: 8px;
    margin-bottom: 2rem;
}

.about-intro h2 {
    margin-top: 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.about-item {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 1.5rem;
}

.about-item h3 {
    margin-top: 0;
    color: var(--accent-primary);
}

.about-cta {
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
    font-style: italic;
    color: var(--text-secondary);
}

.contact-primary {
    text-align: center;
    padding: 2rem;
    background: var(--bg-tertiary);
    border-radius: 8px;
    margin-bottom: 2rem;
}

.contact-primary h2 {
    margin-top: 0;
}

.discord-btn-large {
    font-size: 1.25rem;
    padding: 1rem 2.5rem;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .content-section {
        padding: 1.5rem;
    }

    .content-section h2 {
        font-size: 1.25rem;
    }
}

.code-block {
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 2rem;
}

.code-block pre {
    margin: 0;
    padding: 1rem;
}

.code-block code {
    font-family: 'SF Mono', 'Fira Code', 'Monaco', 'Consolas', monospace;
    font-size: 0.875rem;
    color: var(--accent-primary);
    white-space: pre;
    display: block;
    line-height: 1.6;
}

.features-section code {
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'SF Mono', 'Fira Code', 'Monaco', 'Consolas', monospace;
    font-size: 0.85rem;
    color: var(--accent-primary);
}

/* Blog Styles */
.blog-post {
    max-width: 900px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
}

.blog-post article {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 3rem;
}

.blog-header {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-subtle);
}

.blog-date {
    color: var(--text-dim);
    font-size: 0.875rem;
}

.blog-tag {
    background: var(--accent-primary);
    color: var(--bg-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
}

.blog-intro {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.blog-post h2 {
    color: var(--accent-primary);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.blog-post p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.blog-post .pullquote {
    font-size: 1.5rem;
    color: var(--accent-primary);
    font-style: italic;
    text-align: center;
    padding: 2rem;
    border-left: 4px solid var(--accent-primary);
    background: var(--bg-primary);
    border-radius: 0 8px 8px 0;
}

.blog-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
}

.blog-footer a {
    color: var(--accent-primary);
    text-decoration: none;
}

.blog-footer a:hover {
    text-decoration: underline;
}

.blog-nav {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
}

/* Blog List */
.blog-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.blog-card {
    display: block;
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.blog-card-header {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 0.75rem;
}

.blog-card h2 {
    color: var(--text-primary);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.blog-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}
