/* custom.css - Custom styling for Shooter KalOnline */

html {
    scroll-behavior: smooth;
}

/* Sleek Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #050409;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #a855f7, #6366f1);
    border-radius: 5px;
    border: 2px solid #050409;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #c084fc, #818cf8);
}

/* Responsive Hide for Sidebar Widgets */
@media (max-width: 991px) {
    #server-info-right-widget, #discord-right-widget {
        display: none !important;
    }
}

/* Premium Features Grid Layout */
.features-grid {
    margin-top: 40px;
    margin-bottom: 50px;
}

.feature-card {
    background: rgba(15, 12, 28, 0.75);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 12px;
    padding: 30px 22px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    text-align: left;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.8);
}

/* Glowing top borders for cards */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #a855f7, #6366f1);
    opacity: 0.8;
}

.feature-card.rate-card::before { background: linear-gradient(90deg, #f5a623, #ffcc00); }
.feature-card.system-card::before { background: linear-gradient(90deg, #00d2ff, #00ff88); }
.feature-card.pvp-card::before { background: linear-gradient(90deg, #ff0055, #ff5000); }
.feature-card.event-card-widget::before { background: linear-gradient(90deg, #a855f7, #ec4899); }

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

.feature-card-icon {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 22px;
    background: rgba(139, 92, 246, 0.12);
    color: #c084fc;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-card-icon {
    background: rgba(139, 92, 246, 0.22);
    color: #fff;
    transform: scale(1.08);
}

.feature-card.rate-card .feature-card-icon { color: #f5a623; background: rgba(245, 166, 35, 0.12); }
.feature-card.system-card .feature-card-icon { color: #00d2ff; background: rgba(0, 210, 255, 0.12); }
.feature-card.pvp-card .feature-card-icon { color: #ff3366; background: rgba(255, 51, 102, 0.12); }
.feature-card.event-card-widget .feature-card-icon { color: #ec4899; background: rgba(236, 72, 153, 0.12); }

.feature-card-title {
    font-family: 'Marcellus SC', serif;
    font-size: 19px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
    letter-spacing: 1px;
}

.feature-card-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.feature-card-list li {
    font-size: 13.5px;
    line-height: 1.6;
    color: #b2c4d6;
    margin-bottom: 9px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease;
}

.feature-card-list li i {
    color: #6366f1;
    font-size: 12px;
}

.feature-card.rate-card .feature-card-list li i { color: #f5a623; }
.feature-card.system-card .feature-card-list li i { color: #00d2ff; }
.feature-card.pvp-card .feature-card-list li i { color: #ff3366; }
.feature-card.event-card-widget .feature-card-list li i { color: #ec4899; }

.feature-card-list li:hover {
    color: #fff;
}

/* Pulsing highlight animation for main CTA button */
.vote-reward-pulse-btn {
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
    animation: buttonPulse 2s infinite ease-in-out;
}

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 0 0 12px rgba(139, 92, 246, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 25px rgba(139, 92, 246, 0.8), 0 0 10px rgba(6, 182, 212, 0.4);
        transform: scale(1.03);
    }
}

/* ==========================================
   Dashboard Widgets (Login, Vote, Top Players)
   ========================================== */
.dashboard-card {
    background: rgba(5, 5, 8, 0.88) !important;
    border: 1px solid rgba(149, 199, 212, 0.35) !important;
    border-radius: 8px !important;
    padding: 25px 20px;
    margin-bottom: 25px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.8), 0 0 15px rgba(149, 199, 212, 0.15) !important;
    text-align: center;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    font-family: 'Roboto Condensed', sans-serif !important;
}

.dashboard-card-title {
    font-family: 'Marcellus SC', serif !important;
    font-size: 18px !important;
    font-weight: bold !important;
    color: #95c7d4 !important;
    margin-top: 0;
    margin-bottom: 22px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(149, 199, 212, 0.35) !important;
    padding-bottom: 12px;
    text-shadow: 0 0 10px rgba(149, 199, 212, 0.4) !important;
}

/* Custom Input Groups for Login */
.input-group-custom {
    display: flex;
    align-items: center;
    background: #07090d;
    border: 1px solid #232731;
    border-radius: 6px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.input-group-custom:focus-within {
    border-color: #95c7d4;
    box-shadow: 0 0 8px rgba(149, 199, 212, 0.25);
}

.input-icon-custom {
    padding: 10px 14px;
    background: #0a0d13;
    border-right: 1px solid #232731;
    color: #95c7d4;
    min-width: 45px;
    font-size: 14px;
}

.input-group-custom input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    padding: 10px 14px;
    color: #fff;
    font-size: 13.5px;
}

.input-group-custom input::placeholder {
    color: #555c6b;
}

/* Dashboard Buttons */
.dashboard-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    text-decoration: none !important;
}

.gold-btn {
    background: #95c7d4 !important;
    color: #0d1117 !important;
    border: 1px solid #95c7d4 !important;
    box-shadow: 0 4px 15px rgba(149, 199, 212, 0.25) !important;
}

.gold-btn:hover {
    background: #bce3ed !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(149, 199, 212, 0.4) !important;
}

.dark-btn {
    background: #1c212b;
    color: #c9ced9 !important;
    margin-top: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dark-btn:hover {
    background: #252b38;
    color: #fff !important;
    transform: translateY(-2px);
}

/* Vote Box text */
.vote-text {
    font-size: 14px;
    color: #b0c0d0;
    margin-bottom: 20px;
    line-height: 1.5;
    text-align: left;
}

/* Top Players ranking table styling */
.ranking-table-widget {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.ranking-table-widget th {
    font-size: 13px;
    color: #fff;
    text-transform: uppercase;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ranking-table-widget th:nth-child(4) {
    text-align: right;
}

.ranking-table-widget td {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    vertical-align: middle;
    text-align: left;
}

.ranking-table-widget tr:last-child td {
    border-bottom: none;
}

.rank-num {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
}

.class-avatar-widget {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid rgba(149, 199, 212, 0.35);
    object-fit: cover;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
    display: inline-block;
}

.player-name-widget {
    font-size: 14px;
    color: #fff;
    font-weight: 600;
}

.player-level-widget {
    font-size: 14px;
    color: #4ade80; /* level color green */
    font-weight: 700;
    text-align: right;
}

/* Floating Sidebar Column Wrappers */
#homepage-left-sidebar {
    position: absolute;
    left: 20px;
    top: 20px;
    width: 260px;
    z-index: 99;
}

#homepage-left-sidebar::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome/Safari */
}

#homepage-right-sidebar {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 260px;
    z-index: 99;
}

#homepage-right-sidebar::-webkit-scrollbar {
    display: none;
}

/* Sidebar Margin Adjustments for Cards inside Sidebar */
#homepage-left-sidebar .dashboard-card,
#homepage-right-sidebar .dashboard-card,
#homepage-right-sidebar #server-info-right-widget {
    margin-bottom: 20px !important;
    position: static !important; /* Reset position for static widgets inside wrappers */
    width: 100% !important;
}

/* Responsive visibility rules for dashboard and sidebars */
@media (min-width: 1200px) {
    .homepage-embedded-dashboard {
        display: none !important;
    }
    #homepage-left-sidebar, #homepage-right-sidebar {
        display: block !important;
    }
}

@media (max-width: 1199px) {
    .homepage-embedded-dashboard {
        display: block !important;
    }
    #homepage-left-sidebar, #homepage-right-sidebar {
        display: none !important;
    }
}

/* Compact Login Widget Styling */
.login-card-widget {
    padding: 18px 15px !important;
}

.login-card-widget .dashboard-card-title {
    font-size: 16px !important;
    margin-bottom: 15px !important;
    padding-bottom: 8px !important;
}

.login-card-widget .input-group-custom {
    margin-bottom: 10px !important;
}

.login-card-widget .input-icon-custom {
    padding: 8px 10px !important;
    min-width: 40px !important;
    font-size: 13px !important;
}

.login-card-widget .input-group-custom input {
    padding: 8px 10px !important;
    font-size: 13px !important;
}

.login-card-widget .dashboard-btn {
    padding: 9px !important;
    font-size: 13px !important;
}

.login-card-widget .dark-btn {
    margin-top: 8px !important;
}

/* Multi-Card Carousel CSS */
.multi-card-carousel-container {
    position: relative;
    width: 100%;
    max-width: 760px;
    margin: 20px auto !important;
    padding: 0 35px; /* Give space for arrows on the sides! */
    box-sizing: border-box;
}

.multi-carousel-viewport {
    width: 100%;
    overflow: hidden;
    position: relative;
    border-radius: 8px;
}

.multi-carousel-track {
    display: flex;
    gap: 15px;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    width: max-content;
}

.multi-carousel-card {
    width: 220px; /* Scaled up card width! */
    height: 185px; /* Scaled up card height! */
    background: rgba(5, 5, 8, 0.88);
    border: 1px solid rgba(149, 199, 212, 0.35);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.6), 0 0 10px rgba(149, 199, 212, 0.1);
    transition: all 0.3s ease;
}

.multi-carousel-card:hover {
    border-color: #95c7d4;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.8), 0 0 15px rgba(149, 199, 212, 0.2);
    transform: translateY(-4px);
}

.card-image-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.multi-carousel-card:hover .card-image-wrapper img {
    transform: scale(1.1);
}

.card-content-wrapper {
    width: 100%;
    height: 40%;
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(5, 5, 8, 0.88));
    border-top: 1px solid rgba(149, 199, 212, 0.1);
    box-sizing: border-box;
}

.card-content-wrapper h4 {
    margin: 0;
    color: #95c7d4;
    font-family: 'Marcellus SC', serif;
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    text-shadow: 0 0 8px rgba(149, 199, 212, 0.4);
    text-transform: uppercase;
}

.card-action-btn {
    display: inline-block;
    width: 85%;
    padding: 6px 0;
    font-size: 11px;
    font-weight: bold;
    color: #0d1117 !important;
    background: #95c7d4;
    border: 1px solid #95c7d4;
    border-radius: 4px;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(149, 199, 212, 0.25);
    transition: all 0.3s ease;
}

.card-action-btn:hover {
    background: #bce3ed;
    box-shadow: 0 4px 12px rgba(149, 199, 212, 0.4);
}

/* Arrows position */
.multi-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(5, 5, 8, 0.88);
    border: 1px solid rgba(149, 199, 212, 0.4);
    color: #95c7d4;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    outline: none !important;
}

.multi-carousel-arrow:hover {
    background: #95c7d4;
    color: #0d1117;
    border-color: #95c7d4;
    box-shadow: 0 0 12px rgba(149, 199, 212, 0.5);
}

.multi-carousel-arrow.prev {
    left: 2px;
}

.multi-carousel-arrow.next {
    right: 2px;
}

/* Lightbox Modal Cursor & Structure */
.card-image-wrapper {
    cursor: pointer !important;
}

.custom-lightbox {
    display: none;
    position: fixed;
    z-index: 99999 !important;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(5, 5, 8, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 85%;
    max-height: 85%;
    border-radius: 8px;
    border: 2px solid rgba(149, 199, 212, 0.4);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(149, 199, 212, 0.25);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.custom-lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #95c7d4;
    font-size: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    text-shadow: 0 0 15px rgba(149, 199, 212, 0.6);
    user-select: none;
}

.lightbox-close:hover {
    color: #fff;
    transform: scale(1.1);
}

/* Hide Cookie Alert globally */
.nk-cookie-alert {
    display: none !important;
}

/* Latest News Accordion Styles */
.latest-news-widget {
    background: rgba(5, 5, 8, 0.88) !important;
    border: 1px solid rgba(149, 199, 212, 0.35) !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(149, 199, 212, 0.15) !important;
    padding: 25px !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}

.news-accordion-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news-accordion-item {
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
    transition: all 0.3s ease;
}

.news-accordion-item:hover {
    border-color: rgba(149, 199, 212, 0.25);
    background: rgba(149, 199, 212, 0.03);
}

.news-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    user-select: none;
    transition: background 0.3s ease;
}

.news-item-meta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.news-badge {
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 3px;
    box-shadow: 0 0 5px rgba(230, 198, 135, 0.1);
}

.badge-notice {
    background: rgba(230, 198, 135, 0.08);
    border: 1px solid rgba(230, 198, 135, 0.3);
    color: #e6c687;
}

.badge-update {
    background: rgba(230, 198, 135, 0.08);
    border: 1px solid rgba(230, 198, 135, 0.3);
    color: #e6c687;
}

.news-item-title {
    color: #e6c687;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 15px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.news-accordion-item:hover .news-item-title {
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.news-item-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.news-date {
    color: #7a828a;
    font-size: 12px;
}

.news-chevron {
    color: #95c7d4;
    font-size: 14px;
    transition: transform 0.3s ease;
    text-shadow: 0 0 8px rgba(149, 199, 212, 0.4);
}

.news-accordion-item.active .news-chevron {
    transform: rotate(180deg);
}

.news-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    background: rgba(0, 0, 0, 0.2);
}

.news-body-content {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #c5cbd3;
    font-size: 13.5px;
    line-height: 1.6;
}

.news-body-content p {
    margin: 0 0 10px 0;
}

.news-body-content p:last-child {
    margin-bottom: 0;
}

.news-body-content ul {
    margin: 10px 0;
    padding-left: 20px;
}

.news-body-content li {
    margin-bottom: 5px;
}

.view-all-link:hover {
    color: #fff !important;
    text-shadow: 0 0 10px rgba(149, 199, 212, 0.6);
}

.badge-hotfix {
    background: rgba(255, 107, 107, 0.08);
    border: 1px solid rgba(255, 107, 107, 0.35);
    color: #ff6b6b;
    box-shadow: 0 0 5px rgba(255, 107, 107, 0.1);
}

/* ============================================================
   GLOBAL ANIMATED BACKGROUND (NEBULAS & FLOATING EMBERS)
   ============================================================ */
.global-nebula-1 {
    position: fixed;
    top: -20%; left: -20%;
    width: 70%; height: 70%;
    border-radius: 50%;
    z-index: 1;
    animation: floatNebula1 35s infinite alternate ease-in-out;
    pointer-events: none;
}
.global-nebula-2 {
    position: fixed;
    bottom: -20%; right: -20%;
    width: 70%; height: 70%;
    border-radius: 50%;
    z-index: 1;
    animation: floatNebula2 40s infinite alternate ease-in-out;
    pointer-events: none;
}

@keyframes floatNebula1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(15%, 10%) scale(1.15); }
}
@keyframes floatNebula2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-10%, -15%) scale(1.1); }
}

.global-ember-container {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.global-ember {
    position: absolute;
    bottom: -15px;
    border-radius: 50%;
    opacity: 0;
    animation: floatUp 15s infinite linear;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) translateX(0) scale(0.7);
        opacity: 0;
    }
    15% {
        opacity: 0.8;
    }
    85% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(-115vh) translateX(var(--drift)) scale(1.3);
        opacity: 0;
    }
}

