.hero-section { 
    position: relative; height: auto; min-height: calc(100vh - 115px); 
    display: flex; align-items: center; 
    padding: 50px 20px; /* Binalik na natin sa 50px */
}
.hero-content {
    display: flex; flex-direction: column; 
    align-items: flex-start; text-align: left; 
    width: 100%; 
    max-width: 1200px; 
    margin: 0 auto; 
    margin-top: -100px; /* BAGONG DAGDAG: Hihilahin nito pataas ang text, buttons, at video */
}

.hero-content h1 { 
    font-family: 'Orbitron', sans-serif; /* Bagong astig na gaming font */
    font-weight: 900; /* Ginawang pinakamakapal */
    font-size: 4.5rem; /* Inadjust ng onti para sumakto ang lapad */
    line-height: 1.1; 
    margin-top: 0px; /* Pinalitan mula 25px para walang extra space sa tuktok */
    margin-bottom: 10px;
    text-transform: uppercase; 
    letter-spacing: 2px; 
    white-space: normal; 
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-shadow: 3px 3px 0px rgba(0,0,0,0.8), 5px 5px 15px rgba(0,0,0,0.4); 
}

.hero-content h1 span {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 1px;
}

.hero-content p { 
    font-size: 1rem; color: #ccc; margin-top: 0px; margin-bottom: 25px; 
    line-height: 1.6; text-shadow: 1px 1px 5px rgba(0,0,0,0.8); 
    max-width: 800px; /* Limitahan ang haba ng text para hindi sagad */
}

.hero-buttons { 
    display: flex; gap: 15px; margin-bottom: 30px; 
    justify-content: flex-start; /* FIX: Siguraduhing left-aligned ang buttons */
}

.trailer-container { 
    margin: 0px 0 0 0 !important; /* Tinanggal ang extra margin sa ibabaw at ilalim ng video */
    max-width: 480px !important; 
    width: 100%;
}

.store-main { 
    padding: 0px 20px 50px 20px !important; 
    background: transparent; 
    width: 100%; 
    max-width: 1200px; 
    margin: -120px auto 0 auto !important; /* Hinila natin ulit pataas para lumiit ang space */
}

.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 30px; border-bottom: 1px solid #333; padding-bottom: 10px; }
.section-header h2 { font-family: 'Oswald', sans-serif; font-size: 2rem; letter-spacing: 1px; color: #fff; }
.view-all { background: transparent; border: 1px solid #444; color: #aaa; padding: 5px 15px; border-radius: 20px; cursor: pointer; transition: 0.3s; }

.card-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); /* Binawasan mula 220px para mas lumiit */
    gap: 15px; /* Binawasan nang onti ang awang ng mga cards */
}
.game-card { background: #1a1c23; border-radius: 6px; position: relative; transition: 0.4s; cursor: pointer; overflow: hidden; border: 1px solid transparent; }
.card-blue-header { background: #1f222b; color: #ccc; text-align: center; font-weight: 700; font-size: 0.85rem; padding: 8px 0; border-bottom: 1px solid #333; }
.game-card img { 
    width: 100%; 
    height: 200px; /* Binawasan mula 280px para hindi sobrang haba tignan */
    object-fit: cover; 
}
.card-info { 
    padding: 15px; 
    background: #1a1c23; 
    position: absolute; 
    bottom: -60px; 
    width: 100%; 
    transition: bottom 0.3s; 
    z-index: 5; /* BAGONG DAGDAG: Para laging nasa ibabaw ng particles ang text */
}
.game-card:hover { 
    transform: scale(1.05) translateY(-5px); /* Binawasan nang onti ang paglaki para mas malinis */
    z-index: 10; 
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4), 0 10px 40px rgba(255, 255, 255, 0.2); /* WHITE AURA GLOW */
    border: 1px solid rgba(255, 255, 255, 0.8); /* WHITE BORDER */
}
/* WHITE PARTICLES LAYER (Nakatago sa simula) */
.game-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0;
    z-index: 2; /* Papatong sa litrato */
    pointer-events: none;
    /* Paggawa ng puting dots gamit ang radial-gradient */
    background-image:
        radial-gradient(circle, rgba(255,255,255,0.9) 1.5px, transparent 1.5px),
        radial-gradient(circle, rgba(255,255,255,0.6) 2px, transparent 2px),
        radial-gradient(circle, rgba(255,255,255,0.3) 1px, transparent 1px);
    background-size: 40px 40px, 70px 70px, 30px 30px;
    background-position: 0 0, 20px 20px, 10px 10px;
    transition: opacity 0.3s ease;
}

