:root {
    
    --bg: #fafafa;
    --card: #ffffff;
    --soft: #f3f4f6;
    --text: #1f2937;
    --muted: #6b7280;
    --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(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #e5e7eb;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.brand {
    font-weight: 800;
    color: #1f2937;
    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(rgba(1, 31, 14, 0.95));
    padding: 25px 0 20px;
    min-height: 35vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(34, 197, 94, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Header */
.hero-header {
    margin-bottom: 15px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(22, 163, 74, 0.15) 100%);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
    backdrop-filter: blur(10px);
    animation: tag-pulse 3s ease-in-out infinite;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

@keyframes tag-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.tag-icon {
    font-size: 16px;
    animation: icon-spin 2s linear infinite;
}

@keyframes icon-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 10px;
    text-align: center;
}

.title-line {
    display: block;
    color: #ffffff;
    margin-bottom: 3px;
    animation: title-slide-up 1s ease-out;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.title-highlight {
    display: inline-block;
    background: linear-gradient(135deg, var(--brand) 0%, #10b981 50%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: title-glow 3s ease-in-out infinite, title-slide-up 1s ease-out 0.2s both;
    position: relative;
}

.title-accent {
    display: block;
    color: #fbbf24;
    margin-top: 3px;
    animation: title-slide-up 1s ease-out 0.4s both;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@keyframes title-slide-up {
    0% { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    100% { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes title-glow {
    0%, 100% { 
        filter: drop-shadow(0 0 20px rgba(34, 197, 94, 0.3));
    }
    50% { 
        filter: drop-shadow(0 0 40px rgba(34, 197, 94, 0.6));
    }
}

.hero-subtitle {
    font-size: 16px;
    color: #e5e7eb;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.4;
    animation: title-slide-up 1s ease-out 0.6s both;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Stats Grid */
.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 15px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.stat-card {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.01) 100%);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 8px 6px;
    text-align: center;
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    animation: card-float 6s ease-in-out infinite;
}

.stat-card:nth-child(1) { animation-delay: 0s; }
.stat-card:nth-child(2) { animation-delay: 1s; }
.stat-card:nth-child(3) { animation-delay: 2s; }
.stat-card:nth-child(4) { animation-delay: 3s; }

@keyframes card-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.05), transparent);
    animation: card-shine 4s ease-in-out infinite;
}

.stat-card:nth-child(1)::before { animation-delay: 0s; }
.stat-card:nth-child(2)::before { animation-delay: 1s; }
.stat-card:nth-child(3)::before { animation-delay: 2s; }
.stat-card:nth-child(4)::before { animation-delay: 3s; }

@keyframes card-shine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.stat-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.stat-primary { border-color: rgba(34, 197, 94, 0.3); }
.stat-secondary { border-color: rgba(139, 92, 246, 0.3); }
.stat-accent { border-color: rgba(245, 158, 11, 0.3); }
.stat-success { border-color: rgba(16, 185, 129, 0.3); }

.stat-icon {
    font-size: 18px;
    margin-bottom: 4px;
    display: block;
    animation: icon-bounce 2s ease-in-out infinite;
}

@keyframes icon-bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.stat-content {
    position: relative;
    z-index: 1;
}

.stat-number {
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 3px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 12px;
    color: #e5e7eb;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Hero Actions */
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.action-primary, .action-secondary {
    position: relative;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--brand) 0%, #10b981 50%, #059669 100%);
    color: white;
    padding: 10px 18px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.btn-hero-primary::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.6s ease;
}

.btn-hero-primary:hover::before {
    left: 100%;
}

.btn-hero-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(34, 197, 94, 0.6);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.02) 100%);
    color: #374151;
    padding: 6px 10px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(15px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.btn-hero-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.05), transparent);
    transition: left 0.6s ease;
}

.btn-hero-secondary:hover::before {
    left: 100%;
}

.btn-hero-secondary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.03) 100%);
}

.btn-icon {
    font-size: 12px;
    animation: icon-pulse 2s ease-in-out infinite;
}

@keyframes icon-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.btn-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.btn-hero-primary:hover .btn-arrow {
    transform: translateX(5px);
}

/* Hero Features */
.hero-features {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    max-width: 400px;
    margin: 0 auto;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: feature-float 4s ease-in-out infinite;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.feature-badge:nth-child(1) { animation-delay: 0s; }
.feature-badge:nth-child(2) { animation-delay: 1s; }
.feature-badge:nth-child(3) { animation-delay: 2s; }

@keyframes feature-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.feature-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.05), transparent);
    animation: feature-shine 3s ease-in-out infinite;
}

