:root {
    --primary: #29CD96;
    --primary-dark: #1fa876;
    --primary-glow: rgba(41, 205, 150, 0.3);
    --bg-dark: #021E15;
    --bg-darker: #011610;
    --bg-card: rgba(41, 205, 150, 0.03);
    --bg-card-hover: rgba(41, 205, 150, 0.08);
    --white: #FFFFFF;
    --gray-100: rgba(255, 255, 255, 0.95);
    --gray-200: rgba(255, 255, 255, 0.8);
    --gray-300: rgba(255, 255, 255, 0.6);
    --gray-400: rgba(255, 255, 255, 0.4);
    --border: rgba(41, 205, 150, 0.15);
    --border-hover: rgba(41, 205, 150, 0.4);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-dark);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px; font-weight: 500; letter-spacing: 2px;
    text-transform: uppercase; color: var(--primary);
    margin-bottom: 16px; display: flex; align-items: center; gap: 12px;
}
.section-label::before { content: ''; width: 24px; height: 1px; background: var(--primary); }
.section-title { font-size: clamp(32px, 5vw, 48px); font-weight: 700; line-height: 1.2; margin-bottom: 20px; }
.section-subtitle { font-size: 18px; color: var(--gray-300); max-width: 600px; }

.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 28px; font-family: 'Outfit', sans-serif;
    font-size: 15px; font-weight: 600; text-decoration: none;
    border-radius: 8px; transition: all 0.3s ease; cursor: pointer; border: none;
}
.btn-primary { background: var(--primary); color: var(--bg-dark); box-shadow: 0 0 30px var(--primary-glow); }
.btn-primary:hover { background: var(--white); transform: translateY(-2px); box-shadow: 0 0 40px var(--primary-glow); }
.btn-secondary { background: transparent; color: var(--white); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--primary); background: rgba(41, 205, 150, 0.1); }
.btn-large { padding: 18px 36px; font-size: 16px; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.bg-grid { position: fixed; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none; z-index: 0; opacity: 0.4; }
.bg-grid::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background-image: linear-gradient(rgba(41, 205, 150, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(41, 205, 150, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
}
.bg-glow { position: fixed; width: 800px; height: 800px; border-radius: 50%; filter: blur(150px); pointer-events: none; z-index: 0; }
.bg-glow-1 { top: -400px; right: -200px; background: radial-gradient(circle, rgba(41, 205, 150, 0.15) 0%, transparent 70%); }
.bg-glow-2 { bottom: -400px; left: -200px; background: radial-gradient(circle, rgba(41, 205, 150, 0.1) 0%, transparent 70%); }

.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 20px 0; transition: all 0.3s ease; }
.nav.scrolled { background: rgba(2, 30, 21, 0.9); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); padding: 16px 0; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.logo img { height: 64px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 8px; list-style: none; }
.nav-links a { padding: 10px 18px; color: var(--gray-200); text-decoration: none; font-size: 15px; font-weight: 500; border-radius: 6px; transition: all 0.2s ease; }
.nav-links a:hover { color: var(--white); background: rgba(41, 205, 150, 0.1); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { padding: 10px 20px; font-size: 14px; }
.mobile-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 10px; }
.mobile-toggle span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.3s ease; }
.mobile-menu { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--bg-dark); z-index: 999; padding: 100px 24px 40px; flex-direction: column; gap: 20px; }
.mobile-menu.active { display: flex; }
.mobile-menu a { color: var(--white); text-decoration: none; font-size: 24px; font-weight: 600; padding: 16px 0; border-bottom: 1px solid var(--border); }

