@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-gradient: linear-gradient(135deg, #090714 0%, #030307 100%);
    --panel-bg: rgba(255, 255, 255, 0.03);
    --panel-border: rgba(255, 255, 255, 0.08);
    --panel-hover-bg: rgba(255, 255, 255, 0.05);
    
    --primary-color: #8b5cf6;
    --primary-glow: rgba(139, 92, 246, 0.4);
    --secondary-color: #3b82f6;
    --secondary-glow: rgba(59, 130, 246, 0.4);
    
    --accent-gold: #fbbf24;
    --accent-gold-glow: rgba(251, 191, 36, 0.5);
    --accent-red: #f43f5e;
    --accent-green: #10b981;
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --font-main: 'Plus Jakarta Sans', sans-serif;
}

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

body {
    background: var(--bg-gradient);
    color: var(--text-primary);
    font-family: var(--font-main);
    min-height: 100vh;
    padding-bottom: 50px;
    overflow-x: hidden;
}

/* Background Glowing Orbs & Futuristic Cyber Effects */
.tech-bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

#cyber-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.65;
}

.cyber-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(to right, rgba(139, 92, 246, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(139, 92, 246, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: grid-move 25s linear infinite;
    opacity: 0.8;
}

@keyframes grid-move {
    0% { transform: translateY(0) translateX(0); }
    100% { transform: translateY(-60px) translateX(-60px); }
}

.scanline-beam {
    position: absolute;
    left: 0;
    top: -5px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(139, 92, 246, 0.5) 20%, rgba(56, 189, 248, 0.9) 50%, rgba(139, 92, 246, 0.5) 80%, transparent 100%);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.9), 0 0 30px rgba(139, 92, 246, 0.6);
    animation: scanline 9s ease-in-out infinite;
    opacity: 0.7;
}

@keyframes scanline {
    0% { top: -2%; opacity: 0; }
    15% { opacity: 0.8; }
    85% { opacity: 0.8; }
    100% { top: 102%; opacity: 0; }
}

.orb {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(150px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.15;
}
.orb-1 {
    top: 10%;
    left: -100px;
    background: var(--primary-color);
}
.orb-2 {
    bottom: 10%;
    right: -100px;
    background: var(--secondary-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.main-header {
    padding: 20px 0;
    border-bottom: 1px solid var(--panel-border);
    backdrop-filter: blur(10px);
    background: rgba(10, 10, 25, 0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-badge {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.logo-title {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(to right, #ffffff, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}

.logo-subtitle {
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin: 3px 0 0 0;
}

.header-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-indicator {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

/* Top Navigation Bar */
.top-nav-menu {
    position: relative;
    z-index: 999;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--panel-border);
    margin-bottom: 40px;
}

.nav-container {
    display: flex;
    gap: 10px;
    padding: 10px 20px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 14px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.nav-link i {
    font-size: 14px;
}

.nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(236, 72, 153, 0.1) 100%);
    border: 1px solid rgba(139, 92, 246, 0.3);
}


/* Main Layout */
.main-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 30px;
}

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

/* Cards / Panels (Glassmorphism) */
.glass-panel {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 20px;
    padding: 24px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-panel:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.panel-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--panel-border);
    padding-bottom: 12px;
}

.panel-title i {
    color: var(--primary-color);
}

/* Inputs & Form elements */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.custom-select, .custom-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--panel-border);
    border-radius: 12px;
    padding: 12px 16px;
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 500;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.custom-select:focus, .custom-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-glow);
}

.custom-select option {
    background: #0f0c1b;
    color: var(--text-primary);
}

/* Primary Button */
.btn-primary {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    border-radius: 12px;
    padding: 14px;
    color: white;
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px var(--primary-glow);
}

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

.btn-primary:active {
    transform: translateY(0);
}

/* Ticket Checker Result */
.checker-result {
    margin-top: 20px;
    padding: 16px;
    border-radius: 12px;
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.checker-result.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--accent-green);
}

.checker-result.error {
    background: rgba(244, 63, 94, 0.1);
    border: 1px solid rgba(244, 63, 94, 0.3);
    color: var(--accent-red);
}

.result-status {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.result-desc {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Result Board Header */
.board-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
}

.board-info h2 {
    font-size: 22px;
    font-weight: 800;
    color: white;
}

.board-info p {
    font-size: 14px;
    color: var(--text-secondary);
}

.live-badge {
    background: rgba(244, 63, 94, 0.15);
    color: var(--accent-red);
    border: 1px solid rgba(244, 63, 94, 0.3);
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    animation: pulse 1.5s infinite;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-red);
    border-radius: 50%;
}

/* Lottery Result Table */
.lottery-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 15px;
    border: 1px solid var(--panel-border);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
}

