/* ══════════════════════════════════════════════════════════════
   💎 ANTIGRAVITY SIGNATURE DESIGN: LUXURY GOLD & MIDNIGHT
   ══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;900&family=Inter:wght@400;700&display=swap');

:root {
    /* Primary Colors */
    --p-gold: #FFD700;
    --p-gold-light: #FFEB3B;
    --p-gold-dark: #B8860B;
    --p-black: #050505;
    --p-dark: #111111;
    --p-glass: rgba(255, 255, 255, 0.03);
    
    /* Gradients */
    --grad-gold: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
    --grad-dark: linear-gradient(180deg, #111111 0%, #050505 100%);
    --grad-red: linear-gradient(135deg, #ff416c, #ff4b2b);
    --grad-green: linear-gradient(135deg, #11998e, #38ef7d);
    --grad-blue: linear-gradient(135deg, #00c6ff, #0072ff);
    
    /* Shadows & Effects */
    --shadow-gold: 0 0 30px rgba(255, 215, 0, 0.3);
    --shadow-card: 0 20px 40px rgba(0,0,0,0.4);
    --blur: 12px;
}

/* 🌀 GLOBAL FOUNDATION */
* { margin:0; padding:0; box-sizing:border-box; -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; }
body { 
    background: #ffffff; 
    font-family: 'Outfit', sans-serif; 
    color: #555555;
    line-height: 1.6;
    overflow-x: hidden;
    text-align: center;
    position: relative;
}

/* 🌀 ULTRA 3D MESH BACKGROUND - DISABLED FOR WHITE THEME */
body::before {
    display: none;
}

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

@media (max-width: 600px) {
    .container { padding: 0 15px; }
}

/* 🔝 THE SIGNATURE HEADER */
.sticky-header {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 8px 12px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.2);
}

.sticky-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 0;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: left;
}

.header-logo { height: 35px; filter: drop-shadow(0 0 10px var(--p-gold)); }

.premium-title { 
    font-size: 13px;
    font-weight: 600; 
    line-height: 1.2;
    text-transform: uppercase;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}

/* 🎮 DYNAMIC NAVIGATION */
.nav-flex { 
    display: flex; 
    gap: 6px; 
    flex-wrap: nowrap; 
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0;
}
.nav-flex::-webkit-scrollbar { display: none; }
.nav-pill {
    background: rgba(255,255,255,0.05);
    color: var(--p-gold) !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 11px;
    padding: 6px 10px;
    border-radius: 5px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    transition: 0.3s;
    text-transform: uppercase;
    white-space: nowrap;
}
.nav-pill:hover, .nav-pill.active {
    background: var(--grad-gold);
    color: #000 !important;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

/* 📰 ADVANCED MULTI-MARQUEE */
.headline-bar { background: #000000; padding: 10px 0; border-bottom: 1px solid var(--p-gold); overflow: hidden; }
.mq-wrap { display: flex; white-space: nowrap; font-weight: 800; font-size: 0.85rem; color: #ffffff !important; }
.mq-wrap span { color: #ffffff !important; }
.mq-smooth { animation: scroll-smooth 30s linear infinite; }
.mq-pulse { animation: scroll-smooth 20s linear infinite; color: var(--p-gold); }
.mq-urgent { animation: scroll-smooth 15s linear infinite; background: var(--grad-red); color: #fff; padding: 3px 0; }
@keyframes scroll-smooth { from { transform: translateX(100%); } to { transform: translateX(-100%); } }

/* 🏛️ LEGAL SECTIONS ABOVE FOOTER */
.legal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 40px 15px;
    background: #080808;
    text-align: left;
    border-top: 1px solid #1a1a1a;
}
.legal-box h4 { color: var(--p-gold); margin-bottom: 12px; font-weight: 900; font-size: 1rem; text-transform: uppercase; }
.legal-box p { font-size: 0.85rem; color: #777; line-height: 1.8; }

/* 🌀 SECTION FOUNDATION (FORCE FULL WIDTH) */
section { 
    width: 100% !important;
    display: block !important;
    padding: 40px 15px !important; 
    margin-bottom: 25px !important;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: none !important;
}

/* 🌀 STRUCTURE FIX: REMOVE CONFLICTING BACKGROUNDS */
.container,
.row,
.col {
    background: transparent !important;
}

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

/* 🎨 APPLY STRONG BACKGROUNDS (FINAL COLORS) */
.vip-section {
   background: linear-gradient(135deg, #fff2b3, #ffd966) !important;
}

.master-section {
   background: linear-gradient(135deg, #e6f2ff, #cce0ff) !important;
}

.result-section {
   background: linear-gradient(135deg, #e6fff2, #ccffe6) !important;
}

.whatsapp-section {
   background: #f2f2f2 !important;
}

.chart-section {
   background: linear-gradient(135deg, #ffe6f0, #ffd6e7) !important;
}

.article-section {
   background: linear-gradient(135deg, #fff7e6, #ffefcc) !important;
}

.sec-owner { 
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0) !important;
}

.sec-about { 
    background: #ffffff !important; 
    color: #444 !important; 
    border-top: 1px solid #ddd !important;
}

/* 📏 CARD VISIBILITY FIX */
.card, .luxury-card {
    background: #ffffff !important;
    border-radius: 14px;
    padding: 20px;
    transition: 0.3s ease;
    height: 100vh; /* This was a typo if it was here, should be auto height but user said full width visible */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    width: 100%;
    border: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 10px;
}

.card:hover, .luxury-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.btn-green i, .btn-red i { color: #fff; }

.sec-title {
    font-size: 2.2rem;
    font-weight: 950;
    color: #222;
    margin-bottom: 35px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    letter-spacing: 1px;
}

.sec-title::after {
    content: '';
    position: absolute;
    width: 70px; height: 5px;
    bottom: -15px; left: 50%;
    transform: translateX(-50%);
    background: var(--grad-gold);
    border-radius: 10px;
}

.grid-cards {
    display: grid;
    gap: 15px;
    grid-template-columns: 1fr;
    align-items: stretch;
}

@media (min-width: 601px) {
    .grid-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (min-width: 993px) {
    .grid-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 🎯 PROBLEM 2: LIVE RESULT SECTION (6 GAMES) */
.live-result-container {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   gap: 15px;
}

.live-result-card {
   background: #000000 !important;
   padding: 15px 10px;
   text-align: center;
   border: 2px solid var(--p-gold) !important;
   box-shadow: 0 0 20px rgba(255, 215, 0, 0.4) !important;
   position: relative;
   overflow: hidden;
}

.live-result-card h3 {
    color: #fff !important;
    font-weight: 950;
    font-size: 1.2rem;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.live-result-card .result-value {
    background: none !important;
    -webkit-text-fill-color: initial !important;
    color: var(--p-gold) !important;
    font-size: 3.5rem !important;
    font-weight: 900;
    line-height: 1;
    margin: 10px 0;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

.live-result-card p {
    color: #00ff00 !important; /* Neon Green for time */
    font-size: 0.9rem;
    font-weight: 700;
}

@media (min-width: 993px) {
    .live-result-container {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* 📏 FONT SIZE FIXES */
body { font-size: 14px; }
@media (min-width: 993px) {
    body { font-size: 16px; }
}

/* 🏛️ FOOTER BLACK THEME */
.site-footer {
    background: #000;
    padding: 60px 0 20px;
    color: #fff;
    position: relative;
    z-index: 10;
}
.site-footer p { color: #888 !important; }
.site-footer .nav-pill { border-color: rgba(255,215,0,0.1); }



/* 🎮 GAME RESULT HIGHLIGHTS */
.result-box {
    background: #ffffff;
    border-radius: 25px;
    padding: 30px 15px;
    border: 2px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}
.result-box h3 { font-size: 1.1rem; color: #222; margin-bottom: 10px; }
.result-value {
    font-size: 4rem;
    font-weight: 950;
    color: #000;
    margin: 10px 0;
    animation: gold-pulse 3s infinite ease-in-out;
}
/* 🎯 PROBLEM 3: WHATSAPP / ADVISOR CARDS */
.whatsapp-card {
   background: linear-gradient(135deg, #004d00, #000000, #4d3d00) !important;
   font-weight: 600 !important;
   color: #ffffff !important;
   border-radius: 15px !important;
   padding: 25px 20px !important;
   box-shadow: 0 10px 30px rgba(0,0,0,0.6), inset 0 0 15px rgba(255,215,0,0.1) !important;
   border: 1px solid rgba(255, 215, 0, 0.3) !important;
   backdrop-filter: blur(10px);
   position: relative;
   overflow: hidden;
}

.whatsapp-card h3 {
    color: #fff !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    font-size: 1.8rem !important;
}

.whatsapp-card p {
    color: #00ff00 !important; /* Bright Neon Green */
    font-weight: 900 !important;
    font-size: 1rem !important;
    margin: 15px 0 !important;
    text-shadow: 0 0 5px rgba(0,255,0,0.5);
}

.whatsapp-card .btn-gold {
    background: #000000 !important;
    color: var(--p-gold) !important;
    font-weight: 950 !important;
    font-size: 1.1rem !important;
    border-radius: 50px !important;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
    border: 2px solid var(--p-gold) !important;
}

.whatsapp-card .btn-gold:hover {
    background: var(--grad-gold) !important;
    color: #000 !important;
    box-shadow: 0 0 30px var(--p-gold);
}

.card-1 { border-color: #2ecc71 !important; }
.card-2 { border-color: #3498db !important; }
.card-3 { border-color: #f1c40f !important; }
.card-4 { border-color: #e74c3c !important; }
.card-5 { border-color: #9b59b6 !important; }
.card-6 { border-color: #e67e22 !important; }

@keyframes gold-pulse {
    0%, 100% { filter: drop-shadow(0 0 5px rgba(255,215,0,0.2)); transform: scale(1); }
    50% { filter: drop-shadow(0 0 15px rgba(255,215,0,0.6)); transform: scale(1.02); }
}


/* 📊 THE ULTIMATE CHART TABLE */
.chart-wrap {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
}

/* 🎯 PROBLEM 1: MONTHLY CHART FIX */
.table-responsive {
   width: 100% !important;
   overflow-x: auto !important;
   display: block !important;
   -webkit-overflow-scrolling: touch !important;
   margin-top: 10px !important;
}

.luxury-table, .premium-chart-table { 
    width: 100% !important; 
    min-width: 1000px !important; /* Force all columns on one row with scroll */
    border-collapse: collapse !important; 
    background: #ffffff !important; 
    color: #000 !important; 
}

.luxury-table th, .luxury-table td {
   font-size: 11px !important;
   padding: 8px 4px !important;
   white-space: nowrap !important;
   text-align: center !important;
   border: 1px solid #ddd;
   font-weight: 900 !important;
}

.luxury-table td {
    color: #000 !important;
    font-size: 14px !important; /* Make numbers readable */
}

.luxury-table th {
    background: #000;
    color: var(--p-gold) !important;
    font-weight: 950;
    text-transform: uppercase;
}

.luxury-table tr:nth-child(even) { background: #f8f8f8; }
.luxury-table tr:hover { background: rgba(255,215,0,0.1); }
.today-row { background: #fff8e1 !important; border: 3px solid #000 !important; }


/* 🔘 BUTTON STYLES */
.btn-gold {
    background: var(--grad-gold);
    color: #000 !important;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 11px;
    position: relative;
    overflow: hidden;
    width: auto;
    letter-spacing: 0.5px;
}

@media (max-width: 600px) {
    .btn-gold { 
        width: 100%; 
        padding: 12px 10px;
        text-align: center;
    }
}

/* ⚡ FAST BUTTON ANIMATIONS */
.btn-gold:hover { transform: scale(1.1); box-shadow: 0 0 30px var(--p-gold); }
.btn-gold::after {
    content: '';
    position: absolute;
    top: -50%; left: -100%; width: 50%; height: 200%;
    background: rgba(255,255,255,0.7);
    transform: rotate(45deg);
    animation: fast-shine 1.5s infinite;
}
@keyframes fast-shine { 
    0% { left: -100%; } 
    40% { left: 150%; } 
    100% { left: 150%; } 
}
.btn-pulse-fast { animation: pulse-fast 1s infinite alternate; }
@keyframes pulse-fast { from { opacity: 0.8; } to { opacity: 1; transform: scale(1.05); } }

.btn-shake-fast { animation: shake-fast 2s infinite ease-in-out; }
@keyframes shake-fast {
    0%, 100% { transform: scale(1) rotate(0deg); }
    10%, 30%, 50% { transform: scale(1.1) rotate(2deg); }
    20%, 40%, 60% { transform: scale(1.1) rotate(-2deg); }
}

.btn-red { background: var(--grad-red); color: #fff !important; }
.btn-green, .btn-wa, a[href*="wa.me"] { 
    background: linear-gradient(180deg, #25D366 0%, #128C7E 100%) !important; 
    color: #ffffff !important; 
    font-weight: 900 !important;
    border-radius: 50px !important;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4) !important;
    transition: all 0.3s ease-in-out;
    border: 2px solid rgba(255,255,255,0.1) !important;
}

.btn-green:hover, .btn-wa:hover, a[href*="wa.me"]:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.7) !important;
}

/* 📱 FLOATER SYSTEM */
.floater {
    position: fixed;
    bottom: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    animation: float-ring 3s infinite;
}
@keyframes float-ring { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.floater-wa { right: 25px; background: #25d366; }
.floater-tg { left: 25px; background: #2196f3; }

/* 💬 POPUP OVERHAUL */
.popup-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.pop-head {
    background: var(--grad-gold);
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}
.pop-head img { height: 25px; }
.pop-head h4 { color: #000; font-size: 13px; font-weight: 950; margin: 0; }

.pop-btn-wrap {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 15px;
}
.pop-btn-wrap .btn-gold { flex: 1; padding: 10px 5px; font-size: 9px; }

/* 📱 MOBILE OPTIMIZATION OVERRIDES */
@media (max-width: 992px) {
    .sticky-header .container { flex-direction: column; gap: 10px; }
}

@media (max-width: 600px) {
    .sticky-header {
        padding: 8px 10px;
    }
    .sticky-header .container {
        flex-direction: row;
        justify-content: space-between;
        gap: 5px;
    }
    .header-logo { height: 25px; }
    .premium-title { font-size: 12px; }
    
    .nav-flex {
        gap: 4px;
    }
    .nav-pill {
        padding: 4px 6px;
        font-size: 10px;
    }
    
    .sec-title { font-size: 1.5rem; }
    .result-value { font-size: 3rem; }
    
    .btn-gold {
        width: 100%;
        padding: 10px;
    }
}

/* Chart Grid Handling strictly as requested (6-3-2 columns) */
/* 👑 VIP OWNER CARD STYLING */
.vip-owner-card {
    background: linear-gradient(135deg, #000000, #1a1a1a, #000000) !important;
    border: 4px solid var(--p-gold) !important;
    border-radius: 20px !important;
    padding: 50px 20px !important;
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.4) !important;
    position: relative;
    overflow: hidden;
    animation: vip-glow 3s infinite alternate;
}

@keyframes vip-glow {
    from { box-shadow: 0 0 30px rgba(255, 215, 0, 0.3); }
    to { box-shadow: 0 0 60px rgba(255, 215, 0, 0.6); }
}

.vip-owner-card h2 {
    color: var(--p-gold) !important;
    font-size: 2.8rem !important;
    font-weight: 900 !important;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.vip-owner-card p {
    color: #ffffff !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 30px !important;
}

.vip-owner-card .btn-vip {
    background: #000000 !important;
    color: var(--p-gold) !important;
    font-size: 1.4rem !important;
    font-weight: 950 !important;
    padding: 15px 50px !important;
    border-radius: 50px !important;
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.5);
    border: 3px solid var(--p-gold) !important;
}

.vip-owner-card .btn-vip:hover {
    background: var(--grad-gold) !important;
    color: #000 !important;
}

.vip-badge {
    background: var(--grad-gold);
    color: #000;
    padding: 5px 20px;
    border-radius: 50px;
    font-weight: 950;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 15px;
}

/* REMOVED HIDING RULES FOR CHART SO ALL 7 COLS SHOW */
.luxury-table {
    table-layout: auto !important; /* Allow column sizing by content */
    width: 100%;
}
