/* Основные переменные и reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-image: url('img/background/background2.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #ffffff;
    line-height: 1.6;
}
@media (max-width: 768px) {
  body {
    background-image: url('img/background/mobile-bg.png');
    background-size: contain;           /* Вместо cover */
    background-repeat: no-repeat;
    background-position: top center;
    background-attachment: scroll;
    background-color: #000;             /* Фон под картинкой */
  }

}	
	

/* Основная секция офферов */
.offers-section {
    padding: 15px 0 64px;
    position: relative;
    min-height: 100vh;
}

/* Тёмный прозрачный оверлей без градиента */
.gradient-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.7); /* Настройте прозрачность по вкусу */
    z-index: 0;
    pointer-events: none;
}

/* Контейнер */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    position: relative;
    z-index: 10;
}

/* Заголовочный контент */
.header-content {
    text-align: left;
    margin-bottom: 32px;
    max-width: 1152px;
    margin-left: auto;
    margin-right: auto;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0rem 0;
  border-radius: 0.2rem;
  margin-bottom: 1rem;
  max-width: 100%;
  justify-content: flex-start; /* выравнивание по левому краю */
}

.site-logo img {
  height: 48px;
  width: auto;
  display: block;
}

.logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff; /* исправлено двойное ## */
  white-space: nowrap;
  text-align: left;
}

.logo-text .highlight {
  color: #ef4444;
}


.logo-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1152px;
  margin: 0 auto 1rem auto;
  position: relative;
}

.flag-icon {
  height: 40px; /* Можешь выставить под нужный размер */
  width: auto;
  margin-top: 0;
  margin-right: 0;
  display: block;
  object-fit: contain;
}


.casino-logo {
  width: 210px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* важно для GIF */
   /* fallback фон, если GIF не подгрузился */
}

.casino-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* Разделитель */
.separator {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, #64748b, transparent);
    margin-bottom: 16px;
}

/* Основной заголовок */
.main-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.4;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

.title-accent {
    color: #00ff88;
}

/* Описание */
.description {
    font-size: 14px;
    color: #d1d5db;
    max-width: 1024px;
    margin-bottom: 16px;
    line-height: 1.6;
}

/* Сетка с информацией */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    max-width: 1024px;
}

.info-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: #ffffff;
}

.info-icon {
    margin-right: 8px;
    flex-shrink: 0;
    font-size: 14px;
}