.lottery-table tr {
    transition: background-color 0.2s ease;
}

.lottery-table tr:hover {
    background: rgba(255, 255, 255, 0.015);
}

.lottery-table tr:not(:last-child) td {
    border-bottom: 1px solid var(--panel-border);
}

.lottery-table td {
    padding: 16px 20px;
    vertical-align: middle;
}

.giai-label {
    width: 130px;
    font-weight: 700;
    color: var(--text-secondary);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.01);
    border-right: 1px solid var(--panel-border);
}

.giai-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
}

/* Highlight Prizes */
tr.special-row {
    background: rgba(251, 191, 36, 0.02);
}

tr.special-row .giai-label {
    color: var(--accent-gold);
    background: rgba(251, 191, 36, 0.04);
}

.special-numbers {
    font-size: 28px;
    font-weight: 800;
    color: var(--accent-gold);
    text-shadow: 0 0 15px var(--accent-gold-glow);
    letter-spacing: 1px;
}

tr.first-row {
    background: rgba(139, 92, 246, 0.01);
}

tr.first-row .giai-label {
    color: var(--primary-color);
}

.first-numbers {
    font-size: 20px;
    font-weight: 700;
}

.num-item {
    padding: 4px 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.2s ease;
}

.num-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

/* Multi-province headers */
.province-header-row {
    background: rgba(255, 255, 255, 0.02);
}

.province-header-cell {
    font-weight: 700;
    font-size: 15px;
    color: var(--text-primary);
    text-align: center;
    padding: 14px !important;
    border-bottom: 1px solid var(--panel-border) !important;
}

/* Loading Overlay inside board */
.board-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 15, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    z-index: 10;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--panel-border);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 15px var(--primary-glow);
}

.board-loading p {
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Stats Section */
.stats-section {
    margin-top: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.stats-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--panel-border);
}

.stats-table th {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid var(--panel-border);
}

.stats-table td {
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 14px;
}

.stats-table tr:hover {
    background: rgba(255, 255, 255, 0.01);
}

.stats-digit {
    font-weight: 700;
    color: var(--primary-color);
    width: 60px;
    background: rgba(255, 255, 255, 0.01);
    border-right: 1px solid var(--panel-border);
}

.stats-values {
    color: var(--text-primary);
    text-align: left !important;
    padding-left: 20px !important;
    letter-spacing: 1px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; box-shadow: 0 0 10px rgba(244, 63, 94, 0.5); }
    100% { opacity: 0.6; }
}

/* Fireworks effects for winning */
#canvas-fireworks {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

/* Results Grid & Cards for 6 draws */
.results-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 20px;
}

.result-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--panel-border);
    border-radius: 16px;
    padding: 16px;
    backdrop-filter: blur(10px);
    transition: transform 0.2s ease, border-color 0.3s ease;
}

.result-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.03);
}

/* Make tables inside cards compact */
.result-card .lottery-table {
    margin-top: 10px;
    border-radius: 12px;
}

.result-card .lottery-table td {
    padding: 8px 12px;
}

.result-card .giai-label {
    width: 90px;
    font-size: 11px;
}

.result-card .giai-numbers {
    font-size: 14px;
    gap: 6px;
}

.result-card .special-numbers {
    font-size: 18px;
    text-shadow: 0 0 8px var(--accent-gold-glow);
}

.result-card .first-numbers {
    font-size: 15px;
}

.result-card .num-item {
    padding: 2px 4px;
    border-radius: 4px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--panel-border);
    padding-bottom: 8px;
    margin-bottom: 8px;
}

.card-header h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
}

.card-header .card-date {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Quick Province Link List (Clean Grid List) */
.province-list-panel {
    max-height: 500px;
    overflow-y: auto;
}

.region-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chip-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 12px;
}

.province-chip {
    display: block;
    font-size: 13px;
    padding: 6px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.01);
    border: none;
    border-left: 2px solid transparent;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.province-chip:hover {
    background: rgba(255, 255, 255, 0.04);
    border-left-color: var(--primary-color);
    color: var(--primary-color);
    padding-left: 12px;
}

.province-chip.active {
    background: rgba(139, 92, 246, 0.1);
    border-left-color: var(--primary-color);
    color: var(--text-primary);
    font-weight: 700;
}