/* Hide Discord Sidebar Widget globally on all pages */
#discord-right-widget {
    display: none !important;
}

/* ==================================================================
 * Premium Media Portal - Gallery Cards & Video Cards
 * ================================================================== */
.gallery-card, .video-card {
    background: rgba(14, 11, 10, 0.95) !important;
    border: 1px solid rgba(149, 199, 212, 0.15) !important;
    border-top: 3px solid #e6c687 !important; /* Gold Top Accent */
    border-radius: 6px !important;
    overflow: hidden !important;
    transition: all 0.4s ease !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
    margin-bottom: 25px !important;
    width: 100% !important;
}

.gallery-card:hover {
    border-color: #e6c687 !important;
    box-shadow: 0 15px 35px rgba(230, 198, 135, 0.25) !important;
    transform: translateY(-4px) !important;
}

.video-card:hover {
    border-color: #95c7d4 !important;
    box-shadow: 0 15px 35px rgba(149, 199, 212, 0.25) !important;
    transform: translateY(-4px) !important;
}

/* Image scaling */
.gallery-card img, .video-card img {
    width: 100% !important;
    height: 290px !important;
    object-fit: cover !important;
    object-position: center top !important;
    transition: transform 0.5s ease !important;
    display: block !important;
    border-bottom: 1px solid rgba(149, 199, 212, 0.1) !important;
}

