:root {
    --bg-dark: #0f0b18;
    --bg-lighter: #1a1433;
    --bg-secondary: #1a1433;
    --header-main-bg: #1a1433;
    --sidebar-bg: #1a1433;
    --primary-green: #A855F7;
    --primary-green-hover: #C084FC;
    --text-white: #FFFFFF;
    --text-gray: #A098BD;
    --text-muted: #786E99;
    --card-green: #2c1b4d;
    --card-blue: #1b204d;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-green: rgba(168, 85, 247, 0.3);
    --modal-bg: #16102b;
    --input-bg: #241b42;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Exo 2', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.btn {
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary-green);
    color: #000;
}

.btn-primary:hover {
    background-color: var(--primary-green-hover);
}

.btn-text {
    background: transparent;
    color: var(--text-gray);
}

.btn-text:hover {
    color: var(--text-white);
}

.btn-icon {
    background: var(--bg-lighter);
    color: var(--text-gray);
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 8px;
}

.btn-icon:hover {
    color: var(--text-white);
    background: var(--border-color);
}

.btn-block {
    width: 100%;
}

.app-container {
    display: flex;
    min-height: 100vh;
    background-color: var(--bg-dark);
}

/* Sidebar - Vera Bet style */
.sidebar {
    width: 260px;
    background-color: var(--sidebar-bg);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    overflow-y: auto;
    flex-shrink: 0;
    z-index: 40;
}

.sidebar::-webkit-scrollbar {
    width: 4px;
}
.sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.sidebar-header {
    height: 72px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: var(--sidebar-bg);
}

.toggle-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    cursor: pointer;
    margin-right: 15px;
    transition: color 0.2s;
}
.toggle-btn:hover {
    color: var(--primary-green);
}

.logo h2 {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: #fff;
    text-transform: uppercase;
}

.logo span {
    color: var(--primary-green);
}

.logo img {
    max-height: 48px;
    max-width: 180px;
    width: auto;
    object-fit: contain;
}

.mobile-logo img {
    max-height: 44px;
    max-width: 160px;
    width: auto;
    object-fit: contain;
}

.sidebar-content {
    flex: 1;
    padding: 15px 12px;
}

/* Vera Bet Sidebar Quick Cards Grid */
.sidebar-cta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 12px;
}

.sidebar-cta-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 62px;
    border-radius: 8px;
    padding: 6px;
    text-decoration: none;
    border: 1px solid rgba(168, 85, 247, 0.2);
    background: linear-gradient(135deg, #1a1433 0%, #0f0b18 100%);
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.sidebar-cta-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary-green);
}

.sidebar-cta-card .card-title {
    font-size: 0.58rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.1;
    position: relative;
    z-index: 3;
}

.sidebar-cta-card .card-icon-bg {
    align-self: flex-end;
    font-size: 1.6rem;
    color: var(--primary-green);
    opacity: 0.35;
    z-index: 1;
}

.sidebar-cta-full {
    grid-column: span 3;
    min-height: 38px;
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: linear-gradient(90deg, #1a1433 0%, #2c1b4d 100%);
    border: 1px solid rgba(168, 85, 247, 0.25);
    border-radius: 8px;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    text-decoration: none;
    margin-bottom: 15px;
    justify-content: space-between;
    transition: border-color 0.2s;
}

.sidebar-cta-full:hover {
    border-color: var(--primary-green);
}

.menu-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 6px;
    color: var(--primary-green);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 10px;
}

.ver-todos-pill {
    background: rgba(6, 224, 91, 0.15);
    color: var(--primary-green);
    font-size: 0.6rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 12px;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.2s;
}

.ver-todos-pill:hover {
    background: rgba(6, 224, 91, 0.3);
}

.sidebar-menu ul {
    margin-bottom: 15px;
}

.sidebar-menu ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    color: #8BA09B;
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    transition: all 0.2s;
    position: relative;
}

.sidebar-menu ul li a i {
    font-size: 1rem;
    color: #55756d;
    width: 20px;
    text-align: center;
    transition: color 0.2s;
}

.sidebar-menu ul li a:hover {
    color: #FFFFFF;
    background-color: rgba(255, 255, 255, 0.04);
}

