@import url('https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rammetto+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
@import 'tailwindcss';

/* Custom Font Definition - Placeholder if file matching needed */
@font-face {
    font-family: 'bring-race';
    src: local('Impact'), local('Arial Black'), sans-serif;
    /* Fallback */
}

/* Conthrax Font Definition */
@font-face {
    font-family: 'Conthrax';
    src: url('../font/Conthrax-SemiBold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* Global configurations from new CSS */
* {
    font-family: var(--font-urbanist), 'Urbanist', sans-serif;
}

body {
    font-family: var(--font-urbanist), 'Urbanist', sans-serif;
    background-color: #0d1028;
    /* Updated background color from new CSS */
    overflow-x: hidden;
}

/* Prevent horizontal overflow globally */
html {
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

/* --- Existing Styles (Preserved) --- */

.font-bring-race {
    font-family: 'bring-race', sans-serif;
}

/* Conthrax Font Class for Banner Titles */
.font-conthrax {
    font-family: 'Conthrax', sans-serif;
}

/* Marquee Animation */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.animate-marquee {
    animation: marquee 20s linear infinite;
}

/* Custom Scrollbar - Merged logic from both */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0E122F;
}

::-webkit-scrollbar-thumb {
    background: #7351FF;
    border-radius: 4px;
}

/* Slot Card Styles */
.angled-card-clipper {
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}

/* Scrollbar Utilities */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.angled-card-mask {
    -webkit-mask-image: linear-gradient(45deg, transparent 15px, black 15px);
    mask-image: linear-gradient(45deg, transparent 15px, black 15px);
}

.slot-card-overlay {
    background: rgba(62, 29, 136, 0.85);
    backdrop-filter: blur(2px);
}

/* --- Footer Styles (Original Preserved) --- */

/* Main Footer Container */
.site-footer {
    position: relative;
    width: 100%;
    padding: 0.7rem;
    padding-top: 2.5rem;
    background-color: #0d1028;
    /* Ensure solid background matching the body */
}

.footer-content-wrapper {
    width: 100%;
}

/* Top Section: Daily Rewards & Payments */
.footer-top-grid {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .footer-top-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Daily Rewards Card */
.daily-rewards-card {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: 0.5rem;
    min-height: 300px;
}

.daily-rewards-bg {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.daily-rewards-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem;
}

@media (min-width: 768px) {
    .daily-rewards-content {
        padding: 2rem;
    }
}

.daily-rewards-z {
    position: relative;
    z-index: 10;
}

.daily-rewards-title {
    font-family: 'Conthrax', sans-serif;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    color: white;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .daily-rewards-title {
        font-size: 1.875rem;
    }
}

.daily-rewards-subtitle {
    margin-bottom: 1rem;
    font-size: 0.75rem;
    color: white;
}

@media (min-width: 768px) {
    .daily-rewards-subtitle {
        margin-bottom: 1.5rem;
        font-size: 0.875rem;
    }
}

/* Payment Methods Column */
.payment-methods-col {
    display: flex;
    height: 100%;
    flex-direction: column;
    gap: 1rem;
}

.payment-card {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 5px;
}

@media (min-width: 768px) {
    .payment-card {
        gap: 0.75rem;
        padding: 1.5rem;
    }
}

.payment-card-crypto {
    background: linear-gradient(84deg, #272251 14.79%, #8713E7 98.27%);
    border: 1px solid #3E1D88;
}

.payment-card-bank {
    background: linear-gradient(274deg, #222249 12.02%, #291287 87.33%);
    border: 1px solid #3E1D88;
}

.payment-title {
    font-family: 'Conthrax', sans-serif;
    font-size: 1rem;
    color: white;
    text-transform: uppercase;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .payment-title {
        font-size: 1.25rem;
    }
}

.payment-icons-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .payment-icons-wrapper {
        gap: 1rem;
    }
}

.payment-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .payment-grid-wrapper {
        gap: 1rem;
    }
}

/* Icons */
.crypto-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.5rem;
    width: 2.5rem;
}

@media (min-width: 768px) {
    .crypto-icon-box {
        height: 3rem;
        width: 3rem;
    }
}

.crypto-img {
    position: relative;
    z-index: 10;
    height: 1.25rem;
    width: 1.25rem;
}

@media (min-width: 768px) {
    .crypto-img {
        height: 1.75rem;
        width: 1.75rem;
    }
}

.bank-img {
    position: relative;
    z-index: 10;
    height: 1rem;
    width: 1rem;
}

@media (min-width: 768px) {
    .bank-img {
        height: 1.25rem;
        width: 1.25rem;
    }
}

.bank-label {
    position: relative;
    z-index: 10;
    font-size: 0.625rem;
    color: white;
}

@media (min-width: 768px) {
    .bank-label {
        font-size: 0.875rem;
    }
}

/* Link Section */
.footer-links-section {
    position: relative;
    margin-bottom: 2.5rem;
    overflow: hidden;
    padding: 1.5rem;
    border-radius: 7px;
    border: 2px solid #3E1D88;
    background: linear-gradient(89deg, rgba(33, 33, 72, 0.34) 2.6%, rgba(41, 18, 135, 0.34) 51.44%, rgba(34, 34, 73, 0.34) 97.35%);
}

.footer-links-inner {
    border-color: rgba(255, 255, 255, 0.5);
    width: 100%;
    padding-top: 0;
    padding-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .footer-links-inner {
        padding-top: 2rem;
    }
}

/* Lists */
.footer-list-title {
    font-family: 'Conthrax', sans-serif;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: bold;
    color: white;
    text-transform: capitalize;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    font-size: 0.875rem;
    color: #B4BBC5;
    transition: color 0.3s;
    text-decoration: none;
}

.footer-link:hover {
    color: #EE7AF4;
}

/* Desktop Grid Layout */
.footer-desktop-grid {
    display: none;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-desktop-grid {
        display: flex;
        align-items: flex-start;
    }
}

.footer-col-1 {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
    margin-bottom: 1.5rem;
}

.vertical-separator {
    display: flex;
    justify-content: center;
    padding: 0 1rem;
}

.separator-line {
    width: 1px;
    background: #00374A;
    height: 100%;
    min-height: 200px;
}

/* Mobile Layout */
.footer-mobile-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-mobile-grid {
        display: none;
    }
}

/* Bottom Bar */
.footer-bottom-bar {
    position: relative;
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-radius: 3px;
    border: 1px solid #3E1D88;
    background: rgba(51, 19, 105, 0.70);
    box-shadow: 4px 5px 16px 0 rgba(0, 0, 0, 0.25) inset;
}

@media (min-width: 768px) {
    .footer-bottom-bar {
        flex-direction: row;
    }
}

.copyright-text {
    font-size: 0.875rem;
    color: white;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .copyright-text {
        margin-bottom: 0;
    }
}

.policy-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.policy-link {
    font-size: 0.875rem;
    color: white;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s;
}

.policy-link:hover {
    color: #EE7AF4;
}

/* SVG Text */
.artchip-svg-container {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding: 0 0.5rem;
}

@media (min-width: 640px) {
    .artchip-svg-container {
        padding: 0 1rem;
    }
}

/* --- New Template7 Styles --- */

.flatpickr-wrapper {
    width: 100% !important;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.animate-scroll {
    animation: scroll 20s linear infinite;
}

/* Remove number input spin buttons across browsers */
input[type='number']::-webkit-outer-spin-button,
input[type='number']::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type='number'] {
    -moz-appearance: textfield;
    appearance: textfield;
    /* Firefox */
}

/* Global pointer cursor for interactive controls */
button,
[role='button'],
[role='tab'],
.tab,
.tabs button,
[data-tab] {
    cursor: pointer;
}

.status-pill {
    padding: 5px 12px 5px 12px !important;
    border-radius: 6px !important;
    font-size: 12px;
    font-weight: 700;
    width: 100%;
    max-width: 90px;
}

/* Template7 Sidebar Styles */
.template7-left-sidebar {
    height: auto;
    position: sticky;
    top: 0;
    z-index: 10;
    border-radius: 5px;
    border: 1px solid rgba(118, 58, 181, 0.6);
    background: #1e1451;
    box-shadow: 0 6px 14px 0 rgba(0, 0, 0, 0.25) inset;
}

.template7-right-sidebar {
    min-height: calc(100vh - 140px);
    /* Adjust based on header height */
    position: sticky;
    top: 0;
    z-index: 10;
}

/* Prevent horizontal overflow */
.template7-layout {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    align-items: stretch;
}

.template7-main {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.template7-header {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

/* Responsive sidebar behavior */
@media (max-width: 1023px) {

    .template7-left-sidebar,
    .template7-right-sidebar {
        display: none !important;
    }

    /* Make main content full width on mobile */
    .template7-main {
        width: 100% !important;
        flex: 1 !important;
    }
}

@media (min-width: 1024px) {

    /* Ensure main content has proper spacing and flex behavior */
    .template7-main {
        min-height: calc(100vh - 140px);
        padding-right: 1rem;
        flex: 1;
        width: auto;
        max-width: 100%;
        min-width: 0;
        overflow-x: hidden;
    }

    /* Ensure left sidebar maintains consistent width and full height */
    .template7-left-sidebar {
        width: 16rem;
        /* 256px equivalent to w-64 */
        flex-shrink: 0;
        min-height: 100vh;
    }
}

@media (max-width: 1024px) {
    .template7-main {
        padding: 0.7rem;
    }
}

/* Sidebar scroll behavior */
.template7-left-sidebar {
    overflow-y: visible;
}

.template7-right-sidebar {
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.template7-right-sidebar::-webkit-scrollbar {
    width: 4px;
}

.template7-right-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.template7-right-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.template7-right-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Template7 Left Sidebar Menu Items - Angled Shape */
.template7-menu-item-angled {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    border: none;
    background: transparent;
    transition: all 0.3s ease;
    overflow: visible;
    margin-bottom: 15px;
}

.template7-menu-item-angled::before {
    content: '';
    position: absolute;
    inset: -1px;
    clip-path: polygon(20px 0%,
            calc(100% - 5px) 0%,
            calc(100% - 20px) 100%,
            5px 100%);
    z-index: 0;
    transition: all 0.3s ease;
}

/* Inactive menu items border */
.template7-menu-item-angled:not(.template7-menu-item-angled-active)::before {
    background: rgba(118, 58, 181, 0.6);
}

/* Active menu items border */
.template7-menu-item-angled-active::before {
    background: rgba(118, 58, 181, 0.6);
}

.template7-menu-item-angled-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 12px 24px 12px 28px;
    transition: all 0.3s ease;
    z-index: 1;
    overflow: visible;
    clip-path: polygon(20px 0%,
            calc(100% - 5px) 0%,
            calc(100% - 20px) 100%,
            5px 100%);
}

.template7-menu-item-angled-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    clip-path: polygon(20px 0%,
            calc(100% - 5px) 0%,
            calc(100% - 20px) 100%,
            5px 100%);
    z-index: -1;
    pointer-events: none;
    transition: all 0.3s ease;
}

/* Inactive menu items background */
.template7-menu-item-angled:not(.template7-menu-item-angled-active) .template7-menu-item-angled-inner::before {
    background-color: rgba(51, 19, 105, 0.7);
    box-shadow: 4px 5px 16px 0 rgba(0, 0, 0, 0.25) inset;
}

/* Active menu items background */
.template7-menu-item-angled-active .template7-menu-item-angled-inner::before {
    background-color: #3e1d88;
    box-shadow: 4px 5px 16px 0 rgba(0, 0, 0, 0.25) inset;
}

/* ========================================
   ACTIVE STATE - Pink icon + White text
   ======================================== */

/* Active menu item Font Awesome icons - PINK #ed7af3 */
.template7-menu-item-angled-active i {
    color: #ed7af3 !important;
}

/* Active menu item SVG icons - PINK fill */
.template7-menu-item-angled-active svg path {
    fill: #ed7af3 !important;
}

/* Active menu item SVG icons - PINK stroke */
.template7-menu-item-angled-active svg path[stroke] {
    stroke: #ed7af3 !important;
}

.template7-menu-item-angled-active .template7-menu-item-content svg path[stroke] {
    stroke: #ed7af3 !important;
}

/* Active menu item text - WHITE */
.template7-menu-item-angled-active .template7-menu-item-content span {
    color: #FFFFFF !important;
}

/* ========================================
   INACTIVE STATE - Gray icon + Gray text
   ======================================== */

/* Inactive menu item Font Awesome icons - GRAY #7D7D7D */
.template7-menu-item-angled:not(.template7-menu-item-angled-active) i {
    color: #7D7D7D !important;
}

/* Inactive menu item text - GRAY #7D7D7D */
.template7-menu-item-angled:not(.template7-menu-item-angled-active) .template7-menu-item-content span {
    color: #7D7D7D !important;
}

/* ========================================
   ARROW ICONS - Right side indicators
   ======================================== */

/* Active menu item arrow - PINK #ed7af3 */
.template7-menu-item-angled-active .template7-menu-item-angled-inner>i.fa-caret-right {
    color: #ed7af3 !important;
}

/* Inactive menu item arrow - GRAY #7D7D7D */
.template7-menu-item-angled:not(.template7-menu-item-angled-active) .template7-menu-item-angled-inner>i.fa-caret-right {
    color: #7D7D7D !important;
}

/* ========================================
   HOVER STATE - Same as Active State
   ======================================== */

/* Hover: Background same as active */
.template7-menu-item-angled:not(.template7-menu-item-angled-active):hover .template7-menu-item-angled-inner::before {
    background-color: #3e1d88;
    box-shadow: 4px 5px 16px 0 rgba(0, 0, 0, 0.25) inset;
}

/* Hover: Icons - PINK #ed7af3 */
.template7-menu-item-angled:not(.template7-menu-item-angled-active):hover i {
    color: #ed7af3 !important;
}

/* Hover: SVG icons - PINK fill */
.template7-menu-item-angled:not(.template7-menu-item-angled-active):hover svg path {
    fill: #ed7af3 !important;
}

/* Hover: SVG icons - PINK stroke */
.template7-menu-item-angled:not(.template7-menu-item-angled-active):hover svg path[stroke] {
    stroke: #ed7af3 !important;
}

.template7-menu-item-angled:not(.template7-menu-item-angled-active):hover .template7-menu-item-content svg path[stroke] {
    stroke: #ed7af3 !important;
}

/* Hover: Text - WHITE */
.template7-menu-item-angled:not(.template7-menu-item-angled-active):hover .template7-menu-item-content span {
    color: #FFFFFF !important;
}

/* Hover: Arrow - PINK #ed7af3 */
.template7-menu-item-angled:not(.template7-menu-item-angled-active):hover .template7-menu-item-angled-inner>i.fa-caret-right {
    color: #ed7af3 !important;
}

/* Menu item content - ensures text is positioned to the right */
.template7-menu-item-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    position: relative;
    z-index: 2;
    min-width: 0;
    /* Allows flex children to shrink */
}

/* Menu item text - inline with ellipsis for long text */
.template7-menu-item-content span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    /* Allows text to shrink in flex container */
    flex: 1;
    /* Takes available space but can shrink */
}

/* ============================================
   Angled Button Styles - Global Clip Path Buttons
   ============================================ */

/* Base Angled Button Structure */
.angled-button {
    position: relative;
    background: transparent;
    border: none;
    padding: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: visible;
}

.angled-button::before {
    content: '';
    position: absolute;
    inset: -1px;
    clip-path: polygon(0px 0%,
            calc(100% - 13px) 0%,
            100% 13px,
            100% calc(100% - 0px),
            calc(100% - 15px) 100%,
            13px 100%,
            0% calc(100% - 13px),
            0% 15px);
    z-index: 0;
    transition: all 0.3s ease;
}

.angled-button-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
    z-index: 1;
    overflow: visible;
}

