/* Reset and Base Styles - Cache bust 20250816-1515 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #000;
    color: #f7f7f7;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Video */
#background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.3;
}

/* Container */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Quick Start Guide - Compact */
.quick-start-guide {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 165, 0, 0.3);
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.quick-start-guide h2 {
    color: #ff9500;
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.guide-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.guide-step {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    padding: 0.6rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 165, 0, 0.2);
    background: rgba(255, 165, 0, 0.05);
}

.guide-step.step-1 {
    border-color: rgba(46, 204, 113, 0.4);
    background: rgba(46, 204, 113, 0.1);
}

.guide-step.step-2 {
    border-color: rgba(52, 152, 219, 0.4);
    background: rgba(52, 152, 219, 0.1);
}

.guide-step.step-3 {
    border-color: rgba(155, 89, 182, 0.4);
    background: rgba(155, 89, 182, 0.1);
}

.step-number {
    font-size: 1rem;
    font-weight: bold;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
}

.step-1 .step-number {
    background: #2ecc71;
}

.step-2 .step-number {
    background: #3498db;
}

.step-3 .step-number {
    background: #9b59b6;
}

.step-content h3 {
    color: #ff9500;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.step-content p {
    margin-bottom: 0.4rem;
    line-height: 1.2;
    font-size: 0.85rem;
}

.example-match {
    margin-top: 0.4rem;
    padding: 0.4rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    font-size: 0.75rem;
}

.example-title {
    margin-bottom: 0.4rem;
    color: #fff;
    font-size: 0.8rem;
}

.match-examples {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.match-example {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.tier-name {
    min-width: 100px;
    font-size: 0.7rem;
    color: #ccc;
}

.number-example {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 0.85rem;
}

.match-all {
    color: #2ecc71;
}

.match-partial {
    color: #2ecc71;
}

.no-match {
    color: #e74c3c;
}

.lightning-help {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    color: #ccc;
}

.lightning-help code {
    background: rgba(255, 165, 0, 0.2);
    padding: 0.15rem 0.3rem;
    border-radius: 3px;
    color: #ff9500;
    font-size: 0.75rem;
}

.help-trigger {
    background: transparent;
    color: #3498db;
    border: 1px solid #3498db;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.7rem;
    transition: all 0.3s ease;
}

.help-trigger:hover {
    background: #3498db;
    color: white;
}

.timing-info {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    color: #ccc;
}

/* Prize Tiers Compact */
.prize-tiers-compact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tier-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.tier-row-top {
    grid-template-columns: 1fr;
}

.tier-compact {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.3rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 165, 0, 0.3);
    background: rgba(0, 0, 0, 0.4);
    min-height: 35px;
}

.tier-compact.tier-1 {
    border-color: rgba(255, 215, 0, 0.6);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 165, 0, 0.1));
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.25), 0 0 20px rgba(255, 165, 0, 0.1);
}

.tier-compact.tier-2 {
    border-color: rgba(192, 192, 192, 0.6);
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.1), rgba(169, 169, 169, 0.1));
}

.tier-compact.tier-3 {
    border-color: rgba(205, 127, 50, 0.6);
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.1), rgba(160, 82, 45, 0.1));
}

.tier-compact.tier-4 {
    border-color: rgba(34, 139, 34, 0.6);
    background: linear-gradient(135deg, rgba(34, 139, 34, 0.1), rgba(50, 205, 50, 0.1));
}

.tier-compact.tier-5 {
    border-color: rgba(70, 130, 180, 0.6);
    background: linear-gradient(135deg, rgba(70, 130, 180, 0.1), rgba(100, 149, 237, 0.1));
}

.tier-compact.tier-6 {
    border-color: rgba(138, 43, 226, 0.6);
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(147, 112, 219, 0.1));
}

.tier-compact.tier-7 {
    border-color: rgba(220, 20, 60, 0.6);
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.1), rgba(178, 34, 34, 0.1));
}

.tier-inline {
    font-size: 0.8rem;
    font-weight: 600;
    color: #ff9500;
    text-align: center;
    white-space: nowrap;
}

.tier-inline span {
    font-weight: 700;
    color: #fff;
}

/* Header */
.header {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 165, 0, 0.3);
    padding: 0.5rem 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    flex: 1;
}


.header-info {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.current-block,
.draw-block,
.round-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #ff9500;
    font-size: calc(0.9rem + 2px);
}

/* Site Brand - Clean Design */
.site-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.site-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    letter-spacing: 0.03em;
    color: #fff;
    margin: 0;
    line-height: 1;
    text-shadow: 
        0 0 10px rgba(255, 149, 0, 0.25),
        0 0 2px rgba(255, 149, 0, 0.55);
    transition: all 0.3s ease;
}