.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 100px; position: relative; z-index: 1; }
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; background: rgba(41, 205, 150, 0.1); border: 1px solid var(--border); border-radius: 50px; font-size: 13px; font-weight: 500; color: var(--primary); margin-bottom: 24px; }
.hero-badge .dot { width: 8px; height: 8px; background: var(--primary); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.hero h1 { font-size: clamp(40px, 6vw, 64px); font-weight: 800; line-height: 1.1; margin-bottom: 24px; letter-spacing: -1px; }
.hero h1 .highlight { background: linear-gradient(135deg, var(--primary) 0%, #5DFFB8 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-description { font-size: 18px; color: var(--gray-300); margin-bottom: 36px; max-width: 500px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual { position: relative; }
.hero-card { background: linear-gradient(135deg, var(--bg-card) 0%, rgba(41, 205, 150, 0.05) 100%); border: 1px solid var(--border); border-radius: 16px; padding: 32px; position: relative; overflow: hidden; }
.hero-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--primary), transparent); }
.hero-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.hero-card-dots { display: flex; gap: 8px; }
.hero-card-dots span { width: 12px; height: 12px; border-radius: 50%; background: var(--border); }
.hero-card-dots span:first-child { background: #ff5f57; }
.hero-card-dots span:nth-child(2) { background: #febc2e; }
.hero-card-dots span:nth-child(3) { background: var(--primary); }
.hero-card-title { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--gray-400); }
.hero-card-content { font-family: 'JetBrains Mono', monospace; font-size: 14px; line-height: 2; }
.hero-card-content .comment { color: var(--gray-400); }
.hero-card-content .keyword { color: #FF79C6; }
.hero-card-content .function { color: #50FA7B; }
.hero-card-content .string { color: #F1FA8C; }
.hero-card-content .variable { color: #8BE9FD; }
.hero-card-content .success { color: #50FA7B; font-weight: 600; }
.floating-badge { position: absolute; background: var(--bg-darker); border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); }
.floating-badge-1 { top: -20px; right: -20px; animation: float 4s ease-in-out infinite; }
.floating-badge-2 { bottom: 40px; left: -40px; animation: float 4s ease-in-out infinite 1s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.floating-badge svg { width: 24px; height: 24px; color: var(--primary); }

.stats-bar { padding: 60px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); position: relative; z-index: 1; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.stat-item { text-align: center; }
.stat-value { font-size: 42px; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: 14px; color: var(--gray-300); font-weight: 500; }

.products { position: relative; z-index: 1; }
.products-header { text-align: center; margin-bottom: 60px; }
.products-header .section-label { justify-content: center; }
.products-header .section-label::before { display: none; }
.products-header .section-subtitle { margin: 0 auto; }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 32px; transition: all 0.4s ease; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.product-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--primary), transparent); opacity: 0; transition: opacity 0.4s ease; }
.product-card:hover { border-color: var(--border-hover); background: var(--bg-card-hover); transform: translateY(-4px); }
.product-card:hover::before { opacity: 1; }
.product-icon { width: 56px; height: 56px; background: linear-gradient(135deg, rgba(41, 205, 150, 0.2) 0%, rgba(41, 205, 150, 0.05) 100%); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.product-icon svg { width: 28px; height: 28px; color: var(--primary); }
.product-badge { position: absolute; top: 24px; right: 24px; padding: 6px 12px; background: rgba(41, 205, 150, 0.15); border-radius: 50px; font-size: 11px; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: 1px; }
.product-title { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.product-description { font-size: 15px; color: var(--gray-300); margin-bottom: 20px; line-height: 1.7; flex-grow: 1; }
.product-pricing { background: rgba(41, 205, 150, 0.08); border-radius: 10px; padding: 16px; margin-bottom: 20px; }
.product-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.product-price .currency { font-size: 18px; font-weight: 600; color: var(--primary); }
.product-price .amount { font-size: 36px; font-weight: 800; color: var(--white); line-height: 1; }
.product-price .period { font-size: 14px; color: var(--gray-400); }
.product-price-note { font-size: 12px; color: var(--gray-400); }
.product-features { list-style: none; margin-bottom: 24px; }
.product-features li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--gray-200); padding: 8px 0; border-bottom: 1px solid var(--border); }
.product-features li:last-child { border-bottom: none; }
.product-features svg { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; }
.product-actions { display: flex; gap: 12px; margin-top: auto; }
.product-actions .btn { flex: 1; justify-content: center; padding: 12px 16px; font-size: 14px; }

.features { position: relative; z-index: 1; background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%); }
.features-header { margin-bottom: 60px; }
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feature-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 32px; display: flex; gap: 20px; transition: all 0.3s ease; }
.feature-card:hover { border-color: var(--border-hover); background: var(--bg-card-hover); }
.feature-icon { width: 48px; height: 48px; background: rgba(41, 205, 150, 0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature-icon svg { width: 24px; height: 24px; color: var(--primary); }
.feature-content h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.feature-content p { font-size: 14px; color: var(--gray-300); line-height: 1.7; }

.cta { position: relative; z-index: 1; }
.cta-box { background: linear-gradient(135deg, rgba(41, 205, 150, 0.1) 0%, rgba(41, 205, 150, 0.02) 100%); border: 1px solid var(--border); border-radius: 24px; padding: 80px; text-align: center; position: relative; overflow: hidden; }
.cta-box::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 400px; height: 1px; background: linear-gradient(90deg, transparent, var(--primary), transparent); }
.cta-box h2 { font-size: clamp(32px, 4vw, 42px); font-weight: 700; margin-bottom: 16px; }
.cta-box p { font-size: 18px; color: var(--gray-300); margin-bottom: 36px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

.footer { padding: 80px 0 40px; border-top: 1px solid var(--border); position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-brand .logo { margin-bottom: 20px; }
.footer-brand p { font-size: 14px; color: var(--gray-300); max-width: 300px; line-height: 1.7; }
.footer-social { display: flex; gap: 12px; margin-top: 24px; }
.footer-social a { width: 40px; height: 40px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--gray-300); transition: all 0.3s ease; }
.footer-social a:hover { border-color: var(--primary); color: var(--primary); background: rgba(41, 205, 150, 0.1); }
.footer-social svg { width: 18px; height: 18px; }
.footer-column h4 { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; color: var(--gray-200); }
.footer-column ul { list-style: none; }
.footer-column li { margin-bottom: 12px; }
.footer-column a { color: var(--gray-400); text-decoration: none; font-size: 14px; transition: color 0.2s ease; }
.footer-column a:hover { color: var(--primary); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 40px; border-top: 1px solid var(--border); }
.footer-bottom p { font-size: 13px; color: var(--gray-400); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 13px; color: var(--gray-400); text-decoration: none; transition: color 0.2s ease; }
.footer-legal a:hover { color: var(--primary); }

.product-hero { padding-top: 140px; padding-bottom: 80px; position: relative; z-index: 1; }
.product-hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.product-hero-text .section-label { margin-bottom: 16px; }
.product-hero-text h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 800; line-height: 1.1; margin-bottom: 20px; }
.product-hero-text .hero-description { margin-bottom: 32px; }
.product-logo { max-width: 400px; height: auto; margin-bottom: 20px; }
.product-hero-pricing { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 24px; margin-bottom: 32px; }
.product-hero-pricing .product-price { margin-bottom: 8px; }
.product-hero-pricing .product-price .amount { font-size: 48px; }
.product-hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.product-hero-visual { position: relative; }
.screenshot-main { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; aspect-ratio: 16/10; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.screenshot-main img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.placeholder-text { color: var(--gray-400); font-size: 14px; text-align: center; padding: 40px; }
.placeholder-text svg { width: 48px; height: 48px; margin-bottom: 16px; opacity: 0.5; display: block; margin-left: auto; margin-right: auto; }

/* Screenshots */
.screenshots { position: relative; z-index: 1; }
.screenshots-header { text-align: center; margin-bottom: 60px; }
.screenshots-header .section-label { justify-content: center; }
.screenshots-header .section-label::before { display: none; }
.screenshots-header .section-subtitle { margin: 0 auto; }
.screenshots-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.screenshot-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: all 0.3s ease; }
.screenshot-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.screenshot-card .placeholder-content { aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; color: var(--gray-400); }
.screenshot-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.screenshot-card-info { padding: 16px; border-top: 1px solid var(--border); }
.screenshot-card-info h3 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.screenshot-card-info p { font-size: 12px; color: var(--gray-400); }

/* Product Features Grid */
.product-features-section { position: relative; z-index: 1; }
.product-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-feature-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 28px; transition: all 0.3s ease; }
.product-feature-card:hover { border-color: var(--border-hover); background: var(--bg-card-hover); }
.product-feature-card .feature-icon { margin-bottom: 16px; }
.product-feature-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.product-feature-card p { font-size: 14px; color: var(--gray-300); line-height: 1.6; }

/* FAQ */
.faq { position: relative; z-index: 1; }
.faq-header { text-align: center; margin-bottom: 60px; }
.faq-header .section-label { justify-content: center; }
.faq-header .section-label::before { display: none; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 16px; overflow: hidden; }
.faq-question { width: 100%; padding: 24px; display: flex; justify-content: space-between; align-items: center; background: none; border: none; color: var(--white); font-family: 'Outfit', sans-serif; font-size: 16px; font-weight: 600; text-align: left; cursor: pointer; transition: background 0.3s ease; }
.faq-question:hover { background: var(--bg-card-hover); }
.faq-question svg { width: 20px; height: 20px; color: var(--primary); transition: transform 0.3s ease; flex-shrink: 0; }
.faq-item.active .faq-question svg { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.active .faq-answer { max-height: 500px; }
.faq-answer-content { padding: 0 24px 24px; font-size: 15px; color: var(--gray-300); line-height: 1.7; }

/* Coming Soon Page */
.coming-soon-hero { min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; padding-top: 100px; position: relative; z-index: 1; }
.coming-soon-content { max-width: 600px; }
.coming-soon-icon { width: 120px; height: 120px; background: linear-gradient(135deg, rgba(41, 205, 150, 0.2) 0%, rgba(41, 205, 150, 0.05) 100%); border-radius: 24px; display: flex; align-items: center; justify-content: center; margin: 0 auto 32px; }
.coming-soon-icon svg { width: 56px; height: 56px; color: var(--primary); }
.coming-soon-content h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 800; margin-bottom: 16px; }
.coming-soon-content p { font-size: 18px; color: var(--gray-300); margin-bottom: 40px; }
.coming-soon-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 40px; text-align: left; }
.coming-soon-feature { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 20px; display: flex; align-items: center; gap: 12px; }
.coming-soon-feature svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; }
.coming-soon-feature span { font-size: 14px; color: var(--gray-200); }