.angled-button-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    clip-path: polygon(0px 0%,
            calc(100% - 13px) 0%,
            100% 13px,
            100% calc(100% - 0px),
            calc(100% - 15px) 100%,
            13px 100%,
            0% calc(100% - 13px),
            0% 15px);
    z-index: -1;
    pointer-events: none;
}

.angled-button-text {
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    text-align: center;
    position: relative;
    z-index: 2;
    font-family: 'Urbanist', sans-serif;
}

.angled-button-profile-initial {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
}

/* ============================================
   Pink Angled Button Variant
   ============================================ */
.angled-button-pink::before {
    background: #ee7af4;
    box-shadow:
        0 0 8px rgba(238, 122, 244, 0.7),
        0 0 16px rgba(238, 122, 244, 0.5),
        0 0 24px rgba(238, 122, 244, 0.3);
}

.angled-button-pink:hover::before {
    box-shadow:
        0 0 12px rgba(238, 122, 244, 0.9),
        0 0 24px rgba(238, 122, 244, 0.7),
        0 0 36px rgba(238, 122, 244, 0.5);
}

.angled-button-pink .angled-button-inner::before {
    background: linear-gradient(to right, #7620c5 0%, #d73eff 50%, #752ac9 100%);
    box-shadow: -4px 4px 7px 0 rgba(0, 0, 0, 0.25) inset;
}

.angled-button-pink:hover .angled-button-inner::before {
    background: linear-gradient(to right, #7620c5 0%, #d73eff 50%, #752ac9 100%);
}

/* ============================================
   Blue Angled Button Variant
   ============================================ */
.angled-button-blue::before {
    background: #7351ff;
    box-shadow:
        0 0 8px rgba(115, 81, 255, 0.7),
        0 0 16px rgba(115, 81, 255, 0.5),
        0 0 24px rgba(115, 81, 255, 0.3);
}

.angled-button-blue:hover::before {
    box-shadow:
        0 0 12px rgba(115, 81, 255, 0.9),
        0 0 24px rgba(115, 81, 255, 0.7),
        0 0 36px rgba(115, 81, 255, 0.5);
}

.angled-button-blue .angled-button-inner::before {
    background: linear-gradient(to right, #2a2b58 0%, #3a1a97 50%, #2b2b59 100%);
    box-shadow: -4px -4px 9px 0 rgba(0, 0, 0, 0.4) inset;
}

.angled-button-blue:hover .angled-button-inner::before {
    background: linear-gradient(to right, #2a2b58 0%, #3a1a97 50%, #2b2b59 100%);
}

/* ============================================
   Purple Angled Button Variant (Language Selector)
   ============================================ */
.angled-button-purple::before {
    background: rgba(118, 58, 181, 0.8);
    box-shadow:
        0 0 8px rgba(118, 58, 181, 0.5),
        0 0 16px rgba(118, 58, 181, 0.3);
}

.angled-button-purple:hover::before {
    background: rgba(118, 58, 181, 1);
    box-shadow:
        0 0 12px rgba(118, 58, 181, 0.7),
        0 0 24px rgba(118, 58, 181, 0.5);
}

.angled-button-purple .angled-button-inner::before {
    background: rgba(51, 19, 105, 0.7);
    box-shadow: -4px -4px 9px 0 rgba(0, 0, 0, 0.4) inset;
}

.angled-button-purple:hover .angled-button-inner::before {
    background: rgba(51, 19, 105, 0.85);
}


/* ============================================
   Crypto Icon Pink Clip Path Styling
   ============================================ */
/* Overrides existing definitions with specific clip-paths */
.crypto-icon-pink {
    position: relative;
    background-image: url('../images/crypto-bg.svg');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: filter 0.3s ease;
}

.crypto-icon-pink:hover {
    filter: brightness(1.1);
}

.crypto-icon-pink::before {
    display: none;
}

.crypto-icon-pink-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    /* Remove previous styles */
    background: none;
    clip-path: none;
    box-shadow: none;
}

/* App Download Card Style */
.app-download-card {
    position: relative;
    background-image: url('../images/get-app-bg.svg');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: filter 0.3s ease;
}

.app-download-card:hover {
    filter: brightness(1.1);
}

.app-download-card-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    background: none;
    clip-path: none;
    box-shadow: none;
}

/* ============================================
   Bank Icon Blue Clip Path Styling
   ============================================ */
.bank-icon-blue {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bank-icon-blue::before {
    content: '';
    position: absolute;
    inset: -1px;
    clip-path: polygon(0px 0%,
            calc(100% - 13px) 0%,
            100% 13px,
            100% calc(100% - 0px),
            calc(100% - 15px) 100%,
            13px 100%,
            0% calc(100% - 13px),
            0% 15px);
    z-index: 0;
    background: #7351ff;
    box-shadow:
        0 0 8px rgba(115, 81, 255, 0.7),
        0 0 16px rgba(115, 81, 255, 0.5),
        0 0 24px rgba(115, 81, 255, 0.3);
    transition: all 0.3s ease;
    justify-content: center;
}

.bank-icon-blue:hover::before {
    box-shadow:
        0 0 12px rgba(115, 81, 255, 0.9),
        0 0 24px rgba(115, 81, 255, 0.7),
        0 0 36px rgba(115, 81, 255, 0.5);
}

.bank-icon-blue-inner {
    display: flex;
    height: 100%;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    gap: 0.25rem;
    clip-path: polygon(0px 0%,
            calc(100% - 13px) 0%,
            100% 13px,
            100% calc(100% - 0px),
            calc(100% - 15px) 100%,
            13px 100%,
            0% calc(100% - 13px),
            0% 15px);
    background: linear-gradient(to right, #2a2b58 0%, #3a1a97 50%, #2b2b59 100%);
    box-shadow: -4px -4px 9px 0 rgba(0, 0, 0, 0.4) inset;
}

@media (min-width: 768px) {
    .bank-icon-blue-inner {
        padding: 0.5rem 1rem;
        gap: 0.5rem;
    }
}

.game-card-clipper {
    clip-path: polygon(40px 0%, 100% 0%, 100% 100%, 0% 100%, 0% 40px);
}

html {
    scroll-behavior: smooth;
}

/* Pagination High-Fidelity Design */
.pagination-skewed {
    position: relative;
}

.pagination-skewed::before {
    content: '';
    position: absolute;
    inset: 0;
    transform: skewX(-10deg);
    border-radius: 3px;
    border: 1px solid #3E1D88;
    background: rgba(51, 19, 105, 0.7);
    box-shadow: inset 4px 5px 16px 0 rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    z-index: 0;
}


.angled-button-pinks::before {
    background: #ee7af4;
}

.angled-button-pinks:hover::before {
    box-shadow:
        0 0 12px rgba(100, 26, 185, 0.9),
        0 0 24px rgba(100, 26, 185, 0.7),
        0 0 36px rgba(100, 26, 185, 0.5);
}

.angled-button-pinks .angled-button-inner::before {
    background: #641ab9;
}

.angled-button-pinks:hover .angled-button-inner::before {
    background: #661bb5;
}

/* ============================================
   Language Dropdown Styles
   ============================================ */
.language-dropdown-container {
    position: relative;
    display: inline-block;
}

.language-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 110px;
    background: #1E1451;
    border: 1px solid #763AB5;
    border-radius: 5px;
    box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.25);
    z-index: 1000;
    overflow: hidden;
}

.language-dropdown-menu.hidden {
    display: none;
}

.language-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 9px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    color: #ffffff;
    font-size: 13px;
}

.language-dropdown-item:hover {
    background-color: #3E1D88;
}

.language-dropdown-item img {
    width: 20px;
    height: auto;
    flex-shrink: 0;
}

.language-dropdown-trigger {
    cursor: pointer;
}

/* Mobile Navbar Language Dropdown - Position to stay within viewport */
#mobile-user-language-container .language-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    width: 110px;
    background: #1E1451;
    border: 1px solid #763AB5;
    border-radius: 5px;
    box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.25);
    z-index: 1000;
    overflow: hidden;
}