.site-title:hover {
    text-shadow: 
        0 0 15px rgba(255, 149, 0, 0.4),
        0 0 5px rgba(255, 149, 0, 0.7);
}

.logo {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(255, 149, 0, 0.3));
}

/* Responsive design for site brand */
@media (max-width: 768px) {
    .header {
        padding: 1rem 0;
    }
    
    .header .container {
        flex-direction: column;
        gap: 1.25rem;
        text-align: center;
        padding: 0 1rem;
    }
    
    .logo-container {
        flex: none;
    }
    
    .site-brand {
        justify-content: center;
        align-items: center;
        gap: 1rem;
    }
    
    .site-title {
        font-size: 1.7rem;
        letter-spacing: 0.02em;
        line-height: 1.1;
    }
    
    .logo {
        height: 50px;
    }
    
    .header-info {
        justify-content: space-between;
        gap: 0.8rem;
        flex-wrap: nowrap;
        max-width: 100%;
    }
    
    .current-block,
    .draw-block,
    .round-info {
        font-size: 0.8rem;
        flex: 1 1 0;
        min-width: 0;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .current-block {
        order: 1;
        justify-content: flex-start;
    }
    
    .round-info {
        order: 2;
        justify-content: center;
    }
    
    .draw-block {
        order: 3;
        justify-content: flex-end;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 0.8rem 0;
    }
    
    .header .container {
        gap: 0.8rem;
        padding: 0 0.75rem;
    }
    
    .site-title {
        font-size: 1.5rem;
        letter-spacing: 0.01em;
    }
    
    .logo {
        height: 52px;
    }
    
    .site-brand {
        gap: 0.8rem;
    }
    
    .header-info {
        gap: 1rem;
        font-size: 0.75rem;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        max-width: 100%;
        padding: 0 0.25rem;
    }
    
    .current-block,
    .draw-block,
    .round-info {
        flex: 1 1 0;
        font-size: 0.75rem;
        min-width: 0;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .current-block {
        order: 1;
        justify-content: flex-start;
    }
    
    .round-info {
        order: 2;
        justify-content: center;
    }
    
    .draw-block {
        order: 3;
        justify-content: flex-end;
    }
    
    .current-block span,
    .draw-block span,
    .round-info span {
        font-size: 0.7rem;
    }
}

/* Round Progress Section */
.round-progress-section {
    background: rgba(0, 0, 0, 0.8);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 133, 27, 0.3);
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.progress-header h3 {
    color: #ff9500;
    margin: 0;
    font-size: 1rem;
}

.progress-info {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.progress-info span {
    color: #fff;
    font-weight: 500;
}

#progress-status {
    color: #ff9500;
    font-weight: 600;
}

.progress-bar-container {
    position: relative;
    margin-bottom: 1rem;
}

.progress-bar-wrapper {
    position: relative;
}

.progress-scale {
    position: relative;
    height: 20px;
    margin-bottom: 5px;
}

.scale-markers {
    position: relative;
    height: 100%;
}

.scale-marker {
    position: absolute;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
    transform: translateX(-50%);
    top: 0;
    white-space: nowrap;
    min-width: fit-content;
    padding: 0 2px;
}

.scale-marker.critical {
    color: #27ae60;
    font-weight: 600;
}

.scale-marker.danger {
    color: #e74c3c;
    font-weight: 600;
}

.scale-marker.winner {
    color: #f1c40f;
    font-weight: 600;
}

.progress-track {
    position: relative;
    width: 100%;
    height: 14px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 7px;
    border: 1px solid rgba(255, 133, 27, 0.3);
}

.progress-segments {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 1;
    border-radius: 7px;
    overflow: hidden;
}

.progress-segment {
    flex: 1 1 1%;
    height: 100%;
    transition: all 0.3s ease;
}

.progress-segment.active.betting-phase {
    background: rgba(39, 174, 96, 0.7);
}

.progress-segment.active.closed-phase {
    background: rgba(231, 76, 60, 0.7);
}

.progress-segment.active.draw-phase {
    background: rgba(241, 196, 15, 0.7);
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: transparent;
    border-radius: 7px;
    transition: width 0.5s ease;
    width: 0%;
    z-index: 2;
}

.current-position-indicator {
    position: absolute;
    top: -3px;
    width: 3px;
    height: 20px;
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
    transition: left 0.5s ease;
    z-index: 4;
    transform: translateX(-50%);
}

.current-block-label {
    position: absolute;
    top: -35px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    transition: left 0.5s ease;
    z-index: 5;
    transform: translateX(-50%);
    border: 1px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.progress-legend-simple {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 8px;
    font-size: 0.75rem;
}

.legend-open {
    color: #27ae60;
}

.legend-closed {
    color: #e74c3c;
}

.legend-draw {
    color: #f1c40f;
}

.progress-legend {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 2px;
}

.legend-color.green {
    background: #27ae60;
}

.legend-color.red {
    background: #e74c3c;
}

.legend-color.yellow {
    background: #f1c40f;
}

.legend-item span {
    color: #fff;
    font-size: 0.9rem;
}

.current-block i,
.round-info i {
    font-size: 1.2rem;
}

/* Main Container */
.main-container {
    padding: 1rem 0;
    min-height: calc(100vh - 100px);
}

/* Jackpot Section */
.jackpot-section {
    text-align: center;
    margin-bottom: 1.2rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 165, 0, 0.3);
    border-radius: 12px;
    padding: 1rem;
}

.jackpot-compact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.jackpot-title {
    font-size: 1.2rem;
    color: #ff9500;
    font-weight: 600;
    text-shadow: 0 0 20px rgba(255, 149, 0, 0.5);
}

.jackpot-amount-inline {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

.jackpot-amount-inline i {
    color: #ff9500;
    font-size: 1.6rem;
    text-shadow: 0 0 20px rgba(255, 149, 0, 0.8);
}

/* Bet Cost Indicator */
.bet-cost-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: none;
    border-radius: 0;
    font-size: 0.9rem;
    color: #2ecc71;
    background: linear-gradient(90deg, #2ecc71, #a8e6cf, #fff, #a8e6cf, #2ecc71);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.bet-cost-indicator i {
    color: #2ecc71;
    font-size: 1rem;
    -webkit-text-fill-color: #2ecc71;
}

/* Prize Tiers */
.prize-tiers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0.5rem;
    margin-top: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.prize-tier {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 165, 0, 0.1);
    border: 1px solid rgba(255, 165, 0, 0.3);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
}

.tier-label {
    font-weight: 600;
    color: #ff9500;
}

.tier-amount {
    font-weight: 700;
    color: #fff;
}

/* Media queries for compact prize tiers */
@media (max-width: 768px) {
    .tier-row,
    .tier-row-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.3rem;
        max-width: 100%;
    }
    
    .tier-compact {
        padding: 0.3rem 0.2rem;
        min-height: 30px;
    }
    
    .tier-inline {
        font-size: 0.75rem;
    }
    
    /* Mobile Progress Legend - More Compact */
    .progress-legend {
        gap: 1rem;
        margin-top: 0.5rem;
    }
    
    .legend-item {
        gap: 0.3rem;
    }
    
    .legend-color {
        width: 12px;
        height: 12px;
        border-radius: 1px;
    }
    
    .legend-item span {
        font-size: 0.7rem;
        line-height: 1.2;
    }
}

@media (max-width: 480px) {
    .tier-row,
    .tier-row-top {
        grid-template-columns: repeat(1, 1fr);
        gap: 0.25rem;
        max-width: 100%;
    }
    
    .tier-compact {
        padding: 0.3rem 0.2rem;
        min-height: 28px;
    }
    
    .tier-inline {
        font-size: 0.7rem;
    }
    
    /* Extra Compact Progress Legend for Very Small Screens */
    .progress-legend {
        gap: 0.75rem;
    }
    
    .legend-item {
        gap: 0.25rem;
    }
    
    .legend-color {
        width: 10px;
        height: 10px;
    }
    
    .legend-item span {
        font-size: 0.65rem;
    }
}

/* Compact Jackpot Overview */
.jackpot-overview.compact {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 165, 0, 0.3);
    border-radius: 8px;
    padding: 0.75rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.jackpot-info {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.jackpot-amount {
    color: #ff9500;
    font-size: 1.5rem;
    font-weight: bold;
}

.jackpot-label {
    color: #ccc;
    font-size: 0.9rem;
}

.round-info {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.round-item {
    color: #ccc;
    font-size: 0.8rem;
    padding: 0.2rem 0.5rem;
    background: rgba(255, 165, 0, 0.1);
    border-radius: 4px;
    border: 1px solid rgba(255, 165, 0, 0.2);
}

@media (max-width: 768px) {
    .jackpot-overview.compact {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .round-info {
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    
    .round-item {
        font-size: 0.75rem;
    }
}

/* Compact Tables */
.transaction-table {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 165, 0, 0.2);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.transaction-table table {
    font-size: 0.8rem;
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.transaction-table th,
.transaction-table td {
    padding: 0.15rem 0.3rem;
    border-bottom: 1px solid rgba(255, 165, 0, 0.1);
    text-align: left;
    line-height: 1.1;
    word-wrap: break-word;
}

/* Mobile-first column widths */
.transaction-table th:first-child,
.transaction-table td:first-child {
    width: 15%;
}

.transaction-table th:nth-child(2),
.transaction-table td:nth-child(2) {
    width: 60%;
}

.transaction-table th:last-child,
.transaction-table td:last-child {
    width: 25%;
    text-align: right;
}

.transaction-table th {
    background: rgba(255, 165, 0, 0.15);
    font-size: 0.7rem;
    font-weight: 600;
    color: #ff9500;
    padding: 0.2rem 0.3rem;
}

.transaction-table tbody tr {
    background: rgba(0, 0, 0, 0.6);
    transition: all 0.2s ease;
}

.transaction-table tbody tr:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 165, 0, 0.4);
}

/* 2-line structure for player info */
.block-info {
    color: #ff9500;
    font-weight: bold;
    font-size: 0.75rem;
    vertical-align: top;
}

.player-info {
    vertical-align: top;
}

.player-info .lightning-address {
    color: #ff9500;
    font-family: monospace;
    font-size: 0.7rem;
    line-height: 1.2;
    display: block;
    margin-bottom: 0.1rem;
}

.player-info .bet-details,
.player-info .payout-type {
    color: #888;
    font-size: 0.65rem;
    line-height: 1.1;
}

.transaction-table .amount-in {
    color: #4ade80;
    font-weight: 600;
    font-size: 0.75rem;
}

.transaction-table .amount-out {
    color: #ef4444;
    font-weight: 600;
    font-size: 0.75rem;
}

.transaction-table .admin-fee {
    color: #ff9500;
    font-weight: 600;
    font-size: 0.75rem;
}

@media (max-width: 768px) {
    .transaction-table th,
    .transaction-table td {
        padding: 0.1rem 0.2rem;
        font-size: 0.7rem;
    }
    
    .transaction-table th {
        font-size: 0.65rem;
    }
    
    .player-info .lightning-address {
        font-size: 0.65rem;
    }
    
    .player-info .bet-details,
    .player-info .payout-type {
        font-size: 0.6rem;
    }
    
    .block-info {
        font-size: 0.7rem;
    }
    
    .transaction-table .amount-in,
    .transaction-table .amount-out,
    .transaction-table .admin-fee {
        font-size: 0.7rem;
    }
}

/* Collapsible Round Sections */
.round-collapsible {
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 165, 0, 0.2);
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

.round-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(255, 165, 0, 0.1);
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 165, 0, 0.1);
}

.round-summary:hover {
    background: rgba(255, 165, 0, 0.15);
}

.round-title {
    display: flex;
    align-items: center;
    color: #ff9500;
    font-weight: 600;
    font-size: 0.9rem;
}

.collapse-icon {
    margin-right: 0.5rem;
    transition: transform 0.2s ease;
    font-size: 0.8rem;
}

.collapse-icon.rotated {
    transform: rotate(90deg);
}

.round-stats {
    color: #888;
    font-size: 0.8rem;
}

.round-details {
    border-top: 1px solid rgba(255, 165, 0, 0.1);
}

.round-details .transaction-table {
    margin-bottom: 0;
    border: none;
    border-radius: 0;
}

.round-details .transaction-table table {
    margin-bottom: 0;
}

/* Adjust table widths for collapsible (no Round column needed) */
.round-details .transaction-table th:first-child,
.round-details .transaction-table td:first-child {
    width: 70%;
}

.round-details .transaction-table th:last-child,
.round-details .transaction-table td:last-child {
    width: 30%;
}

@media (max-width: 768px) {
    .round-summary {
        padding: 0.5rem 0.75rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .round-title {
        font-size: 0.85rem;
    }
    
    .round-stats {
        font-size: 0.75rem;
        align-self: flex-end;
    }
    
    .collapse-icon {
        font-size: 0.7rem;
    }
}

/* Live Bets Compact Layout */
.bets-grid.compact {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.bet-card.compact {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 165, 0, 0.2);
    border-radius: 6px;
    padding: 0.4rem 0.6rem;
    transition: all 0.2s ease;
}

.bet-card.compact:hover {
    border-color: rgba(255, 165, 0, 0.4);
    background: rgba(0, 0, 0, 0.8);
}

.bet-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
    flex-wrap: wrap;
}

.bet-numbers {
    background: #ff9500;
    color: #000;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.75rem;
    min-width: fit-content;
}

.bet-player {
    color: #ff9500;
    font-family: monospace;
    font-size: 0.75rem;
    flex: 1;
    min-width: 120px;
}

.bet-amount {
    color: #4ade80;
    font-weight: 600;
    font-size: 0.75rem;
    min-width: fit-content;
}

.bet-time {
    color: #888;
    font-size: 0.7rem;
    min-width: fit-content;
}

@media (max-width: 768px) {
    .bet-info {
        gap: 0.5rem;
        font-size: 0.75rem;
    }
    
    .bet-player {
        min-width: 100px;
        font-size: 0.7rem;
    }
    
    .bet-numbers,
    .bet-amount {
        font-size: 0.7rem;
    }
    
    .bet-time {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .bet-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
    }
    
    .bet-card.compact {
        padding: 0.3rem 0.5rem;
    }
}

/* Game Interface */
.game-interface {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 165, 0, 0.3);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1rem;
}

/* Tab Navigation */
.tab-navigation {
    display: flex;
    background: rgba(255, 165, 0, 0.1);
    border-bottom: 1px solid rgba(255, 165, 0, 0.3);
}

.tab-button {
    flex: 1;
    background: none;
    border: none;
    padding: 0.6rem 0.8rem;
    color: #ccc;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    transition: all 0.3s ease;
    border-right: 1px solid rgba(255, 165, 0, 0.2);
}

.tab-button:last-child {
    border-right: none;
}

.tab-button.active {
    background: #ff9500;
    color: #000;
    font-weight: 600;
}

.tab-button:hover:not(.active) {
    background: rgba(255, 165, 0, 0.2);
    color: #ff9500;
}

/* Tab Content */
.tab-content {
    padding: 0.8rem;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* Lightning Address Section */
.lightning-address-section {
    margin-bottom: 0.8rem;
}

.lightning-address-section label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 600;
    color: #ff9500;
    font-size: 0.9rem;
}

.address-input-group {
    display: flex;
    gap: 0.75rem;
}

.address-input-group input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 165, 0, 0.3);
    border-radius: 8px;
    padding: 0.6rem;
    color: #fff;
    font-size: 0.85rem;
}

