/* Variables */
:root {
    --primary-dark: #08051c;
    --primary-light: #1a1f36;
    --accent-blue: #4f46e5;
    --accent-purple: #8257ff;
    --text-primary: #e2e8f0;
    --text-secondary: #9391c9;
    --success: #02e020;
    --success-dark: #00af2c;
    --card-bg: rgba(24, 19, 56, 0.33);
    --border-light: rgba(51, 45, 93, 0.3);
    --border-accent: rgba(79, 70, 229, 0.2);
}

/* Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

img[alt="UKSlotStar"] {
    max-width: 270px;
}

body {
    position: relative;
    background-color: var(--primary-dark);
    background-image: 
        radial-gradient(circle at 0% 0%, rgba(130, 87, 255, 0.2) 0%, transparent 30%),
        radial-gradient(circle at 100% 100%, rgba(2, 224, 32, 0.08) 0%, transparent 30%);
    background-attachment: fixed;
    min-height: 100vh;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url(/img/bg.jpg);
    opacity: 0.5;
    animation: float2 15s infinite ease-in-out;
    z-index: -2;
}

/* Container */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
.heading-xl {
    font-size: clamp(2.5rem, 5vw, 4.125rem);
    font-weight: 900;
    line-height: 1.1;
    background: linear-gradient(135deg, #fff 0%, #9391c9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.heading-lg {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.heading-md {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.text-gradient {
    background: linear-gradient(135deg, #fff, #9391c9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 31, 54, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(79, 70, 229, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(26, 31, 54, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    padding: 0 2rem;
}

.nav-logo {
    height: 40px;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-blue);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(40, 25, 90, 1);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: rgba(51, 33, 113, 1);
}

/* Hero Section */
.hero-section {
    padding-top: 120px;
    padding-bottom: 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 50% 0%, rgba(79, 70, 229, 0.1), transparent 70%),
        radial-gradient(circle at 80% 80%, rgba(2, 224, 32, 0.05), transparent 70%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-title {
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease 0.2s backwards;
}

/* Casino Cards & Featured Content */
.casino-card {
    background: linear-gradient(145deg, 
        rgba(24, 19, 56, 0.33), 
        rgba(8, 5, 28, 0.33)
    );
    border: 1px solid rgba(51, 45, 93, 0.3);
    border-radius: 18px;
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.casino-card p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 28px;
}

.casino-card:hover {
    transform: translateY(-5px);
    border-color: rgba(79, 70, 229, 0.2);
    box-shadow: 0 20px 40px -20px rgba(79, 70, 229, 0.15);
}

.casino-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(79, 70, 229, 0.05),
        transparent
    );
    transition: 0.7s;
}

.casino-card:hover::before {
    left: 100%;
}

.featured-casino {
    background: linear-gradient(145deg, 
        rgba(42, 53, 82, 0.3), 
        rgba(26, 31, 54, 0.5)
    );
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: 24px;
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.casino-badge {
    position: absolute;
    top: -1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--accent-blue), #6366f1);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

.casino-logo {
    width: 160px;
    height: 100px;
    background: #000;
    border: 3px solid rgba(51, 45, 93, 1);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.casino-logo:hover {
    transform: scale(1.05);
}

.casino-logo img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.casino-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.rating-stars {
    color: #ffd700;
    display: flex;
    gap: 2px;
}

.bonus-container {
    background: rgba(34, 28, 75, 0.5);
    border: 1px solid rgba(51, 45, 93, 1);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 1rem 0;
}

/* Buttons & Interactive Elements */
.btn-claim {
    background: linear-gradient(to right, var(--success), var(--success-dark));
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    width: 100%;
    text-align: center;
    display: inline-block;
    text-decoration: none;
}

.btn-claim::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.btn-claim:hover::before {
    left: 100%;
}

.btn-claim:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 224, 32, 0.25);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-blue);
    color: var(--text-primary);
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.25);
}

/* Feature Icons & Decorative Elements */
.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, 
        rgba(79, 70, 229, 0.15), 
        rgba(79, 70, 229, 0.05)
    );
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.feature-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(79, 70, 229, 0.1));
    top: 0;
    left: 0;
    transition: transform 0.3s ease;
}

.feature-icon:hover::after {
    transform: translateX(100%);
}

.divider {
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(79, 70, 229, 0.2),
        transparent
    );
    margin: 4rem 0;
}