/* Loto stats table (Chục - Số - Đ.Vị) */
.loto-stats-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(5, 5, 15, 0.4);
    height: 100%;
}

.loto-stats-table th {
    padding: 6px 2px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    text-align: center;
    font-size: 10px;
    text-transform: uppercase;
    width: 33.33%;
}

.loto-stats-table td {
    padding: 5px 2px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: var(--text-primary);
    vertical-align: middle;
    font-weight: 500;
    width: 33.33%;
}

.loto-row {
    transition: background-color 0.15s ease;
}

.loto-digit-cell {
    font-weight: 700;
    background: rgba(139, 92, 246, 0.05);
    color: var(--primary-color);
}

.loto-row.active-row {
    background: rgba(251, 191, 36, 0.06) !important;
}

.loto-cell-highlight {
    background: rgba(251, 191, 36, 0.18) !important;
    color: var(--accent-gold) !important;
    font-weight: 700;
}

/* Glossy 3D Billiard Sphere Highlights */
.num-tail {
    position: relative;
    z-index: 1;
    display: inline-block;
}

.num-tail-tens, .num-tail-units {
    transition: all 0.15s ease;
    display: inline-block;
    width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    border-radius: 50%;
}

.num-tail-tens.highlight-ball-tens {
    background: radial-gradient(circle at 30% 30%, #2196f3, #0d47a1);
    color: #ffffff !important;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4), inset 0 -2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 700;
    transform: scale(1.2);
    z-index: 2;
}

.num-tail-units.highlight-ball-units {
    background: radial-gradient(circle at 30% 30%, #4caf50, #1b5e20);
    color: #ffffff !important;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4), inset 0 -2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 700;
    transform: scale(1.2);
    z-index: 2;
}

/* Xổ Số Điện Toán Styles */
.dientoan-balls-container {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 20px 0;
    flex-wrap: wrap;
}

.dientoan-ball {
    width: 44px;
    height: 44px;
    line-height: 44px;
    text-align: center;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    background: radial-gradient(circle at 30% 30%, #fb923c, #c2410c);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4), inset 0 -3px 6px rgba(0, 0, 0, 0.6);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    display: inline-block;
}

.dientoan-ball:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 16px rgba(251, 146, 60, 0.4), inset 0 -3px 6px rgba(0, 0, 0, 0.6);
}

.dientoan-ball-special {
    background: radial-gradient(circle at 30% 30%, #f87171, #b91c1c);
}

.dientoan-ball-special:hover {
    box-shadow: 0 8px 16px rgba(248, 113, 113, 0.4), inset 0 -3px 6px rgba(0, 0, 0, 0.6);
}

.dientoan-max-block {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 10px 0;
    flex-wrap: wrap;
}

.dientoan-max-item {
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-gold);
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.3);
}

.dientoan-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.dientoan-table th {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    padding: 10px;
    font-weight: 700;
    font-size: 12px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dientoan-table td {
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 13px;
    color: var(--text-primary);
}

.dientoan-table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* Footer Section styling */
.main-footer {
    margin-top: 50px;
    padding: 30px 0;
    border-top: 1px solid var(--panel-border);
    backdrop-filter: blur(10px);
    background: rgba(10, 10, 25, 0.4);
    text-align: center;
    color: var(--text-secondary);
    font-size: 13px;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.footer-links {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Navigation Dropdown styling */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(13, 11, 28, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    padding: 10px 0;
    margin-top: 0;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

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

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    color: #ffffff;
    background: rgba(139, 92, 246, 0.1);
    padding-left: 25px;
}

.dropdown-item i {
    width: 16px;
    text-align: center;
}

.nav-dropdown:hover .dropdown-toggle {
    color: #ffffff;
}

/* High-Tech Sticky Header & Navbar */
.sticky-header-wrapper {
    position: sticky;
    top: 0;
    z-index: 10000;
    background: rgba(7, 9, 19, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.main-header {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-badge {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    font-weight: 900;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.logo-title {
    font-size: 22px;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    letter-spacing: -0.5px;
}

.logo-subtitle {
    font-size: 9px;
    letter-spacing: 1.5px;
    color: #60a5fa;
    margin: 1px 0 0 0;
    font-weight: 800;
    text-transform: uppercase;
}

.header-right-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    font-weight: 700;
    color: #34d399;
    background: rgba(16, 185, 129, 0.12);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.pulse-dot {
    width: 7px;
    height: 7px;
    background: #34d399;
    border-radius: 50%;
    box-shadow: 0 0 8px #34d399;
    animation: pulse 1.5s infinite;
}

.header-cta-btn {
    background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    padding: 9px 18px;
    border-radius: 10px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.35);
    transition: all 0.25s ease;
}

.header-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.5);
    color: #ffffff;
}

/* Nav Menu Bar */
.top-nav-menu {
    position: relative;
    z-index: 9999;
    background: transparent;
    border-bottom: none;
    margin-bottom: 0;
    overflow: visible !important;
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 20px;
    overflow: visible !important;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    color: #94a3b8;
    font-weight: 700;
    font-size: 13.5px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.25) 0%, rgba(59, 130, 246, 0.15) 100%);
    border: 1px solid rgba(139, 92, 246, 0.35);
}

/* Mega Menu Dropdown */
.nav-dropdown {
    position: relative;
    overflow: visible !important;
}

.mega-dropdown-menu {
    position: absolute;
    top: calc(100% + 5px);
    left: -120px;
    width: 1040px;
    background: #0d1322;
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 18px;
    padding: 22px;
    display: none;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(139, 92, 246, 0.2);
    z-index: 99999;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
}

.mega-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

.nav-dropdown:hover .mega-dropdown-menu {
    display: grid;
    animation: fadeIn 0.25s ease forwards;
}

.dropdown-col-title {
    font-size: 11px;
    font-weight: 800;
    color: #8b5cf6;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 8px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dropdown-item-rich {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px;
    border-radius: 10px;
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dropdown-item-rich:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    transform: translateX(4px);
}

.item-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.item-title {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.item-desc {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 2px;
}

/* Rich Enterprise Footer */
.main-footer-rich {
    background: #04060d;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 60px 0 30px 0;
    color: #94a3b8;
    font-size: 13.5px;
    position: relative;
    z-index: 2;
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 2fr 1.3fr 1.3fr 1.4fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col p {
    line-height: 1.65;
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 18px;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 10px;
}

.footer-links-list a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links-list a:hover {
    color: #38bdf8;
    transform: translateX(4px);
}

.footer-badge-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.f-badge {
    font-size: 10.5px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    padding: 3px 9px;
    border-radius: 6px;
}

.social-links-row {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.25s ease;
    font-size: 14px;
}

.social-btn:hover {
    background: #8b5cf6;
    color: #ffffff;
    border-color: #8b5cf6;
    transform: translateY(-3px);
}

.newsletter-box {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

/* FAQ Accordion Styling */
.faq-grid {
    max-width: 880px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.faq-item:hover {
    border-color: rgba(139, 92, 246, 0.35);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.faq-item.active {
    border-color: #8b5cf6;
    background: rgba(15, 23, 42, 0.85);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.15);
}

.faq-question {
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    user-select: none;
}

.faq-question i.chevron-icon {
    font-size: 14px;
    color: #8b5cf6;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i.chevron-icon {
    transform: rotate(180deg);
    color: #38bdf8;
}

.faq-answer {
    padding: 0 24px 22px 24px;
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.7;
    display: none;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 16px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    flex: 1;
    max-width: 480px;
}

.newsletter-input {
    flex: 1;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 10px 16px;
    color: #ffffff;
    font-size: 13px;
    outline: none;
}

.newsletter-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 13px;
    transition: transform 0.2s ease;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 12.5px;
    color: #64748b;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: #94a3b8;
}

/* Landing Page Modern Component Styles */
.hero-section-new {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 70px 20px 40px 20px;
    max-width: 1050px;
    margin: 0 auto;
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    color: #c084fc;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.15);
}

.badge-live-pulse {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1.2); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title-new {
    font-size: 52px;
    font-weight: 900;
    line-height: 1.18;
    letter-spacing: -1.2px;
    margin-bottom: 22px;
    color: #ffffff;
}

.text-gradient-hero {
    background: linear-gradient(135deg, #a78bfa 0%, #60a5fa 50%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle-new {
    font-size: 18px;
    color: #94a3b8;
    line-height: 1.65;
    max-width: 820px;
    margin: 0 auto 35px auto;
    font-weight: 400;
}

.hero-actions-new {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 45px;
}

.btn-hero {
    padding: 15px 30px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.btn-hero-primary-new {
    background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-hero-primary-new:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(139, 92, 246, 0.5);
    color: #ffffff;
}

.btn-hero-secondary-new {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f1f5f9;
    backdrop-filter: blur(10px);
}

.btn-hero-secondary-new:hover {
    background: rgba(51, 65, 85, 0.8);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.btn-hero-outline-new {
    background: transparent;
    border: 1px solid rgba(139, 92, 246, 0.4);
    color: #c084fc;
}

.btn-hero-outline-new:hover {
    background: rgba(139, 92, 246, 0.1);
    transform: translateY(-3px);
    border-color: #a78bfa;
    color: #ffffff;
}

.metrics-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 24px;
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    margin-bottom: 50px;
}

.metric-item {
    text-align: center;
    padding: 10px 5px;
}

.metric-item:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.metric-value {
    font-size: 30px;
    font-weight: 900;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.metric-label {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 500;
}

.ticker-section {
    background: rgba(15, 23, 42, 0.7);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 0;
    overflow: hidden;
    position: relative;
    z-index: 3;
    margin-bottom: 60px;
}

.ticker-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ticker-badge {
    background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
    color: white;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 20px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ticker-content {
    display: flex;
    gap: 30px;
    animation: scroll-ticker 35s linear infinite;
    white-space: nowrap;
}

.ticker-content:hover {
    animation-play-state: paused;
}

@keyframes scroll-ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.03);
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ticker-item strong {
    color: #ffffff;
}

.ticker-highlight {
    color: #fbbf24;
    font-weight: 700;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 45px auto;
}

.section-tag {
    color: #8b5cf6;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 15px;
    color: #94a3b8;
    line-height: 1.6;
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 70px;
}

.ecosystem-card {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    backdrop-filter: blur(12px);
}

.ecosystem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.ecosystem-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(139, 92, 246, 0.15);
}

.ecosystem-card:hover::before {
    opacity: 1;
}

.card-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 22px;
    transition: transform 0.3s ease;
}

.ecosystem-card:hover .card-icon-box {
    transform: scale(1.1);
}

.icon-purple { background: rgba(139, 92, 246, 0.15); color: #a78bfa; border: 1px solid rgba(139, 92, 246, 0.3); }
.icon-gold { background: rgba(251, 191, 36, 0.15); color: #fbbf24; border: 1px solid rgba(251, 191, 36, 0.3); }
.icon-green { background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }
.icon-blue { background: rgba(59, 130, 246, 0.15); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.3); }
.icon-red { background: rgba(244, 63, 94, 0.15); color: #fb7185; border: 1px solid rgba(244, 63, 94, 0.3); }
.icon-cyan { background: rgba(6, 182, 212, 0.15); color: #22d3ee; border: 1px solid rgba(6, 182, 212, 0.3); }

.card-title {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-badge-new {
    font-size: 10px;
    font-weight: 800;
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    padding: 3px 8px;
    border-radius: 12px;
    border: 1px solid rgba(239, 68, 68, 0.4);
    text-transform: uppercase;
}

.card-desc {
    font-size: 13.5px;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 20px;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.tag-item {
    font-size: 11px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    padding: 4px 10px;
    border-radius: 6px;
}

.card-endpoint-box {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 8px 12px;
    font-family: monospace;
    font-size: 12px;
    color: #38bdf8;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-endpoint-box a {
    color: #94a3b8;
    text-decoration: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 12px;
    transition: color 0.2s;
}

.card-endpoint-box a:hover {
    color: #ffffff;
}

.playground-section {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(9, 11, 24, 0.95) 100%);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 24px;
    padding: 45px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(139, 92, 246, 0.1);
    margin-bottom: 70px;
    backdrop-filter: blur(20px);
}

.playground-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
}

.pg-form-group {
    margin-bottom: 20px;
}

.pg-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
}

.pg-select, .pg-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 12px 16px;
    color: #ffffff;
    font-size: 14px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    outline: none;
    transition: all 0.25s ease;
}

.pg-select:focus, .pg-input:focus {
    border-color: #8b5cf6;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
}

.pg-select option {
    background: #0f172a;
    color: #ffffff;
}

.btn-playground-run {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
    transition: all 0.25s ease;
}

.btn-playground-run:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.45);
}

.terminal-window {
    background: #090d16;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 380px;
}

.terminal-header {
    background: rgba(255, 255, 255, 0.04);
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.terminal-dots {
    display: flex;
    gap: 7px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.terminal-status-badge {
    font-size: 11px;
    font-weight: 700;
    color: #34d399;
    background: rgba(16, 185, 129, 0.15);
    padding: 3px 10px;
    border-radius: 12px;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.terminal-body {
    padding: 18px;
    font-family: 'Consolas', 'Fira Code', monospace;
    font-size: 12.5px;
    line-height: 1.6;
    color: #e2e8f0;
    overflow-y: auto;
    flex: 1;
    max-height: 340px;
}

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

.why-card {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 18px;
    padding: 25px;
    transition: all 0.3s ease;
}

.why-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.3);
    background: rgba(15, 23, 42, 0.8);
}

.why-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 18px;
}

.why-card h3 {
    font-size: 17px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
}

.why-card p {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.6;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    align-items: stretch;
}

.pricing-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    backdrop-filter: blur(12px);
    transition: all 0.35s ease;
}

.pricing-card.plan-popular {
    border-color: #8b5cf6;
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.12) 0%, rgba(15, 23, 42, 0.8) 100%);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.25);
    transform: scale(1.03);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
    color: white;
    font-size: 11px;
    font-weight: 900;
    padding: 4px 16px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.plan-name {
    font-size: 13px;
    font-weight: 800;
    color: #8b5cf6;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 12px;
}

.plan-price {
    font-size: 38px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 8px;
}

.plan-price span {
    font-size: 14px;
    color: #94a3b8;
    font-weight: 500;
}

.plan-desc {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 25px;
    line-height: 1.5;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.plan-features li {
    font-size: 13.5px;
    color: #cbd5e1;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-features li i.fa-check {
    color: #34d399;
    font-size: 13px;
}

.plan-features li.disabled {
    color: #64748b;
    text-decoration: line-through;
}

.plan-features li.disabled i.fa-times {
    color: #f87171;
}

.btn-plan {
    width: 100%;
    padding: 13px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    transition: all 0.25s ease;
}

.btn-plan-primary {
    background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.35);
}

.btn-plan-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.5);
    color: white;
}

.btn-plan-outline {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.btn-plan-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.testimonial-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 92, 246, 0.3);
}

