:root {
    --primary: #FF5F00;
    --primary-dark: #E65600;
    --bg: #050505;
    --card-bg: rgba(255, 255, 255, 0.05);
    --border: rgba(0, 0, 0, 0.1);
    --text-muted: #242433;
}

* { box-sizing: border-box; margin: 0; padding: 0; }


.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.py-100 { padding: 100px 0; }
.hidden { display: none !important; }

/* Градієнтний текст */
.text-gradient-orange {
    background: linear-gradient(135deg, #FF8C00 0%, #FF4500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header */
.header { position: fixed; top: 0; width: 100%; z-index: 1000; height: 80px; }
.header-glass {
    position: absolute; inset: 0;
    backdrop-filter: blur(12px);
    background: rgba(5, 5, 5, 0.7);
    border-bottom: 1px solid var(--border);
}
.header-container {
    position: relative; height: 100%;
    display: flex; justify-content: space-between; align-items: center;
}
.logo { font-size: 1.8rem; font-weight: 900; text-decoration: none; position: relative; }

/* Мобільне меню */
.menu-toggle { display: none; background: none; border: none; color: #fff; cursor: pointer; }
.mobile-menu {
    position: fixed; top: 80px; left: 0; width: 100%;
    background: rgba(5, 5, 5, 0.95); backdrop-filter: blur(15px);
    padding: 20px; border-bottom: 1px solid var(--border);
    display: flex; flex-direction: column; gap: 15px;
}
.mobile-menu a { color: #fff; text-decoration: none; font-size: 1.2rem; font-weight: 500; }

@media (max-width: 768px) {
    .nav-desktop { display: none; }
    .menu-toggle { display: block; }
}

/* Hero Section (ОНОВЛЕНО) */
/* Основний контейнер */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #030303; /* Ще темніший для контрасту */
}

/* Шар з ТВОЄЮ фоткою */
.hero-bg-image {
    position: absolute;
    inset: 0;
    background-image: url('hero-cosmic.jpg'); /* Переконайся, що назва файлу збігається */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    filter: brightness(0.7) contrast(1.1); /* Трохи приглушуємо, щоб плями світилися краще */
}

/* Вертикальний градієнт (плавний перехід у контент нижче) */
.hero-overlay-v {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.5) 0%, 
        transparent 30%, 
        transparent 70%, 
        #050505 100%);
    z-index: 1;
}

/* Горизонтальний градієнт */
.hero-overlay-h {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, 
        rgba(0, 0, 0, 0.4), 
        transparent 50%, 
        rgba(0, 0, 0, 0.4));
    z-index: 1;
}

/* Анімовані плями (Glow Orbs) */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 2;
    opacity: 0.4;
    mix-blend-mode: screen; /* Секретний інгредієнт: пляма підсвічує зорі на фоні */
    animation: pulse-glow 6s infinite alternate ease-in-out;
}

.orb-1 {
    top: 15%;
    left: 10%;
    width: 600px; /* Робимо трохи більшими для "космічного" масштабу */
    height: 600px;
    background: radial-gradient(circle, hsl(24, 100%, 50%) 0%, transparent 70%);
}

.orb-2 {
    bottom: 10%;
    right: 5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, hsl(35, 100%, 55%) 0%, transparent 70%);
    animation-delay: 3s; /* Різний ритм для живої анімації */
}

@keyframes pulse-glow {
    0% { transform: scale(1) translate(0, 0); opacity: 0.3; }
    100% { transform: scale(1.2) translate(20px, 20px); opacity: 0.5; }
}

