:root {
    --bg-color: #0a0a0c;
    --sidebar-bg: #111115;
    --panel-bg: #15151a;
    --text-main: #ffffff;
    --text-muted: #8b8b93;
    --accent: #ffffff;
    --border-color: #33333a;
    --glow-color: rgba(255, 255, 255, 0.4);
    --border-glow: 0 0 10px rgba(255, 255, 255, 0.2), 0 0 20px rgba(255, 255, 255, 0.1);
    --text-glow: 0 0 8px rgba(255, 255, 255, 0.8), 0 0 15px rgba(255, 255, 255, 0.5);
    --active-glow: 0 0 15px rgba(255, 255, 255, 0.4), inset 0 0 10px rgba(255, 255, 255, 0.1);
}

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

.flex-col {
    display: flex;
    flex-direction: column;
}

.flex-row {
    display: flex;
    flex-direction: row;
}

html, body {
    overscroll-behavior: none;
    scroll-behavior: smooth;
}
html {
    overflow-y: scroll;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #000000;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
}

/* Stars Background */
.star-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.star {
    position: absolute;
    background-color: #ffffff;
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 10px #ffffff, 0 0 20px #ffffff;
    animation: twinkle linear infinite;
}

@keyframes twinkle {
    0% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1.2); }
    100% { opacity: 0; transform: scale(0.5); }
}

@keyframes slideUpFadeIn {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes neonPulse {
    0%, 100% {
        text-shadow:
            0 0 8px rgba(255, 255, 255, 0.9),
            0 0 20px rgba(255, 255, 255, 0.7),
            0 0 40px rgba(255, 255, 255, 0.4),
            0 0 80px rgba(200, 200, 255, 0.2);
    }
    50% {
        text-shadow:
            0 0 4px rgba(255, 255, 255, 0.5),
            0 0 10px rgba(255, 255, 255, 0.3),
            0 0 20px rgba(255, 255, 255, 0.15),
            0 0 40px rgba(200, 200, 255, 0.05);
    }
}

/* Top Navbar */
.top-navbar {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    background: rgba(17, 17, 21, 0.7);
    backdrop-filter: blur(10px);
    padding: 5px 25px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(255, 255, 255, 0.05);
    z-index: 100;
    view-transition-name: top-navbar;
}

.top-nav-link {
    color: #8b8b93;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 15px 20px;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-nav-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 0%;
    height: 2px;
    background: #ffffff;
    transition: width 0.3s ease;
    box-shadow: 0 0 8px #ffffff;
}

.top-nav-link:hover,
.top-nav-link.active {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.top-nav-link:hover::after,
.top-nav-link.active::after {
    width: 100%;
}

/* Status Dot */
.status-link {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #00ff00;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff00;
    animation: pulse-green 1.5s infinite;
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 5px #00ff00, 0 0 10px #00ff00; transform: scale(0.9); }
    50% { box-shadow: 0 0 15px #00ff00, 0 0 25px #00ff00; transform: scale(1.1); }
    100% { box-shadow: 0 0 5px #00ff00, 0 0 10px #00ff00; transform: scale(0.9); }
}

/* Top Right Banner */
.top-right-banner {
    position: absolute;
    top: 25px;
    right: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1000;
    animation: slideInRight 1s ease forwards, floating 6s ease-in-out infinite;
    view-transition-name: top-banner;
}

.animated-banner-img {
    width: 180px;
    height: auto;
    border: none;
    box-shadow: none;
    background: transparent;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes floating {
    0% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
    100% { transform: translateY(0); }
}

.app-container {
    display: flex;
    width: 950px;
    height: 650px;
    background: transparent;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    max-width: 95vw;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.2), 0 0 50px rgba(255, 255, 255, 0.1);
    animation: slideUpFadeIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.app-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    background-color: rgba(0, 0, 0, 0.93);
}

/* Big Neon Title */
.title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    max-width: 95vw;
    animation: slideUpFadeIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.header-icon {
    width: clamp(40px, 8vw, 60px);
    height: clamp(40px, 8vw, 60px);
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.8));
}

.main-neon-title {
    font-family: 'Inter', sans-serif;
    font-size: 4.0rem;
    font-weight: 900;
    letter-spacing: 1px;
    margin-bottom: 0;
    text-align: center;
    color: var(--text-main);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

@keyframes neon-pulse {
    0% {
        text-shadow: 
            0 0 10px rgba(255, 255, 255, 0.8),
            0 0 20px rgba(255, 255, 255, 0.8),
            0 0 40px rgba(255, 255, 255, 0.6),
            0 0 80px rgba(255, 255, 255, 0.4);
    }
    100% {
        text-shadow: 
            0 0 5px rgba(255, 255, 255, 0.5),
            0 0 10px rgba(255, 255, 255, 0.5),
            0 0 20px rgba(255, 255, 255, 0.3),
            0 0 40px rgba(255, 255, 255, 0.2);
    }
}

/* Typography & Glows */
.glow-text {
    text-shadow: var(--text-glow);
}

.glow-border {
    box-shadow: var(--border-glow);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.glow-border:hover {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4), inset 0 0 10px rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Sidebar */
.sidebar {
    width: 250px;
    background-color: rgba(12, 12, 15, 1); /* Fully opaque black/gray so topography doesn't show */
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--border-color);
    box-shadow: 5px 0 15px rgba(0,0,0,0.5);
    z-index: 10;
}

.sidebar-header {
    padding: 30px 20px;
}

.logo {
    font-family: 'Arial Black', Impact, sans-serif;
    font-size: 21px;
    font-weight: 900;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-transform: uppercase;
    white-space: nowrap;
}

.discord-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s, text-shadow 0.3s;
}

.discord-link:hover {
    color: var(--text-main);
    text-shadow: var(--text-glow);
}

.sidebar-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0 15px 10px 15px;
    gap: 8px;
    overflow-y: auto;
}

.sidebar-nav::-webkit-scrollbar {
    width: 4px;
}
.sidebar-nav::-webkit-scrollbar-track {
    background: transparent;
}
.sidebar-nav::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 2px;
}