.address-input-group input:focus {
    outline: none;
    border-color: #ff9500;
    box-shadow: 0 0 10px rgba(255, 149, 0, 0.3);
}

.address-input-group button {
    background: #ff9500;
    border: none;
    border-radius: 8px;
    padding: 0.6rem 1rem;
    color: #000;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.address-input-group button:hover {
    background: #ffb84d;
    transform: translateY(-2px);
}

.locked-address {
    margin-top: 0.6rem;
    padding: 0.5rem;
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: #4ade80;
    font-size: 0.8rem;
}

.locked-address i {
    color: #4ade80;
}

/* Betting Methods */
.betting-methods {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 0.6rem;
}

.method-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 165, 0, 0.3);
    border-radius: 6px;
    padding: 0.4rem;
    color: #ccc;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    transition: all 0.3s ease;
    font-size: 0.75rem;
}

.method-btn.active {
    background: #ff9500;
    color: #000;
    border-color: #ff9500;
}

.method-btn:hover:not(.active) {
    background: rgba(255, 165, 0, 0.2);
    color: #ff9500;
}

.method-btn i {
    font-size: 0.9rem;
}

/* Input Sections */
.input-section {
    display: none;
    margin-bottom: 0.6rem;
}

.input-section.active {
    display: block;
}

.input-section label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 600;
    color: #ff9500;
    font-size: 0.9rem;
}