/* Текст */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.text-gradient-orange {
    background: linear-gradient(135deg, #FF8C00 0%, #FF4500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glow-orange {
    filter: drop-shadow(0 0 20px rgba(255, 95, 0, 0.4));
}

.hero-title {
    font-size: clamp(4rem, 12vw, 9rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    margin-bottom: 24px;
}

/* Ефект неонового тексту */
.glow-orange {
    text-shadow: 0 0 30px rgba(255, 95, 0, 0.5), 0 0 60px rgba(255, 95, 0, 0.3);
}

.hero-tagline {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 300;
    margin-bottom: 16px;
}

.hero-description {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
}

/* Кнопки */
.hero-btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.btn-primary {
    position: relative;
    padding: 18px 36px;
    border-radius: 14px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    background: linear-gradient(135deg, #ff8c00, #ff4500);
    box-shadow: 0 4px 15px rgba(255, 95, 0, 0.3);
}

.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(255, 95, 0, 0.5); }

.btn-secondary {
    padding: 18px 36px;
    border-radius: 14px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    border: 2px solid rgba(255, 95, 0, 0.5);
    transition: 0.3s;
    background: transparent;
}

.btn-secondary:hover { color: #ff5f00; border-color: #ff5f00; background: rgba(255, 95, 0, 0.05); }

/* Catalog Cards Catalog Cards Catalog Cards Catalog Cards Catalog Cards Catalog Cards Catalog Cards Catalog Cards Catalog Cards */
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.cat-card {
    position: relative; height: 350px; border-radius: 24px; overflow: hidden;
    border: 1px solid var(--border); transition: 0.5s; cursor: pointer;
}
.cat-card img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; transition: 0.5s; }
.cat-card:hover img { transform: scale(1.05); opacity: 0.7; }
.cat-content { position: absolute; bottom: 30px; left: 30px; z-index: 2; }
.cat-card::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}
.cat-count { background: var(--primary); padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: bold; }



/* FOOTER FOOTER FOOTER FOOTER FOOTER FOOTER FOOTER FOOTER FOOTER FOOTER FOOTER FOOTER FOOTER FOOTER FOOTER FOOTER FOOTER FOOTER FOOTER FOOTER FOOTER*/
.footer { background: #080808; padding: 80px 0 0; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; padding-bottom: 60px; }
.footer-links a, .footer-contacts p { color: var(--text-muted); text-decoration: none; display: block; margin-bottom: 10px; transition: 0.3s; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border); padding: 30px 0; font-size: 0.9rem; color: var(--text-muted); text-align: center; }
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&display=swap');

/* === STYLES FOR CASINO ROULETTE COMPONENT === */

/* --- СЕКЦІЯ КАТАЛОГУ --- */
.catalog-section {
    padding: 100px 0;
    background: #020202;
    position: relative;
}

/* СІТКА */
.catalog-grid {
    display: grid;
    /* Автоматична адаптивність: мінімум 260px ширина картки, інакше перенос */
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 44px;
    margin-bottom: 50px;
}

/* --- КАРТКА ТОВАРУ --- */
.catalog-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Текст завжди знизу */
    height: 420px; /* Фіксована висота для однакового вигляду */
    background: #0a0a0a;
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    isolation: isolate; /* Для правильної роботи z-index */
}

/* Ховер ефекти картки */
.catalog-card:hover {
    border-color: rgba(249, 115, 22, 0.5); /* Помаранчева рамка */
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

/* ФОН І КАРТИНКА */
.card-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
}

.card-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.4;
    transition: transform 0.7s ease, opacity 0.5s ease;
}

/* Градієнт поверх картинки, щоб читався текст */
.card-overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, #020202 10%, rgba(2, 2, 2, 0.8) 40%, transparent 100%);
    z-index: 1;
}

.catalog-card:hover .card-bg img {
    transform: scale(1.1); /* Зум при наведенні */
    opacity: 0.5;
}

/* БЕЙДЖІ (Іконка і Кількість) */
.card-count {
    position: absolute;
    top: 20px; left: 20px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    color: #f97316;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 6px 14px;
    border-radius: 20px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-icon {
    position: absolute;
    top: 20px; right: 20px;
    width: 48px; height: 48px;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f97316;
    z-index: 2;
    transition: background 0.3s;
}

.catalog-card:hover .card-icon {
    background: rgba(249, 115, 22, 0.2);
}

/* ІНФОРМАЦІЯ */
.card-info {
    position: relative;
    z-index: 2;
    padding: 30px;
}

.card-info h3 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.catalog-card:hover .card-info h3 {
    color: #f97316;
}

.card-info p {
    color: #a1a1aa;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* СТРІЛКА "ДИВИТИСЬ" */
.card-link {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    color: #f97316;
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0; /* Приховано за замовчуванням */
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.catalog-card:hover .card-link {
    opacity: 1;
    transform: translateY(0);
}

.card-link svg {
    transition: transform 0.3s;
}

.catalog-card:hover .card-link svg {
    transform: translateX(5px);
}

/* СВІТІННЯ ЗНИЗУ (Glow Effect) */
.card-hover-glow {
    position: absolute;
    bottom: -50px; left: 50%;
    transform: translateX(-50%);
    width: 80%; height: 100px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.4) 0%, transparent 70%);
    filter: blur(40px);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    z-index: 1;
}

.catalog-card:hover .card-hover-glow {
    opacity: 1;
}

/* КНОПКА "ВЕСЬ КАТАЛОГ" */
.catalog-footer {
    text-align: center;
    margin-top: 40px;
}

.btn-catalog {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: transparent;
    border: 1px solid rgba(249, 115, 22, 0.5);
    border-radius: 16px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-catalog:hover {
    background: rgba(249, 115, 22, 0.1);
    border-color: #f97316;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.15);
}

/* Мобільна адаптація */
@media (max-width: 600px) {
    .catalog-grid { grid-template-columns: 1fr; } /* 1 колонка */
    .catalog-card { height: 350px; }
    .card-link { opacity: 1; transform: translateY(0); } /* На моб стрілку показуємо одразу */
}