/* Wallet Button Styles */
.template7-wallet-button {
    position: relative;
    height: 40px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.2s;
}

.template7-wallet-button-inner {
    display: flex;
    align-items: center;
    border-radius: 5px;
    border: 1px solid #3E1D88;
    background: rgba(14, 18, 47, 0.8);
    overflow: hidden;
    padding: 2px;
}

.template7-wallet-button:hover .template7-wallet-button-inner {
    border-color: #7351FF;
}

.template7-wallet-button-section {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    transition: all 0.2s;
}

.template7-wallet-button-left,
.template7-wallet-button-right {
    width: 32px;
    color: white;
}

.template7-wallet-button-left:hover,
.template7-wallet-button-right:hover {
    color: #EE7AF4;
}

.template7-wallet-button-center {
    background: #661BB5;
    padding: 0 16px;
    min-width: 100px;
    border-radius: 2px;
}

.template7-wallet-button-value {
    font-size: 12px;
    font-weight: 700;
    color: white;
    white-space: nowrap;
}

/* Wallet Dropdown */
.template7-wallet-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    width: 280px;
    z-index: 1000;
    animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* User Profile Button */
.template7-user-profile-btn {
    width: 50px;
    height: 50px;
}

.template7-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    width: 220px;
    z-index: 1000;
    animation: fadeIn 0.2s ease-out;
}