.number-input-group {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.number-input-group input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 165, 0, 0.3);
    border-radius: 8px;
    padding: 0.6rem;
    color: #fff;
    font-size: 0.85rem;
    width: 100px;
}

.range-inputs {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.range-field {
    flex: 1;
}

.range-field label {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.range-field input {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 165, 0, 0.3);
    border-radius: 8px;
    padding: 0.6rem;
    color: #fff;
    font-size: 0.85rem;
}

.range-separator {
    color: #ff9500;
    font-weight: 600;
    margin-top: 1rem;
    font-size: 0.9rem;
}

#multiple-numbers {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 165, 0, 0.3);
    border-radius: 8px;
    padding: 0.6rem;
    color: #fff;
    font-size: 0.85rem;
    resize: vertical;
    margin-bottom: 0.8rem;
    min-height: 80px;
}

.generate-btn {
    background: #ff9500;
    border: none;
    border-radius: 8px;
    padding: 0.6rem 1.2rem;
    color: #000;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.generate-btn:hover {
    background: #ffb84d;
    transform: translateY(-2px);
}

.help-text {
    color: #999;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Selected Numbers */
.selected-numbers {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 165, 0, 0.2);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.2rem;
}

.numbers-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.numbers-header span {
    color: #4ade80;
    font-weight: 600;
}

