:root {
    
    --bg: #0a0d14;
    --card: #111827;
    --soft: #1f2937;
    --text: #e5e7eb;
    --muted: #9ca3af;
    --brand: #22c55e;
    --brand-2: #16a34a;
    --accent: #f59e0b;
    --danger: #ef4444;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
body {
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, 'Apple Color Emoji', 'Segoe UI Emoji';
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(0, 59, 45, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #111827;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.brand {
    font-weight: 800;
    color: white;
    text-decoration: none;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}
.logo-container {
    display: flex;
    align-items: center;
    position: relative;
}
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0px;
    position: relative;
}
.floating-icon {
    font-size: 20px;
    margin-left: 0px;
    animation: blink 1s infinite;
    position: absolute;
    top: -5px;
    right: -15px;
}
@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.5; }
}
.logo-image {
    height: 50px;
    width: 100px;
    object-fit: contain;
}
.nav a {
    color: var(--text);
    text-decoration: none;
    margin-left: 16px;
}

.nav .status { margin-left: 16px; color: var(--muted); font-size: 12px; }
.btn-subscribe {
    background: var(--brand);
    color: #03110a !important;
    padding: 10px 14px;
    border-radius: 8px;
    font-weight: 700;
}

.hero {
    position: relative;
    background: linear-gradient(135deg, #0b1220 0%, #0a0d14 50%, #1a1f2e 100%);
    padding: 60px 0 40px;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><pattern id="wavy" width="400" height="200" patternUnits="userSpaceOnUse"><path d="M 0 100 Q 50 50 100 100 T 200 100 T 300 100 T 400 100" fill="none" stroke="rgba(255,255,255,0.04)" stroke-width="1"/><path d="M 0 150 Q 50 100 100 150 T 200 150 T 300 150 T 400 150" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/><path d="M 0 50 Q 50 0 100 50 T 200 50 T 300 50 T 400 50" fill="none" stroke="rgba(255,255,255,0.02)" stroke-width="1"/></defs><rect width="1200" height="800" fill="url(%23wavy)"/></svg>');
    opacity: 0.8;
}

/* Zoom Animation for Hero Background */
.zoom-animation {
    animation: hero-zoom 20s ease-in-out infinite;
    transform-origin: center center;
}

@keyframes hero-zoom {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.1);
    }
    50% {
        transform: scale(1.05);
    }
    75% {
        transform: scale(1.15);
    }
}



.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(34, 197, 94, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: var(--brand);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    animation: badge-pulse 3s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}


.badge-icon {
    font-size: 16px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 24px;
    background: linear-gradient(135deg, #ffffff 0%, #e5e7eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-highlight {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vip-crown {
    display: inline-block;
    font-size: 0.8em;
    margin-left: 8px;
    animation: crown-glow 2s ease-in-out infinite alternate;
}

@keyframes crown-glow {
    0% { filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5)); }
    100% { filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.8)); }
}

.hero-description {
    font-size: 16px;
    color: var(--muted);
    margin: 0 0 30px;
    line-height: 1.5;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero-main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-top: 30px;
}

.hero-left, .hero-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    min-width: 80px;
    animation: stat-float 4s ease-in-out infinite;
    animation-delay: calc(var(--animation-order) * 0.5s);
}

.stat-item:nth-child(1) { --animation-order: 0; }
.stat-item:nth-child(2) { --animation-order: 1; }
.stat-item:nth-child(3) { --animation-order: 2; }

@keyframes stat-float {
    0%, 100% {
        transform: scale(1) translateY(0);
    }
    25% {
        transform: scale(1.08) translateY(-5px);
    }
    50% {
        transform: scale(1.05) translateY(0);
    }
    75% {
        transform: scale(1.12) translateY(-3px);
    }
}

.stat-number {
    font-size: 22px;
    font-weight: 800;
    color: var(--brand);
    margin-bottom: 2px;
}

.stat-label {
    font-size: 12px;
    color: var(--muted);
    font-weight: 500;
}

.hero-actions, .hero-actions-secondary {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 0;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    animation: button-zoom 5s ease-in-out infinite;
    animation-delay: calc(var(--btn-order) * 0.3s);
}