.template7-dropdown-content {
    background: #0d1028;
    border: 1px solid #7351ff;
    border-radius: 5px;
    padding: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.template7-dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px;
    margin-bottom: 8px;
    border: 1px solid #7351FF;
    border-radius: 3px;
    background: transparent;
    color: white;
    transition: all 0.2s;
    text-decoration: none;
}

.template7-dropdown-item:last-child {
    margin-bottom: 0;
}

.template7-dropdown-item:hover {
    background: rgba(115, 81, 255, 0.1);
    border-color: #EE7AF4;
}

.template7-dropdown-item-text {
    font-size: 12px;
    color: white;
    transition: color 0.2s;
}

.template7-dropdown-item:hover .template7-dropdown-item-text {
    color: #EE7AF4;
}

.template7-dropdown-item:hover svg {
    color: #EE7AF4 !important;
}

/* Angled Button Base (reuses existing mixin logic visually) */
/* We will define specific classes for the wallet to match the clip path */

.template7-wallet-button {
    position: relative;
    height: 50px;
    /* Match standard button height */
    padding: 2px;
    /* For border width */
    background: linear-gradient(to right, #EE7AF4, #7351FF);
    /* Border gradient */
    border: none;
    clip-path: polygon(10px 0, 100% 0,
            100% calc(100% - 10px), calc(100% - 10px) 100%,
            0 100%, 0 10px);
    cursor: pointer;
    transition: all 0.2s;
}

.template7-wallet-button:hover {
    filter: brightness(1.1);
}

.template7-wallet-button-inner {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    background: #0E122F;
    /* Inner background */
    clip-path: polygon(10px 0, 100% 0,
            100% calc(100% - 10px), calc(100% - 10px) 100%,
            0 100%, 0 10px);
}

.template7-wallet-button-section {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.template7-wallet-button-left,
.template7-wallet-button-right {
    width: 40px;
    color: white;
    cursor: pointer;
}

.template7-wallet-button-left:hover svg,
.template7-wallet-button-right:hover svg {
    color: #EE7AF4;
    scale: 1.1;
    transition: all 0.2s;
}

.template7-wallet-button-center {
    flex: 1;
    background: linear-gradient(90deg, #9C27B0 0%, #E040FB 100%);
    /* Purple gradient from image */
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}

.template7-wallet-button-value {
    font-size: 14px;
    font-weight: 700;
    color: white;
    white-space: nowrap;
}

/* User Profile & Language Angled Buttons */
/* Reusing the existing angled-button structure but ensuring specific colors */
/* The user asked for "exact same". The image shows:
   - Language: Blue border/bg, Flag + Text + Arrow
   - Profile: Blue border/bg, 'T' text
*/

.angled-button-profile-initial {
    font-size: 18px;
    font-weight: 700;
    color: white;
}

/* Specific overrides if needed to match the glowing border exactly */
.angled-button-blue {
    /* Ensure it matches the requested style */
    --hover-border: #7351FF;
}

/* =========================================
   Game Card Styles (Reference Exact Match)
   ========================================= */

.game-card-clipped {
    /* Reference: polygon(40px 0%, 100% 0%, 100% 100%, 0% 100%, 0% 40px) */
    clip-path: polygon(40px 0%, 100% 0%, 100% 100%, 0% 100%, 0% 40px);
    transition: all 0.3s ease;
    overflow: visible;
    /* Reference uses visible overflow */
}

/* The inner image wrapper needs the same clip path */
.game-card-image-wrap {
    clip-path: polygon(40px 0%, 100% 0%, 100% 100%, 0% 100%, 0% 40px);
    height: 100%;
    width: 100%;
}

.game-card-clipped:hover {
    transform: translateY(-2px);
    /* box-shadow is not in the reference inline styles, but keeping for visual pop if needed, 
       though reference seems to rely on the border/shape. 
       Reference has transition-all duration-300 */
}

.game-card-overlay {
    position: absolute;
    inset: 0;
    /* Reference: backgroundColor: 'rgba(62, 29, 136, 0.3)' */
    background-color: rgba(62, 29, 136, 0.3);
    /* Reference: backdrop-filter: blur(5px) on group hover */
    backdrop-filter: blur(0);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
    /* Reference clip path for overlay was 15px, but parent clips at 40px. 
       Using 40px to match parent cleanly. */
    clip-path: polygon(40px 0%, 100% 0%, 100% 100%, 0% 100%, 0% 40px);
}

.group:hover .game-card-overlay {
    opacity: 1;
    backdrop-filter: blur(5px);
}

.play-button-circle {
    width: 50px;
    /* sm:w-16 = 64px, mobile 48px. Using 50px as optimal middle ground */
    height: 50px;
    border-radius: 50%;
    background-color: #000000;
    border: 2px solid #EE7AF4;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease;
    box-shadow: none;
}

@media (min-width: 640px) {
    .play-button-circle {
        width: 64px;
        height: 64px;
    }
}

.play-button-circle:hover {
    transform: scale(1.1);
}

.play-button-icon {
    width: 24px;
    height: 24px;
    fill: #EE7AF4;
}

.provider-text {
    margin-top: 10px;
    color: white;
    /* Reference assumes text is visible on dark overlay */
    font-size: 12px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

/* Mobile Sidebar Styles */
.mobile-sidebar-close-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #3E1D88;
    border: 1px solid #3E1D88;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    box-shadow: 4px 5px 16px 0 rgba(0, 0, 0, 0.25) inset;
    transition: all 0.3s ease;
}

.mobile-sidebar-close-btn:hover {
    background-color: #4a2599;
    border-color: #4a2599;
}

.mobile-sidebar-close-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

/* Mobile Sidebar Menu Items - 2 per row */
#mobile-sidebar .template7-menu-item-angled {
    margin-bottom: 12px;
}

#mobile-sidebar .template7-menu-item-angled-inner {
    min-height: 45px;
}

#mobile-sidebar .template7-menu-item-content {
    gap: 10px;
}