/* Grid Layouts */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.casino-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 0.5rem;
}

.social-icon {
    width: 2rem;
    height: 2rem;
    background: rgba(40, 25, 90, 1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px) rotate(8deg);
    background: rgba(79, 70, 229, 0.8);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0% { 
        box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.4);
    }
    70% { 
        box-shadow: 0 0 0 10px rgba(79, 70, 229, 0);
    }
    100% { 
        box-shadow: 0 0 0 0 rgba(79, 70, 229, 0);
    }
}

@keyframes borderGlow {
    0%, 100% {
        border-color: rgba(79, 70, 229, 0.2);
    }
    50% {
        border-color: rgba(79, 70, 229, 0.5);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-blue);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-purple);
}

/* Cards Animation Classes */
.card-animation {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: rgba(26, 31, 54, 0.98);
    backdrop-filter: blur(10px);
    padding: 2rem;
    transition: right 0.3s ease-in-out;
    z-index: 999;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}


/* Latest Gaming Trends Section */
.trends-section {
    padding: 4rem 0;
}

.trends-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.trend-card {
    background: rgba(26, 31, 54, 0.4);
    border: 1px solid rgba(51, 45, 93, 0.3);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.trend-card:hover {
    transform: translateY(-5px);
    border-color: rgba(79, 70, 229, 0.2);
    box-shadow: 0 20px 40px -20px rgba(79, 70, 229, 0.15);
}

.trend-icon {
    width: 64px;
    height: 64px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.trend-icon img {
    width: 32px;
    height: 32px;
    opacity: 0.9;
}

.trend-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.trend-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Digital Wellbeing Hub */
.wellbeing-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, 
        rgba(26, 31, 54, 0), 
        rgba(26, 31, 54, 0.3)
    );
}

.wellbeing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.wellbeing-card {
    background: rgba(26, 31, 54, 0.4);
    border: 1px solid rgba(51, 45, 93, 0.3);
    border-radius: 16px;
    padding: 2rem;
}