.clear-btn {
    background: #ef4444;
    border: none;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.clear-btn:hover {
    background: #dc2626;
}

.numbers-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.number-chip {
    background: rgba(255, 165, 0, 0.2);
    border: 1px solid rgba(255, 165, 0, 0.5);
    border-radius: 8px;
    padding: 0.15rem 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    color: #ff9500;
    font-weight: 600;
    font-size: 0.75rem;
    line-height: 1;
    min-height: 1.8rem;
}

.number-chip .remove-number {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 0.8rem;
    padding: 0;
    line-height: 1;
    width: 1rem;
    height: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.number-chip .remove-number:hover {
    color: #dc2626;
}

/* Place Bet Button */
.place-bet-btn {
    width: 100%;
    background: #22c55e;
    border: none;
    border-radius: 8px;
    padding: 0.75rem;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    transition: all 0.3s ease;
}

.place-bet-btn:hover:not(:disabled) {
    background: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.3);
}

.place-bet-btn:disabled {
    background: #666;
    cursor: not-allowed;
    transform: none;
}

/* Progress Bar for Generate Buttons */
.generate-btn {
    position: relative;
    overflow: hidden;
}

.generate-btn.generating {
    cursor: wait;
    pointer-events: none;
}

.generate-btn .progress-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 149, 0, 0.3), rgba(255, 149, 0, 0.5));
    transition: width 0.3s ease;
    z-index: 0;
}

