:root {
    --bg-color: #0d0d10;
    --header-bg: #131318;
    --card-bg: #1c1c24;
    --primary-orange: #f59e0b;
    --accent-yellow: #facc15;
    --text-white: #ffffff;
    --text-gray: #a1a1aa;
    --orbibet-brand: #f59e0b;
    --btn-gradient: linear-gradient(90deg, #f59e0b, #ea580c);
    --success-green: #22c55e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-white);
    overflow-x: hidden;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

/* Header */
header {
    background-color: var(--header-bg);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 50;
}

.logo {
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: -1px;
    background: linear-gradient(to right, #facc15, #f59e0b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--orbibet-brand);
    text-decoration: none;
    text-transform: uppercase;
}

.nav-buttons {
    display: flex;
    gap: 0.75rem;
}

.btn {
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    font-size: 0.9rem;
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-white);
}

.btn-outline:hover {
    border-color: var(--text-white);
}

.btn-primary {
    background: var(--btn-gradient);
    border: none;
    color: var(--text-white);
}

.btn-primary:hover {
    filter: brightness(1.1);
}

.btn-success {
    background: #22c55e;
    border: none;
    color: white;
}

.btn-success:hover {
    background: #16a34a;
}

.btn-danger {
    background: #ef4444;
    border: none;
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
}

.btn-warning {
    background: var(--orbibet-brand);
    border: none;
    color: white;
    /* or black depending on contrast, usually white for alerts */
}

.btn-warning:hover {
    filter: brightness(1.1);
}

/* Sections */
main {
    padding-bottom: 5rem;
}

/* Hero Section */
.hero {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.hero-banner {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: auto;
    /* Reset min-height */
    background: transparent;
    /* Remove gradient */
    padding: 0;
    /* Remove padding */
}

.hero-banner::before {
    display: none;
    /* Remove background effect */
}

.banner-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Removed old hero content styles to clean up */

/* Ticker Section */
.ticker-section {
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.ticker-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #fde68a;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: var(--success-green);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px var(--success-green);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.ticker-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.ticker-track {
    display: flex;
    gap: 1.5rem;
    animation: scroll 25s linear infinite;
    width: max-content;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-33.33%);
    }

    /* Adjusted for duplication */
}

.ticker-item {
    background: #15151b;
    /* Darker background from image */
    padding: 1rem;
    border-radius: 16px;
    /* Less rounded, more like card */
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 260px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Subtle border */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s;
}

.ticker-item:hover {
    border-color: rgba(245, 158, 11, 0.3);
}

.ticker-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    /* Prevent shrinking */
    background: var(--orbibet-brand);
    /* Brand color background */
    border-radius: 12px;
    /* Rounded square */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.2);
}

.ticker-icon img {
    width: 28px;
    height: 28px;
    display: block;
}

.hero-brand {
    color: var(--orbibet-brand);
    font-weight: 800;
    letter-spacing: 2px;
}



/* Game Navigation */
.game-nav {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.nav-tab {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-gray);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    transition: all 0.3s;
}

.nav-tab:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.nav-tab.active {
    background: rgba(245, 158, 11, 0.1);
    border-color: var(--orbibet-brand);
    color: var(--orbibet-brand);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.1);
}

/* Games Grid */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.view-all {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.9rem;
}

.view-all:hover {
    color: white;
}

.nav-arrows {
    display: flex;
    gap: 0.5rem;
}