.btn:nth-child(1) { --btn-order: 0; }
.btn:nth-child(2) { --btn-order: 1; }

@keyframes button-zoom {
    0%, 100% {
        transform: scale(1);
    }
    20% {
        transform: scale(1.02);
    }
    40% {
        transform: scale(1.05);
    }
    60% {
        transform: scale(1.03);
    }
    80% {
        transform: scale(1.06);
    }
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
    color: #03110a;
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(34, 197, 94, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

.btn-telegram {
    background: linear-gradient(135deg, #24A1DE 0%, #1e8bc3 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(36, 161, 222, 0.3);
}

.btn-telegram:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(36, 161, 222, 0.4);
}

.btn-download {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(139, 92, 246, 0.4);
}

.btn-icon {
    font-size: 16px;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 500;
    animation: feature-bounce 6s ease-in-out infinite;
    animation-delay: calc(var(--feature-order) * 0.8s);
}

.feature-item:nth-child(1) { --feature-order: 0; }
.feature-item:nth-child(2) { --feature-order: 1; }
.feature-item:nth-child(3) { --feature-order: 2; }

@keyframes feature-bounce {
    0%, 100% {
        transform: scale(1) translateY(0);
    }
    33% {
        transform: scale(1.1) translateY(-2px);
    }
    66% {
        transform: scale(1.05) translateY(-1px);
    }
}

.feature-icon {
    font-size: 14px;
}

@media (max-width: 768px) {
    .hero {
        padding: 40px 0 30px;
        min-height: auto;
    }
    
    .hero-main-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-stats {
        gap: 15px;
    }
    
    .stat-item {
        min-width: 70px;
        padding: 10px 12px;
    }
    
    .hero-actions, .hero-actions-secondary {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .hero-features {
        gap: 15px;
    }
}
.button {
    background: var(--brand);
    color: #03110a;
    font-weight: 700;
    padding: 12px 16px;
    border-radius: 10px;
    text-decoration: none;
    display: inline-block;
}
.button.alt {
    background: transparent;
    border: 1px solid var(--soft);
    color: var(--text);
}

.button.telegram {
    background: #24A1DE;
    color: white;
    border: 1px solid #24A1DE;
    transition: all 0.3s ease;
}

.button.telegram:hover {
    background: #1e8bc3;
    border-color: #1e8bc3;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(36, 161, 222, 0.3);
}

.button.download {
    background: #8B5CF6;
    color: white;
    border: 1px solid #8B5CF6;
    transition: all 0.3s ease;
}

.button.download:hover {
    background: #7C3AED;
    border-color: #7C3AED;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.button.small {
    padding: 8px 12px;
    font-size: 13px;
    border-radius: 8px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 16px;
}
@media (min-width: 640px) {
    .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.card {
    background: var(--card);
    border: 1px solid var(--soft);
    border-radius: 12px;
    padding: 16px;
}
.card .row { display: flex; align-items: center; justify-content: space-between; }
.meta { color: var(--muted); font-size: 12px; }
.teams { font-weight: 700; margin: 6px 0; }
.badge { background: var(--soft); color: var(--text); padding: 3px 8px; border-radius: 999px; font-size: 12px; }
.tip { color: var(--accent); font-weight: 700; }
.odds { color: var(--text); font-weight: 700; }
/* Square badge styling for result indicators */
.result {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    font-weight: 900;
    font-size: 14px;
    line-height: 1;
    background: #0b1220;
    border: 1px solid var(--soft);
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.result.won {
    background-color: #10b981;
    color: #ffffff;
    border-color: #059669;
}
.result.lost {
    background-color: #ef4444;
    color: #ffffff;
    border-color: #dc2626;
}
.result.pending {
    background-color: #f59e0b;
    color: #0b1220;
    border-color: #d97706;
}
.result.void {
    background-color: #9ca3af;
    color: #0b1220;
    border-color: #6b7280;
}

.gate {
    filter: blur(2px);
    opacity: 0.7;
}
.gate-overlay {
    text-align: center;
    margin-top: 8px;
}

.section {
    padding: 24px 0;
}
.section h2 { margin: 0 0 12px; font-size: 20px; }

.site-footer {
    background: #0f172a;
    color: var(--text);
    margin-top: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-waves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: var(--brand);
    opacity: 0.6;
    z-index: 1;
}

.footer-wave-section {
    position: relative;
    height: 80px;
    overflow: hidden;
    margin: 0;
    padding: 0;
    width: 100vw;
    margin-left: calc((100vw - 100%) / -2);
    margin-right: calc((100vw - 100%) / -2);
}

/* Specific override for large screens */
@media (min-width: 1200px) {
    .footer-wave-section {
        width: calc(100vw - 17px); /* Account for scrollbar */
        margin-left: calc((1200px - 100vw) / 2);
        margin-right: calc((1200px - 100vw) / 2);
    }
}

.footer-waves svg {
    width: 100%;
    height: 100%;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 0 40px;
}

@media (min-width: 768px) {
    .footer-main {
        grid-template-columns: 2fr 3fr;
        gap: 60px;
        align-items: start;
    }
}



.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    height: 50px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
}

.brand-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin: 0 0 8px 0;
}

.brand-info p {
    color: var(--muted);
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}





.footer-links {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
}

@media (min-width: 640px) {
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
}

.link-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.link-group h4 {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}



.link-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.link-group ul li a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.2s ease;
    line-height: 1.4;
}

.link-group ul li a:hover {
    color: var(--brand);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.2s ease;
    padding: 4px 0;
}

.contact-link:hover {
    color: var(--brand);
}

.contact-link svg {
    flex-shrink: 0;
}





.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-legal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

@media (min-width: 640px) {
    .footer-legal {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}



.copyright {
    color: var(--muted);
    font-size: 14px;
    margin: 0;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.2s ease;
}

.legal-links a:hover {
    color: var(--brand);
}

.footer-disclaimer {
    text-align: center;
    padding: 20px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: 8px;
    max-width: 600px;
    margin: 0 auto;
}

.footer-disclaimer p {
    color: #fca5a5;
    font-size: 13px;
    margin: 0;
    line-height: 1.4;
}

.notice { background: #052312; border: 1px solid #0c3b21; color: #a7f3d0; padding: 12px; border-radius: 10px; }
.danger { background: #2a0d10; border: 1px solid #451517; color: #fecaca; padding: 12px; border-radius: 10px; }

.table { width: 100%; border-collapse: collapse; }
.table th, .table td { border-bottom: 1px solid var(--soft); padding: 10px; text-align: left; font-size: 12px; }
.table thead th { background: #0b1220; font-weight: 700; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.table.striped tbody tr:nth-child(even) { background: #0b1220; }
.table tbody tr:hover { background: #0e1626; }
.table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--soft); border-radius: 12px; }
.table .group-row th { 
    background: #111827; 
    color: var(--text); 
    font-weight: 700; 
    font-size: 13px; 
    padding-top: 20px; 
    padding-bottom: 20px; 
    border-bottom: 2px solid var(--soft);
}
.table .group-row + tr td { padding-top: 16px; }

/* Distinct styling for clickable fixtures */
.fixture-link {
    color: var(--brand);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
    font-weight: 700;
    transition: color 0.2s ease, text-decoration-thickness 0.2s ease;
}

.fixture-link:hover {
    color: #34d399; /* lighter green on hover */
    text-decoration-thickness: 2px;
}

.fixture-link:focus-visible {
    outline: 2px dashed var(--brand);
    outline-offset: 2px;
    border-radius: 2px;
}

/* History page: white background with blue accent theme */
.history-page .table-wrap {
    border: 1px solid #e5e7eb;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.history-page .table thead th {
    background: #e8f0fe;
    color: #1e3a8a;
    border-bottom: 1px solid #c7d2fe;
}
.history-page .table th,
.history-page .table td {
    color: #0b1220;
    border-bottom: 1px solid #e5e7eb;
    background: #ffffff;
}
.history-page .table.striped tbody tr:nth-child(even) {
    background: #f8fafc;
}
.history-page .table tbody tr:hover {
    background: #eef2ff;
}
.history-page .table .group-row th {
    background: #dbeafe !important;
    color: #1e40af !important;
    border-bottom: 2px solid #bfdbfe !important;
}

.auth-card { background: var(--card); border: 1px solid var(--soft); border-radius: 12px; padding: 16px; max-width: 460px; }

.form-header {
    margin: 0 0 20px 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    text-align: center;
}
.input { width: 100%; background: #0b1220; border: 1px solid var(--soft); color: var(--text); border-radius: 8px; padding: 10px 12px; }
.label { display: block; margin-bottom: 6px; color: var(--muted); font-size: 12px; }
.stack { display: grid; gap: 12px; }

/* Rotating Wave/Shining Borderline Effect */
.cta {
    position: relative;
    padding: 20px;
    border-radius: 15px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.cta::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        #22c55e, #16a34a, #15803d, #166534,
        #22c55e, #16a34a, #15803d, #166534);
    background-size: 400% 400%;
    border-radius: 17px;
    z-index: -1;
    animation: rotatingWave 3s ease-in-out infinite;
}

.cta::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg, 
        transparent, rgba(34, 197, 94, 0.3), transparent, rgba(22, 163, 74, 0.3));
    background-size: 200% 200%;
    border-radius: 16px;
    z-index: -1;
    animation: shiningBorder 2s ease-in-out infinite;
}

@keyframes rotatingWave {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes shiningBorder {
    0% {
        background-position: 0% 50%;
        opacity: 0.7;
    }
    50% {
        background-position: 100% 50%;
        opacity: 1;
    }
    100% {
        background-position: 0% 50%;
        opacity: 0.7;
    }
}

/* Enhanced button hover effects for CTA */
.cta .button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
}

.cta .button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.cta .button:hover::before {
    left: 100%;
}

.cta .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
}

/* Date Group Headers */
.date-group {
    margin-bottom: 30px;
}

.date-header {
    background: #111827;
    color: var(--text);
    font-weight: 700;
    font-size: 16px;
    padding: 16px 20px;
    border-radius: 8px 8px 0 0;
    margin: 0;
    border-bottom: 2px solid var(--soft);
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.pending {
    background-color: #fbbf24;
    color: #92400e;
}

.status-badge.won {
    background-color: #10b981;
    color: #064e3b;
}

.status-badge.lost {
    background-color: #ef4444;
    color: #7f1d1d;
}

/* Flashy Border Animation for Jackpot History Button */
.button.flashy-border {
    position: relative;
    background: transparent;
    border: none;
    color: var(--text);
    overflow: hidden;
    z-index: 1;
    padding: 12px 16px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
}

.button.flashy-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        #ff0080, #ff8c00, #40e0d0, #ee82ee, 
        #ff0080, #ff8c00, #40e0d0, #ee82ee);
    background-size: 400% 400%;
    border-radius: 10px;
    z-index: -2;
    animation: flashyBorder 2s ease infinite;
    opacity: 1;
}

@keyframes flashyBorder {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.button.flashy-border:hover::before {
    animation: flashyBorder 0.8s ease infinite;
}

.button.flashy-border:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 0, 128, 0.6);
}

/* Alternative flashy border style if the first one doesn't work */
.button.flashy-border-alt {
    background: transparent;
    border: 3px solid transparent;
    background-image: linear-gradient(white, white), 
                      linear-gradient(45deg, #ff0080, #ff8c00, #40e0d0, #ee82ee);
    background-origin: border-box;
    background-clip: content-box, border-box;
    animation: flashyBorder 2s ease infinite;
}

/* Chat Widget Styles */
.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

.chat-widget-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
    color: white;
    padding: 12px 16px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.3);
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 14px;
    border: none;
    outline: none;
}

.chat-widget-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(34, 197, 94, 0.4);
}