.info-icon.flag { color: #dc2626; }
.info-icon.check { color: #10b981; }
.info-icon.arrow { color: #3b82f6; }
.info-icon.dot { color: #10b981; }

.info-text {
    font-size: 12px;
    font-weight: 300;
}

.info-text-header {
    font-size: 18px;
    font-weight: 600;
	color: #f8c11e;
}


/* Список карточек офферов */
.offers-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 1152px;
    margin: 0 auto;
}

/* Основная карточка казино */
.casino-card {
    background: rgba(30 41 59 / 81%);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 8px;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.casino-card:hover {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(148, 163, 184, 0.3);
    box-shadow: 
        0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 0 20px rgba(0, 255, 136, 0.1);
    transform: translateY(-2px);
}

/* Мобильная версия карточки */
.mobile-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 140px;
    padding: 16px;
    position: relative;
}

/* Левая часть мобильной карточки */
.mobile-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding-right: 8px;
}

/* Правая часть мобильной карточки */
.mobile-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-left: 8px;
}

/* Вертикальный разделитель в мобильной версии */
.mobile-divider {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 1px;
    height: 140px;
    background: linear-gradient(to bottom, transparent, #64748b, transparent);
    transform: translate(-50%, -50%);
}

/* Desktop версия карточки */
.desktop-layout {
    display: none;
    padding: 12px 16px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* Левая часть desktop карточки */
.desktop-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    padding-right: 16px;
}

/* Логотип казино */
.casino-logo {
    width: 128px;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
	padding-bottom: 6px;
	border-radius: 4px;
}

.casino-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Вертикальные разделители */
.vertical-separator {
    width: 1px;
    height: 64px;
    background: linear-gradient(to bottom, transparent, #64748b, transparent);
    flex-shrink: 0;
}

/* Детали оффера */
.offer-details {
    flex: 1;
    min-width: 0;
    padding-left: 24px;
    text-align: left;
}

.offer-title {
    color: #f8c11e;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.3;
}

.offer-description {
    color: #d1d5db;
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 8px;
}

/* Информация об оффере для мобильной версии */
.offer-info {
    margin-bottom: 12px;
}

.offer-text {
    color: #f8c11e;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
}

.min-deposit {
    color: #9ca3af;
    font-size: 12px;
}

/* Секция рейтинга */
.rating-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.rating-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0 16px;
}

.stars {
    color: #fbbf24;
    font-size: 12px;
    line-height: 1;
}

.rating-number {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.votes {
    color: #9ca3af;
    font-size: 10px;
    text-transform: uppercase;
    text-align: center;
    line-height: 1;
}

/* Кнопки действий */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

/* Кнопка получения бонуса с постоянным эффектом блика */
.get-bonus-btn {
    background: linear-gradient(to right, #10b981, #059669);
    color: #ffffff;
    font-weight: 700;
    padding: 8px 16px;
    font-size: 12px;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(4px);
    display: block;
}

/* Добавляем постоянный диагональный эффект блика */
.get-bonus-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -150%;
    width: 50%;
    height: 200%;
    background: linear-gradient(
        35deg,
        transparent,
        rgba(255, 255, 255, 0.5),
        rgba(255, 255, 255, 0.7),
        rgba(255, 255, 255, 0.5),
        transparent
    );
    animation: diagonal-shine 2s infinite ease-in-out;
    z-index: 1;
    transform: rotate(35deg);
}

/* Убеждаемся, что текст остается поверх блика */
.get-bonus-btn span,
.get-bonus-btn > * {
    position: relative;
    z-index: 2;
}

/* Анимация диагонального блика с переменной скоростью */
@keyframes diagonal-shine {
    0% {
        left: -150%;
        top: -50%;
    }
    100% {
        left: 150%;
        top: -50%;
    }
}


.get-bonus-btn:hover {
    background: linear-gradient(to right, #059669, #047857);
    transform: scale(1.05);
}

.get-bonus-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 1s ease;
}

.get-bonus-btn:hover::before {
    transform: translateX(100%);
}

/* Ссылка на сайт */
.visit-site-link {
    color: #9ca3af;
    text-decoration: none;
    font-size: 12px;
    text-align: center;
    transition: color 0.2s ease;
}

.visit-site-link:hover {
    color: #ffffff;
}

/* Кнопка промо-кода */
.promo-code-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border: 2px dashed #fbbf24;
    background: linear-gradient(to right, rgba(251, 191, 36, 0.1), rgba(245, 158, 11, 0.1));
    color: #fbbf24;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;  
    overflow: hidden;
    backdrop-filter: blur(4px);
    justify-content: center;
    width: 100%;
}

.promo-code-btn:hover {
    color: #f59e0b;
    border-color: #f59e0b;
    
}

.promo-code-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.promo-code-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 1s ease;
}

.promo-code-btn:hover::before {
    transform: translateX(100%);
}

/* Дисклеймер */
.disclaimer {
    
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    padding: 8px 12px;
    border-radius: 0 0 8px 8px;
}

.disclaimer p {
    color: #9ca3af;
    font-size: 12px;
    text-align: center;
    line-height: 1.5;
}

/* Финальный дисклеймер */
.final-disclaimer {
    text-align: center;
    margin-top: 48px;
}

.final-disclaimer p {
    display: inline-block;
    background: rgba(17, 24, 39, 0.8);
    backdrop-filter: blur(4px);
    border-radius: 8px;
    padding: 12px 24px;
    border: 1px solid rgba(75, 85, 99, 0.3);
    color: #e5e7eb;
    font-size: 16px;
    font-weight: 500;
}

/* Responsive дизайн */
@media (min-width: 640px) {
    .container {
        padding: 0 24px;
    }
    
    .info-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .casino-logo {
        width: 140px;
        height: 78px;
    }
    
    .rating-number {
        font-size: 20px;
    }
}

@media (min-width: 768px) {
    .main-title {
        font-size: 28px;
    }
    
    .description {
        font-size: 18px;
    }
    
    .offer-title {
        font-size: 16px;
    }
    
    .offer-description {
        font-size: 14px;
    }
}

@media (min-width: 1024px) {
    .mobile-layout {
        display: none;
    }
    
    .desktop-layout {
        display: flex;
    }
    
    .casino-logo {
        width: 120px;
        height: 90px;
        margin-right: 15px;
		margin-left: 15px;
    }
    
    .desktop-left {
        gap: 24px;
    }
    
    .vertical-separator {
        height: 100px;
    }
    
    .rating-number {
        font-size: 24px;
    }
    
    .action-buttons {
        flex-direction: column;
        width: auto;
        padding-left: 16px;
    }
    
    .get-bonus-btn {
        padding: 8px 24px;
        font-size: 14px;
    }
    
    .visit-site-link {
        font-size: 14px;
    }
}

/* Кастомный скроллбар */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #00cc6a;
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: #00ff88 #1a1a1a;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .casino-card,
    .get-bonus-btn,
    .promo-code-btn {
        transition: none !important;
    }
    
    .get-bonus-btn::before,
    .promo-code-btn::before {
        animation: none !important;
    }
}

