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

:root {
    --gold: #d4a017;
    --gold-light: #f0c040;
    --gold-bright: #ffd700;
    --brown-dark: #0d0800;
    --brown: #1a0f00;
    --brown-mid: #3d2a10;
    --brown-light: #5a3d1a;
    --sand: #c8a96e;
    --cream: #f5e6c8;
    --orange: #e8841a;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--cream);
    background: var(--brown-dark);
    overflow-x: hidden;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* ===== INFO BAR ===== */
.info-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 150;
    background: linear-gradient(90deg, var(--gold), var(--orange), var(--gold));
    background-size: 200% 100%;
    animation: info-shimmer 4s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 2rem;
    gap: 1rem;
}

@keyframes info-shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.info-bar-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-bar-icon {
    font-size: 1rem;
}

.info-bar p {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brown-dark);
    letter-spacing: 0.3px;
}

.info-bar a {
    color: var(--brown-dark);
    text-decoration: underline;
    font-weight: 700;
}

.info-bar a:hover {
    opacity: 0.7;
}

.info-bar-close {
    background: none;
    border: none;
    color: var(--brown-dark);
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    line-height: 1;
}

.info-bar-close:hover {
    opacity: 1;
}

.info-bar.hidden {
    display: none;
}

/* Offset navbar when info bar visible */
body.has-info-bar .navbar {
    top: 32px;
}

body.has-info-bar .hero {
    padding-top: 32px;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 0 2rem;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
    background: rgba(13, 8, 0, 0.95);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--cream);
}

.nav-logo-img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(212, 160, 23, 0.5));
}

.nav-brand {
    font-family: 'Cinzel', serif;
    font-weight: 900;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.nav-brand-accent {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.65rem;
    letter-spacing: 3px;
    display: block;
    margin-top: -2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--sand);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.nav-link svg {
    flex-shrink: 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold);
}

.nav-discord {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(212, 160, 23, 0.1);
    border: 1px solid rgba(212, 160, 23, 0.3);
    color: var(--gold) !important;
}

.nav-discord:hover {
    background: rgba(212, 160, 23, 0.2);
    border-color: var(--gold);
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s ease;
}

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

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

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

/* ===== HERO ===== */
/* Hero video background */
.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at center, rgba(13, 8, 0, 0.4) 0%, rgba(13, 8, 0, 0.8) 70%),
        linear-gradient(to bottom, rgba(13, 8, 0, 0.3) 0%, rgba(13, 8, 0, 0.9) 100%);
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    padding: 2rem;
    overflow: hidden;
}

.hero-content {
    text-align: center;
}

.hero-crown-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid transparent;
}

.ring-1 {
    width: 100%;
    height: 100%;
    border-top-color: var(--gold);
    border-right-color: rgba(212, 160, 23, 0.3);
    animation: spin 4s linear infinite;
}

.ring-2 {
    width: 80%;
    height: 80%;
    border-bottom-color: var(--gold-light);
    border-left-color: rgba(240, 192, 64, 0.3);
    animation: spin 3s linear infinite reverse;
}

.ring-3 {
    width: 60%;
    height: 60%;
    border-top-color: var(--orange);
    border-right-color: rgba(232, 132, 26, 0.2);
    animation: spin 5s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.hero-logo-img {
    width: 120px;
    height: auto;
    z-index: 2;
    position: relative;
    animation: pulse-crown 2s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(212, 160, 23, 0.6));
}

@keyframes pulse-crown {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 15px rgba(212, 160, 23, 0.6)); }
    50% { transform: scale(1.08); filter: drop-shadow(0 0 35px rgba(212, 160, 23, 0.9)); }
}

.hero-title {
    font-family: 'Cinzel', serif;
    font-size: 4.5rem;
    font-weight: 900;
    letter-spacing: 6px;
    line-height: 1.1;
}