.chat-widget-button.active {
    background: linear-gradient(135deg, var(--brand-2) 0%, var(--brand) 100%);
}

.chat-widget-text {
    white-space: nowrap;
}

.chat-widget-container {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 350px;
    max-height: 500px;
    background: var(--card);
    border: 1px solid var(--soft);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.chat-widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-widget-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 16px;
}

.chat-widget-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.chat-widget-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.chat-widget-body {
    display: flex;
    flex-direction: column;
    height: 400px;
}

.chat-widget-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-message {
    display: flex;
    flex-direction: column;
    max-width: 80%;
}

.chat-message-user {
    align-self: flex-end;
}

.chat-message-support {
    align-self: flex-start;
}

.chat-message-content {
    background: var(--soft);
    padding: 12px 16px;
    border-radius: 18px;
    border-bottom-right-radius: 4px;
}

.chat-message-user .chat-message-content {
    background: var(--brand);
    color: white;
    border-bottom-right-radius: 18px;
    border-bottom-left-radius: 4px;
}

.chat-message-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.chat-message-time {
    font-size: 11px;
    color: var(--muted);
    margin-top: 4px;
    align-self: flex-end;
}

.chat-message-user .chat-message-time {
    align-self: flex-end;
}

.chat-message-support .chat-message-time {
    align-self: flex-start;
}