.feature-badge:nth-child(1)::before { animation-delay: 0s; }
.feature-badge:nth-child(2)::before { animation-delay: 1s; }
.feature-badge:nth-child(3)::before { animation-delay: 2s; }

@keyframes feature-shine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.feature-badge:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(34, 197, 94, 0.2);
}

.feature-icon {
    font-size: 14px;
    animation: icon-spin 3s linear infinite;
}

.feature-text {
    position: relative;
    z-index: 1;
}

.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: 50px;
    align-items: start;
    margin-top: 40px;
    position: relative;
}

.hero-main-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2px;
    height: 80%;
    background: linear-gradient(180deg, transparent 0%, rgba(34, 197, 94, 0.3) 50%, transparent 100%);
    z-index: 1;
}

.hero-left, .hero-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    z-index: 2;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border-radius: 16px;
    border: 2px solid rgba(34, 197, 94, 0.2);
    backdrop-filter: blur(15px);
    min-width: 90px;
    animation: stat-float 4s ease-in-out infinite;
    animation-delay: calc(var(--animation-order) * 0.5s);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.stat-item::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: stat-shine 3s ease-in-out infinite;
    animation-delay: calc(var(--animation-order) * 0.5s);
}

@keyframes stat-shine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.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: 24px;
    font-weight: 900;
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.stat-label {
    font-size: 13px;
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

.hero-actions, .hero-actions-secondary {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 0;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.4s 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);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.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) 50%, #10b981 100%);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 40px rgba(34, 197, 94, 0.6);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    color: var(--text);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.1) 100%);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-telegram {
    background: linear-gradient(135deg, #24A1DE 0%, #1e8bc3 50%, #1976d2 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(36, 161, 222, 0.4);
    border: 2px solid transparent;
}

.btn-telegram:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 40px rgba(36, 161, 222, 0.6);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-download {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 50%, #6d28d9 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
    border: 2px solid transparent;
}

.btn-download:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.6);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-icon {
    font-size: 18px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    animation: feature-bounce 6s ease-in-out infinite;
    animation-delay: calc(var(--feature-order) * 0.8s);
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.feature-item::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: feature-shine 4s ease-in-out infinite;
    animation-delay: calc(var(--feature-order) * 0.8s);
}

@keyframes feature-shine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.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: 16px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    position: relative;
    z-index: 1;
}


/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero {
        padding: 20px 0 15px;
        min-height: auto;
    }
    
    .hero-header {
        margin-bottom: 12px;
    }
    
    .hero-tag {
        font-size: 10px;
        padding: 4px 8px;
        margin-bottom: 8px;
    }
    
    .hero-title {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
        margin-bottom: 8px;
    }
    
    .hero-subtitle {
        font-size: 14px;
        padding: 0 20px;
    }
    
    .hero-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
        margin-bottom: 12px;
        padding: 0 20px;
    }
    
    .stat-card {
        padding: 6px 4px;
    }
    
    .stat-icon {
        font-size: 16px;
        margin-bottom: 3px;
    }
    
    .stat-number {
        font-size: 16px;
    }
    
    .stat-label {
        font-size: 9px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 6px;
        margin-bottom: 12px;
        padding: 0 20px;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        max-width: 200px;
        justify-content: center;
        padding: 5px 10px;
        font-size: 9px;
    }
    
    .hero-features {
        gap: 6px;
        padding: 0 20px;
    }
    
    .feature-badge {
        padding: 6px 10px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .hero-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
    }
    
    .stat-card {
        padding: 4px 3px;
    }
    
    .hero-actions {
        gap: 4px;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 4px 8px;
        font-size: 8px;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }
    
    .feature-badge {
        width: 100%;
        max-width: 150px;
        justify-content: center;
    }
}
.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);
}

