/* Enhanced Styles for XE77 Casino - FULL RESPONSIVE */

/* ===== BASE STYLES ===== */
.promo-banner {
    background: #045F67;
    color: #fff;
    padding: 10px 0;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    position: relative;
    animation: glow 2s ease-in-out infinite alternate;
    z-index: 1001;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-strip .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
}

.promo-banner .close-btn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    background: none;
    border: none;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.promo-banner .close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-50%) scale(1.1);
}

@keyframes glow {
    from { box-shadow: 0 0 5px #4a90e2; }
    to { box-shadow: 0 0 15px #4a90e2, 0 0 25px #4a90e2; }
}

.header-enhanced {
    background: rgba(26, 26, 46, 0.98);
    backdrop-filter: blur(15px);
    border-bottom: 2px solid #4a90e2;
}

/* ===== PAYMENT STRIP ===== */
.payment-strip {
    background: #045F67;
    padding: 8px 0;
    border-bottom: 1px solid rgba(74, 144, 226, 0.3);
}

/* ===== GEO INFO SECTION - BASE ===== */
.geo-info {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 12px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(74, 144, 226, 0.3);
    min-height: 36px;
    flex-wrap: nowrap;
    width: max-content;
}

.country-selector {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 8px;
    min-width: 60px;
    flex-shrink: 0;
}

.country-selector:hover {
    transform: scale(1.05);
    background: rgba(74, 144, 226, 0.1);
}

.flag-icon {
    width: 24px;
    height: 16px;
    border-radius: 3px;
    object-fit: cover;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    flex-shrink: 0;
}

.currency {
    font-weight: bold;
    color: #fff;
    font-size: 16px;
    min-width: 20px;
    flex-shrink: 0;
}

.live-players {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(74, 144, 226, 0.1);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    color: #fff;
    border: 1px solid rgba(74, 144, 226, 0.3);
    white-space: nowrap;
    min-width: 80px;
    flex-shrink: 0;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #4a90e2;
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
    flex-shrink: 0;
}

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

.urgency-timer {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 193, 7, 0.1);
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 11px;
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
    white-space: nowrap;
    min-width: 100px;
    flex-shrink: 0;
}

.countdown {
    font-weight: bold;
    color: #ffc107;
    display: flex;
    align-items: center;
    font-family: 'Courier New', monospace;
}

.countdown span {
    display: flex;
    align-items: center;
}

.bonus-banner {
    background: var(--gold-gradient);
    padding: 6px 12px;
    border-radius: 15px;
    color: var(--dark);
    font-weight: bold;
    font-size: 13px;
    animation: bounce 2s infinite;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 120px;
    text-align: center;
    flex-shrink: 0;
}

.bonus-banner span {
    color: var(--dark);
}

.bonus-banner:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.5);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-3px); }
    60% { transform: translateY(-2px); }
}

.bonus-amount {
    font-size: 16px;
    color: #fff;
}

.support-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #fff;
    background: rgba(76, 175, 80, 0.1);
    padding: 4px 8px;
    border-radius: 10px;
    border: 1px solid rgba(76, 175, 80, 0.3);
    white-space: nowrap;
    min-width: 80px;
    flex-shrink: 0;
}

.support-info i {
    color: #4caf50;
    animation: pulse 2s infinite;
}

.payment-methods-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 12px;
    flex-wrap: wrap;
}

.payment-method-inline {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 8px;
    color: #fff;
    font-weight: bold;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    min-width: 60px;
    text-align: center;
    flex-shrink: 0;
}

.payment-method-inline:hover {
    background: rgba(74, 144, 226, 0.2);
    transform: scale(1.05);
    border-color: rgba(74, 144, 226, 0.5);
}

/* ===== FLOATING ELEMENTS ===== */
.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background: #25D366;
    color: white;
    padding: 12px 16px;
    border-radius: 25px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    animation: float 3s ease-in-out infinite;
    transition: all 0.3s ease;
    font-weight: 500;
    border: 2px solid rgba(255, 255, 255, 0.2);
    min-width: 120px;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    color: white;
    text-decoration: none;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.floating-bonus {
    position: fixed;
    bottom: 85px;
    right: 20px;
    z-index: 999;
    background: var(--gold-gradient);
    color: var(--dark);
    padding: 10px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    animation: pulse 2s infinite;
    transition: all 0.3s ease;
    min-width: 140px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.floating-bonus:hover {
    transform: scale(1.1);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5);
}