.letter {
    display: inline-block;
    animation: letter-in 0.6s ease-out both;
    animation-delay: calc(var(--i) * 0.08s + 0.3s);
    background: linear-gradient(180deg, var(--cream) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.3s ease;
    cursor: default;
}

.letter:hover {
    transform: translateY(-8px) scale(1.1);
    animation: none;
    background: linear-gradient(180deg, var(--gold-bright) 0%, var(--orange) 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

@keyframes letter-in {
    from { opacity: 0; transform: translateY(-40px) rotateX(90deg); }
    to { opacity: 1; transform: translateY(0) rotateX(0); }
}

.hero-highlight-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    margin-top: 0.5rem;
}

.line-left, .line-right {
    flex: 1;
    max-width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
    animation: line-grow 1s ease-out 1s both;
}

.line-right {
    background: linear-gradient(90deg, var(--gold), transparent);
}

@keyframes line-grow {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

.hero-highlight {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 10px;
    text-transform: uppercase;
    animation: fade-in 0.8s ease-out 0.8s both;
}

.hero-subtitle {
    margin-top: 1.5rem;
    color: var(--sand);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 2px;
    animation: fade-in 0.8s ease-out 1.2s both;
}

@keyframes fade-in {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2.5rem;
    animation: fade-in 0.8s ease-out 1.5s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--orange));
    color: var(--brown-dark);
    box-shadow: 0 4px 20px rgba(212, 160, 23, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(212, 160, 23, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--gold);
    border: 1px solid rgba(212, 160, 23, 0.4);
}

.btn-secondary:hover {
    background: rgba(212, 160, 23, 0.1);
    border-color: var(--gold);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: fade-in 1s ease-out 2s both;
}

.hero-scroll span {
    font-size: 0.7rem;
    color: var(--brown-light);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    transform: rotate(45deg);
    animation: bounce-arrow 2s ease-in-out infinite;
    opacity: 0.5;
}

@keyframes bounce-arrow {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(8px); }
}

/* ===== SCRIPTS SECTION ===== */
.scripts-section {
    position: relative;
    z-index: 1;
    padding: 6rem 2rem;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(180deg, var(--cream) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 1rem auto;
}

.section-desc {
    color: var(--sand);
    font-size: 0.95rem;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Script cards grid */
.scripts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.script-card {
    background: linear-gradient(135deg, rgba(30, 18, 5, 0.9), rgba(15, 8, 0, 0.95));
    border: 1px solid rgba(212, 160, 23, 0.1);
    border-radius: 14px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.script-card:hover {
    border-color: rgba(212, 160, 23, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4),
                0 0 30px rgba(212, 160, 23, 0.08);
}

.card-image {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    border-bottom: 1px solid rgba(212, 160, 23, 0.1);
}

.card-image-placeholder {
    width: 100%;
    aspect-ratio: 16/10;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(61, 42, 16, 0.4), rgba(26, 15, 0, 0.6));
    border-bottom: 1px solid rgba(212, 160, 23, 0.1);
    font-size: 3rem;
}

.card-price-tag {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    background: rgba(0, 0, 0, 0.7);
    color: var(--gold);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(212, 160, 23, 0.2);
}

.card-body {
    padding: 1.2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-family: 'Cinzel', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 0.5rem;
}

.card-desc {
    color: var(--sand);
    font-size: 0.8rem;
    line-height: 1.5;
    opacity: 0.7;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer {
    display: flex;
    border-top: 1px solid rgba(212, 160, 23, 0.08);
}

.card-footer-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.7rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--sand);
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    background: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.card-footer-btn:first-child {
    border-right: 1px solid rgba(212, 160, 23, 0.08);
}

.card-footer-btn:hover {
    color: var(--gold);
    background: rgba(212, 160, 23, 0.06);
}

.card-footer-btn svg {
    width: 14px;
    height: 14px;
}

/* Script Tags */
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 0.5rem;
}

.card-tag {
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.card-tag.new { color: #44ff44; background: rgba(68,255,68,0.1); border: 1px solid rgba(68,255,68,0.2); }
.card-tag.sale { color: #ff4444; background: rgba(255,68,68,0.1); border: 1px solid rgba(255,68,68,0.2); }
.card-tag.updated { color: #7289da; background: rgba(88,101,242,0.1); border: 1px solid rgba(88,101,242,0.2); }
.card-tag.popular { color: var(--gold); background: rgba(212,160,23,0.1); border: 1px solid rgba(212,160,23,0.2); }
.card-tag.vorp { color: #44ff44; background: rgba(68,255,68,0.1); border: 1px solid rgba(68,255,68,0.2); }
.card-tag.rsg { color: #ff4444; background: rgba(255,68,68,0.1); border: 1px solid rgba(255,68,68,0.2); }
.card-tag.standalone { color: var(--sand); background: rgba(200,169,110,0.1); border: 1px solid rgba(200,169,110,0.2); }

/* ===== CTA SECTION ===== */
.cta-section {
    position: relative;
    z-index: 1;
    padding: 5rem 2rem;
}

.cta-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 4rem 3rem;
    background: linear-gradient(135deg, rgba(61, 42, 16, 0.4), rgba(26, 15, 0, 0.6));
    border: 1px solid rgba(212, 160, 23, 0.15);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.cta-inner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(212, 160, 23, 0.04), transparent 50%);
    animation: cta-glow 6s ease-in-out infinite alternate;
}

@keyframes cta-glow {
    from { transform: scale(0.8); }
    to { transform: scale(1.2); }
}

.cta-title {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--cream);
    margin-bottom: 1rem;
    position: relative;
}

.cta-desc {
    color: var(--sand);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    position: relative;
}

/* ===== FOOTER ===== */
.footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(212, 160, 23, 0.1);
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(212, 160, 23, 0.08);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.footer-logo-img {
    height: 30px;
    width: auto;
    filter: drop-shadow(0 0 6px rgba(212, 160, 23, 0.4));
}

.footer-name {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--sand);
}

.footer-socials {
    display: flex;
    gap: 0.8rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(212, 160, 23, 0.08);
    border: 1px solid rgba(212, 160, 23, 0.15);
    color: var(--sand);
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--gold);
    border-color: var(--gold);
    background: rgba(212, 160, 23, 0.15);
    transform: translateY(-2px);
}

.footer-bottom {
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--brown-light);
    letter-spacing: 0.5px;
}

.credits {
    margin-top: 0.4rem;
    font-size: 0.7rem !important;
    color: var(--sand) !important;
    opacity: 0.5;
}

/* ===== NAV LOGIN BUTTON ===== */
.nav-login {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, #5865F2, #4752C4) !important;
    border: none !important;
    color: #fff !important;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
}

.nav-login:hover {
    background: linear-gradient(135deg, #6974f5, #5865F2) !important;
    box-shadow: 0 4px 20px rgba(88, 101, 242, 0.3);
}

/* ===== SIDEBAR TAB ===== */
.sidebar-tab {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 199;
    background: linear-gradient(180deg, rgba(212, 160, 23, 0.12), rgba(61, 42, 16, 0.9), rgba(212, 160, 23, 0.12));
    border: 1px solid rgba(212, 160, 23, 0.3);
    border-right: none;
    border-radius: 14px 0 0 14px;
    padding: 2rem 0.6rem;
    cursor: pointer;
    color: var(--gold);
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    height: 20vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-tab:hover {
    padding-right: 1rem;
    background: linear-gradient(180deg, rgba(212, 160, 23, 0.25), rgba(61, 42, 16, 0.95), rgba(212, 160, 23, 0.25));
    border-color: var(--gold);
    box-shadow: -5px 0 30px rgba(212, 160, 23, 0.15);
}

.sidebar-tab svg {
    width: 28px;
    height: 28px;
    transition: transform 0.4s ease;
    animation: tab-pulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 6px rgba(212, 160, 23, 0.5));
}

@keyframes tab-pulse {
    0%, 100% { transform: translateX(0); opacity: 1; }
    50% { transform: translateX(-4px); opacity: 0.6; }
}

.sidebar-tab.active svg {
    transform: rotate(180deg);
    animation: none;
}

/* ===== SIDEBAR ===== */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    max-width: 90vw;
    height: 100%;
    background: linear-gradient(180deg, #0d0800 0%, #1a0f00 100%);
    border-left: 1px solid rgba(212, 160, 23, 0.15);
    z-index: 201;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.sidebar.active {
    transform: translateX(0);
}

/* Sidebar top bar */
.sidebar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1.2rem;
    border-bottom: 1px solid rgba(212, 160, 23, 0.15);
    flex-shrink: 0;
}

.sidebar-title {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--gold);
    letter-spacing: 2px;
}

.sidebar-close {
    background: none;
    border: none;
    color: var(--sand);
    font-size: 1.8rem;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    line-height: 1;
}

.sidebar-close:hover {
    color: var(--gold);
    transform: rotate(90deg);
}

.sidebar-content {
    padding: 1rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    height: calc(100% - 50px);
    overflow-y: auto;
}

/* Status Card */
.sidebar-card {
    background: rgba(30, 18, 5, 0.9);
    border: 1px solid rgba(212, 160, 23, 0.15);
    border-radius: 10px;
    padding: 0.8rem 1rem;
}

.status-card-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
    color: var(--cream);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.status-card-title {
    font-weight: 700;
}

.status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.4rem 0;
}

.status-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--sand);
    font-size: 0.85rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.status-dot.online {
    background: #44ff44;
    box-shadow: 0 0 8px rgba(68, 255, 68, 0.5);
    animation: dot-pulse 2s ease-in-out infinite;
}

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