.chat-widget-input {
    padding: 20px;
    border-top: 1px solid var(--soft);
    background: var(--card);
}

.chat-input-wrapper {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.chat-input-wrapper input {
    flex: 1;
    background: var(--soft);
    border: 1px solid var(--soft);
    border-radius: 25px;
    padding: 12px 16px;
    color: var(--text);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
}

.chat-input-wrapper input:focus {
    border-color: var(--brand);
}

.chat-input-wrapper input::placeholder {
    color: var(--muted);
}

.chat-send-btn {
    background: var(--brand);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.chat-send-btn:hover {
    background: var(--brand-2);
    transform: scale(1.05);
}

.chat-widget-actions {
    display: flex;
    gap: 8px;
}

.chat-action-btn {
    flex: 1;
    background: var(--soft);
    color: var(--text);
    border: 1px solid var(--soft);
    border-radius: 8px;
    padding: 10px 12px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.chat-action-btn:hover {
    background: var(--brand);
    color: white;
    border-color: var(--brand);
}

/* Chat Widget Responsive */
@media (max-width: 480px) {
    .chat-widget {
        bottom: 15px;
        right: 15px;
    }
    
    .chat-widget-container {
        width: 320px;
        right: -10px;
    }
    
    .chat-widget-text {
        display: none;
    }
    
    .chat-widget-button {
        padding: 12px;
        border-radius: 50%;
    }
}

@media (max-width: 360px) {
    .chat-widget-container {
        width: 300px;
        right: -20px;
    }
}

/* Email Form Styles */
.chat-email-form {
    padding: 20px;
    border-top: 1px solid var(--soft);
    background: var(--card);
}

.email-form-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.email-form-header h4 {
    margin: 0;
    color: var(--text);
    font-size: 16px;
    font-weight: 600;
}

.email-form-close {
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.email-form-close:hover {
    color: var(--text);
    background: var(--soft);
}

.email-form-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    color: var(--text);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    background: var(--soft);
    border: 1px solid var(--soft);
    border-radius: 8px;
    padding: 10px 12px;
    color: var(--text);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--brand);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--muted);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.email-submit-btn {
    background: var(--brand);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 16px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    margin-top: 8px;
}

.email-submit-btn:hover {
    background: var(--brand-2);
    transform: translateY(-1px);
}

.email-submit-btn:active {
    transform: translateY(0);
}

/* Telegram Widget Styles */
.telegram-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

.telegram-widget-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #24A1DE 0%, #1e8bc3 100%);
    color: white;
    padding: 12px 16px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(36, 161, 222, 0.3);
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 14px;
    border: none;
    outline: none;
}

.telegram-widget-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(36, 161, 222, 0.4);
}