/* Products Listing Page */
.products-listing { padding-top: 180px; padding-bottom: 40px; position: relative; z-index: 1; }
.products-listing-header { text-align: center; margin-bottom: 60px; }
.products-listing-header .section-label { justify-content: center; }
.products-listing-header .section-label::before { display: none; }
.products-listing-header h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 800; margin-bottom: 16px; }
.products-listing-header p { font-size: 18px; color: var(--gray-300); max-width: 600px; margin: 0 auto; }

/* Discord Icon Fix */
.icon-discord { width: 20px; height: 20px; }

/* Responsive */
@media (max-width: 1024px) {
    .hero-content, .product-hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-description, .product-hero-text .hero-description { margin-left: auto; margin-right: auto; }
    .hero-buttons, .product-hero-buttons { justify-content: center; }
    .hero-visual, .product-hero-visual { max-width: 500px; margin: 0 auto; }
    .product-logo { margin-left: auto; margin-right: auto; }
    .floating-badge-2 { left: 0; }
    .products-grid, .product-features-grid { grid-template-columns: repeat(2, 1fr); }
    .screenshots-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .coming-soon-features { grid-template-columns: 1fr; }
    .addon-card { grid-template-columns: 1fr !important; text-align: center; }
    .addon-card ul { justify-content: center; }
    .addon-card .addon-info > div:last-child { justify-content: center; }
    .addon-image { order: -1; max-width: 500px; margin: 0 auto; }
}
@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .mobile-toggle { display: flex; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .stat-value { font-size: 32px; }
    .products-grid, .features-grid, .testimonials-grid, .product-features-grid { grid-template-columns: 1fr; }
    .screenshots-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-box { padding: 60px 30px; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
    .product-hero-pricing .product-price .amount { font-size: 36px; }
}
@media (max-width: 480px) {
    .section { padding: 60px 0; }
    .hero { padding-top: 80px; }
    .floating-badge { display: none; }
    .product-actions, .product-hero-buttons { flex-direction: column; }
    .product-hero { padding-top: 100px; }
    .screenshots-grid { grid-template-columns: 1fr; }
    .gallery-filters { gap: 6px; }
    .gallery-filter { padding: 8px 14px; font-size: 12px; }
}

/* Gallery Styles */
.gallery-filters { margin-top: 40px; }
.gallery-filter {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--gray-300);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}
.gallery-filter:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.gallery-filter.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--bg-dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-darker);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}
.gallery-item:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(41, 205, 150, 0.15);
}
.gallery-item.hidden {
    display: none;
}