.sidebar-menu ul li a:hover i {
    color: var(--primary-green);
}

.sidebar-menu ul li a.active {
    color: var(--primary-green);
    background-color: rgba(6, 224, 91, 0.08);
}

.sidebar-menu ul li a.active i {
    color: var(--primary-green);
}

/* Main Content Layout */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background-color: var(--bg-dark);
}

/* Vera Bet Header Topbar */
.topbar {
    height: 72px;
    background-color: var(--header-main-bg);
    border-bottom-left-radius: 17px;
    border-bottom-right-radius: 17px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.45);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 50;
    flex-shrink: 0;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
}

.topbar-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.topbar-links a {
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 14px;
    font-weight: 800;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 6px;
    transition: all 0.2s;
}

.topbar-links a.active, .topbar-links a:hover {
    color: var(--primary-green);
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Vera Bet Custom Header Skewed Buttons */
.btn-vera-login {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 18px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    background: transparent;
    border: none;
    cursor: pointer;
    overflow: visible;
}

.btn-vera-login::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    transform: skew(-18deg);
    background: linear-gradient(90deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 100%);
    transition: border-color 0.2s;
}

.btn-vera-login:hover::before {
    border-color: var(--primary-green);
}

.btn-vera-login span {
    position: relative;
    z-index: 2;
}

.btn-vera-register {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 18px;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #000;
    background: transparent;
    border: none;
    cursor: pointer;
    overflow: visible;
}

.btn-vera-register::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary-green);
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(0, 0, 0, 0.15) 100%);
    border-radius: 8px;
    transform: skew(-18deg);
    transition: filter 0.2s;
}

.btn-vera-register:hover::before {
    filter: brightness(1.1);
}

.btn-vera-register span.btn-text-content {
    position: relative;
    z-index: 2;
}