.winner-notification {
    position: fixed;
    top: 100px;
    right: -320px;
    background: rgba(26, 26, 46, 0.95);
    color: rgba(255, 255, 255, 0.8);
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 4px solid #4a90e2;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 998;
    transition: right 0.5s ease;
    max-width: 300px;
    min-width: 250px;
    backdrop-filter: blur(10px);
}

.winner-notification.show {
    right: 20px;
}

.winner-notification .winner-text {
    font-size: 12px;
    font-weight: bold;
    line-height: 1.4;
}

.winner-notification .winner-amount {
    color: #ffc107;
    font-size: 14px;
    font-weight: bold;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* 4K и выше (2560px+) */
@media (min-width: 2560px) {
    .geo-info {
        gap: 25px;
        padding: 12px 18px;
        border-radius: 25px;
    }
    
    .country-selector {
        min-width: 80px;
        padding: 6px 12px;
    }
    
    .flag-icon {
        width: 28px;
        height: 19px;
    }
    
    .currency {
        font-size: 18px;
        min-width: 25px;
    }
    
    .live-players {
        min-width: 100px;
        font-size: 14px;
        padding: 6px 12px;
    }
    
    .urgency-timer {
        min-width: 130px;
        font-size: 13px;
        padding: 6px 12px;
    }
    
    .bonus-banner {
        min-width: 150px;
        font-size: 15px;
        padding: 8px 16px;
    }
    
    .bonus-amount {
        font-size: 18px;
    }
    
    .support-info {
        min-width: 100px;
        font-size: 14px;
        padding: 6px 12px;
    }
    
    .floating-whatsapp,
    .floating-bonus {
        right: 40px;
        padding: 16px 24px;
        font-size: 16px;
    }
}

/* Large Desktop (1920px-2559px) */
@media (min-width: 1920px) and (max-width: 2559px) {
    .geo-info {
        gap: 20px;
        padding: 10px 15px;
        border-radius: 22px;
    }
    
    .country-selector {
        min-width: 70px;
        padding: 5px 10px;
    }
    
    .flag-icon {
        width: 26px;
        height: 17px;
    }
    
    .currency {
        font-size: 17px;
        min-width: 23px;
    }
    
    .live-players {
        min-width: 90px;
        font-size: 13px;
        padding: 5px 10px;
    }
    
    .urgency-timer {
        min-width: 120px;
        font-size: 12px;
        padding: 5px 10px;
    }
    
    .bonus-banner {
        min-width: 140px;
        font-size: 14px;
        padding: 7px 14px;
    }
    
    .bonus-amount {
        font-size: 17px;
    }
    
    .support-info {
        min-width: 90px;
        font-size: 13px;
        padding: 5px 10px;
    }
    
    .floating-whatsapp,
    .floating-bonus {
        right: 30px;
        padding: 14px 20px;
        font-size: 15px;
    }
}

/* Standard Desktop (1600px-1919px) */
@media (min-width: 1600px) and (max-width: 1919px) {
    .geo-info {
        gap: 16px;
        padding: 9px 14px;
    }
    
    .country-selector {
        min-width: 65px;
    }
    
    .flag-icon {
        width: 25px;
        height: 17px;
    }
    
    .currency {
        font-size: 16px;
        min-width: 22px;
    }
    
    .live-players {
        min-width: 85px;
        font-size: 12px;
    }
    
    .urgency-timer {
        min-width: 115px;
        font-size: 11px;
    }
    
    .bonus-banner {
        min-width: 135px;
        font-size: 13px;
    }
    
    .bonus-amount {
        font-size: 16px;
    }
    
    .support-info {
        min-width: 85px;
        font-size: 12px;
    }
}

/* Medium Desktop (1366px-1599px) */
@media (min-width: 1366px) and (max-width: 1599px) {
    .geo-info {
        gap: 14px;
        padding: 8px 12px;
    }
    
    .country-selector {
        min-width: 60px;
    }
    
    .flag-icon {
        width: 24px;
        height: 16px;
    }
    
    .currency {
        font-size: 15px;
        min-width: 20px;
    }
    
    .live-players {
        min-width: 80px;
        font-size: 11px;
    }
    
    .urgency-timer {
        min-width: 110px;
        font-size: 10px;
    }
    
    .bonus-banner {
        min-width: 130px;
        font-size: 12px;
    }
    
    .bonus-amount {
        font-size: 15px;
    }
    
    .support-info {
        min-width: 80px;
        font-size: 11px;
    }
}

/* Small Desktop (1200px-1365px) */
@media (min-width: 1200px) and (max-width: 1365px) {
    .geo-info {
        gap: 12px;
        padding: 7px 11px;
    }
    
    .country-selector {
        min-width: 55px;
    }
    
    .flag-icon {
        width: 22px;
        height: 15px;
    }
    
    .currency {
        font-size: 14px;
        min-width: 18px;
    }
    
    .live-players {
        min-width: 75px;
        font-size: 10px;
    }
    
    .urgency-timer {
        min-width: 105px;
        font-size: 9px;
    }
    
    .bonus-banner {
        min-width: 125px;
        font-size: 11px;
    }
    
    .bonus-amount {
        font-size: 14px;
    }
    
    .support-info {
        min-width: 75px;
        font-size: 10px;
    }
}

/* Tablet Landscape (992px-1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .payment-strip .container {
        flex-direction: column;
        gap: 8px;
    }
    
    .geo-info {
        gap: 10px;
        padding: 6px 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .country-selector {
        min-width: 50px;
    }
    
    .flag-icon {
        width: 20px;
        height: 14px;
    }
    
    .currency {
        font-size: 13px;
        min-width: 16px;
    }
    
    .live-players {
        min-width: 70px;
        font-size: 9px;
    }
    
    .urgency-timer {
        min-width: 100px;
        font-size: 8px;
    }
    
    .bonus-banner {
        min-width: 120px;
        font-size: 10px;
    }
    
    .bonus-amount {
        font-size: 13px;
    }
    
    .support-info {
        min-width: 70px;
        font-size: 9px;
    }
    
    .floating-whatsapp,
    .floating-bonus {
        right: 15px;
        padding: 10px 14px;
        font-size: 13px;
    }
}

/* Tablet Portrait (768px-991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .payment-strip .container {
        flex-direction: column;
        gap: 10px;
    }
    
    .geo-info {
        gap: 8px;
        padding: 5px 8px;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        max-width: 600px;
    }
    
    .country-selector {
        min-width: 45px;
        padding: 3px 6px;
    }
    
    .flag-icon {
        width: 18px;
        height: 12px;
    }
    
    .currency {
        font-size: 12px;
        min-width: 14px;
    }
    
    .live-players {
        min-width: 65px;
        font-size: 8px;
        padding: 3px 6px;
    }
    
    .urgency-timer {
        min-width: 95px;
        font-size: 7px;
        padding: 3px 6px;
    }
    
    .bonus-banner {
        min-width: 115px;
        font-size: 9px;
        padding: 4px 8px;
    }
    
    .bonus-amount {
        font-size: 12px;
    }
    
    .support-info {
        min-width: 65px;
        font-size: 8px;
        padding: 3px 6px;
    }
    
    .payment-methods-inline {
        gap: 10px;
        font-size: 10px;
    }
    
    .payment-method-inline {
        padding: 3px 6px;
        min-width: 50px;
        font-size: 9px;
    }
    
    .floating-whatsapp {
        bottom: 15px;
        right: 10px;
        padding: 8px 12px;
        font-size: 12px;
        min-width: 100px;
    }
    
    .floating-bonus {
        bottom: 70px;
        right: 10px;
        padding: 8px 12px;
        font-size: 12px;
        min-width: 120px;
    }
}

/* Mobile Large (480px-767px) */
@media (min-width: 480px) and (max-width: 767px) {
    .payment-strip .container {
        flex-direction: column;
        gap: 8px;
    }
    
    .geo-info {
        gap: 6px;
        padding: 4px 6px;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        max-width: 450px;
    }
    
    .country-selector {
        min-width: 40px;
        padding: 2px 4px;
    }
    
    .flag-icon {
        width: 16px;
        height: 11px;
    }
    
    .currency {
        font-size: 11px;
        min-width: 12px;
    }
    
    .live-players {
        min-width: 60px;
        font-size: 7px;
        padding: 2px 4px;
    }
    
    .urgency-timer {
        min-width: 90px;
        font-size: 6px;
        padding: 2px 4px;
    }
    
    .bonus-banner {
        min-width: 110px;
        font-size: 8px;
        padding: 3px 6px;
    }
    
    .bonus-amount {
        font-size: 11px;
    }
    
    .support-info {
        min-width: 60px;
        font-size: 7px;
        padding: 2px 4px;
    }
    
    .payment-methods-inline {
        gap: 8px;
        font-size: 9px;
    }
    
    .payment-method-inline {
        padding: 2px 4px;
        min-width: 45px;
        font-size: 8px;
    }
    
    .floating-whatsapp {
        bottom: 10px;
        right: 5px;
        padding: 6px 10px;
        font-size: 11px;
        min-width: 90px;
    }
    
    .floating-bonus {
        bottom: 60px;
        right: 5px;
        padding: 6px 10px;
        font-size: 11px;
        min-width: 110px;
    }
}

/* Mobile Small (320px-479px) */
@media (min-width: 320px) and (max-width: 479px) {
    .payment-strip .container {
        flex-direction: column;
        gap: 6px;
    }
    
    .geo-info {
        gap: 4px;
        padding: 3px 4px;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        max-width: 320px;
    }
    
    .country-selector {
        min-width: 35px;
        padding: 1px 3px;
    }
    
    .flag-icon {
        width: 14px;
        height: 10px;
    }
    
    .currency {
        font-size: 10px;
        min-width: 10px;
    }
    
    .live-players {
        min-width: 55px;
        font-size: 6px;
        padding: 1px 3px;
    }
    
    .urgency-timer {
        min-width: 85px;
        font-size: 5px;
        padding: 1px 3px;
    }
    
    .bonus-banner {
        min-width: 105px;
        font-size: 7px;
        padding: 2px 4px;
    }
    
    .bonus-amount {
        font-size: 10px;
    }
    
    .support-info {
        min-width: 55px;
        font-size: 6px;
        padding: 1px 3px;
    }
    
    .payment-methods-inline {
        gap: 6px;
        font-size: 8px;
    }
    
    .payment-method-inline {
        padding: 1px 3px;
        min-width: 40px;
        font-size: 7px;
    }
    
    .floating-whatsapp {
        bottom: 8px;
        right: 3px;
        padding: 5px 8px;
        font-size: 10px;
        min-width: 80px;
    }
    
    .floating-bonus {
        bottom: 55px;
        right: 3px;
        padding: 5px 8px;
        font-size: 10px;
        min-width: 100px;
    }
}

/* Ultra Small Mobile (<320px) */
@media (max-width: 319px) {
    .payment-strip .container {
        flex-direction: column;
        gap: 4px;
    }
    
    .geo-info {
        flex-direction: column;
        gap: 2px;
        padding: 2px;
        align-items: stretch;
        width: 100%;
    }
    
    .geo-info > div {
        justify-content: center;
        min-width: auto;
        width: 100%;
    }
    
    .payment-methods-inline {
        gap: 2px;
        font-size: 7px;
    }
    
    .payment-method-inline {
        padding: 1px 2px;
        min-width: 35px;
        font-size: 6px;
    }
    
    .floating-whatsapp {
        bottom: 5px;
        right: 2px;
        padding: 4px 6px;
        font-size: 9px;
        min-width: 70px;
    }
    
    .floating-bonus {
        bottom: 50px;
        right: 2px;
        padding: 4px 6px;
        font-size: 9px;
        min-width: 90px;
    }
}

/* ===== ACCESSIBILITY AND OPTIMIZATION ===== */

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .promo-banner,
    .live-dot,
    .bonus-banner,
    .support-info i,
    .floating-whatsapp,
    .floating-bonus {
        animation: none !important;
    }
    
    .winner-notification {
        transition: none !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .geo-info,
    .live-players,
    .urgency-timer,
    .bonus-banner,
    .support-info,
    .payment-method-inline {
        border-width: 2px;
        border-color: #fff;
    }
}

/* Focus states for accessibility */
.country-selector:focus,
.bonus-banner:focus,
.floating-whatsapp:focus,
.floating-bonus:focus,
.promo-banner .close-btn:focus {
    outline: 2px solid #4a90e2;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .promo-banner,
    .geo-info,
    .payment-strip,
    .floating-whatsapp,
    .floating-bonus,
    .winner-notification {
        display: none !important;
    }
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */

/* Hardware acceleration for animations */
.floating-whatsapp,
.floating-bonus,
.bonus-banner,
.live-dot {
    will-change: transform;
    transform: translateZ(0);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* ===== CUSTOM PROPERTIES FOR THEMING ===== */
:root {
    --xe77-primary: #4a90e2;
    --xe77-secondary: #1a1a2e;
    --xe77-accent: #ff6b6b;
    --xe77-success: #4caf50;
    --xe77-warning: #ffc107;
    --xe77-text: #ffffff;
    --xe77-border: rgba(74, 144, 226, 0.3);
    --xe77-shadow: rgba(0, 0, 0, 0.3);
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.mt-3 {
    margin-top: 1rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.d-none {
    display: none !important;
}

.d-block {
    display: block !important;
}

.d-flex {
    display: flex !important;
}

.justify-center {
    justify-content: center !important;
}

.align-center {
    align-items: center !important;
}

/* ===== ANIMATION UTILITIES ===== */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

.slide-up {
    animation: slideUp 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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