.testi-stars {
    color: #fbbf24;
    font-size: 14px;
    margin-bottom: 15px;
    display: flex;
    gap: 4px;
}

.testi-text {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.65;
    font-style: italic;
    margin-bottom: 22px;
}

.testi-user {
    display: flex;
    align-items: center;
    gap: 14px;
}

.user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: white;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.user-name {
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 2px;
}

.user-role {
    font-size: 12px;
    color: #94a3b8;
}

.cta-banner-section {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(59, 130, 246, 0.2) 100%);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 24px;
    padding: 50px 30px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.15);
    position: relative;
    overflow: hidden;
}

.code-integration-section {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(12px);
    margin-bottom: 70px;
}

.code-tabs-header {
    display: flex;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.code-tab-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.code-tab-btn.active {
    background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.code-block-wrapper {
    position: relative;
    background: #090d16;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 20px;
    font-family: 'Consolas', monospace;
    font-size: 13px;
    line-height: 1.6;
    color: #a78bfa;
    overflow-x: auto;
}

.btn-copy-code {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-copy-code:hover {
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 992px) {
    .hero-title-new { font-size: 38px; }
    .metrics-strip { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .metric-item:nth-child(2) { border-right: none; }
    .ecosystem-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-card.plan-popular { transform: none; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .playground-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .hero-title-new { font-size: 30px; }
    .metrics-strip { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .metric-item { border-right: none !important; border-bottom: 1px solid rgba(255, 255, 255, 0.06); padding-bottom: 15px; }
    .ecosystem-grid { grid-template-columns: 1fr; }
    .playground-section { padding: 25px 20px; }
/* High-Tech Custom Sleek Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 5px;
}

::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.6) 0%, rgba(139, 92, 246, 0.6) 100%);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.6);
}

/* Firefox custom scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(59, 130, 246, 0.5) rgba(15, 23, 42, 0.6);
}

/* Specific ultra-sleek horizontal scrollbar for club logos & timeline rounds */
.club-logos-strip::-webkit-scrollbar,
.timeline-rounds-scroll::-webkit-scrollbar,
.confederations-pills::-webkit-scrollbar {
    height: 4px;
}

.club-logos-strip::-webkit-scrollbar-track,
.timeline-rounds-scroll::-webkit-scrollbar-track,
.confederations-pills::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
}

.club-logos-strip::-webkit-scrollbar-thumb,
.timeline-rounds-scroll::-webkit-scrollbar-thumb,
.confederations-pills::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #10b981, #3b82f6);
    border-radius: 10px;
}