.btn-vera-register .pix-badge {
    position: absolute;
    top: -8px;
    right: -4px;
    z-index: 10;
    background: #FFD700;
    color: #000;
    font-size: 0.55rem;
    font-weight: 900;
    padding: 1px 5px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 2px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.user-balance {
    display: flex;
    align-items: center;
    background-color: rgba(0, 21, 16, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4px 6px 4px 14px;
    border-radius: 8px;
    gap: 12px;
}

.user-balance .currency {
    color: var(--text-gray);
    font-size: 0.8rem;
    font-weight: 700;
}

.user-balance .amount {
    font-weight: 800;
    font-size: 0.95rem;
    color: #fff;
}

.btn-deposit {
    padding: 8px 15px;
}

/* Content Wrapper */
.content-wrapper {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
    background-color: var(--bg-dark);
}

/* Hero Section */
.hero-section {
    background-color: var(--bg-lighter);
    border-radius: 12px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero-content p {
    color: var(--text-gray);
    margin-bottom: 30px;
}

.hero-steps {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.hero-steps .step {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.hero-steps .step .arrow {
    font-size: 0.7rem;
    margin-left: 5px;
}

.hero-btn {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.hero-image {
    width: 300px;
    height: 250px;
    background: url('https://upload.wikimedia.org/wikipedia/commons/thumb/d/d3/Roulette_wheel.jpg/300px-Roulette_wheel.jpg') center/cover;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    /* In a real app we'd use the precise vector art */
}

/* Grid Cards */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.card-item {
    border-radius: 12px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    min-height: 200px;
}

.card-green {
    background: linear-gradient(135deg, #0f3f26 0%, #1a8f4c 100%);
}

.card-blue {
    background: linear-gradient(135deg, #0b2848 0%, #155799 100%);
}

.card-dark-blue {
    background: linear-gradient(135deg, #101524 0%, #1c2642 100%);
}

.card-dark-green {
    background: linear-gradient(135deg, #0b2413 0%, #134221 100%);
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.card-content p {
    color: rgba(255,255,255,0.8);
    max-width: 60%;
}

.card-bg-image {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    mix-blend-mode: overlay; /* or luminosity, to blend with the hex gradient */
    z-index: 0;
}

.btn-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    margin-top: 20px;
    cursor: pointer;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--modal-bg);
    width: 400px;
    border-radius: 12px;
    padding: 30px;
    position: relative;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-large {
    width: 800px;
    display: flex;
    padding: 0;
    overflow: hidden;
}

.modal-left {
    flex: 1;
    background: linear-gradient(135deg, #0f2b3c, #164627);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.floating-cash {
    flex: 1;
    background: url('https://img.freepik.com/free-vector/floating-money-coins-background_23-2148003635.jpg') center/cover;
    opacity: 0.5;
}

.responsible-gaming {
    color: white;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-right {
    flex: 1;
    padding: 40px 30px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px; right: 15px;
    background: transparent;
    border: none;
    color: var(--text-gray);
    font-size: 1.2rem;
    cursor: pointer;
}

.modal-header {
    text-align: center;
    margin-bottom: 20px;
}

.modal-header h2 {
    font-size: 1.8rem;
    font-style: italic;
    margin-bottom: 10px;
}
.modal-header h2 span { color: var(--primary-green); }

.modal-header h3 {
    font-size: 1.1rem;
    font-weight: 500;
}

.form-group {
    margin-bottom: 15px;
    position: relative;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: white;
    outline: none;
}

.form-group input:focus {
    border-color: var(--primary-green);
}

.password-group .show-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
    cursor: pointer;
}

.phone-group {
    display: flex;
    gap: 10px;
}

.country-code {
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    padding: 0 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.form-options {
    text-align: right;
    margin-bottom: 15px;
}

.form-options a {
    color: var(--text-gray);
    font-size: 0.85rem;
}

.cloudflare-captcha {
    background: var(--bg-lighter);
    border: 1px solid var(--border-color);
    padding: 15px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.cf-success {
    color: var(--primary-green);
    display: flex;
    align-items: center;
    gap: 10px;
}

.cf-logo {
    text-align: right;
    font-size: 0.7rem;
    color: var(--text-gray);
}

.divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    width: 40%;
    height: 1px;
    background: var(--border-color);
}

.divider::after {
    content: '';
    position: absolute;
    right: 0; top: 50%;
    width: 40%;
    height: 1px;
    background: var(--border-color);
}

.divider span {
    color: var(--text-gray);
    font-size: 0.8rem;
}

.modal-footer {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.modal-footer a {
    color: var(--primary-green);
    font-weight: 600;
}

.checkbox-group {
    margin-bottom: 15px;
    font-size: 0.8rem;
    color: var(--text-gray);
}

.checkbox-group label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    cursor: pointer;
}

.checkbox-group a {
    color: var(--primary-green);
}

/* Mobile Bottom Nav */
.mobile-bottom-nav {
    display: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .grid-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-cards {
        display: flex;
        flex-wrap: nowrap;
        width: 100%;
        overflow-x: auto;
        gap: 15px;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px; /* space for scrollbar */
    }
    .grid-cards::-webkit-scrollbar {
        display: none;
    }
    .grid-cards .mobile-dup {
        display: none;
    }
    .card-item {
        padding: 15px;
        min-height: 120px;
        min-width: 260px;
        flex-shrink: 0;
    }
    .card-content h3 {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }
    .card-content p {
        font-size: 0.75rem;
        max-width: 100%;
        line-height: 1.2;
    }
    .btn-circle {
        margin-top: 10px;
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .content-wrapper {
        padding: 15px 5px;
    }

    .sidebar {
        position: fixed;
        top: 0;
        left: -280px;
        width: 260px;
        z-index: 10000;
        height: 100vh;
        transition: left 0.3s ease;
        box-shadow: 5px 0 25px rgba(0, 0, 0, 0.7);
    }
    .sidebar.active {
        left: 0;
    }
    .mobile-toggle {
        display: block;
    }
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: #130f24;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        z-index: 9998;
        justify-content: space-around;
        align-items: center;
        height: 60px;
        box-shadow: 0 -4px 15px rgba(0,0,0,0.5);
    }
    
    .mobile-bottom-nav .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #A098BD;
        font-size: 0.62rem;
        font-weight: 800;
        text-transform: uppercase;
        flex: 1;
        gap: 4px;
        text-decoration: none;
        transition: color 0.3s;
    }

    .mobile-bottom-nav .nav-item.active, .mobile-bottom-nav .nav-item:hover {
        color: var(--primary-green);
    }

    .mobile-bottom-nav .nav-item i {
        font-size: 1.1rem;
    }

    .mobile-bottom-nav .nav-item.center-item {
        position: relative;
        color: var(--primary-green);
    }

    .mobile-bottom-nav .center-circle {
        background: var(--primary-green);
        color: #fff;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        top: -24px;
        box-shadow: 0 0 15px rgba(168, 85, 247, 0.6);
        border: 3px solid #130f24;
    }
    
    .mobile-bottom-nav .center-item span {
        margin-top: 26px;
        color: var(--primary-green);
    }

    #cookieBanner {
        bottom: 65px !important;
    }
    
    .content-wrapper {
        padding-bottom: 80px !important;
    }
    .mobile-logo {
        display: block !important;
        margin-left: 10px;
    }
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 25px 15px;
    }
    .hero-steps {
        justify-content: center;
    }
    .hero-image {
        display: none;
    }
    .topbar-links {
        display: none;
    }
    .modal-large {
        width: 95%;
        flex-direction: column;
        height: 90vh;
        overflow-y: auto;
    }
    .modal-left {
        display: none;
    }
    .user-balance {
        gap: 3px;
        padding: 2px 4px;
    }
    .user-balance .currency {
        display: none;
    }
    .user-balance .amount {
        font-size: 12px;
    }
    .bonus-indicator {
        font-size: 10px !important;
        padding: 1px 4px !important;
    }
    .btn-deposit, .btn-withdraw {
        font-size: 10px !important;
        padding: 4px 6px !important;
        margin-left: 2px !important;
    }
    .btn-icon {
        width: 28px !important;
        height: 28px !important;
        font-size: 12px !important;
        padding: 0 !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* Responsive Tables */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.table-responsive .players-table {
    min-width: 500px;
}

/* Vera Bet Category Filter Tabs & Game Cards */
.vera-filter-tabs-wrapper {
    margin: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    gap: 8px;
    padding-bottom: 5px;
}

.vera-filter-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #1a1433;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    color: #A098BD;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.vera-filter-tab:hover, .vera-filter-tab.active {
    background: rgba(168, 85, 247, 0.15);
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.category-section {
    margin: 30px 20px;
}

.category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.category-header h2 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.02em;
}

.category-header h2 i {
    color: var(--primary-green);
    font-size: 1.2rem;
}

.category-grid {
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); 
    gap: 14px;
}

.game-card, .vera-game-card {
    display: block;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    background: #1a1433;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
    aspect-ratio: 3 / 4;
    text-decoration: none;
    padding: 3px;
    z-index: 1;
}

.game-card::before, .vera-game-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent 0%, transparent 70%, var(--card-color, #a855f7) 100%);
    animation: rotate-light 4s linear infinite;
    z-index: 0;
    opacity: 0.85;
}

.game-card:hover, .vera-game-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 28px var(--card-color, rgba(168, 85, 247, 0.5));
}

.game-card:hover::before, .vera-game-card:hover::before {
    animation-duration: 2s;
    opacity: 1;
}

.category-game-img {
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    display: block;
    position: relative;
    z-index: 2;
    border-radius: 11px;
}

.vera-play-overlay {
    position: absolute;
    inset: 3px;
    border-radius: 11px;
    background: rgba(15, 11, 24, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 5;
}

.vera-play-btn-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--card-color, #a855f7);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    padding-left: 3px;
    box-shadow: 0 0 20px var(--card-color, rgba(168, 85, 247, 0.8));
    transform: scale(0.8);
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.vera-game-card:hover .vera-play-overlay {
    opacity: 1;
}

.vera-game-card:hover .vera-play-btn-circle {
    transform: scale(1);
}

.game-card-footer,
.game-name,
.game-provider,
.rank-title {
    display: none !important;
}

@media (max-width: 768px) {
    .category-section {
        margin: 20px 10px;
    }
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    .game-name {
        font-size: 0.68rem;
    }
    .game-provider {
        font-size: 0.58rem;
    }
}