.gallery-card:hover img, .video-card:hover img {
    transform: scale(1.03) !important;
}

/* Card descriptions */
.media-card-info {
    padding: 20px !important;
    background: rgba(8, 6, 6, 0.6) !important;
}

.media-card-title {
    font-family: 'Marcellus SC', Georgia, serif !important;
    color: #e6c687 !important;
    font-size: 17px !important;
    font-weight: bold !important;
    margin: 0 0 6px 0 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
}

.media-card-desc {
    font-size: 12px !important;
    color: rgba(224, 220, 211, 0.65) !important;
    margin: 0 !important;
    line-height: 1.5 !important;
}

/* Play button overlay for video cards (Pure CSS Triangle to prevent font loading issues) */
.video-thumbnail-wrapper {
    position: relative !important;
    overflow: hidden !important;
}

/* The Circle Background */
.nk-plain-video::before {
    content: "" !important;
    position: absolute !important;
    top: 50% !important; left: 50% !important;
    transform: translate(-50%, -50%) scale(1) !important;
    width: 50px !important; height: 50px !important;
    background: rgba(0, 0, 0, 0.75) !important;
    border: 2px solid #e6c687 !important;
    border-radius: 50% !important;
    display: block !important;
    transition: all 0.3s ease !important;
    pointer-events: none !important;
    box-shadow: 0 0 15px rgba(230, 198, 135, 0.35) !important;
    z-index: 4 !important;
}