/* PAG TINAPATAN NG MOUSE, LALABAS ANG PARTICLES AT AANDAR PATAAS */
.game-card:hover::after {
    opacity: 1;
    animation: floatCardParticles 3s linear infinite;
}

/* ANIMATION PARA UMAKYAT YUNG MGA PARTICLES */
@keyframes floatCardParticles {
    0% { background-position: 0 0, 20px 20px, 10px 10px; }
    100% { background-position: 0 -80px, 20px -140px, 10px -60px; }
}
.game-card:hover .card-info { bottom: 0; background: #1f222b; }

.wide-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); gap: 20px; }
.wide-card { background: #1a1c23; border: 1px solid #2a2d38; border-radius: 6px; display: flex; flex-direction: column; overflow: hidden; transition: 0.3s; cursor: pointer; }
.wide-img { width: 100%; height: 200px; object-fit: cover; }
.wide-card-content { padding: 20px; position: relative; }
.date-release { position: absolute; top: 15px; right: 15px; font-size: 0.7rem; background: #333; padding: 3px 8px; border-radius: 12px; color: #ccc; }

.profile-page-bg { background: #0f1015; min-height: 100vh; padding-bottom: 50px; }
.profile-container { max-width: 1000px; margin: 0 auto; }
.profile-top-card { background: #1a1c23; border-radius: 0 0 8px 8px; box-shadow: 0 1px 5px rgba(0,0,0,0.5); margin-bottom: 20px; }
.cover-photo-area { position: relative; width: 100%; height: 350px; background: #111; border-radius: 0 0 8px 8px; overflow: hidden; }
.cover-img { width: 100%; height: 100%; object-fit: cover; }
.edit-cover-btn { position: absolute; bottom: 15px; right: 15px; background: rgba(0,0,0,0.6); color: #fff; border: 1px solid #333; padding: 8px 15px; border-radius: 6px; font-weight: 600; cursor: pointer; transition: 0.2s; display: flex; align-items: center; gap: 8px; }
.edit-cover-btn:hover { background: rgba(0,0,0,0.8); }

.profile-info-row { position: relative; padding: 0 30px 20px 30px; display: flex; align-items: flex-end; gap: 20px; margin-top: -30px; }
.profile-avatar-area { position: relative; width: 168px; height: 168px; border-radius: 50%; border: 4px solid #1a1c23; background: #1a1c23; flex-shrink: 0; }
.profile-avatar-area img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.edit-avatar-btn { position: absolute; bottom: 10px; right: 10px; background: #333; color: #fff; border: none; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; transition: 0.2s; display: flex; align-items: center; justify-content: center; }
.edit-avatar-btn:hover { background: #555; }

.profile-name-area { flex: 1; padding-bottom: 10px; }
.profile-name-area h1 { font-size: 2rem; color: #fff; font-weight: 700; margin-bottom: 0px; }
.profile-name-area p { color: #aaa; font-weight: 600; }
.profile-action-btns { padding-bottom: 15px; display: flex; gap: 10px; }

.profile-grid { display: grid; grid-template-columns: 350px 1fr; gap: 20px; }
.fb-card { background: #1a1c23; border-radius: 8px; padding: 15px; margin-bottom: 20px; border: 1px solid #2a2d38; }
.fb-card h3 { color: #fff; font-size: 1.2rem; margin-bottom: 15px; }
.intro-bio { text-align: center; color: #ddd; font-size: 0.95rem; margin-bottom: 15px; border-bottom: 1px solid #333; padding-bottom: 15px; }
.intro-details { list-style: none; color: #ccc; font-size: 0.9rem; display: flex; flex-direction: column; gap: 15px; }
.intro-details i { color: #888; width: 20px; text-align: center; font-size: 1.1rem; }

.friends-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.friend-card { cursor: pointer; transition: 0.2s; }
.friend-card:hover { filter: brightness(1.2); }
.friend-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 8px; margin-bottom: 5px; }
.friend-card span { display: block; color: #ddd; font-size: 0.8rem; font-weight: 600; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; }

.create-post-card { display: flex; flex-direction: column; gap: 15px; }
.create-post-top { display: flex; gap: 10px; align-items: center; }
.create-post-top img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.create-post-top input { flex: 1; background: #111; border: 1px solid #333; border-radius: 20px; padding: 10px 15px; color: #fff; font-size: 1rem; outline: none; font-family: 'Montserrat'; }
.create-post-bottom { display: flex; justify-content: space-between; border-top: 1px solid #333; padding-top: 10px; }
.create-post-bottom button { background: transparent; border: none; color: #aaa; font-size: 0.95rem; font-weight: 600; cursor: pointer; padding: 8px; border-radius: 6px; display: flex; align-items: center; gap: 8px; transition: 0.2s; }
.create-post-bottom button:hover { background: #333; }

.post-card { background: #1a1c23; border-radius: 8px; padding: 15px; margin-bottom: 20px; border: 1px solid #2a2d38; position: relative; }
.post-header { display: flex; gap: 10px; margin-bottom: 10px; align-items: center; }
.post-header img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; cursor: pointer; }
.post-meta h4 { color: #fff; font-size: 1rem; cursor: pointer; }
.post-meta span { color: #888; font-size: 0.8rem; }
.post-content { color: #ddd; font-size: 0.95rem; margin-bottom: 15px; line-height: 1.5; }
.post-image { width: calc(100% + 30px); margin-left: -15px; margin-bottom: 10px; max-height: 400px; object-fit: cover; }
.post-actions { display: flex; border-top: 1px solid #333; border-bottom: 1px solid #333; padding: 5px 0; margin-bottom: 10px; }
.post-btn { flex: 1; background: transparent; border: none; color: #aaa; font-size: 0.95rem; font-weight: 600; padding: 8px 0; cursor: pointer; border-radius: 4px; transition: 0.2s; display: flex; justify-content: center; gap: 8px; align-items: center; }
.post-btn:hover { background: #333; }
.post-btn.liked { color: #e60000; }

.admin-panel-wrapper { background: linear-gradient(145deg, #16181e 0%, #0f1015 100%); border: 1px solid rgba(255,255,255,0.05); border-radius: 12px; padding: 25px; max-width: 800px; margin: 0 auto; }
.premium-admin-header { margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 15px; }
.premium-admin-header h2 { font-family: 'Oswald', sans-serif; font-size: 1.5rem; color: #fff; }
.premium-upload-form { display: flex; flex-direction: column; gap: 15px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.input-group label { font-size: 0.8rem; color: #aaa; font-weight: 600; text-transform: uppercase; }
.input-group input[type="text"], .input-group textarea, .input-group input[type="url"] { width: 100%; padding: 10px 14px; background: #0f1015; border: 1px solid #2a2d38; color: #fff; border-radius: 6px; }
.file-input { width: 100%; padding: 8px; background: #0f1015; border: 1px dashed #444; color: #aaa; border-radius: 6px; cursor: pointer; }
.btn-red-premium { background: linear-gradient(135deg, #e60000 0%, #cc0000 100%); color: #fff; border: none; padding: 10px 20px; font-weight: bold; cursor: pointer; border-radius: 6px; }

.project-preview-box { max-width: 600px; text-align: left; }
.project-preview-box img { width: 100%; max-height: 300px; object-fit: cover; border-radius: 6px; margin-bottom: 15px; }
.comments-list { padding-right: 5px; }
.comment-item { display: flex; gap: 10px; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid #2a2d38; }
.comment-item img { width: 30px; height: 30px; border-radius: 50%; }

.card-info h3, .wide-card-content h4 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 5px; color: #fff; }

/* ==========================================
   TOP 100 LAYOUT & DESIGN
   ========================================== */
.top100-container {
    max-width: 1200px; /* Centered max width para mukhang premium */
    margin: 0 auto;
    width: 100%;
}

.top100-layout {
    display: grid;
    /* FIX: Ginawang minmax(0, 1fr) para hindi bumuka palabas at itulak ang sidebar */
    grid-template-columns: minmax(0, 1fr) 320px; 
    gap: 30px;
    align-items: start;
}

/* FIX: Bagong dagdag para pilitin ang mga card na sumunod sa limit ng layout */
.top100-main {
    min-width: 0; 
    width: 100%;
}

/* TOP 100 CARDS */

.top100-card { background: #16181e; border: 1px solid #2a2d38; border-radius: 8px; margin-bottom: 25px; overflow: hidden; position: relative; box-shadow: 0 10px 30px rgba(0,0,0,0.5); transition: 0.3s; }
.top100-card:hover { border-color: #444; transform: translateY(-3px); }
.top100-rank-header { padding: 12px 20px; background: #0f1015; border-bottom: 1px solid #2a2d38; display: flex; align-items: center; gap: 15px; }
.rank-number { color: #ff9800; font-size: 1.8rem; font-family: 'Oswald', sans-serif; font-weight: bold; text-shadow: 0 2px 5px rgba(255, 152, 0, 0.4); }
.rank-title { color: #fff; font-size: 1.1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

/* STANDARD AD BANNER SIZE */
.top100-banner { width: 100%; height: 90px; object-fit: fill; background: #000; cursor: pointer; border-bottom: 1px solid #2a2d38; }

.breadcrumbs { font-family: 'Montserrat', sans-serif; font-size: 0.85rem; font-weight: 700; color: #fff; text-transform: uppercase; }
.breadcrumbs i { color: #555; margin: 0 8px; font-size: 0.7rem; }
.breadcrumbs span { color: #e60000; }

.top100-highlights { padding: 10px 20px; font-size: 0.8rem; color: #ccc; background: #111; border-bottom: 1px solid #2a2d38; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top100-highlights i { color: #e60000; margin-right: 5px; }

.top100-details { padding: 15px 20px; }
.top100-stats { display: flex; gap: 15px; font-size: 0.85rem; color: #aaa; margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px dotted #333; }
.top100-btn-row { display: flex; justify-content: space-between; align-items: center; }

.top100-sidebar { background: #16181e; border-radius: 8px; border: 1px solid #2a2d38; position: sticky; top: 130px; overflow: hidden; }
.sidebar-search { display: flex; background: #0f1015; }
.sidebar-search input { flex: 1; padding: 15px; background: transparent; border: none; color: #fff; outline: none; font-family: 'Montserrat'; }
.sidebar-search button { background: #e60000; color: #fff; border: none; padding: 0 20px; cursor: pointer; transition: 0.2s; }
.sidebar-search button:hover { background: #ff3333; }
.sidebar-header { padding: 15px; border-bottom: 2px solid #e60000; font-weight: bold; color: #fff; font-size: 0.9rem; letter-spacing: 1px; }

.cat-list { list-style: none; }
.cat-list li { padding: 15px 20px; cursor: pointer; border-bottom: 1px solid #2a2d38; color: #aaa; font-weight: 600; font-size: 0.9rem; transition: 0.2s; display: flex; align-items: center; gap: 10px; }
.cat-list li:hover { background: #1f222b; color: #fff; }
.cat-list li.active { background: #1a1c23; color: #fff; border-left: 4px solid #e60000; }

/* ==========================================
   PREMIUM MOBILE RESPONSIVE DESIGN (STORE/LAYOUT)
   ========================================== */
@media (max-width: 900px) {
    /* 1. Ayusin ang Higanteng Text sa Hero Section */
    .hero-content { margin-top: 0; align-items: center; text-align: center; }
    .hero-content h1 { font-size: 2.2rem; text-align: center; margin-bottom: 5px; }
    .hero-content h1 span { font-size: 1.2rem; }
    .hero-content p { font-size: 0.85rem; text-align: center; margin-bottom: 15px; padding: 0 10px; }
    .hero-buttons { justify-content: center; width: 100%; }
    
    /* 2. Alisin ang negative margin na nagpapatong sa Ads at Video */
    .store-main { margin: 20px auto 0 auto !important; padding: 0 15px 30px 15px !important; }
    .trailer-container { margin-top: 10px !important; max-width: 100% !important; }
    .new-players-container { margin-top: 15px !important; }
    
    /* 3. Responsive Advertisement Cards (2 Columns sa Mobile) */
    .card-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
    .game-card img { height: 140px; }
    .card-info { padding: 10px; }
    .card-info h3 { font-size: 0.85rem; }
    
    /* 4. Responsive Top 100 Cards */
    .wide-card-grid { 
        grid-template-columns: minmax(0, 1fr); /* FIX: Limitahan sa lapad ng screen */
        gap: 12px; 
        width: 100%;
    }
    .home-top100-card { 
        padding: 12px 10px; /* Paliitin ang padding para hindi masikip sa mobile */
    }
    .home-top100-cat {
        font-size: 0.65rem; /* Paliitin ng bahagya ang category badge */
        padding: 3px 6px;
    }
    .top100-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .top100-sidebar { position: relative; top: 0; order: -1; margin-bottom: 15px; }
    
    /* 5. Paliitin ang Fonts ng Top 100 Titles */
    .top100-rank-header { flex-direction: column; align-items: flex-start; gap: 5px; padding: 10px 15px; }
    .rank-number { font-size: 1.4rem; }
    .rank-title { font-size: 0.95rem; }
    .top100-banner { height: auto; aspect-ratio: 728/90; object-fit: cover; }
    .top100-stats { flex-wrap: wrap; gap: 10px; }
    .top100-btn-row { flex-direction: column; gap: 10px; }
    .top100-btn-row button { width: 100%; }
    /* =========================================
       FB-STYLE MOBILE PROFILE LAYOUT
       ========================================= */
    .profile-grid { 
        grid-template-columns: 1fr; /* Gagawin nating 1 column imbes na 2 */
        gap: 15px; 
    }
    .cover-photo-area { 
        height: 200px; /* Sakto lang ang taas ng cover photo sa mobile */
    }
    .profile-info-row {
        flex-direction: column; /* I-stack pababa ang avatar, name, at buttons */
        align-items: center;
        text-align: center;
        padding: 0 15px 20px 15px;
        margin-top: -60px; /* I-overlap sa cover photo */
        gap: 15px;
    }
    .profile-avatar-area {
        width: 130px;
        height: 130px;
        margin: 0 auto; /* Isentro ang profile pic */
    }
    .profile-name-area { 
        width: 100%; 
        padding-bottom: 5px; 
    }
    .profile-action-btns { 
        width: 100%; 
        display: flex; 
        flex-wrap: wrap; /* Hayaan bumaba ang buttons kung sakip */
        justify-content: center; 
        gap: 10px;
    }
    .profile-action-btns button { 
        flex: 1; /* Pantay na lapad ng mga buttons */
        min-width: 120px; 
        justify-content: center;
    }
    /* Ayusin ang alignment ng FB Card */
    .fb-card { padding: 15px 10px; }
}
/* ==========================================
   HOMEPAGE TOP 100 HIGHLIGHT CARDS
   ========================================== */
.home-top100-card {
    background: #1a1c23;
    border: 1px solid #2a2d38;
    border-radius: 6px;
    padding: 15px 20px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-top100-card:hover {
    border-color: #e60000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230,0,0,0.2);
}

.home-top100-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    gap: 10px; /* DAGDAG: Para hindi magdikit ang text at category badge */
}

.home-top100-header h4 {
    flex: 1; /* DAGDAG: Payagan mag-adjust ang text size */
    min-width: 0; /* CRITICAL FIX: Ito ang pipigil sa pagtulak ng border palabas ng screen */
    color: #fff;
    font-size: 1.1rem;
    font-weight: bold;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}

.home-top100-cat {
    background: #e60000;
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(230,0,0,0.4);
}

.home-top100-score {
    color: #aaa;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ==========================================
   HERO BOTTOM WIDGETS & LIVE STATS
   ========================================== */
.hero-bottom-widgets {
    display: flex;
    gap: 30px;
    width: 100%;
    max-width: 1000px;
    margin-top: 25px;
    align-items: flex-start;
    flex-wrap: wrap; 
}

.new-players-container { margin-top: 0 !important; flex: 1; min-width: 250px; max-width: 320px; }

.live-stats-container { flex: 2; min-width: 350px; margin-top: 15px; }

/* TINANGGAL ANG TITLE */
.live-stats-title { display: none !important; }

.stats-grid { display: flex; gap: 15px; width: 100%; }

.stat-box { 
    flex: 1; 
    background: transparent; 
    border: none; 
    padding: 25px 10px 5px 10px; /* Tinaasan ang top padding para may espasyo ang matangkad na numero */
    text-align: center; 
}

.stat-num { 
    font-family: 'Oswald', sans-serif; 
    font-size: 2.8rem; /* Pinalaki pa ng bahagya */
    color: #fff; 
    font-weight: 700; 
    margin-bottom: 8px; 
    text-shadow: 0 4px 15px rgba(0,0,0,0.9); 
    display: inline-block;
    
    /* ITO ANG MAGPAPAHABA SA TEXT (Vertical Stretch) */
    transform: scaleY(1.3); 
    transform-origin: bottom; /* Hinahatak pataas mula ibaba */
}

.stat-label { 
    font-size: 0.8rem; 
    color: #ccc; 
    font-weight: 600; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    text-shadow: 0 2px 8px rgba(0,0,0,0.9);
}

/* IN-UPDATE NA ANIMATION (Para sumunod sa bagong height) */
@keyframes stat-pulse {
    0% { transform: scale(1, 1.3); color: #fff; text-shadow: 0 4px 15px rgba(0,0,0,0.9); }
    50% { transform: scale(1.15, 1.45); color: #e60000; text-shadow: 0 0 20px #e60000, 0 0 40px #ff4d4d; }
    100% { transform: scale(1, 1.3); color: #fff; text-shadow: 0 4px 15px rgba(0,0,0,0.9); }
}

.stat-updated {
    animation: stat-pulse 0.6s ease-out;
}

@media (max-width: 900px) {
    .stats-grid { flex-direction: column; }
    .live-stats-container { margin-top: 20px; }
}

/* ==========================================
   TOP 10 STREAMER CAROUSEL (Premium Transitions)
   ========================================== */
.carousel-slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0; pointer-events: none;
    transition: opacity 1s ease-in-out; /* Smooth fade in/out */
    overflow: hidden;
}
.carousel-slide.active {
    opacity: 1; pointer-events: auto; z-index: 5;
}
.carousel-media {
    width: 100%; height: 100%; object-fit: cover;
    transform: scale(1);
    transition: transform 6s linear; /* Slow zoom effect */
}
.carousel-slide.active .carousel-media {
    transform: scale(1.1); /* Laki ng onti habang naka-display */
}
.carousel-overlay {
    position: absolute; bottom: 0; left: 0; width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 60%, transparent 100%);
    padding: 20px 20px 15px 20px;
    display: flex; justify-content: space-between; align-items: flex-end;
}
.carousel-info { display: flex; flex-direction: column; gap: 5px; max-width: 70%; }
.carousel-rank-badge { background: #ffcc00; color: #000; padding: 2px 8px; border-radius: 4px; font-weight: 800; font-size: 0.75rem; display: inline-block; width: max-content; }
.carousel-title { color: #fff; font-family: 'Oswald', sans-serif; font-size: 1.3rem; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.carousel-stats { color: #ccc; font-size: 0.8rem; display: flex; align-items: center; gap: 10px; }
.carousel-watch-btn {
    background: #e60000; color: #fff; padding: 8px 15px; border-radius: 6px; text-decoration: none; font-weight: bold; font-size: 0.85rem; display: flex; align-items: center; gap: 8px; transition: 0.3s;
}
.carousel-watch-btn:hover { background: #ff3333; transform: translateY(-2px); }

/* ==========================================
   UPVOTED / BOOSTED BADGE (FADED PINK)
   ========================================== */
.boost-badge {
    position: absolute;
    /* Inilipat sa kanan para hindi harang sa default text sa kaliwa */
    top: 10px;
    right: 10px; 
    left: auto; /* Tinanggal ang left: 10px; */
    background: #ffb3c6; /* Faded Pink */
    color: #990033; /* Dark Pink Text */
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(255, 179, 198, 0.4);
    display: flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 1px;
}

/* FIX 1: Sa Streamer Cards (.game-card), ibababa ng 45px para lumagpas sa blue header */
.game-card .boost-badge {
    top: 45px; 
    right: 10px;
}

/* FIX 2: Sa Top 100 Cards, ibababa ng 65px para hindi matakpan ang Rank at Title header */
.top100-card .boost-badge {
    top: 65px;
    right: 15px;
}

/* FIX 3: Sa loob ng Gold Item List, bibigyan ng sapat na espasyo sa top-left ng image */
.gold-item-card .boost-badge {
    top: 15px;
    left: 15px;
    right: auto;
}

/* ==========================================
   GOLD MEMBER UPVOTE LIST (DESKTOP & MOBILE FIX)
   ========================================== */
.gold-item-card {
    display: flex;
    flex-direction: row;
    gap: 20px;
    background: #1a1c23; /* Solid premium dark background */
    border: 1px solid #2a2d38;
    border-radius: 8px;
    padding: 15px;
    align-items: center;
    transition: all 0.3s ease;
    overflow: hidden;
}

.gold-item-card:hover {
    border-color: #e60000;
    background: #1f222b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 0, 0, 0.1);
}

.gold-item-img {
    width: 180px;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #333;
    flex-shrink: 0; /* Pipigilan na ma-squish o lumiit ang image */
}

.gold-item-details {
    flex: 1; /* Sasakupin ang natitirang space sa gitna */
    min-width: 0; /* Sikreto para hindi lumagpas sa screen ang mahabang text */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gold-item-details h3 {
    color: #fff;
    margin-bottom: 5px;
    font-size: 1.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* Maglalagay ng "..." kapag sobrang haba ng title */
}

/* Container ng button para manatili sa kanan at hindi lumiit */
.gold-item-card > div:last-child {
    flex-shrink: 0; 
}

.gold-item-btn {
    padding: 10px 20px;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    white-space: nowrap;
}

/* === MOBILE RESPONSIVE VIEW === */
@media (max-width: 768px) {
    .gold-item-card {
        flex-direction: column;
        align-items: stretch; /* I-i-stretch ang mga elements para sakop ang buong lapad */
        padding: 15px;
        gap: 12px;
    }

    .gold-item-img {
        width: 100%;
        height: 160px; /* Mas malaking image sa mobile para mas attractive */
    }

    .gold-item-details {
        align-items: flex-start;
    }

    .gold-item-details h3 {
        white-space: normal; /* Payagan bumaba sa next line ang mahabang text sa mobile */
        font-size: 1.1rem;
        line-height: 1.4;
    }

    .gold-item-card > div:last-child {
        width: 100%;
    }

    .gold-item-btn {
        width: 100%; /* I-full width ang button sa mobile */
        margin-top: 5px;
    }
}