#mobile-sidebar .template7-menu-item-content i {
    font-size: 18px;
}

#mobile-sidebar .template7-menu-item-content span {
    font-size: 13px;
    white-space: normal;
    word-break: break-word;
}

/* Mobile Sidebar Dropdown Items */
#mobile-sidebar .template7-dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-bottom: 4px;
    background: transparent;
    border: 1px solid #7351FF;
}

#mobile-sidebar .template7-dropdown-item:hover {
    background: rgba(115, 81, 255, 0.1);
    border-color: #EE7AF4;
}

#mobile-sidebar .template7-dropdown-item:hover .template7-dropdown-item-text {
    color: #EE7AF4;
}

#mobile-sidebar .template7-dropdown-item-text {
    color: white;
    font-size: 12px;
}

/* Mobile Sidebar Wallet/Profile Sections */
#mobile-sidebar #mobile-wallet-section,
#mobile-sidebar #mobile-profile-section {
    margin-bottom: 16px;
}

#mobile-sidebar #mobile-wallet-btn,
#mobile-sidebar #mobile-profile-btn {
    width: 100%;
}

/* Mobile Sidebar Profile Button - Custom Border Color */
#mobile-sidebar .template7-profile-button {
    background: #7351FF;
    /* Border color for profile button */
}

#mobile-sidebar .template7-profile-button-inner {
    background: #1E1451;
    /* Sidebar background color */
}