.tool-list, .support-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tool-item, .support-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tool-icon, .support-icon {
    width: 40px;
    height: 40px;
    background: rgba(2, 224, 32, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tool-content, .support-content {
    flex: 1;
}

.tool-title, .support-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.tool-description, .support-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Expert Gaming Insights */
.insights-section {
    padding: 4rem 0;
}

.insights-accordion {
    max-width: 800px;
    margin: 3rem auto 0;
}

.insight-item {
    background: rgba(26, 31, 54, 0.4);
    border: 1px solid rgba(51, 45, 93, 0.3);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.insight-header {
    padding: 1.5rem;
    background: rgba(26, 31, 54, 0.6);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.insight-header:hover {
    background: rgba(79, 70, 229, 0.1);
}

.insight-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.insight-content {
    padding: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* FAQ Section Styles */
.faq-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, 
        rgba(26, 31, 54, 0), 
        rgba(26, 31, 54, 0.3)
    );
}

.faq-container {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background: rgba(26, 31, 54, 0.4);
    border: 1px solid rgba(51, 45, 93, 0.3);
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(79, 70, 229, 0.2);
}

.faq-header {
    padding: 1.5rem;
    background: rgba(26, 31, 54, 0.6);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.faq-header:hover {
    background: rgba(79, 70, 229, 0.1);
}

.faq-question {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.faq-header i {
    color: var(--text-secondary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-header i {
    transform: rotate(180deg);
}

.faq-content {
    padding: 0;
    height: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-content {
    padding: 1.5rem;
    height: auto;
    opacity: 1;
    visibility: visible;
}

.faq-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.faq-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.faq-content li {
    color: var(--text-secondary);
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.faq-content li::before {
    content: '•';
    color: var(--accent-blue);
    position: absolute;
    left: 0;
}

/* AOS Animation Support */
[data-aos] {
    pointer-events: none; /* Предотвращаем мерцание при наведении во время анимации */
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* Дополнительные классы для более плавных анимаций */
.aos-fade-up {
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1),
                opacity 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.aos-fade-up.aos-animate {
    transform: translateY(0);
    opacity: 1;
}

/* Casino List Styles */
.casino-list-section {
    padding: 4rem 0;
    position: relative;
}

.casino-card {
    background: linear-gradient(145deg, 
        rgba(24, 19, 56, 0.4), 
        rgba(8, 5, 28, 0.6)
    );
    border: 1px solid rgba(51, 45, 93, 0.3);
    border-radius: 24px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.casino-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, 
        transparent,
        rgba(79, 70, 229, 0.1),
        transparent
    );
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.casino-card:hover::before {
    transform: translateX(100%);
}

.casino-card:hover {
    transform: translateY(-4px);
    border-color: rgba(79, 70, 229, 0.3);
    box-shadow: 0 20px 40px -20px rgba(79, 70, 229, 0.15);
}

.casino-badge {
    position: absolute;
    top: -1px;
    right: 2rem;
    background: linear-gradient(135deg, #8257ff, #5e3db3);
    padding: 0.5rem 1.5rem;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 12px rgba(130, 87, 255, 0.2);
}

.badge-text {
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
}

.card-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
}

.casino-branding {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo-container {
    width: 180px;
    height: 90px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(51, 45, 93, 0.5);
}

.brand-info {
    margin-left: 1rem;
}

.brand-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.stars {
    color: #ffd700;
    display: flex;
    gap: 2px;
}

.brand-info p {
    color: #9391c9;
    font-size: 0.875rem;
}

.bonus-section {
    background: rgba(34, 28, 75, 0.7);
    border: 1px solid rgba(51, 45, 93, 0.8);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.bonus-details {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bonus-icon {
    width: 40px;
    height: 40px;
    background: rgba(40, 187, 35, 0.247);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(var(--bs-success-rgb))!important;
    font-size: 1.25rem;
}

.bonus-info {
    display: flex;
    flex-direction: column;
}

.bonus-amount {
    color: white;
    font-weight: 600;
}

.bonus-extra {
    color: #9391c9;
    font-size: 0.875rem;
}

.claim-btn {
    background: linear-gradient(to right, #02e020, #00af2c);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 146px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.claim-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.claim-btn:hover::before {
    left: 100%;
}

.claim-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(2, 224, 32, 0.25);
}

/* Мобильная версия */
@media (max-width: 1024px) {
    .card-main {
        flex-direction: column;
        gap: 1.5rem;
    }

    .casino-branding {
        flex-direction: column;
        text-align: center;
    }

    .bonus-section {
        width: 100%;
        flex-direction: column;
        gap: 1rem;
    }

    .claim-btn {
        width: 100%;
    }
}

/* Поддержка мобильных устройств */
@media screen and (max-width: 768px) {
    [data-aos-delay] {
        transition-delay: 0s !important; /* Отключаем задержки на мобильных */
    }
}

@media (max-width: 768px) {
    .faq-question {
        font-size: 1rem;
        padding-right: 2rem;
    }
    
    .faq-header {
        padding: 1.25rem;
    }
    
    .faq-content {
        padding: 1.25rem;
    }
}

@media (max-width: 768px) {
    .trends-grid, .wellbeing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .trend-card, .wellbeing-card {
        padding: 1.5rem;
    }
}

/* Responsive Design */
@media (max-width: 1280px) {
    .container {
        padding: 0 2rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .featured-casino {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .casino-badge {
        position: relative;
        top: 0;
        right: 0;
        margin-bottom: 1rem;
        display: inline-block;
    }

    .bonus-container {
        width: 100%;
        flex-direction: column;
        gap: 1rem;
    }
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, #fff, #9391c9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass-effect {
    background: rgba(26, 31, 54, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(79, 70, 229, 0.1);
}

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

.hover-float {
    animation: float 3s ease-in-out infinite;
}

.shadow-glow {
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.2);
}

.casino-info {
    margin-left: 20px;
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: rgba(26, 31, 54, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem;
    transform: translateY(0);
    transition: all 0.5s ease-in-out;
    z-index: 1000;
    border-top: 1px solid rgba(79, 70, 229, 0.2);
}

.cookie-notice.show {
    bottom: 0;
    transform: translateY(0);
}

/* Loading Animation */
.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(79, 70, 229, 0.3);
    border-top-color: var(--accent-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* AOS Custom Animations */
[data-aos="custom-fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition-property: transform, opacity;
}

[data-aos="custom-fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .casino-card {
        break-inside: avoid;
        border: 1px solid #ddd;
    }
}

.logo-container {
    width: 200px;
    height: 80px;
    background: #000000; /* Темный фон для светлых логотипов */
    border-radius: 12px;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

/* Специальные стили для разных логотипов */
.logo-container.light-bg {
    background: #ffffff;
}

.logo-container.dark-bg {
    background: #0f0f1e;
}

.logo-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.casino-card:hover .logo-container img {
    transform: scale(1.05);
}

.casino-list-section {
    padding: 4rem 0;
    position: relative;
}

.site-footer {
    position: relative;
    background: linear-gradient(145deg, 
        rgba(24, 19, 56, 0.95), 
        rgba(8, 5, 28, 0.95)
    );
    border-top: 1px solid rgba(79, 70, 229, 0.2);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    overflow: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff, #9391c9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-text {
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-links i {
    color: var(--accent-blue);
}

.responsible-gaming-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(79, 70, 229, 0.1);
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: 9999px;
    color: var(--text-primary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(79, 70, 229, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.footer-badges {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.footer-badge {
    height: 40px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-badge:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .site-footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-content {
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-badges {
        justify-content: center;
    }
}


@media (max-width: 1023px) {
    html, body {
        position: relative;
        width: 100%;
        
        -webkit-overflow-scrolling: touch;
    }

    
    
    /* Фикс для Swiper на iOS */
        .swiper {
            display: block!important;
            width: 100%!important;
            margin-top: 0!important;
    
            margin-left: -1rem!important;  /* компенсируем паддинг контейнера */
            margin-right: -1rem!important;
            padding-left: 1rem!important;  /* возвращаем паддинг самому слайдеру */
            width: calc(100% + 2.8rem)!important; /* компенсируем общую ширину */
            overflow-x: hidden!important;
            
            touch-action: pan-y!important;
        }
        
        .swiper-pagination {
            display: none;
            position: relative;
            margin-top: 20px;
        }
        
        .swiper-pagination-bullet {
            background: #332D5D;
            opacity: 0.5;
        }
        
        .swiper-pagination-bullet-active {
            background: #8257FF;
            opacity: 1;
        }
        
        .swiper-slide {
            transition: all 0.3s ease;
        }
        
        /* Сбрасываем любые конфликтующие стили */

            .swiper-wrapper {
        transition-property: transform;
        display: flex;
        flex-direction: row;
    }

    .casino-list.swiper {
        padding: 2rem 0;
        overflow: visible;
    }

    .swiper-wrapper {
        display: flex;
        flex-direction: row;
    }

    .swiper-slide {
        flex-shrink: 0;
        height: auto;
    }

    /* Стили для карточек в слайдере */
    .swiper-slide .casino-card {
        height: 100%;
        display: flex;
        flex-direction: column;
        padding: 1.5rem;
        position: relative;
    }

    .swiper-slide .casino-badge {
        position: absolute;
        top: -3px;
        right: 68px;
        transform: translateX(50%);
        z-index: 1;
    }

    .swiper-slide .card-main {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
        padding: 0!important;
    }

    .swiper-slide .casino-branding {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .swiper-slide .logo-container {
        width: 100%;
        max-width: 250px;
        height: 150px;
        padding: 0.75rem;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .swiper-slide .brand-info {
        text-align: center;
        width: 100%;
    }

    .swiper-slide .rating {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        margin: 0.5rem 0;
    }

    .swiper-slide .bonus-section {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 1.25rem;
    }

    .swiper-slide .bonus-details {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .swiper-slide .claim-btn {
        width: 100%;
        padding: 0.75rem;
        text-align: center;
    }

    /* Стили для пагинации */
    .swiper-pagination {
        position: relative;
        margin-top: 2rem;
        bottom: 0;
    }

    .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        background: rgba(79, 70, 229, 0.2);
        opacity: 1;
    }

    .swiper-pagination-bullet-active {
        background: #4f46e5;
    }
    
    }


    /* Общий контейнер для анимированного фона */
.animated-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

/* Градиентный фон с затемнением */
.hero-section,
.casino-list-section {
    position: relative;
    background: linear-gradient(145deg, 
        rgba(8, 5, 28, 0.97), 
        rgba(26, 31, 54, 0.97)
    );
}

/* Анимированные круги */
.animated-circle {
    content: url(/img/dimond.png);
    position: absolute;
    border-radius: 50%;
    opacity: 0.03;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    animation: float2 15s infinite ease-in-out;
    padding: 20px;
}

.circle-1 {
    content: url(/img/star.png);
    width: 400px;
    height: 400px;
    top: -150px;
    left: -100px;
    animation-delay: 0s;
}

/* .circle-11 {
    content: url(/img/chips.png);
} */

.circle-2 {
    width: 300px;
    height: 300px;
    bottom: -150px;
    right: -50px;
    animation-delay: -5s;
}

/* Светящиеся линии */
.glowing-line {
    position: absolute;
    background: linear-gradient(90deg, 
        transparent,
        rgba(79, 70, 229, 0.05),
        transparent
    );
    transform: rotate(-45deg);
}

.line-1 {
    width: 100%;
    height: 2px;
    top: 60%;
    left: -100%;
    animation: slideLine 10s infinite linear;
    z-index: 1;
}

.line-2 {
    width: 100%;
    height: 1px;
    top: 60%;
    left: -100%;
    animation: slideLine 8s infinite linear;
    z-index: 1;
}

/* Точки на фоне */
.dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-blue);
    border-radius: 50%;
    opacity: 0.2;
    animation: pulse 3s infinite ease-in-out;
}

/* Анимации */
@keyframes float2 {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(30px) scale(1.05);
    }
}

@keyframes slideLine {
    0% {
        transform: translateX(-100%) rotate(-45deg);
    }
    100% {
        transform: translateX(100%) rotate(-45deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.1;
    }
}

@media (max-width: 768px) {
    .animated-circle {
        opacity: 0.02;
    }
    
    .glowing-line {
        opacity: 0.7;
    }
    
    .dot {
        opacity: 0.15;
    }
}

.legal-section {
    padding-top: 120px;
    padding-bottom: 80px;
    position: relative;
    background: linear-gradient(145deg, rgba(8, 5, 28, 0.97), rgba(26, 31, 54, 0.97));
}

.legal-section .container {
    max-width: 900px;
}

.legal-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #fff, #9391c9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.legal-content {
    background: rgba(26, 31, 54, 0.4);
    border: 1px solid rgba(51, 45, 93, 0.3);
    border-radius: 16px;
    padding: 2rem;
}

.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 2rem 0 1rem;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.legal-content ul {
    list-style: none;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.legal-content li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    position: relative;
}

.legal-content li::before {
    content: '•';
    color: var(--accent-blue);
    position: absolute;
    left: -1.5rem;
}

.legal-content a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-content a:hover {
    color: var(--accent-purple);
}

.last-updated {
    text-align: right;
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: 2rem;
    font-style: italic;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--secondary), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: floatingCards 3s ease-in-out infinite;
    }
    
    .footer-icon {
    height: 17px;
    margin-right: 3px;
    }
    
    .icons-papper .p-3 .px-md-0 {
        max-width: 100%;
        height: auto;
      }
      
      .icons-papper {
        display: flex;
        flex-direction: row;
      }
      
      svg {
        fill: #ffffff;
      }
      
      .icons-papper span {
        margin-top: 10px;
      }
      
      .icons-papper svg {
        width: 30px;
        margin: 0 10px 0 0;
      }

@media (max-width: 768px) {
    .legal-section {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .legal-title {
        font-size: 2rem;
    }

    .legal-content {
        padding: 1.5rem;
    }

    .hero-section {
        padding-top: 80px;
        padding-bottom: 20px;
    }

    h1 {
        font-size: 1.6rem!important; /* Размер для h1 */
        font-weight: bold;
        }
        h2 {
        font-size: 1.25rem!important; /* Размер для h2 */
        }
        h3 {
        font-size: 1.125rem!important; /* Размер для h3 */
        }
        h4 {
        font-size: 1rem!important; /* Размер для h4 */
        }
        h5 {
        font-size: 0.875rem!important; /* Размер для h5 */
        }
        h6 {
        font-size: 0.75rem!important; /* Размер для h6 */
        }
        .lead, b {
            font-size: 12px;
        }
    
        body {
            font-size: 14px;
        }
    
        .icons-papper svg {
            width: 15px;
        }
        
        .mb-5 {
        margin-bottom: 5px!important;
        }
        
        
        .cookie-notice p {
            font-size: 12px;
        }
        
        .cookie-notice button {
            padding: 3px 6px;
        }
    
        .navbar-brand img {
            height: 30px;
        }
    
        .navbar {
            padding: 3px;
        }
    
        .casino-card {
            background: linear-gradient(145deg, 
            rgba(24, 19, 56, 0.1), 
            rgba(8, 5, 28, 0.2)
        );
            opacity: 0.5!important;
        }
    
        .swiper-slide-active .casino-card {
            background: linear-gradient(145deg, 
            rgba(24, 19, 56, 0.4), 
            rgba(8, 5, 28, 0.6)
        );
        opacity: 1!important;
        }

        .navbar-toggler {
            background-color: #198754;
        }
}


/* Стили для интро анимации */
.intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #08051c;
}

/* Звезды */
.stars-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.stars-field {
    position: absolute;
    inset: 0;
    animation: rotate 240s linear infinite;
}

.stars-field::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image: 
        radial-gradient(2px 2px at 40px 60px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 20px 50px, rgba(255,255,255,0.4), rgba(0,0,0,0)),
        radial-gradient(2px 2px at 30px 100px, rgba(255,255,255,0.7), rgba(0,0,0,0)),
        radial-gradient(2px 2px at 40px 60px, rgba(255,255,255,0.4), rgba(0,0,0,0)),
        radial-gradient(2px 2px at 110px 90px, rgba(255,255,255,0.7), rgba(0,0,0,0)),
        radial-gradient(2px 2px at 190px 150px, rgba(255,255,255,0.9), rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: twinkle 2s ease-in-out infinite;
    opacity: 0;
}

/* Падающие звезды */
.shooting-stars::before, 
.shooting-stars::after {
    content: "";
    position: absolute;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 50%, rgba(255,255,255,0) 100%);
    animation: shoot 3s infinite;
    opacity: 0;
}

.shooting-stars::after {
    animation: shoot 3s infinite 1.5s;
}

/* Врата */
.gates {
    position: absolute;
    inset: 0;
    display: flex;
    z-index: 2;
}

.gate {
    width: 50%;
    height: 100%;
    background: #08051c;
    position: relative;
    transition: transform 1.5s cubic-bezier(0.7, 0, 0.3, 1);
}

.gate-left {
    transform: translateX(0);
    border-right: 1px solid rgba(79, 70, 229, 0.1);
}

.gate-right {
    transform: translateX(0);
    border-left: 1px solid rgba(79, 70, 229, 0.1);
}

.gates.open .gate-left {
    transform: translateX(-100%);
}

.gates.open .gate-right {
    transform: translateX(100%);
}

/* Текст */
.intro-text {
    position: relative;
    z-index: 3;
    text-align: center;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.5s ease-in-out;
}

.intro-text.show {
    opacity: 1;
    transform: scale(1);
}

.letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s forwards;
}

/* Анимации */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes twinkle {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 0.3; }
}

@keyframes shoot {
    0% {
        transform: translateX(-100%) translateY(50vh) rotate(-45deg);
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(100vw) translateY(-50vh) rotate(-45deg);
        opacity: 0;
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cookie Notice Styles */
.cookie-notice {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: rgba(26, 31, 54, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 1px solid rgba(79, 70, 229, 0.2);
    padding: 0.5rem;
}

.cookie-notice.show {
    bottom: 0;
}

.cookie-content {
    max-width: 1240px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-text {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
}

.fa-cookie-bite  {
    font-size: 1.5rem;
    color: #e63946;
    padding-right: 3px;
}

.cookie-text p {
    margin: 0;
    font-size: 0.875rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-button {
    background: linear-gradient(to right, var(--success), var(--success-dark));
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    border: none;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(2, 224, 32, 0.2);
}

/* Cookie Notice Styles */
.cookie-notice {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: rgba(26, 31, 54, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 1px solid rgba(79, 70, 229, 0.2);
}

.cookie-notice.show {
    bottom: 0;
}

.cookie-content {
    max-width: 1240px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-content p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.875rem;
}

.cookie-button {
    background: linear-gradient(to right, var(--success), var(--success-dark));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    border: none;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 100px;
}

@media (max-width: 768px) {
    .cookie-content {
        padding: 0.75rem 1rem;
        gap: 0.75rem;
    }
    
    .cookie-content p {
        font-size: 0.75rem;
        line-height: 1.2;
    }

    .cookie-button {
        padding: 0.375rem 1rem;
        font-size: 0.75rem;
        min-width: auto;
    }
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .cookie-text {
        flex-direction: column;
    }

    .cookie-buttons {
        width: 100%;
    }

    .cookie-button {
        width: 100%;
    }
}