.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: #374151; font-size: 12px; }
.teams { font-weight: 700; margin: 6px 0; }
.badge { background: #f3f4f6; color: #374151; padding: 3px 8px; border-radius: 999px; font-size: 12px; }
.tip { color: #059669; font-weight: 700; }
.odds { color: #000000; font-weight: 700; }
.result.won { color: #059669; font-weight: 700; }
.result.lost { color: #dc2626; font-weight: 700; }
.result.void { color: #d97706; font-weight: 700; }

.gate {
    filter: blur(2px);
    opacity: 0.7;
}
.gate-overlay {
    text-align: center;
    margin-top: 8px;
}

.site-main {
    background: var(--bg);
    min-height: 100vh;
}

.section {
    padding: 24px 0;
    background: var(--bg);
}
.section h2 { margin: 0 0 12px; font-size: 20px; color: var(--text); }

/* Football-themed section colors - All sections now use hero background */
.section-matches {
    position: relative;
    background: linear-gradient(rgba(1, 31, 14, 0.95));
    padding: 25px 0 20px;
    min-height: 35vh;
    display: flex;
    align-items: center;
}

.section-matches::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(34, 197, 94, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.section-jackpot {
    position: relative;
    background: linear-gradient(rgba(1, 31, 14, 0.95));
    padding: 25px 0 20px;
    min-height: 35vh;
    display: flex;
    align-items: center;
}

.section-jackpot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(34, 197, 94, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.section-history {
    position: relative;
    background: linear-gradient(rgba(1, 31, 14, 0.95));
    padding: 25px 0 20px;
    min-height: 35vh;
    display: flex;
    align-items: center;
}

.section-history::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(34, 197, 94, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Section content positioning */
.section-matches .container,
.section-jackpot .container,
.section-history .container {
    position: relative;
    z-index: 2;
    width: 100%;
}


/* Football-themed section headers - Updated for dark background visibility */
.section-matches h2 {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
}

.section-matches h2::before {
    content: '⚽';
    margin-right: 8px;
    font-size: 1.2em;
}

.section-jackpot h2 {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
}

.section-jackpot h2::before {
    content: '🎰';
    margin-right: 8px;
    font-size: 1.2em;
}

.section-history h2 {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
}

.section-history h2::before {
    content: '📊';
    margin-right: 8px;
    font-size: 1.2em;
}

/* Enhanced table styling for sections - Updated for dark background */
.section-matches .table-wrap,
.section-jackpot .table-wrap,
.section-history .table-wrap {
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
}

.site-footer {
    background: #f8fafc;
    color: var(--text);
    margin-top: 0;
    border-top: 1px solid #e5e7eb;
}

.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: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; padding: 12px; border-radius: 10px; }
.danger { background: #fef2f2; border: 1px solid #fecaca; color: #dc2626; padding: 12px; border-radius: 10px; }

.table { width: 100%; border-collapse: collapse; background: #ffffff; }
.table th, .table td { border-bottom: 1px solid #e5e7eb; padding: 10px; text-align: left; font-size: 12px; color: #000000; }
.table thead th { background: #f9fafb; font-weight: 700; font-size: 12px; color: #374151; text-transform: uppercase; letter-spacing: 0.04em; }
.table.striped tbody tr:nth-child(even) { background: #f9fafb; }
.table tbody tr:hover { background: #f3f4f6; }
.table-wrap { width: 100%; overflow-x: auto; border: 1px solid #e5e7eb; border-radius: 12px; background: #ffffff; }
.table .group-row th { 
    background: #f3f4f6; 
    color: #000000; 
    font-weight: 700; 
    font-size: 13px; 
    padding-top: 20px; 
    padding-bottom: 20px; 
    border-bottom: 2px solid #e5e7eb;
}
.table .group-row + tr td { padding-top: 16px; }

.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: #ffffff; 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: #f3f4f6;
    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: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
    margin: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.jackpot-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.05) 0%, rgba(245, 158, 11, 0.05) 100%);
    pointer-events: none;
}

.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: #1f2937;
    font-size: 24px;
    font-weight: 700;
}

.jackpot-schedule {
    margin: 0;
    color: #6b7280;
    font-size: 16px;
    line-height: 1.4;
}

.jackpot-schedule strong {
    color: #1f2937;
    font-weight: 600;
}

.jackpot-action {
    flex-shrink: 0;
}

.jackpot-button {
    display: inline-block;
    background: var(--brand);
    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);
    background: var(--brand-2);
}

/* 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;
    }
}

/* Subscribe Button Styles */
.subscribe-prompt {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.locked-tip {
    font-size: 16px;
    color: #6b7280;
}

.subscribe-btn-small {
    display: inline-block;
    padding: 6px 12px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.subscribe-btn-small:hover {
    background: linear-gradient(135deg, #16a34a, #15803d);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
    color: white;
    text-decoration: none;
}

.subscribe-btn-small:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(34, 197, 94, 0.3);
}

/* Responsive subscribe button */
@media (max-width: 768px) {
    .subscribe-prompt {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .subscribe-btn-small {
        font-size: 11px;
        padding: 5px 10px;
    }
}

@media (max-width: 480px) {
    .subscribe-btn-small {
        font-size: 10px;
        padding: 4px 8px;
    }
}