.generate-btn .button-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Bet Warning Message */
.bet-warning {
    margin-top: 0.75rem;
    padding: 0.6rem 0.8rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #fca5a5;
    animation: fadeIn 0.3s ease-in-out;
}

.bet-warning i {
    color: #ef4444;
    flex-shrink: 0;
}

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

/* Button Loading State */
.method-btn.loading,
.place-bet-btn.loading,
button.loading {
    background: #666 !important;
    cursor: wait !important;
    opacity: 0.8;
    transform: none !important;
    pointer-events: none;
}

.method-btn.loading i.fa-spinner,
.place-bet-btn.loading i.fa-spinner,
button.loading i.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* FAQ Section */
.faq-section {
    space-y: 1rem;
}

.faq-item {
    border: 1px solid rgba(255, 165, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.faq-question {
    width: 100%;
    background: rgba(255, 165, 0, 0.1);
    border: none;
    padding: 1rem;
    color: #fff;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 165, 0, 0.2);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 165, 0, 0.2);
    font-size: 0.9rem;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Terms Content */
.terms-content {
    color: #ccc;
    line-height: 1.4;
}

.terms-content h3 {
    color: #ff9500;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    text-align: center;
}

.terms-content h4 {
    color: #ff9500;
    margin: 1rem 0 0.3rem 0;
    font-size: 0.9rem;
}

.terms-content p {
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    line-height: 1.3;
    text-align: justify;
}

.terms-content ul {
    margin: 0.3rem 0;
    padding-left: 1.2rem;
}

.terms-content li {
    margin-bottom: 0.15rem;
    font-size: 0.75rem;
}

.terms-content strong {
    color: #ff9500;
    font-size: 0.8rem;
}

.terms-text {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 1rem;
}

.terms-text::-webkit-scrollbar {
    width: 6px;
}

.terms-text::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.terms-text::-webkit-scrollbar-thumb {
    background: #ff9500;
    border-radius: 3px;
}

/* Terms Agreement */
.terms-agreement {
    text-align: center;
    padding: 0.5rem 1rem;
    background: rgba(255, 165, 0, 0.1);
    border-top: 1px solid rgba(255, 165, 0, 0.3);
    color: #ff9500;
    font-weight: 500;
    font-size: 0.8rem;
}

/* Info Panels */
.info-panels {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.info-panel {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 165, 0, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    overflow: hidden;
    min-height: 0;
}

.info-panel h3 {
    color: #ff9500;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.data-sources,
.recent-draws {
    space-y: 0.5rem;
}

.source-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
}

.source-name {
    font-weight: 600;
    color: #fff;
}

.source-height {
    color: #ff9500;
    font-family: 'Courier New', monospace;
    font-weight: 700;
    text-align: right;
    min-width: 80px;
}

.source-status.online {
    color: #4ade80;
}

.draw-winners {
    color: #999;
    font-size: 0.9rem;
}

/* Enhanced draw history styles */
.recent-draws {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.draw-item {
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 165, 0, 0.2);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.draw-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.draw-round {
    color: #ff9500;
    font-weight: 600;
    font-size: 0.9rem;
}

.draw-block {
    color: #a3a3a3;
    font-size: 0.8rem;
}

.draw-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: center;
    margin-bottom: 0.5rem;
}

.draw-number {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    color: #fff;
    background: rgba(255, 149, 0, 0.5);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 1rem;
    white-space: nowrap;
    border: 1px solid rgba(255, 149, 0, 0.8);
    box-shadow: 0 0 10px rgba(255, 149, 0, 0.6), 
                0 0 20px rgba(255, 149, 0, 0.3),
                inset 0 0 10px rgba(255, 149, 0, 0.2);
}

.draw-results {
    color: #27ae60;
    font-size: 0.8rem;
    font-weight: 500;
    text-align: right;
}

.draw-details {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 165, 0, 0.1);
    font-size: 0.75rem;
}

.draw-details-top {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 0.4rem;
}

.jackpot-info {
    color: #ff9500;
    font-weight: 500;
}

.draw-hash {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    background: rgba(0, 0, 0, 0.8);
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    white-space: nowrap;
    overflow-x: auto;
    display: block;
    text-align: left;
    letter-spacing: 0;
    line-height: 1.3;
    margin-top: 0.1rem;
}

.hash-letter {
    color: #ff4444;
}

.hash-number {
    color: #888;
}

.hash-winner {
    color: #27ae60;
    font-weight: bold;
}

/* FAQ Hash Example Styling */
.hash-example {
    background: rgba(0, 0, 0, 0.6);
    padding: 0.75rem;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    margin: 0.5rem 0;
    border: 1px solid rgba(255, 165, 0, 0.3);
    word-break: break-all;
    overflow-x: auto;
    white-space: nowrap;
}

.winning-number {
    background: rgba(39, 174, 96, 0.2);
    color: #27ae60;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: bold;
    font-family: 'Courier New', monospace;
}

/* Mobile scrolling for hash example */
@media (max-width: 768px) {
    .hash-example {
        font-size: 0.75rem;
        padding: 0.5rem;
        /* Enable horizontal scrolling on mobile */
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: rgba(255, 165, 0, 0.5) transparent;
    }
    
    .hash-example::-webkit-scrollbar {
        height: 4px;
    }
    
    .hash-example::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.3);
        border-radius: 2px;
    }
    
    .hash-example::-webkit-scrollbar-thumb {
        background: rgba(255, 165, 0, 0.5);
        border-radius: 2px;
    }
    
    .hash-example::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 165, 0, 0.7);
    }
}