/* The Play Triangle */
.nk-plain-video::after {
    content: "" !important;
    position: absolute !important;
    top: 50% !important; left: 50% !important;
    transform: translate(-30%, -50%) scale(1) !important; /* Visual offset to center triangle in circle */
    width: 0 !important;
    height: 0 !important;
    border-top: 9px solid transparent !important;
    border-bottom: 9px solid transparent !important;
    border-left: 14px solid #e6c687 !important; /* Gold triangle */
    display: block !important;
    transition: all 0.3s ease !important;
    pointer-events: none !important;
    z-index: 5 !important;
}

/* Hover effects */
.video-card:hover .nk-plain-video::before {
    background: #e6c687 !important;
    border-color: #ffffff !important;
    transform: translate(-50%, -50%) scale(1.1) !important;
    box-shadow: 0 0 25px rgba(230, 198, 135, 0.75) !important;
}

.video-card:hover .nk-plain-video::after {
    border-left-color: #000000 !important; /* Turn triangle black inside the gold circle */
    transform: translate(-30%, -50%) scale(1.1) !important;
}

/* Hide play overlays completely when the video is active/playing (contains an iframe) */
.nk-plain-video:has(iframe)::before,
.nk-plain-video:has(iframe)::after {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* ==================================================================
 * Premium RPG Downloads Dashboard Design
 * ================================================================== */
/* Sidebar Tab links navigation styling */
.nk-store-account-links ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.nk-store-account-links ul li {
    margin-bottom: 8px !important;
}
.nk-store-account-links ul li a {
    display: flex !important;
    align-items: center !important;
    padding: 14px 18px !important;
    background: rgba(14, 11, 10, 0.95) !important;
    border: 1px solid rgba(149, 199, 212, 0.15) !important;
    border-left: 3px solid transparent !important;
    color: rgba(224, 220, 211, 0.7) !important;
    font-family: 'Marcellus SC', Georgia, serif !important;
    font-size: 13.5px !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}
.nk-store-account-links ul li a i {
    margin-right: 12px !important;
    font-size: 14px !important;
    width: 18px !important;
    text-align: center !important;
    transition: color 0.3s ease !important;
}
.nk-store-account-links ul li a:hover i {
    color: #95c7d4 !important;
}
.nk-store-account-links ul li a.active i {
    color: #e6c687 !important;
}

.nk-store-account-links ul li a:hover {
    background: rgba(20, 16, 15, 0.98) !important;
    border-color: rgba(149, 199, 212, 0.3) !important;
    border-left-color: #95c7d4 !important;
    color: #ffffff !important;
    transform: translateX(3px) !important;
}
.nk-store-account-links ul li a.active {
    background: rgba(22, 18, 16, 0.98) !important;
    border-color: rgba(230, 198, 135, 0.3) !important;
    border-left-color: #e6c687 !important; /* Gold for Active */
    color: #e6c687 !important;
    box-shadow: 0 4px 15px rgba(230, 198, 135, 0.1) !important;
}


/* Card list layout styling */
.downloads-list-wrapper {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
}

.download-row-card {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: rgba(14, 11, 10, 0.96) !important;
    border: 1px solid rgba(149, 199, 212, 0.15) !important;
    border-left: 4px solid #95c7d4 !important;
    border-radius: 6px !important;
    padding: 22px 28px !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5) !important;
}