.status-value {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--cream);
}

.online-text {
    color: #44ff44;
}

/* Profile */
.sidebar-profile {
    text-align: center;
    padding: 0.5rem 0;
}

.profile-avatar-wrapper {
    width: 60px;
    height: 60px;
    margin: 0 auto 0.5rem;
    border-radius: 50%;
    border: 3px solid var(--gold);
    padding: 3px;
    box-shadow: 0 0 20px rgba(212, 160, 23, 0.3);
}

.profile-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.profile-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 0.3rem;
}

.profile-badge {
    display: inline-block;
    padding: 0.25rem 0.8rem;
    background: rgba(212, 160, 23, 0.15);
    border: 1px solid rgba(212, 160, 23, 0.3);
    border-radius: 20px;
    font-size: 0.7rem;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Guest State */
.sidebar-guest {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.guest-content {
    text-align: center;
    padding: 1rem;
}

.guest-logo {
    width: 90px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(212, 160, 23, 0.5));
    margin-bottom: 1.5rem;
    animation: pulse-crown 2s ease-in-out infinite;
}

.guest-title {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--cream);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.guest-desc {
    color: var(--sand);
    font-size: 0.85rem;
    line-height: 1.5;
    opacity: 0.7;
    margin-bottom: 2rem;
}

.btn-discord-login-big {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: 100%;
    padding: 1.2rem 1.5rem;
    background: linear-gradient(135deg, #5865F2, #4752C4);
    border: none;
    border-radius: 14px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 25px rgba(88, 101, 242, 0.3);
}

.btn-discord-login-big:hover {
    background: linear-gradient(135deg, #6974f5, #5865F2);
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(88, 101, 242, 0.4);
}

/* Logged In State */
.sidebar-logged {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

/* Logout */
.btn-logout {
    width: 100%;
    padding: 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--sand);
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-logout:hover {
    background: rgba(255, 68, 68, 0.1);
    border-color: rgba(255, 68, 68, 0.3);
    color: #ff6666;
}

/* Discord Login */
.btn-discord-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    width: 100%;
    padding: 0.7rem;
    background: linear-gradient(135deg, #5865F2, #4752C4);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-discord-login:hover {
    background: linear-gradient(135deg, #6974f5, #5865F2);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(88, 101, 242, 0.3);
}

/* Panel Section */
.sidebar-panel {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.08), rgba(30, 18, 5, 0.5));
    border: 1px solid rgba(88, 101, 242, 0.2);
    border-radius: 10px;
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.panel-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #7289da;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
}

.panel-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.55rem;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

a.panel-btn {
    text-decoration: none;
}

.panel-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.15);
}

.panel-btn.blue {
    background: linear-gradient(135deg, #5865F2, #4752C4);
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.25);
}

.panel-btn.purple {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    box-shadow: 0 4px 15px rgba(155, 89, 182, 0.25);
}

.panel-btn.gold {
    background: linear-gradient(135deg, var(--gold), #b8860b);
    color: var(--brown-dark);
    box-shadow: 0 4px 15px rgba(212, 160, 23, 0.25);
}

.panel-btn.orange {
    background: linear-gradient(135deg, var(--orange), #c0392b);
    box-shadow: 0 4px 15px rgba(232, 132, 26, 0.25);
}

/* ===== SUPPORT MODAL ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    z-index: 300;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: linear-gradient(180deg, #1a0f00 0%, #0d0800 100%);
    border: 1px solid rgba(212, 160, 23, 0.2);
    border-radius: 16px;
    width: 450px;
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
    animation: modal-in 0.3s ease-out;
}

@keyframes modal-in {
    from { opacity: 0; transform: scale(0.9) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid rgba(212, 160, 23, 0.15);
}

.modal-header h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    color: var(--gold);
}

.modal-close {
    background: none;
    border: none;
    color: var(--sand);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--gold);
}

#support-form {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--sand);
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(61, 42, 16, 0.4);
    border: 1px solid rgba(212, 160, 23, 0.15);
    border-radius: 8px;
    padding: 0.7rem 0.9rem;
    color: var(--cream);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: #1a0f00;
    color: var(--cream);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.btn-submit {
    width: 100%;
    padding: 0.8rem;
    background: linear-gradient(135deg, var(--gold), var(--orange));
    border: none;
    border-radius: 10px;
    color: var(--brown-dark);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 160, 23, 0.3);
}

.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.form-status {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
    min-height: 1.2rem;
}

.form-status.success { color: #44ff44; }
.form-status.error { color: #ff4444; }

/* ===== SCROLL ANIMATIONS ===== */
.script-card,
.section-header,
.cta-inner {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.script-card.visible,
.section-header.visible,
.cta-inner.visible {
    opacity: 1;
    transform: translateY(0);
}

.script-card:nth-child(1) { transition-delay: 0s; }
.script-card:nth-child(2) { transition-delay: 0.1s; }
.script-card:nth-child(3) { transition-delay: 0.2s; }
.script-card:nth-child(4) { transition-delay: 0.3s; }
.script-card:nth-child(5) { transition-delay: 0.4s; }
.script-card:nth-child(6) { transition-delay: 0.5s; }

/* ===== MOUSE GLOW ===== */
.mouse-glow {
    position: fixed;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.05), transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(13, 8, 0, 0.98);
        padding: 1rem 0;
        gap: 0;
        transform: translateY(-120%);
        transition: transform 0.4s ease;
        backdrop-filter: blur(20px);
    }

    .nav-links.open {
        transform: translateY(0);
    }

    .nav-link {
        padding: 1rem 2rem;
        width: 100%;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-highlight {
        font-size: 0.9rem;
        letter-spacing: 6px;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-top {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .scripts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