.no-draws {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.no-draws i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    opacity: 0.5;
}

.no-draws p {
    margin: 0;
    font-size: 0.9rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    overflow-y: auto;
    padding: 10px 0;
}

.modal-content {
    background: rgba(0, 0, 0, 0.9);
    margin: 2% auto;
    padding: 0;
    border: 1px solid rgba(255, 165, 0, 0.5);
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 95vh;
    overflow-y: auto;
    position: relative;
}

.modal-header {
    background: rgba(255, 165, 0, 0.1);
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 165, 0, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: #ff9500;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: #ccc;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.modal-close:hover {
    color: #ff9500;
}

.modal-body {
    padding: 2rem;
}

.payment-info {
    text-align: center;
    margin-bottom: 1.5rem;
}

.payment-info p {
    margin-bottom: 0.5rem;
    color: #ccc;
}

.payment-info span {
    color: #ff9500;
    font-weight: 600;
}

.qr-code {
    text-align: center;
    margin: 1.5rem 0;
}

#qr-canvas {
    border: 1px solid rgba(255, 165, 0, 0.3);
    border-radius: 10px;
    max-width: 100%;
    height: auto;
    background: #ffffff;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.payment-request {
    margin-bottom: 1.5rem;
}

.payment-request label {
    display: block;
    margin-bottom: 0.5rem;
    color: #ff9500;
    font-weight: 600;
}

#payment-request-text {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 165, 0, 0.3);
    border-radius: 10px;
    padding: 1rem;
    color: #fff;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    resize: none;
    height: 100px;
    margin-bottom: 1rem;
}

.copy-btn {
    background: #ff9500;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    color: #000;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: #ffb84d;
}

.payment-status {
    text-align: center;
}

.status-pending {
    color: #ff9500;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem;
}