/* Focus states */
.casino-card:focus,
.get-bonus-btn:focus,
.promo-code-btn:focus,
.visit-site-link:focus {
    outline: 2px solid #00ff88;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .casino-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .get-bonus-btn,
    .promo-code-btn {
        border-style: solid;
    }
}






/* Топ карточки - общие стили для предотвращения обрезания */
.casino-card.top-1,
.casino-card.top-2,
.casino-card.top-3 {
    position: relative;
    margin-top: 16px; /* Увеличиваем отступ сверху */
    overflow: visible !important; /* Убираем обрезание */
}

/* Топ карточка #1 - Золотой эффект */
.casino-card.top-1 {
    border: 2px solid rgba(255, 215, 0, 0.6);
    box-shadow: 
        0 0 20px rgba(255, 215, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: golden-glow 3s ease-in-out infinite alternate;
}

.casino-card.top-1:hover {
    border-color: rgba(255, 215, 0, 0.8);
    box-shadow: 
        0 0 30px rgba(255, 215, 0, 0.5),
        0 10px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(-4px) scale(1.02);
}

/* Топ карточка #2 - Серебряный эффект */
.casino-card.top-2 {
    border: 2px solid rgba(192, 192, 192, 0.6);
    box-shadow: 
        0 0 15px rgba(192, 192, 192, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    animation: silver-glow 3s ease-in-out infinite alternate;
}

.casino-card.top-2:hover {
    border-color: rgba(192, 192, 192, 0.8);
    box-shadow: 
        0 0 25px rgba(192, 192, 192, 0.4),
        0 8px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-3px) scale(1.015);
}

/* Топ карточка #3 - Бронзовый эффект */
.casino-card.top-3 {
    border: 2px solid rgba(205, 127, 50, 0.6);
    box-shadow: 
        0 0 12px rgba(205, 127, 50, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: bronze-glow 3s ease-in-out infinite alternate;
}

.casino-card.top-3:hover {
    border-color: rgba(205, 127, 50, 0.8);
    box-shadow: 
        0 0 20px rgba(205, 127, 50, 0.4),
        0 6px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px) scale(1.01);
}

/* Анимации свечения границ */
@keyframes golden-glow {
    0% { 
        border-color: rgba(255, 215, 0, 0.6);
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    100% { 
        border-color: rgba(255, 215, 0, 0.8);
        box-shadow: 0 0 25px rgba(255, 215, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
}

@keyframes silver-glow {
    0% { 
        border-color: rgba(192, 192, 192, 0.6);
        box-shadow: 0 0 15px rgba(192, 192, 192, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }
    100% { 
        border-color: rgba(192, 192, 192, 0.8);
        box-shadow: 0 0 20px rgba(192, 192, 192, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }
}

@keyframes bronze-glow {
    0% { 
        border-color: rgba(205, 127, 50, 0.6);
        box-shadow: 0 0 12px rgba(205, 127, 50, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    100% { 
        border-color: rgba(205, 127, 50, 0.8);
        box-shadow: 0 0 18px rgba(205, 127, 50, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
}

/* Значки позиций */
.position-badge {
    position: absolute;
    top: -10px;
    left: 16px;
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    animation: badge-pulse 2s infinite;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.position-1 {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1a1a1a;
    border: 1px solid rgba(255, 215, 0, 0.8);
}

.position-2 {
    background: linear-gradient(135deg, #C0C0C0, #A8A8A8);
    color: #1a1a1a;
    border: 1px solid rgba(192, 192, 192, 0.8);
}

.position-3 {
    background: linear-gradient(135deg, #CD7F32, #B8860B);
    color: #ffffff;
    border: 1px solid rgba(205, 127, 50, 0.8);
}

.position-number {
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
}

.position-text {
    font-size: 10px;
    letter-spacing: 0.5px;
    line-height: 1;
}

@keyframes badge-pulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.05);
        opacity: 0.9;
    }
}

/* Мобильные адаптации */
@media (max-width: 768px) {
    .casino-card.top-1,
    .casino-card.top-2,
    .casino-card.top-3 {
        margin-top: 14px;
    }
    
    .position-badge {
        top: -8px;
        left: 12px;
        padding: 4px 10px;
        font-size: 11px;
        gap: 4px;
    }
    
    .position-number {
        font-size: 13px;
    }
    
    .position-text {
        font-size: 9px;
    }
}

@media (max-width: 480px) {
    .casino-card.top-1,
    .casino-card.top-2,
    .casino-card.top-3 {
        margin-top: 12px;
    }
    
    .position-badge {
        left: 8px;
        padding: 3px 8px;
        font-size: 10px;
    }
    
    .position-number {
        font-size: 12px;
    }
    
    .position-text {
        font-size: 8px;
    }
}

/* Предотвращение обрезания в контейнере */
.offers-list {
    padding-top: 16px;
}

.offers-list > .casino-card:first-child {
    margin-top: 0;
}



/* ===== POPUP STYLES ===== */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.popup[style*="flex"] {
  opacity: 1;
  visibility: visible;
}

/* Popup backdrop/underlay */
.popup-underlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  animation: fadeIn 0.4s ease-out;
}

/* Main popup body */
.popup-body {
  position: relative;
  max-width: 480px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  background: rgba(30, 41, 59, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.5),
    0 10px 15px -3px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 40px rgba(0, 255, 136, 0.1);
  animation: slideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center bottom;
}

/* Close button */
.close-popup-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: rgba(71, 85, 105, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 50%;
  color: #ffffff;
  font-size: 20px;
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  transform: rotate(45deg);
  z-index: 10;
}

.close-popup-btn:hover {
  background: rgba(239, 68, 68, 0.8);
  border-color: rgba(239, 68, 68, 0.5);
  transform: rotate(45deg) scale(1.1);
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
}

/* Logo section */
.popup-logo-cover {
  text-align: center;
  margin-bottom: 24px;
}

.popup-logo-cover img {
  max-width: 180px;
  max-height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  border-radius: 4px;
}

/* Offer message section */
.popup-button-cover {
  margin-bottom: 20px;
}

.offer-message {
  text-align: center;
  margin-bottom: 20px;
}

.welcome-1 {
  font-size: 28px;
  font-weight: 800;
  color: #00ff88;
  margin: 0 0 8px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.welcome-2 {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 8px 0;
  line-height: 1.4;
}

.welcome-3 {
  font-size: 14px;
  color: #94a3b8;
  margin: 0;
  font-weight: 500;
}

/* GET BONUS button */
.offer-buttons {
  text-align: center;
}

.get-bonus {
  display: inline-block;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  box-shadow: 
    0 4px 15px rgba(16, 185, 129, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Блик для кнопки GET BONUS */
.get-bonus::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -150%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    35deg,
    transparent,
    rgba(255, 255, 255, 0.5),
    rgba(255, 255, 255, 0.7),
    rgba(255, 255, 255, 0.5),
    transparent
  );
  animation: diagonal-shine 2s infinite ease-in-out;
  z-index: 1;
  transform: rotate(35deg);
}

.get-bonus span,
.get-bonus > * {
  position: relative;
  z-index: 2;
}

@keyframes diagonal-shine {
  0% {
    left: -150%;
    top: -50%;
  }
  100% {
    left: 150%;
    top: -50%;
  }
}

.get-bonus:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 
    0 8px 25px rgba(16, 185, 129, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, #059669, #047857);
}

/* Promo code section */
.promo-code-container {
  margin-bottom: 20px;
}

.promo-copy-btn {
  width: 100%;
  background: rgba(250, 204, 21, 0.1);
  border: 2px solid rgba(250, 204, 21, 0.3);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.promo-copy-btn:hover {
  background: rgba(250, 204, 21, 0.15);
  border-color: rgba(250, 204, 21, 0.5);
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.2);
}

.btn-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #fbbf24;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-gift-icon {
  width: 20px;
  height: 20px;
  
}

.btn-value {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-code {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  font-family: 'Courier New', monospace;
  letter-spacing: 2px;
}

.btn-icon {
  width: 18px;
  height: 18px;
  opacity: 0.8;
  filter: brightness(0) saturate(100%) invert(100%);
}

/* Visitor counter */
.visitor-counter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(71, 85, 105, 0.3);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 8px;
  font-size: 14px;
  color: #94a3b8;
}

.visitor-icon {
  width: 16px;
  height: 16px;
  filter: brightness(0) saturate(100%) invert(64%) sepia(11%) saturate(567%) hue-rotate(183deg) brightness(97%) contrast(88%);
}

.visitor-label {
  font-weight: 500;
}

.visitor-number {
  font-weight: 700;
  color: #00ff88;
  font-size: 15px;
}

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

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

/* Mobile optimizations */
@media (max-width: 640px) {
  .popup-body {
    width: 95%;
    padding: 20px;
    max-height: 95vh;
  }
  
  .welcome-1 {
    font-size: 24px;
  }
  
  .welcome-2 {
    font-size: 16px;
  }
  
  .get-bonus {
    font-size: 14px;
    padding: 12px 24px;
  }
  
  .popup-logo-cover img {
    max-width: 140px;
  }
  
  .promo-copy-btn {
    padding: 14px;
  }
  
  .btn-label {
    font-size: 12px;
  }
  
  .btn-code {
    font-size: 16px;
  }
}

/* Custom scrollbar for popup */
.popup-body::-webkit-scrollbar {
  width: 6px;
}

.popup-body::-webkit-scrollbar-track {
  background: rgba(71, 85, 105, 0.3);
  border-radius: 3px;
}

.popup-body::-webkit-scrollbar-thumb {
  background: rgba(0, 255, 136, 0.6);
  border-radius: 3px;
}

.popup-body::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 255, 136, 0.8);
}

/* Firefox scrollbar */
.popup-body {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 255, 136, 0.6) rgba(71, 85, 105, 0.3);
}

/* Loading state for promo button */
.promo-copy-btn.loading .btn-code {
  color: #00ff88;
}

/* Focus states for accessibility */
.close-popup-btn:focus,
.get-bonus:focus,
.promo-copy-btn:focus {
  outline: 2px solid #00ff88;
  outline-offset: 2px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .popup,
  .popup-body,
  .get-bonus,
  .promo-copy-btn,
  .close-popup-btn {
    animation: none !important;
    transition: none !important;
  }
  
  .get-bonus::before {
    animation: none !important;
  }
}
