/* ============================================
   styles.css - All custom styles
   ============================================ */

/* Video cards */
.video-card:hover img { transform: scale(1.05); }
.modal-hidden { display: none; }
.modal-visible { display: flex; }

/* Category buttons */
.category-btn {
    position: relative;
    transition: all 0.3s ease;
}
.category-btn.active {
    background: #14B8A6;
    color: white;
    box-shadow: 0 4px 6px -1px rgba(20, 184, 166, 0.3);
}
.category-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0; right: 0;
    height: 3px;
    background: #14B8A6;
    border-radius: 2px;
}
.subcategory-btn.active {
    background: #0D9488;
    color: white;
    box-shadow: 0 2px 4px rgba(13, 148, 136, 0.3);
}
.format-btn.active {
    background: #14B8A6;
    color: white;
}

/* Animations */
.subcategory-slide-in {
    animation: slideIn 0.3s ease-out;
}
@keyframes slideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Thumbnail */
.thumbnail-container {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    overflow: hidden;
}
.thumbnail-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ============================================
   Wallet / Modal Styles
   ============================================ */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.5);
}
.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.close-modal:hover { color: #000; }

.topup-button {
    background: white;
    border: 2px solid #14B8A6;
    padding: 20px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s;
    width: 100%;
}
.topup-button:hover {
    background: #14B8A6;
    color: white;
    transform: translateY(-2px);
}
.topup-button:hover span { color: white !important; }