/* Mobile Sidebar Profile Avatar Container */
#mobile-sidebar .template7-profile-avatar {
    background: #180E3A;
    position: relative;
    clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px);
    /* Avatar background color */
}

/* Avatar border that matches the clip path */
#mobile-sidebar .template7-profile-avatar::before {
    content: '';
    position: absolute;
    inset: -1px;
    clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px);
    background: #7351FF;
    z-index: -1;
    pointer-events: none;
}

/* Inner content to show the background color */
#mobile-sidebar .template7-profile-avatar::after {
    content: '';
    position: absolute;
    inset: 0;
    clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px);
    background: #180E3A;
    z-index: -1;
    pointer-events: none;
}

/* Mobile Sidebar Wallet Dropdown Positioning */
#mobile-sidebar .template7-wallet-dropdown {
    position: relative;
    top: 8px;
    right: auto;
    left: 0;
    width: 100%;
    margin-top: 8px;
}

/* Mobile Sidebar Profile Dropdown Positioning */
#mobile-sidebar .template7-dropdown-menu {
    position: relative;
    top: 8px;
    right: auto;
    left: 0;
    width: 100%;
    margin-top: 8px;
}

/* Mobile Sidebar Logout Button */
.mobile-sidebar-logout-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 16px;
    border-radius: 3px;
    border: 1px solid #3E1D88;
    background: rgba(51, 19, 105, 0.70);
    box-shadow: 4px 5px 16px 0 rgba(0, 0, 0, 0.25) inset;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.mobile-sidebar-logout-btn:hover {
    border-color: #7351FF;
    background: rgba(51, 19, 105, 0.85);
}

.mobile-sidebar-logout-btn .template7-menu-item-content {
    margin: 0;
    gap: 0;
}

/* Hide scrollbar for mobile sidebar */
#mobile-sidebar {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

#mobile-sidebar::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Ensure mobile sidebar only shows on mobile */
@media (min-width: 1024px) {
    #mobile-sidebar,
    #mobile-sidebar-overlay {
        display: none !important;
    }
}