.gallery-item-inner {
    position: relative;
}
.gallery-item img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(1, 22, 16, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}
.gallery-item-overlay svg {
    width: 40px;
    height: 40px;
    color: var(--primary);
}

.gallery-item-info {
    padding: 16px;
}
.gallery-item-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
}
.gallery-item-info p {
    font-size: 12px;
    color: var(--gray-400);
    margin: 0;
}

.gallery-item.placeholder-item .placeholder-image svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(1, 22, 16, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(10px);
}
.lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}
.lightbox-close:hover {
    background: var(--primary);
    color: var(--bg-dark);
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    margin-top: 20px;
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    text-align: center;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}
.lightbox-nav:hover {
    background: var(--primary);
    color: var(--bg-dark);
}
.lightbox-nav svg {
    width: 24px;
    height: 24px;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

@media (max-width: 1200px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .lightbox-nav { width: 40px; height: 40px; }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
    .lightbox-close { top: 10px; right: 10px; width: 40px; height: 40px; font-size: 24px; }
}

.nav-avatar {
    width: 40px;        /* small, navbar-friendly size */
    height: 40px;
    border-radius: 50%; /* makes it circular */
    cursor: pointer;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #1e1e1e;
    min-width: 120px;
    right: 0;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    z-index: 1000;
}

.dropdown-content a {
    color: #fff;
    padding: 10px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #333;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Modern Profile Dropdown */
.user-menu {
    position: relative;
}

.user-menu .user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.user-menu .user-avatar:hover {
    transform: scale(1.05);
}

.user-menu .dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 50px;
    background-color: #1a1a1a; /* Dark modern bg */
    border-radius: 12px;
    min-width: 150px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    overflow: hidden;
    font-family: 'Poppins', sans-serif; /* Modern font */
    font-weight: 500;
    color: #fff;
    transition: all 0.3s ease;
    z-index: 100;
}

.user-menu.active .dropdown {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.user-menu .dropdown a {
    display: block;
    padding: 12px 20px;
    color: #fff;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.user-menu .dropdown a:hover {
    background: #00c985; /* Highlight color */
    color: #000;
}

.user-menu .dropdown a:first-child {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.user-menu .dropdown a:last-child {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

/* ===== Profile Dashboard Layout ===== */
.profile-page{
    position: relative;
    z-index: 1;
    padding-top: 140px; /* under fixed nav */
    padding-bottom: 80px;
    min-height: 100vh;
}

.profile-stack{
    display: grid;
    gap: 22px;
}

/* Panels (cards) */
.panel{
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    overflow: hidden;
    backdrop-filter: blur(18px);
}

.panel-profile{
    padding: 26px 26px 14px;
}

.panel-profile-top{
    display: flex;
    gap: 18px;
    align-items: center;
}

.panel-avatar{
    width: 92px;
    height: 92px;
    border-radius: 18px;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,0.10);
}

.panel-profile-meta{
    flex: 1;
    min-width: 0;
}

.panel-name-row{
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.panel-name{
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.2px;
}

.panel-badge{
    font-size: 12px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.85);
}

.panel-subrow{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    color: rgba(255,255,255,0.55);
    font-size: 13px;
}

.panel-dot{ opacity: 0.6; }

.panel-mono{
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}

.panel-muted{ color: rgba(255,255,255,0.55); }

/* Tabs */
.panel-tabs{
    margin-top: 18px;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.panel-tab{
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.55);
    padding: 10px 2px;
    position: relative;
}

.panel-tab.active{
    color: var(--white);
}

.panel-tab.active::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 999px;
}

/* Details panel */
.panel-details .panel-header{
    padding: 22px 26px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.panel-details .panel-header h2{
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.panel-grid{
    padding: 10px 26px 22px;
}

.detail-row{
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 18px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.detail-row:last-child{ border-bottom: none; }

.detail-label{
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    font-weight: 600;
    letter-spacing: 0.2px;
}

.detail-value{
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    font-weight: 600;
}

.detail-value.muted{ color: rgba(255,255,255,0.55); }
.detail-value.mono{ font-family: 'JetBrains Mono', monospace; font-weight: 500; }

@media (max-width: 768px){
    .detail-row{
        grid-template-columns: 1fr;
        gap: 6px;
    }
    .panel-profile-top{
        align-items: flex-start;
    }
}

/* ---- Profile tabs: ONLY show active panel ---- */
.tab-panel { display: none !important; }
.tab-panel.active { display: block !important; }

/* ===== Bottom Panel Dark Dashboard Style (ONLY) ===== */
.panel-dark {
  background: rgba(20, 22, 28, 0.78) !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
  border-radius: 18px;
  overflow: hidden;
  backdrop-filter: blur(18px);
}

.panel-header-dark {
  padding: 22px 26px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.panel-header-dark h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: rgba(255,255,255,0.95);
}

.panel-subtext {
  margin-top: 6px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
}

.panel-body-dark {
  padding: 18px 26px 22px;
}

/* Make tab content spacing match dashboard */
.panel-details .tab-panel > *:first-child {
  margin-top: 0 !important;
}

/* Search input style (when you add it later) */
.panel-search {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.panel-search input {
  width: 240px;
  max-width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  padding: 10px 12px;
  border-radius: 10px;
  outline: none;
  font-size: 13px;
  font-weight: 500;
}

.panel-search input::placeholder {
  color: rgba(255,255,255,0.35);
}

/* Modern "table" look rows */
.panel-details .detail-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.panel-details .detail-row:last-child {
  border-bottom: none;
}

.panel-details .detail-label {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  font-weight: 600;
  letter-spacing: 0.2px;
}

.panel-details .detail-value {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
}

.panel-details .detail-value.muted {
  color: rgba(255,255,255,0.55);
}

.panel-details .detail-value.mono {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
}

/* Responsive like the example */
@media (max-width: 768px) {
  .panel-details .detail-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* ===== Player Record UI (only inside record tab) ===== */

.record-section { display: none; }
.record-section.active { display: block; }

.record-topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:14px;
}

.record-search input{
  width:260px;
  max-width:100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  padding: 10px 12px;
  border-radius: 10px;
  outline: none;
  font-size: 13px;
  font-weight: 500;
}

.record-search input::placeholder{
  color: rgba(255,255,255,0.35);
}

.record-filters{
  display:flex;
  align-items:center;
  gap:18px;
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  font-weight: 600;
}

.record-filter{
  background: transparent;
  border: 0;
  padding: 8px 0;
  color: rgba(255,255,255,0.45);
  cursor: pointer;
  outline: none; /* <-- change this */
  font: inherit;
  position: relative;
}

.record-filter:hover{
  color: rgba(255,255,255,0.75);
}

.record-filter.active{
  color: rgba(255,255,255,0.95);
}

.record-filter.active::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-8px;
  width:100%;
  height:2px;
  background: var(--primary);
  border-radius: 999px;
  opacity: 0.9;
}

/* Empty state */
.record-empty{
  padding: 10px 0 6px;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 10px;
}

.record-empty-title{
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
}

.record-empty-sub{
  margin-top: 6px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
}

@media (max-width: 768px){
  .record-topbar{
    flex-direction: column;
    align-items: flex-start;
  }
  .record-filters{
    gap: 14px;
    flex-wrap: wrap;
  }
  .record-search input{
    width: 100%;
  }
}

.panel-details .tab-panel { display: none !important; }
.panel-details .tab-panel.active { display: block !important; }

/* ===== Avatar dropdown (card style like screenshot) ===== */
.user-menu { position: relative; }

.user-trigger{
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.user-avatar-wrap{
  position: relative;
  width: 40px;
  height: 40px;
  display: inline-flex;
}

.user-avatar{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.12);
  transition: transform .18s ease, border-color .18s ease;
}

.user-trigger:hover .user-avatar{
  transform: scale(1.04);
  border-color: rgba(255,255,255,0.22);
}

.user-status-dot{
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #23d18b;              /* online green */
  border: 2px solid rgba(2,30,21,.95);
}

/* dropdown card */
.user-dropdown{
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: 280px;
  background: rgba(20, 22, 28, 0.92);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
  backdrop-filter: blur(18px);
  overflow: hidden;
  display: none;
  z-index: 2000;

  transform: translateY(-6px);
  opacity: 0;
  transition: transform .16s ease, opacity .16s ease;
}

.user-menu.active .user-dropdown{
  display: block;
  transform: translateY(0);
  opacity: 1;
}

/* header */
.user-dropdown-head{
  display: flex;
  gap: 12px;
  padding: 14px 14px 12px;
  align-items: center;
}

.user-dropdown-avatar{
  width: 44px;
  height: 44px;
  border-radius: 14px; /* rounded square like screenshot */
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.12);
}

.user-dropdown-meta{
  min-width: 0;
}

.user-dropdown-name{
  font-weight: 700;
  font-size: 14px;
  color: rgba(255,255,255,0.95);
  line-height: 1.2;
}

.user-dropdown-sub{
  margin-top: 2px;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* separators */
.user-dropdown-sep{
  height: 1px;
  background: rgba(255,255,255,0.06);
}

/* items */
.user-dropdown-item{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  transition: background .14s ease, color .14s ease;
}

.user-dropdown-item:hover{
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.95);
}

.user-dropdown-item.danger{
  color: rgba(255,255,255,0.72);
}

.user-dropdown-item.danger:hover{
  background: rgba(255, 90, 90, 0.14);
  color: rgba(255,255,255,0.95);
}