.arrow-btn {
    background: var(--card-bg);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #1c1c24;
    padding: 2rem;
    border-radius: 20px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    border: 1px solid rgba(245, 158, 11, 0.2);
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.modal-content h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.modal-content p {
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-full {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
}

/* Specific modifier for the horizontal carousel layout */
.games-grid-horizontal {
    display: flex !important;
    overflow-x: auto;
    padding-bottom: 1rem;
    scroll-behavior: smooth;
    /* Hide scrollbar for cleaner look, but allow functionality */
    scrollbar-width: thin;
    scrollbar-color: var(--orbibet-brand) transparent;
}

.games-grid-horizontal::-webkit-scrollbar {
    height: 6px;
}

.games-grid-horizontal::-webkit-scrollbar-thumb {
    background-color: var(--orbibet-brand);
    border-radius: 10px;
}

.games-grid-horizontal .game-card {
    min-width: 160px;
    /* Ensure cards don't shrink */
    width: 160px;
}

.game-card {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
    background-size: cover;
    background-position: center;
    background-color: var(--card-bg);
}

.game-card:hover {
    transform: translateY(-5px);
    z-index: 10;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.game-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.game-title {
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.2;
}

.game-provider {
    font-size: 0.75rem;
    color: var(--text-gray);
    margin-top: 2px;
}

.badge-thumbs {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #f97316;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 0.8rem;
}

.input-group {
    text-align: left;
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.input-group input {
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.1rem;
    outline: none;
    transition: border-color 0.3s;
}

.input-group input:focus {
    border-color: var(--orbibet-brand);
}

.qr-container {
    background: white;
    padding: 1rem;
    border-radius: 12px;
    margin: 1rem auto;
    display: inline-block;
}

.qr-container img {
    width: 180px;
    height: 180px;
    display: block;
}

.copy-paste-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

/* Deposit UI Refinements */
.modal-deposit-refined {
    text-align: center;
    max-width: 420px;
    border: 1px solid rgba(245, 158, 11, 0.3);
    background: linear-gradient(145deg, #1c1c24, #15151b);
}

.modal-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: white;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.input-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
    max-width: 100%;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--orbibet-brand);
    pointer-events: none;
    display: flex;
}

.input-wrapper input {
    width: 100%;
    padding: 1.2rem 1rem 1.2rem 3.5rem;
    /* Larger padding */
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.3);
    /* Darker input bg */
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    /* Center input text */
}

.input-wrapper input:focus {
    background: rgba(0, 0, 0, 0.5);
    border-color: var(--orbibet-brand);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1);
}

.preset-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-preset {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 0.5rem;
    border-radius: 12px;
    color: var(--text-gray);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
}

.btn-preset:hover {
    background: rgba(245, 158, 11, 0.1);
    border-color: var(--orbibet-brand);
    color: white;
    transform: translateY(-2px);
}

.copy-paste-container textarea {
    width: 100%;
    padding: 0.5rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-gray);
    resize: none;
    font-size: 0.8rem;
    word-break: break-all;
}

.mt-4 {
    margin-top: 1.5rem;
}

/* Footer */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    padding: 2rem 1rem;
    text-align: center;
    color: var(--text-gray);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* Auth Modals */
.modal-auth {
    padding: 0;
    max-width: 400px;
    overflow: hidden;
    background: #1c1c24;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-banner {
    position: relative;
    width: 100%;
    height: 180px;
}

.auth-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.close-modal-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.auth-body {
    padding: 2rem;
}

.auth-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    color: white;
}

.input-icon-left {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    display: flex;
    align-items: center;
    color: var(--text-gray);
}

.auth-form .input-group input {
    padding-left: 3rem;
}

.auth-form .input-group {
    position: relative;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-gray);
    text-align: left;
}

.checkbox-group a {
    color: var(--orbibet-brand);
    text-decoration: none;
}

.auth-switch {
    margin-top: 1.5rem;
    color: var(--text-gray);
    font-size: 0.9rem;
    text-align: center;
}

.auth-switch span {
    color: var(--orbibet-brand);
    cursor: pointer;
    font-weight: 700;
}

.auth-switch span:hover {
    text-decoration: underline;
}