.telegram-widget-button.active {
    background: linear-gradient(135deg, #1e8bc3 0%, #24A1DE 100%);
}

.telegram-icon {
    font-size: 18px;
}

.telegram-text {
    white-space: nowrap;
}

.telegram-widget-container {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 320px;
    max-height: 450px;
    background: var(--card);
    border: 1px solid var(--soft);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.telegram-widget-container.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.telegram-widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: linear-gradient(135deg, #24A1DE 0%, #1e8bc3 100%);
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.telegram-widget-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 16px;
}

.telegram-widget-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    font-size: 20px;
    line-height: 1;
}

.telegram-widget-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.telegram-widget-body {
    display: flex;
    flex-direction: column;
    height: 350px;
}

.telegram-widget-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.telegram-message {
    display: flex;
    flex-direction: column;
    max-width: 80%;
}

.telegram-message.support {
    align-self: flex-start;
}

.telegram-message-content {
    background: var(--soft);
    padding: 12px 16px;
    border-radius: 18px;
    border-bottom-left-radius: 4px;
}

.telegram-message-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.telegram-message-time {
    font-size: 11px;
    color: var(--muted);
    margin-top: 4px;
    align-self: flex-start;
}

.telegram-widget-actions {
    padding: 20px;
    border-top: 1px solid var(--soft);
    background: var(--card);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.telegram-action-btn {
    background: var(--brand);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 16px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.telegram-action-btn:hover {
    background: var(--brand-2);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

/* Telegram Widget Responsive */
@media (max-width: 480px) {
    .telegram-widget {
        bottom: 15px;
        right: 15px;
    }
    
    .telegram-widget-container {
        width: 300px;
        right: -10px;
    }
    
    .telegram-text {
        display: none;
    }
    
    .telegram-widget-button {
        padding: 12px;
        border-radius: 50%;
        min-width: 48px;
        min-height: 48px;
        justify-content: center;
    }
    
    .telegram-icon {
        font-size: 20px;
        margin: 0;
    }
}

@media (max-width: 360px) {
    .telegram-widget-container {
        width: 280px;
        right: -20px;
    }
    
    .telegram-widget-button {
        min-width: 44px;
        min-height: 44px;
        padding: 10px;
    }
    
    .telegram-icon {
        font-size: 18px;
    }
}

/* Tips Guide Styles */
.tips-guide {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.tip-item {
    background: var(--card);
    border: 1px solid var(--soft);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.tip-item:hover {
    border-color: var(--brand);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.1);
}

.tip-item h3 {
    color: var(--brand);
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 700;
}

.tip-item p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

/* Responsive Tips Guide */
@media (max-width: 768px) {
    .tips-guide {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .tip-item {
        padding: 16px;
    }
    
    .tip-item h3 {
        font-size: 16px;
    }
    
    .tip-item p {
        font-size: 13px;
    }
}

/* Jackpot Banner Styles */
.jackpot-banner {
    background: linear-gradient(135deg, #052312 0%, #0c3b21 50%, #052312 100%);
    border: 2px solid #22c55e;
    border-radius: 16px;
    padding: 24px;
    margin: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(34, 197, 94, 0.15);
}

.jackpot-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.jackpot-banner-content {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.jackpot-icon {
    font-size: 48px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.jackpot-text {
    flex: 1;
}

.jackpot-text h2 {
    margin: 0 0 8px 0;
    color: #22c55e;
    font-size: 24px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.jackpot-schedule {
    margin: 0;
    color: #a7f3d0;
    font-size: 16px;
    line-height: 1.4;
}

.jackpot-schedule strong {
    color: #ffffff;
    font-weight: 600;
}

.jackpot-action {
    flex-shrink: 0;
}

.jackpot-button {
    display: inline-block;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #ffffff !important;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.jackpot-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
    border-color: #ffffff;
}

/* Responsive Jackpot Banner */
@media (max-width: 768px) {
    .jackpot-banner {
        padding: 20px;
        margin: 16px 0;
    }
    
    .jackpot-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .jackpot-icon {
        font-size: 40px;
    }
    
    .jackpot-text h2 {
        font-size: 20px;
    }
    
    .jackpot-schedule {
        font-size: 14px;
    }
    
    .jackpot-button {
        padding: 10px 20px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .jackpot-banner {
        padding: 16px;
    }
    
    .jackpot-icon {
        font-size: 36px;
    }
    
    .jackpot-text h2 {
        font-size: 18px;
    }
    
    .jackpot-schedule {
        font-size: 13px;
    }
}