.status-success {
    color: #4ade80;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
    
    .quick-start-guide {
        padding: 1rem;
        margin-bottom: 1.25rem;
    }
    
    .quick-start-guide h2 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .guide-steps {
        gap: 0.6rem;
    }
    
    .guide-step {
        padding: 0.6rem;
        gap: 0.6rem;
    }
    
    .step-number {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 1rem;
    }
    
    .step-content h3 {
        font-size: 0.9rem;
    }
    
    .step-content p {
        font-size: 0.85rem;
    }
    
    .example-match {
        padding: 0.4rem;
        font-size: 0.75rem;
    }
    
    .header {
        padding: 0.4rem 0;
    }
    
    .header-info {
        gap: 0.8rem;
    }
    
    .current-block,
    .draw-block,
    .round-info {
        font-size: 0.75rem;
    }
    
    .logo {
        height: 30px;
    }
    
    .tab-button {
        padding: 0.5rem 0.4rem;
        font-size: 0.8rem;
        gap: 0.2rem;
    }
    
    .tab-content {
        padding: 0.6rem;
    }
    
    .lightning-address-section {
        margin-bottom: 0.6rem;
    }
    
    .betting-methods {
        gap: 0.15rem;
        margin-bottom: 0.5rem;
        flex-direction: row;
    }
    
    .method-btn {
        font-size: 0.7rem;
        padding: 0.35rem;
    }
    
    .method-btn i {
        font-size: 0.8rem;
    }
    
    .address-input-group {
        flex-direction: column;
        gap: 0.4rem;
    }
    
    .address-input-group button {
        width: 100%;
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    
    .address-input-group input {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    
    .locked-address {
        margin-top: 0.4rem;
        padding: 0.4rem;
        font-size: 0.75rem;
        gap: 0.25rem;
    }
    
    .range-inputs {
        flex-direction: row;
        gap: 0.4rem;
        align-items: flex-end;
    }
    
    .range-field input {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    
    .range-separator {
        margin-top: 0.5rem;
        font-size: 0.8rem;
    }
    
    .number-input-group input {
        padding: 0.5rem;
        font-size: 0.8rem;
        width: 80px;
    }
    
    .generate-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    #multiple-numbers {
        padding: 0.5rem;
        font-size: 0.8rem;
        min-height: 70px;
    }
    
    .selected-numbers {
        padding: 0.8rem;
        margin-bottom: 1rem;
        border-radius: 10px;
    }
    
    .numbers-header {
        margin-bottom: 0.8rem;
    }
    
    .place-bet-btn {
        padding: 0.6rem;
        font-size: 0.85rem;
    }
    
    .input-section {
        margin-bottom: 0.5rem;
    }

    /* Modal adjustments for mobile */
    .modal {
        padding: 5px;
    }
    
    .modal-content {
        margin: 1% auto;
        width: 95%;
        max-height: 98vh;
        border-radius: 15px;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .modal-header h3 {
        font-size: 1.1rem;
    }
    
    #payment-request-text {
        height: 80px;
        font-size: 0.8rem;
        padding: 0.8rem;
    }
    
    .qr-code {
        margin: 1rem 0;
    }
    
    #qr-canvas {
        max-width: 200px;
        padding: 5px;
    }
    
    .copy-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .payment-status {
        margin-top: 1rem;
    }
    
    .help-text {
        font-size: 0.8rem;
    }
    
    .jackpot-section {
        padding: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .jackpot-compact {
        gap: 0.6rem;
        margin-bottom: 0.8rem;
    }
    
    .jackpot-title {
        font-size: 1rem;
    }
    
    .jackpot-amount-inline {
        font-size: 1.4rem;
        gap: 0.2rem;
    }
    
    .jackpot-amount-inline i {
        font-size: 1.3rem;
    }
    
    /* Bet Cost Indicator - Mobile */
    .bet-cost-indicator {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .bet-cost-indicator i {
        font-size: 0.9rem;
    }
    
    .prize-tiers {
        grid-template-columns: 1fr;
    }
    
    .info-panels {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
}

@media (max-width: 480px) {
    .main-container {
        padding: 1rem 0;
    }
    
    .jackpot-section,
    .game-interface {
        margin-bottom: 1.5rem;
    }
    
    .tab-content {
        padding: 1.5rem;
    }
    
    .jackpot-amount {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Animation classes */
.fade-in {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Input focus effects */
input:focus,
textarea:focus {
    outline: none;
    border-color: #ff9500;
    box-shadow: 0 0 15px rgba(255, 149, 0, 0.3);
}

/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #ffb84d;
}

/* FAQ Visual Examples */
.visual-examples {
    margin: 1rem 0;
}

.visual-example {
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    border-left: 3px solid #ff9500;
}

.example-header {
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #ff9500;
    font-size: 0.9rem;
}

.example-number {
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 2px;
}

.match-digit {
    background: #2ecc71;
    color: white;
    padding: 0.2rem 0.3rem;
    margin: 0 1px;
    border-radius: 3px;
}

.no-match-digit {
    background: #e74c3c;
    color: white;
    padding: 0.2rem 0.3rem;
    margin: 0 1px;
    border-radius: 3px;
}
.status-expired {
    color: #f44336;
    padding: 1rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.5rem;
    background: rgba(244, 67, 54, 0.1);
    border-radius: 10px;
    margin-top: 1rem;
}

.payment-timer {
    font-size: 0.9rem;
    color: #ff9500;
    margin-top: 0;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.payment-timer.warning {
    color: #ff6b35;
    animation: pulse 1s infinite;
}

.payment-timer.critical {
    color: #f44336;
    animation: pulse 0.5s infinite;
}

.expired-message {
    font-size: 0.9rem;
    color: #ccc;
    margin-top: 0.5rem;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Floating Back to Bet Button */
.back-to-bet-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 149, 0, 0.9);
    border: 2px solid rgba(255, 149, 0, 0.3);
    color: white;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 149, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-bet-btn:hover {
    background: rgba(255, 149, 0, 1);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 149, 0, 0.5);
}

.back-to-bet-btn:active {
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .back-to-bet-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}