/* Payment Confirmation Modal */
.modal-confirmation {
    max-width: 450px;
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(145deg, #1c1c24, #15151b);
    border: 2px solid rgba(34, 197, 94, 0.3);
}

.confirmation-icon {
    margin-bottom: 1.5rem;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.confirmation-title {
    font-size: 1.8rem;
    color: #22c55e;
    margin-bottom: 1rem;
    font-weight: 800;
}

.confirmation-message {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.confirmation-message strong {
    color: var(--orbibet-brand);
    font-weight: 700;
}

.confirmation-balance {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.balance-label {
    color: var(--text-gray);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.balance-value {
    color: #22c55e;
    font-size: 2rem;
    font-weight: 800;
}

/* Header Account & Balance Styles */
.user-account-area {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.balance-box {
    display: flex;
    align-items: center;
    background: #1c1c24;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    /* Pill shape */
    padding: 4px 4px 4px 16px;
    gap: 12px;
}

.balance-value {
    font-weight: 700;
    color: white;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.balance-dot {
    width: 8px;
    height: 8px;
    background-color: var(--orbibet-brand);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--orbibet-brand);
}

.btn-deposit-plus {
    background: var(--btn-gradient);
    color: white;
    border: none;
    border-radius: 9999px;
    padding: 6px 16px;
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-deposit-plus:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

.user-menu-container {
    position: relative;
    z-index: 100;
}

.user-avatar-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #facc15, #f59e0b);
    color: #000;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1.1rem;
}

.user-avatar-btn:hover {
    filter: brightness(1.1);
    transform: scale(1.05);
}

/* Dropdown Menu */
.user-dropdown {
    position: absolute;
    top: 55px;
    right: 0;
    width: 240px;
    background: #111116;
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-header {
    padding: 12px;
    border-bottom: 1px solid rgba(245, 158, 11, 0.1);
    margin-bottom: 4px;
}

.user-name {
    display: block;
    font-weight: 800;
    color: white;
    font-size: 1rem;
}

.user-email {
    display: block;
    font-size: 0.75rem;
    color: var(--text-gray);
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px;
    background: transparent;
    border: none;
    color: #e5e7eb;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.2s;
    text-align: left;
}

.menu-item:hover {
    background: rgba(245, 158, 11, 0.1);
    color: var(--orbibet-brand);
}

.menu-item svg {
    width: 20px;
    height: 20px;
    stroke-width: 2px;
    opacity: 0.8;
}

.menu-item:hover svg {
    opacity: 1;
    color: var(--orbibet-brand);
}

.menu-divider {
    height: 1px;
    background: rgba(245, 158, 11, 0.1);
    margin: 8px 0;
}

.menu-item.logout {
    color: #ef4444;
}

.menu-item.logout:hover {
    background: rgba(239, 68, 68, 0.1);
}

/* Old Bonus styles removed to avoid conflict with Premium styles at bottom */

/* My Account Modal */
.modal-my-account {
    max-width: 500px;
    padding: 0;
    overflow: hidden;
    background: #1c1c24;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-header-tabs {
    display: flex;
    align-items: center;
    background: #15151b;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-right: 0.5rem;
}

.tab-btn {
    flex: 1;
    padding: 1.25rem;
    background: transparent;
    border: none;
    color: var(--text-gray);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 2px solid transparent;
    font-size: 1rem;
    outline: none;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.02);
    color: white;
}

.tab-btn.active {
    color: var(--orbibet-brand);
    border-bottom-color: var(--orbibet-brand);
    background: linear-gradient(to bottom, transparent, rgba(245, 158, 11, 0.05));
}

.modal-header-tabs .close-modal-btn {
    position: static;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--text-gray);
    font-size: 1.5rem;
    margin-left: 0.5rem;
    background: transparent;
    text-shadow: none;
}

.modal-header-tabs .close-modal-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.tab-content {
    display: none;
    padding: 2rem;
    animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.account-info-group {
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.account-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-bottom: 0.25rem;
}

.account-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
}

.warning-box {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    padding: 1rem;
    border-radius: 8px;
    color: #fde68a;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    text-align: left;
}

/* Timeline Status */
.status-timeline {
    margin-top: 2rem;
    position: relative;
    padding-left: 24px;
}

.status-timeline::before {
    content: '';
    position: absolute;
    left: 9px;
    top: 8px;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.status-step {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
    opacity: 0.4;
    transition: all 0.4s ease;
    text-align: left;
}

.status-step:last-child {
    margin-bottom: 0;
}

.status-step.active {
    opacity: 1;
}

.step-dot {
    position: absolute;
    left: -24px;
    top: 0;
    width: 20px;
    height: 20px;
    background: #1c1c24;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.status-step.active .step-dot {
    background: var(--success-green);
    border-color: var(--success-green);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
    transform: scale(1.1);
}

.status-step.processing .step-dot {
    background: var(--orbibet-brand);
    border-color: var(--orbibet-brand);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.2);
    animation: pulse-dot-processed 1.5s infinite;
}

@keyframes pulse-dot-processed {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(245, 158, 11, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
    }
}

.step-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: white;
}

.step-desc {
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.4;
}

/* Fix for Select Dropdown Options */
/* Fix for Select Dropdown Options */
select#withdrawKeyType {
    width: 100%;
    padding: 1rem;
    padding-right: 2.5rem;
    /* Space for icon */
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    outline: none;
    appearance: none;
    font-size: 1rem;

    /* Custom Arrow */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2em;
    cursor: pointer;
    transition: all 0.2s;
}

select#withdrawKeyType:focus {
    border-color: var(--orbibet-brand);
    background-color: rgba(0, 0, 0, 0.2);
}

select#withdrawKeyType option {
    background-color: #1c1c24;
    color: white;
    padding: 10px;
}

/* Ensure Alert Modal is always on top */
/* Ensure Alert Modal is always on top */
/* Ensure Alert Modal is always on top of EVERYTHING */
#alertModal {
    z-index: 20000 !important;
}