/* Brand specific left borders */
.download-row-card.mega-card { border-left-color: #ff3344 !important; }
.download-row-card.drive-card { border-left-color: #34a853 !important; }
.download-row-card.mediafire-card { border-left-color: #0070f3 !important; }
.download-row-card.dropbox-card { border-left-color: #0061ff !important; }

.download-row-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7) !important;
    border-color: rgba(230, 198, 135, 0.3) !important;
}

/* Mirror Info Group */
.mirror-brand-group {
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
    flex: 1 !important;
}

.mirror-brand-icon {
    font-size: 20px !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(149, 199, 212, 0.15) !important;
}
.mega-card .mirror-brand-icon { color: #ff3344 !important; border-color: rgba(255, 51, 68, 0.2) !important; }
.drive-card .mirror-brand-icon { color: #34a853 !important; border-color: rgba(52, 168, 83, 0.2) !important; }
.mediafire-card .mirror-brand-icon { color: #0070f3 !important; border-color: rgba(0, 112, 243, 0.2) !important; }
.dropbox-card .mirror-brand-icon { color: #0061ff !important; border-color: rgba(0, 97, 255, 0.2) !important; }

.mirror-brand-details {
    display: flex !important;
    flex-direction: column !important;
}

.mirror-name {
    font-family: 'Marcellus SC', Georgia, serif !important;
    color: #ffffff !important;
    font-size: 16.5px !important;
    font-weight: bold !important;
    letter-spacing: 0.5px !important;
    margin: 0 0 5px 0 !important;
}

.mirror-meta-row {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.mirror-badge {
    font-size: 11px !important;
    font-weight: 500 !important;
    padding: 3px 9px !important;
    border-radius: 12px !important;
    background: rgba(149, 199, 212, 0.08) !important;
    border: 1px solid rgba(149, 199, 212, 0.2) !important;
    color: #95c7d4 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
}

.mirror-badge.date-badge {
    background: rgba(230, 198, 135, 0.08) !important;
    border: 1px solid rgba(230, 198, 135, 0.2) !important;
    color: #e6c687 !important;
}

/* Download button */
.download-btn-premium {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 22px !important;
    font-size: 12px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-family: 'Roboto Condensed', sans-serif !important;
    color: #000000 !important;
    background: #e6c687 !important;
    border: 1px solid #e6c687 !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(230, 198, 135, 0.2) !important;
}

.download-btn-premium i {
    font-size: 13px !important;
    transition: transform 0.3s ease !important;
}

.download-btn-premium:hover {
    background: #ffffff !important;
    border-color: #ffffff !important;
    color: #000000 !important;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4) !important;
}

.download-btn-premium:hover i {
    transform: translateY(2px) !important;
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .download-row-card {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px !important;
        padding: 20px !important;
    }
    .download-btn-premium {
        width: 100% !important;
        justify-content: center !important;
    }
}
