:root {
    --bg-dark: #030508;
    --card-glass: rgba(8, 14, 24, 0.75);
    --accent-orange: #ff7900;
    --accent-orange-glow: rgba(255, 121, 0, 0.4);
    --text-main: #f0f4f8;
    --text-muted: #8fa0b5;
    --border-cyan: rgba(255, 121, 0, 0.35);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.background-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 121, 0, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 121, 0, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -3;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(115deg, #030508 15%, #261102 45%, #ff790025 70%, #030508 90%);
    background-size: 300% 300%;
    animation: orangeFlowRight 12s ease infinite;
    z-index: -2;
    transform: translateZ(0);
}

@keyframes orangeFlowRight {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.water-waves-effect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 50% 120%, rgba(255, 115, 0, 0.2) 0%, transparent 70%);
    animation: waterWaveMotion 7s ease-in-out infinite alternate;
    z-index: -1;
    pointer-events: none;
    transform: translateZ(0);
}

@keyframes waterWaveMotion {
    0% { transform: translateY(0px) scale(1); opacity: 0.6; }
    100% { transform: translateY(25px) scale(1.08); opacity: 1; }
}

.main-wrapper {
    flex: 1;
    display: grid;
    grid-template-columns: 240px minmax(auto, 650px) 240px;
    gap: 30px;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    max-width: 1250px;
    margin: 0 auto;
    width: 100%;
}

.side-panel {
    background: var(--card-glass);
    border: 1px solid var(--border-cyan);
    padding: 20px 15px;
    height: 420px;
    border-radius: 4px;
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.side-panel h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--accent-orange);
    font-size: 0.75rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-align: center;
    line-height: 1.4;
}

.scrolling-list {
    flex: 1;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}

.static-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding-top: 35px;
}

.static-content span {
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--text-muted);
}

aside.side-panel.left .scrolling-list {
    mask-image: none;
    -webkit-mask-image: none;
}

.scroll-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    animation: scrollNames 35s linear infinite;
    text-align: center;
}

.scroll-content span {
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@keyframes scrollNames {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.closure-card {
    position: relative;
    background: var(--card-glass);
    border: 1px solid var(--border-cyan);
    border-left: 4px solid var(--accent-orange);
    padding: 50px 40px;
    width: 100%;
    text-align: center;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 121, 0, 0.15);
    border-radius: 4px;
    overflow: hidden;
}

.card-scanner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-orange), transparent);
    animation: scanLine 3s linear infinite;
}

@keyframes scanLine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.badge-status {
    display: inline-block;
    background: rgba(255, 121, 0, 0.12);
    border: 1px solid var(--accent-orange);
    color: var(--accent-orange);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 6px 14px;
    margin-bottom: 20px;
    border-radius: 2px;
}

.main-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 3px;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 121, 0, 0.3);
}

.closure-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 35px;
}

.closure-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.tactical-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-decoration: none;
    transition: all 0.25s ease;
    border-radius: 2px;
}

.discord-btn {
    background: rgba(88, 101, 242, 0.15);
    border: 1px solid #5865f2;
    color: #ffffff;
}

.discord-btn:hover {
    background: #5865f2;
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.5);
}

.repo-btn {
    background: var(--accent-orange);
    border: 1px solid var(--accent-orange);
    color: #030508;
}

.repo-btn:hover {
    background: #ff9130;
    box-shadow: 0 0 20px var(--accent-orange-glow);
    color: #030508;
}

.tactical-footer {
    background: #020305;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 20px;
    text-align: center;
}

.tactical-footer p {
    font-family: monospace;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 2px;
}

@media (max-width: 1100px) {
    .main-wrapper {
        grid-template-columns: 1fr;
        max-width: 650px;
    }
    .side-panel {
        display: none;
    }
}

@media (max-width: 600px) {
    .closure-card {
        padding: 35px 20px;
    }
    .main-title {
        font-size: 1.6rem;
    }
    .closure-links {
        flex-direction: column;
    }
    .tactical-btn {
        width: 100%;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
    flex: 1;
}

.tactical-header-nav {
    position: relative;
    z-index: 9999;
    background: var(--card-glass);
    border: 1px solid var(--border-cyan);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 4px;
    padding: 15px 25px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.tactical-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--accent-orange);
    text-decoration: none;
    letter-spacing: 2px;
    text-shadow: 0 0 10px var(--accent-orange-glow);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.nav-links a, 
.drop-btn {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-links a:hover, 
.drop-btn:hover {
    color: var(--accent-orange);
    text-shadow: 0 0 8px var(--accent-orange-glow);
}

.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 20px;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    background: var(--card-glass);
    border: 1px solid var(--border-cyan);
    min-width: 220px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 4px;
    padding: 10px 0;
    z-index: 10000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
}

.dropdown-content a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    color: var(--text-main);
    text-decoration: none;
}

.dropdown-content a:hover {
    background: rgba(255, 121, 0, 0.15);
    color: var(--accent-orange);
}

.nav-dropdown:hover .dropdown-content {
    display: block;
}

.hero-section {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 60px 20px;
    background: var(--card-glass);
    border: 1px solid var(--border-cyan);
    border-left: 4px solid var(--accent-orange);
    border-radius: 4px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    margin-bottom: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.hero-scanner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-orange), transparent);
    animation: scanLine 3s linear infinite;
}

.hero-content h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.4rem;
    font-weight: 900;
    letter-spacing: 3px;
    color: #ffffff;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(255, 121, 0, 0.3);
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.btn-main-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent-orange);
    color: #030508;
    padding: 14px 28px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-decoration: none;
    border-radius: 2px;
    transition: all 0.25s ease;
}

.btn-main-action:hover {
    background: #ff9130;
    box-shadow: 0 0 20px var(--accent-orange-glow);
    color: #030508;
}

.about-section {
    margin-bottom: 40px;
}

.section-title-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 35px;
}

.section-title-wrap .line {
    flex: 1;
    height: 2px;
    background: var(--border-cyan);
}

.section-title-wrap h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--accent-orange);
    font-size: 1.6rem;
    letter-spacing: 2px;
    text-shadow: 0 0 10px var(--accent-orange-glow);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    width: 100%;
}

.about-card:first-child {
    grid-column: auto;
}

.about-card {
    background: var(--card-glass);
    border: 1px solid var(--border-cyan);
    padding: 30px 25px;
    border-radius: 4px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.about-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-orange);
}

.card-icon-wrap {
    font-size: 2rem;
    color: var(--accent-orange);
    margin-bottom: 18px;
}

.about-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.about-card p {
    color: var(--text-muted);
    line-height: 1.65;
    font-size: 0.95rem;
}


.main-footer {
    background: #020305;
    border-top: 1px solid var(--border-cyan);
    padding: 25px 20px;
    text-align: center;
    margin-top: auto;
}

.main-footer p {
    font-family: monospace;
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    .tactical-nav {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 12px;
    }

    .dropdown-content {
        position: static;
        width: 100%;
        box-shadow: none;
    }

    .hero-content h1 {
        font-size: 1.7rem;
    }
}