/* Language Modal Premium Styles */
.modal-language {
    max-width: 450px;
    background: linear-gradient(145deg, #1c1c24, #15151b);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem 2rem;
}

.language-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.lang-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.lang-card:hover {
    background: rgba(245, 158, 11, 0.1);
    border-color: var(--orbibet-brand);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.lang-card img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s;
}

.lang-card:hover img {
    transform: scale(1.1);
}

.lang-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-gray);
    transition: color 0.3s;
}

.lang-card:hover .lang-label {
    color: white;
}

/* Premium Bonus Notification */
/* Premium Bonus Notification */
.bonus-notification {
    position: fixed;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    /* Wider on mobile */
    max-width: 800px;
    background: rgba(18, 18, 24, 0.95);
    /* You Darker background for contrast */
    backdrop-filter: blur(16px);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-bottom: 4px solid #fbbf24;
    /* Accent bottom border */
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(251, 191, 36, 0.15);
    z-index: 10001;
    /* Higher than even alert modal to act as top notification */
    padding: 1rem 1.5rem;
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.bonus-notification.show {
    top: 20px;
}

/* --- Compatibility with User's Tailwind-like Classes --- */

/* .container inside bonus notification - override global container if needed or just use these classes */
.bonus-notification .container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.75rem !important;
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
    width: 100%;
}

/* Paragraph styling */
.bonus-notification p {
    color: #fbbf24 !important;
    /* text-amber-400 */
    font-size: 0.875rem !important;
    /* text-sm */
    font-weight: 500 !important;
    /* font-medium */
    text-align: center !important;
    margin: 0;
}

@media (min-width: 640px) {
    .bonus-notification p {
        font-size: 1rem !important;
        /* sm:text-base */
    }
}

/* Claim Button styling (inline-block ml-1 px-3 py-1 bg-amber-400 text-black text-sm font-bold rounded hover:bg-amber-300 transition-colors) */
.bonus-notification button.bg-amber-400 {
    display: inline-block;
    margin-left: 0.25rem;
    padding: 0.25rem 0.75rem;
    background-color: #fbbf24;
    color: black;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 0.25rem;
    transition: background-color 0.15s ease-in-out;
    border: none;
    cursor: pointer;
}

.bonus-notification button.bg-amber-400:hover {
    background-color: #fcd34d;
    /* hover:bg-amber-300 */
}

/* Check generic text-amber-400 */
.bonus-notification .text-amber-400 {
    color: #fbbf24 !important;
}

/* Close button (text-muted-foreground hover:text-white transition-colors shrink-0) */
.bonus-notification .text-muted-foreground {
    color: #a1a1aa;
    /* text-muted-foreground */
    transition: color 0.15s ease-in-out;
    flex-shrink: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bonus-notification .text-muted-foreground:hover {
    color: white;
    /* hover:text-white */
}

/* Container inside */
.bonus-notification .container {
    padding: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Typography */
.bonus-notification p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: #e4e4e7;
    flex: 1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    /* Allow wrapping on small screens */
    gap: 0.5rem;
}

.bonus-notification .highlight-money {
    color: #fbbf24;
    font-size: 1.25rem;
    font-weight: 800;
    text-shadow: 0 0 15px rgba(251, 191, 36, 0.4);
    white-space: nowrap;
}

/* Button Styling */
.bonus-notification button.btn-claim {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2), 0 2px 10px rgba(245, 158, 11, 0.3);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.bonus-notification button.btn-claim:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(245, 158, 11, 0.4);
    filter: brightness(1.1);
}

.bonus-notification button.btn-claim:active {
    transform: translateY(0);
}

/* Close Button */
.bonus-notification button.btn-close {
    background: transparent;
    border: none;
    color: #71717a;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bonus-notification button.btn-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Mobile Responsiveness */
@media (max-width: 640px) {
    .bonus-notification {
        width: 92%;
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .bonus-notification .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .bonus-notification p {
        font-size: 0.95rem;
        width: 100%;
        text-align: left;
        justify-content: flex-start;
    }

    .bonus-notification .highlight-money {
        display: inline-block;
        /* Force styling inline */
    }

    /* Move button to separate line on very small screens if needed, 
       but updated styles try to keep flow natural */
    .bonus-notification button.btn-claim {
        width: 100%;
        /* Full width button on mobile */
        padding: 0.75rem;
        margin-top: 0.5rem;
        text-align: center;
    }

    .bonus-notification button.btn-close {
        position: absolute;
        top: 0.5rem;
        right: 0.5rem;
    }
}