.nav-item {
    color: var(--text-muted);
    text-decoration: none;
    padding: 12px 15px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.nav-item i {
    width: 20px;
    text-align: center;
}

.nav-item:hover {
    color: var(--text-main);
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

.nav-item.active {
    color: var(--text-main);
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    border-left: 3px solid var(--accent);
    box-shadow: var(--active-glow);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

/* Sidebar Footer */
.sidebar-footer {
    padding: 20px;
    background-color: #0c0c0f;
    border-top: 1px solid var(--border-color);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #222;
    border: 1px solid var(--border-color);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.username {
    font-size: 14px;
    font-weight: 800;
}

.status {
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.attach-btn {
    width: 100%;
    padding: 12px;
    background-color: #25252a;
    color: var(--text-main);
    border: none;
    border-radius: 4px;
    font-weight: 800;
    letter-spacing: 1px;
    cursor: pointer;
    margin-bottom: 15px;
}

.attach-btn:hover {
    background-color: #33333a;
}

.connection-status {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #555;
}

.dot.idle {
    background-color: #888;
    box-shadow: 0 0 5px #888;
}

.version-info {
    text-align: center;
    font-size: 10px;
    color: #555;
}

.hex {
    margin-top: 5px;
    font-family: monospace;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 30px 40px;
    background-color: rgba(20, 20, 24, 0.6);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.main-header h2 {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
}

.window-controls {
    display: flex;
    gap: 10px;
}

.ctrl-btn {
    width: 30px;
    height: 30px;
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
}

.ctrl-btn:hover {
    background-color: rgba(255,255,255,0.1);
    color: var(--text-main);
    box-shadow: 0 0 8px rgba(255,255,255,0.3);
}

/* Grid Layout */
.settings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    overflow-y: auto;
    padding-right: 10px;
}

.settings-grid::-webkit-scrollbar {
    width: 6px;
}
.settings-grid::-webkit-scrollbar-track {
    background: transparent;
}
.custom-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* Info Container for Text Pages */
.info-container {
    width: 950px;
    max-width: 95vw;
    background: rgba(10, 10, 15, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 60px;
    color: #ddd;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    animation: slideUpFadeIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    opacity: 0;
    box-shadow: 0 0 20px rgba(255,255,255,0.05);
}

.info-container h2 {
    color: #fff;
    font-size: 22px;
    margin-top: 35px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-container h2:first-child {
    margin-top: 0;
}

.info-container p {
    margin-bottom: 15px;
    font-size: 15px;
}

.info-container ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.info-container li {
    margin-bottom: 8px;
    font-size: 15px;
}

/* Download App Custom Elements */
.player-input {
    width: 100%;
    background: rgba(10, 10, 15, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 12px 15px;
    color: #fff;
    font-size: 13px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.player-input:focus {
    border-color: #555;
    box-shadow: inset 0 0 10px rgba(255,255,255,0.05);
}

.settings-btn {
    background: rgba(30, 30, 35, 0.6);
    border: 1px solid var(--border-color);
    color: #ccc;
    padding: 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    font-family: 'Inter', sans-serif;
}
.settings-btn:hover {
    background: rgba(50, 50, 55, 0.8);
    color: #fff;
    border-color: #555;
}

.color-box {
    width: 30px;
    height: 30px;
    border: 2px solid #333;
    cursor: pointer;
    transition: transform 0.2s;
}
.color-box:hover {
    transform: scale(1.1);
    border-color: #fff;
}

.profile-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-color: #111;
    border: 2px solid #fff;
    margin-bottom: 15px;
    box-shadow: 0 0 15px rgba(255,255,255,0.2);
}

.badge {
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.badge.owner {
    border: 1px solid #ff9900;
    color: #ff9900;
    background: rgba(255, 153, 0, 0.1);
}
.badge.developer {
    border: 1px solid #00ff66;
    color: #00ff66;
    background: rgba(0, 255, 102, 0.1);
}

.info-container li strong {
    color: #fff;
    font-weight: 600;
}

/* Donate Page Styles */
.donate-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.donate-card {
    background: rgba(15, 15, 20, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.donate-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
}

.donate-card-left {
    display: flex;
    align-items: center;
    gap: 25px;
}

.donate-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    text-shadow: 0 0 10px currentColor;
}

.donate-card-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.donate-card-title {
    font-size: 18px;
    color: #fff;
    font-weight: 800;
}

.donate-card-address {
    background: rgba(0, 0, 0, 0.6);
    padding: 8px 12px;
    border-radius: 6px;
    font-family: monospace;
    color: #aaa;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.copy-btn {
    background: #ff3333;
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.copy-btn:hover {
    background: #e60000;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 51, 51, 0.5);
}

/* Status Page Styles */
.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 30px;
}

.status-card {
    background: rgba(15, 15, 20, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px 15px;
    text-align: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.status-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(0, 255, 0, 0.2);
    border-color: rgba(0, 255, 0, 0.4);
}

.status-card-icon {
    font-size: 36px;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.status-card-title {
    font-size: 15px;
    color: #aaa;
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-card-value {
    font-size: 24px;
    font-weight: 800;
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.status-card-value.version-text {
    font-size: 18px;
    white-space: nowrap;
}

.status-subtitle {
    text-align: center;
    color: #aaa;
    font-size: 16px;
    margin-bottom: 20px;
}

.system-checked {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Social Buttons */
.social-buttons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    margin-bottom: 25px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.discord-btn {
    background: #5865F2;
    border: 1px solid #5865F2;
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.6);
}

.discord-btn:hover {
    background: #7289da;
    box-shadow: 0 0 25px rgba(88, 101, 242, 1);
    transform: translateY(-2px);
}

.youtube-btn {
    background: #FF0000;
    border: 1px solid #FF0000;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.6);
}

.youtube-btn:hover {
    background: #ff3333;
    box-shadow: 0 0 25px rgba(255, 0, 0, 1);
    transform: translateY(-2px);
}
.settings-grid::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
}

.panel {
    background-color: var(--panel-bg);
    border-radius: 6px;
    padding: 15px 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

.panel-tall {
    padding: 20px;
}

.full-width {
    grid-column: 1 / -1;
}

/* Flex Utilities */
.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-row {
    display: flex;
    align-items: center;
}

.mb-15 { margin-bottom: 15px; }
.mt-10 { margin-top: 10px; }
.mr-5 { margin-right: 5px; }
.mr-15 { margin-right: 15px; }

/* Controls */
.dropdown {
    background-color: #0c0c0f;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    outline: none;
    cursor: pointer;
    min-width: 120px;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.5);
}

.dropdown:focus {
    border-color: var(--accent);
    box-shadow: 0 0 8px rgba(255,255,255,0.2), inset 0 0 5px rgba(0,0,0,0.5);
}

.set-btn {
    background-color: #222;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    padding: 6px 20px;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.set-btn:hover {
    background-color: #333;
    color: var(--text-main);
    box-shadow: 0 0 10px rgba(255,255,255,0.2);
}

.small-text {
    font-size: 10px;
    font-weight: 700;
}

/* Custom Toggle Switch */
.toggle {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 18px;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #2a2a30;
    transition: .4s;
    border-radius: 18px;
    border: 1px solid var(--border-color);
}

.slider:before {
    position: absolute;
    content: "";
    height: 12px;
    width: 12px;
    left: 2px;
    bottom: 2px;
    background-color: #666;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #fff;
    box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

input:checked + .slider:before {
    transform: translateX(18px);
    background-color: #000;
}

/* Range Slider */
.slider-container {
    width: 100%;
}

.slider-header {
    display: flex;
    justify-content: space-between;
}

.slider-value {
    color: var(--text-main);
    font-weight: 800;
}

.range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    background: #2a2a30;
    outline: none;
    border-radius: 2px;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255,255,255,0.8);
}

.range-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255,255,255,0.8);
}

/* Credits Styles */
.credits-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
    margin-bottom: 60px;
    width: 100%;
    max-width: 900px;
    z-index: 1;
    opacity: 0;
    animation: slideUpFadeIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.1s forwards;
}

.credit-profile {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: rgba(17, 17, 21, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 10px 40px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 850px;
    gap: 30px;
}

.credit-profile:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1), inset 0 0 10px rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.credit-avatar-frame {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.credit-avatar-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background-color: var(--sidebar-bg);
}

.credit-name {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    gap: 10px;
}

.credit-role {
    font-size: 1.2rem;
    color: var(--text-muted);
    text-align: right;
    white-space: nowrap;
    margin-left: auto;
}

/* Hero Section */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    max-width: 1200px;
    margin: 165px auto 20px auto;
    padding: 0 40px;
    z-index: 10;
    position: relative;
    opacity: 0;
    animation: slideUpFadeIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 650px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-btn {
    background: #ffffff;
    color: #111115;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 25px rgba(255, 255, 255, 0.6);
}

.hero-btn i {
    font-size: 1.15rem;
}

/* Requirements Table */
.req-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.req-table th, .req-table td {
    padding: 18px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.req-table th:last-child, .req-table td:last-child {
    border-right: none;
}

.req-table th {
    font-weight: 700;
    color: var(--text-main);
    font-size: 1.1rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
}

.req-table td {
    color: var(--text-muted);
    font-size: 1.05rem;
    text-align: left;
}

.req-table tr:last-child td {
    border-bottom: none;
}

.req-table tr:hover td {
    background: rgba(255, 255, 255, 0.04);
}

/* ==================== FOOTER ==================== */
.site-footer {
    width: 100%;
    text-align: center;
    padding: 30px 20px 40px;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.footer-copy {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.footer-socials {
    display: flex;
    gap: 16px;
    align-items: center;
}

.footer-social-link {
    font-size: 1.4rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s, transform 0.2s;
}

.footer-social-link:hover {
    color: var(--accent);
    transform: translateY(-3px);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-link {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
    letter-spacing: 0.5px;
}

.footer-link:hover,
.footer-link.active {
    color: var(--accent);
}

.footer-sep {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
}

/* ==================== UFO BACKGROUND ANIMATION ==================== */
.ufo-saucer {
    position: fixed;
    z-index: 1;
    pointer-events: none;
    width: 44px;
    height: 28px;
    filter: drop-shadow(0 0 10px #ffffff) drop-shadow(0 0 20px rgba(255, 255, 255, 0.7));
    opacity: 0.9;
    user-select: none;
    will-change: left, top, transform;
}

.ufo-saucer svg {
    width: 100%;
    height: 100%;
    display: block;
}

.ufo-particle {
    position: fixed;
    z-index: 0;
    width: 3px;
    height: 10px;
    background: #ffffff;
    border-radius: 4px;
    filter: drop-shadow(0 0 5px #ffffff) drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
    pointer-events: none;
    opacity: 0.8;
    transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

/* ==================== BACKGROUND ROTATING PLANETS & AURORA ==================== */
.bg-planets-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* Top Slow Aurora / Nebula Glow */
.bg-aurora-nebula {
    position: fixed;
    top: -120px;
    left: -20vw;
    width: 140vw;
    height: 480px;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(ellipse 40% 100% at 50% 0%, rgba(255, 255, 255, 0.12) 0%, rgba(200, 230, 255, 0.05) 50%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 45% 100% at 50% 0%, black 30%, transparent 100%);
    mask-image: radial-gradient(ellipse 45% 100% at 50% 0%, black 30%, transparent 100%);
    filter: blur(60px);
    opacity: 0.6;
    animation: aurora-flow 30s ease-in-out infinite alternate;
}

@keyframes aurora-flow {
    0% {
        transform: translateX(-4%) translateY(0) scaleY(1);
        opacity: 0.5;
    }
    50% {
        transform: translateX(4%) translateY(25px) scaleY(1.18);
        opacity: 0.8;
    }
    100% {
        transform: translateX(-2%) translateY(-12px) scaleY(0.92);
        opacity: 0.55;
    }
}

.bg-planet {
    position: absolute;
    opacity: 0.11;
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.35));
    pointer-events: none;
    user-select: none;
}

.planet-saturn {
    top: 8%;
    left: -40px;
    animation: planet-rotate-cw 130s linear infinite;
}

.planet-moon {
    bottom: 8%;
    right: -20px;
    animation: planet-rotate-ccw 170s linear infinite;
}

.planet-grid {
    top: 42%;
    right: 2%;
    animation: planet-rotate-cw 150s linear infinite;
}

.planet-ice {
    top: 60%;
    left: 1%;
    animation: planet-rotate-ccw 140s linear infinite;
}

.planet-eclipse {
    top: 3%;
    left: 45%;
    opacity: 0.08;
    animation: planet-rotate-cw 190s linear infinite;
}

.planet-orbital {
    bottom: 12%;
    left: 8%;
    animation: planet-rotate-cw 110s linear infinite;
}

@keyframes planet-rotate-cw {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes planet-rotate-ccw {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

/* ==================== LIVE FEED ==================== */
.live-feed-container {
    background: rgba(15, 15, 20, 0.3); /* More transparent */
    backdrop-filter: blur(15px); /* Glassmorphism */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    height: 420px; /* Increased height for longer feed */
    display: flex;
    flex-direction: column;
}

.live-feed-title {
    font-size: 18px;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.ufo-icon {
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.8));
    animation: floatingUfo 3s ease-in-out infinite;
}

@keyframes floatingUfo {
    0% { transform: translateY(0px) rotate(-5deg); }
    50% { transform: translateY(-4px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(-5deg); }
}

.live-feed-list {
    flex: 1;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.live-feed-list::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px; /* Larger fade out area */
    background: linear-gradient(to bottom, transparent, rgba(15, 15, 20, 0.95));
    pointer-events: none;
    z-index: 2;
}

.feed-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #999;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy animation */
    transform-origin: top;
}

.feed-item:first-child {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    font-size: 18px; /* Considerably larger */
    padding: 20px 25px;
    color: #fff;
    animation: slideInDownFeed 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.feed-item strong {
    color: #fff;
}

@keyframes slideInDownFeed {
    0% {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Prevent scroll chaining */
.settings-grid, .sidebar-nav { overscroll-behavior: contain; }


/* Crossed Hammers on Shield Admin Badge */
.admin-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin-left: 10px;
    vertical-align: middle;
}

.admin-badge .shield-icon {
    font-size: 34px;
    position: absolute;
    color: #ffffff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
    z-index: 1;
}

.admin-badge .hammer-left {
    font-size: 20px;
    position: absolute;
    transform: translateX(-4px) translateY(-1px) scaleX(-1) rotate(10deg);
    color: #000000;
    z-index: 2;
}

.admin-badge .hammer-right {
    font-size: 20px;
    position: absolute;
    transform: translateX(4px) translateY(-1px) rotate(10deg);
    color: #000000;
    z-index: 2;
}
/* Neon Animation for Headings */
@keyframes neonHeadingBreathe {
    0%, 100% {
        text-shadow:
            0 0 6px rgba(255,255,255,1),
            0 0 20px rgba(255,255,255,0.95),
            0 0 45px rgba(255,255,255,0.75),
            0 0 90px rgba(220,220,255,0.55),
            0 0 150px rgba(200,200,255,0.3);
    }
    50% {
        text-shadow:
            0 0 5px rgba(255,255,255,0.95),
            0 0 14px rgba(255,255,255,0.75),
            0 0 30px rgba(255,255,255,0.55),
            0 0 65px rgba(220,220,255,0.38),
            0 0 110px rgba(200,200,255,0.18);
    }
}
.neon-animate .main-neon-title {
    animation: neonHeadingBreathe 1.8s ease-in-out infinite;
}
/* Logo inside preview: static subtle glow, no animation to avoid scroll lag */
.neon-animate .logo {
    text-shadow: 0 0 6px rgba(255,255,255,0.7), 0 0 14px rgba(255,255,255,0.4);
}
/* Global Outlines - matching nav-item border style */
.settings-section, .panel, .glass-panel, .donate-card, .info-container, .credit-profile,
.faq-item, .feature-card, .supported-card {
    border: 1px solid var(--border-color) !important;
}

.ctrl-btn.minimize-btn {
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
}

.ctrl-btn.close-btn {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
}

.ctrl-btn.close-btn:hover {
    background-color: rgba(255, 60, 60, 0.15);
    color: #ff4444;
    border-color: rgba(255, 60, 60, 0.4);
    box-shadow: 0 0 8px rgba(255, 60, 60, 0.3);
}

.ctrl-btn.minimize-btn:hover {
    background-color: rgba(255,255,255,0.1);
    color: var(--text-main);
    border-color: rgba(255,255,255,0.4);
    box-shadow: 0 0 8px rgba(255,255,255,0.3);
}
/* Remove neon glow from AIMBOT / tab titles inside preview app */
.neon-animate #main-title,
.neon-animate .main-header h2,
.neon-animate .glow-text:not(.logo) {
    text-shadow: none !important;
    animation: none !important;
}

/* Adsterra Ads CSS */
.ad-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 30px 0;
    overflow: hidden;
}

.ad-728, .ad-468, .ad-320 {
    display: none;
}

/* Default to 728 on large screens */
@media (min-width: 768px) {
    .ad-728 { display: block; }
}

/* 468 on tablets */
@media (min-width: 480px) and (max-width: 767px) {
    .ad-468 { display: block; }
}

/* 320 on small mobile screens */
@media (max-width: 479px) {
    .ad-320 { display: block; }
}