/*------------------------------------------
iGaming Theme Colors - Casino Style
Table of Contents:
1. Reset & Variables
2. Global Styles
3. Header & Navigation
4. Hero Section
5. About Section
6. Testimonials
7. Game Cards
8. FAQ Section
9. Contact Section
10. CTA Section
11. Footer
12. Age Popup
13. Animations
14. Grid & Utility Classes
------------------------------------------*/

/* 1. Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --tp-common-black: #0A0C10;
    --tp-common-white: #FFFFFF;
    --tp-theme-primary: #FF3B3F;
    --tp-theme-secondary: #1E88E5;
    --tp-theme-accent: #FFD700;
    --tp-text-grey-1: #6C757D;
    --tp-text-grey-2: #ADB5BD;
    --tp-bg-grey: #F8F9FA;
    --tp-bg-dark: #0F172A;
    --tp-border-light: rgba(255, 59, 63, 0.2);
    --tp-gradient-primary: linear-gradient(135deg, #FF3B3F 0%, #FF6B6B 100%);
    --tp-gradient-secondary: linear-gradient(135deg, #1E88E5 0%, #42A5F5 100%);
    --tp-gradient-gold: linear-gradient(135deg, #FFD700 0%, #FFB347 100%);
    --tp-transition: all 0.3s ease;
}

/* EdgeReach specific - можно добавить дополнительный акцентный цвет */
:root {
    --tp-brand-edge: #FF3B3F;
    --tp-brand-edge-secondary: #1E88E5;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--tp-common-white);
    color: var(--tp-common-black);
    overflow-x: hidden;
    line-height: 1.5;
}

/* 2. Global Styles */
img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--tp-transition);
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1343px;
    margin: 0 auto;
    padding: 0 15px;
}

.container-fluid {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 30px;
}

/* 3. Header & Navigation */
.tp-header-area {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--tp-transition);
    background: rgba(10, 12, 16, 0.95);
    backdrop-filter: blur(10px);
}

.header-sticky {
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.tp-header-logo img {
    width: 150px;
}

.tp-nav-menu {
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.tp-nav-menu li a {
    font-weight: 500;
    font-size: 16px;
    transition: var(--tp-transition);
    color: var(--tp-common-white);
}

.tp-nav-menu li a:hover {
    color: var(--tp-theme-primary);
}

.tp-header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.tp-header-search-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: var(--tp-common-white);
}

.tp-menu-bar {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tp-menu-bar span {
    width: 25px;
    height: 2px;
    background-color: var(--tp-common-white);
    transition: var(--tp-transition);
}

/* Offcanvas Menu */
.tp-offcanvas-area {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 450px;
    height: 100%;
    background-color: var(--tp-bg-dark);
    z-index: 1001;
    transition: all 0.5s ease;
    padding: 40px;
    overflow-y: auto;
}

.tp-offcanvas-area.opened {
    right: 0;
}

.body-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--tp-transition);
}

.body-overlay.opened {
    opacity: 1;
    visibility: visible;
}

.close-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--tp-common-white);
}

.tp-offcanvas-menu nav ul {
    margin-top: 40px;
}

.tp-offcanvas-menu nav ul li {
    margin-bottom: 20px;
}

.tp-offcanvas-menu nav ul li a {
    font-size: 24px;
    font-weight: 500;
    color: var(--tp-common-white);
}

.tp-offcanvas-menu nav ul li a:hover {
    color: var(--tp-theme-primary);
}

.tp-offcanvas-contact h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--tp-theme-primary);
}

.tp-offcanvas-contact ul li {
    margin-bottom: 15px;
    color: var(--tp-text-grey-2);
}

/* Buttons */
.tp-btn {
    border-radius: 100px;
    padding: 12px 32px;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--tp-transition);
    cursor: pointer;
    border: none;
}

.tp-btn-primary {
    background: var(--tp-gradient-primary);
    color: var(--tp-common-white);
}

.tp-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 59, 63, 0.3);
}

.tp-btn-outline {
    background: transparent;
    color: var(--tp-common-white);
    border: 2px solid var(--tp-theme-primary);
}

.tp-btn-outline:hover {
    background: var(--tp-theme-primary);
    color: var(--tp-common-white);
}

.tp-btn-rounded {
    border-radius: 100px;
    padding: 16px 40px;
    background: var(--tp-gradient-gold);
    color: var(--tp-common-black);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    transition: var(--tp-transition);
}

.tp-btn-rounded:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 211, 0, 0.4);
}

/* 4. Hero Section */
.tp-hero-area {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 150px 0 100px;
    overflow: hidden;
    background: linear-gradient(135deg, #0F172A 0%, #1E1A3A 100%);
}

.tp-hero-content {
    position: relative;
    z-index: 2;
}

.tp-hero-subtitle {
    display: inline-block;
    background: rgba(255, 59, 63, 0.2);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--tp-theme-primary);
    border: 1px solid rgba(255, 59, 63, 0.5);
}

.tp-hero-title {
    font-size: 80px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
    color: var(--tp-common-white);
}

.tp-hero-title span {
    background: var(--tp-gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tp-hero-text {
    font-size: 18px;
    color: var(--tp-text-grey-2);
    margin-bottom: 40px;
    max-width: 500px;
}

.tp-hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.tp-hero-thumb {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.tp-hero-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

/* 5. About Section */
.tp-about-area {
    padding: 120px 0;
    background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
}

.tp-about-thumb {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.tp-about-text {
    font-size: 18px;
    color: var(--tp-text-grey-1);
    margin-bottom: 30px;
    line-height: 1.7;
}

.tp-about-expreance {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 30px;
    background: var(--tp-gradient-secondary);
    padding: 20px;
    border-radius: 20px;
    color: var(--tp-common-white);
}

.tp-about-number {
    font-size: 80px;
    font-weight: 800;
    line-height: 1;
}

/* Section Headers */
.tp-section-header {
    margin-bottom: 60px;
}

.tp-section-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--tp-theme-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.tp-section-subtitle .borders {
    width: 40px;
    height: 3px;
    background: var(--tp-gradient-primary);
    display: inline-block;
}

.tp-section-title {
    font-size: 50px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    background: var(--tp-gradient-secondary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tp-section-description {
    font-size: 18px;
    color: var(--tp-text-grey-1);
    max-width: 600px;
    margin: 0 auto;
}

/* 6. Testimonials */
.tp-testimonial-area {
    padding: 120px 0;
    background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
}

.tp-testimonial-item {
    background: var(--tp-common-white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--tp-theme-primary);
}

.tp-testimonial-text {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 25px;
    color: var(--tp-common-black);
}

.tp-testimonial-author {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--tp-theme-primary);
}

.tp-testimonial-position {
    color: var(--tp-text-grey-1);
}

.tp-testimonial-pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 10px;
}

.tp-testimonial-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--tp-text-grey-2);
    opacity: 0.5;
}

.tp-testimonial-pagination .swiper-pagination-bullet-active {
    background: var(--tp-theme-primary);
    opacity: 1;
}

/* 7. Game Cards */
.tp-game-card {
    background: var(--tp-common-white);
    border-radius: 24px;
    overflow: hidden;
    transition: var(--tp-transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-bottom: 30px;
}

.tp-game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 59, 63, 0.2);
}

.tp-game-card img {
    width: 100%;
    height: auto;
    transition: var(--tp-transition);
}

.tp-game-card:hover img {
    transform: scale(1.05);
}

.tp-game-card-content {
    padding: 25px;
}

.tp-game-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.tp-btn-small {
    background: var(--tp-gradient-primary);
    color: var(--tp-common-white);
    padding: 10px 25px;
    border-radius: 50px;
    display: inline-block;
    font-weight: 600;
    transition: var(--tp-transition);
}

.tp-btn-small:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 59, 63, 0.4);
}

/* 8. FAQ Section */
.tp-faq-section {
    padding: 120px 0;
    background: var(--tp-common-white);
}

.tp-faq-grid {
    max-width: 900px;
    margin: 0 auto;
}

.tp-faq-item {
    background: var(--tp-bg-grey);
    border-radius: 16px;
    margin-bottom: 20px;
    overflow: hidden;
}

.tp-faq-question {
    width: 100%;
    padding: 20px 25px;
    background: none;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--tp-transition);
}

.tp-faq-question:hover {
    color: var(--tp-theme-primary);
}

.tp-faq-icon {
    width: 30px;
    height: 30px;
    background: rgba(255, 59, 63, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--tp-transition);
}

.tp-faq-icon i {
    font-size: 14px;
    color: var(--tp-theme-primary);
}

.tp-faq-item.active .tp-faq-icon {
    background: var(--tp-theme-primary);
}

.tp-faq-item.active .tp-faq-icon i {
    color: var(--tp-common-white);
    transform: rotate(180deg);
}

.tp-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 25px;
}

.tp-faq-item.active .tp-faq-answer {
    max-height: 200px;
    padding: 0 25px 20px 25px;
}

.tp-faq-answer p {
    color: var(--tp-text-grey-1);
    line-height: 1.6;
}

/* 9. Contact Section */
.tp-contact-area {
    padding: 100px 0;
    background: linear-gradient(135deg, #0F172A 0%, #1E1A3A 100%);
    position: relative;
    overflow: hidden;
}

.tp-contact-area::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 59, 63, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.tp-contact-info {
    position: relative;
    z-index: 2;
}

.tp-contact-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    transition: var(--tp-transition);
}

.tp-contact-card:hover {
    background: rgba(255, 59, 63, 0.2);
    transform: translateX(5px);
}

.tp-contact-icon {
    width: 50px;
    height: 50px;
    background: var(--tp-gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tp-contact-icon i {
    font-size: 22px;
    color: var(--tp-common-white);
}

.tp-contact-text h4 {
    color: var(--tp-common-white);
    margin-bottom: 5px;
}

.tp-contact-text p {
    color: var(--tp-text-grey-2);
}

.tp-contact-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 24px;
}

.tp-form-group {
    margin-bottom: 20px;
}

.tp-form-group input,
.tp-form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: var(--tp-common-white);
    font-family: inherit;
}

.tp-form-group input:focus,
.tp-form-group textarea:focus {
    outline: none;
    border-color: var(--tp-theme-primary);
}

.tp-form-group input::placeholder,
.tp-form-group textarea::placeholder {
    color: var(--tp-text-grey-2);
}

/* 10. CTA Section */
.tp-cta-area {
    padding: 100px 0;
    background: linear-gradient(135deg, #0F172A 0%, #1E1A3A 100%);
}

.tp-cta-title {
    font-size: 60px;
    font-weight: 800;
    text-transform: uppercase;
    margin: 30px 0;
    color: var(--tp-common-white);
}

.tp-cta-title a {
    background: var(--tp-gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* 11. Footer */
.tp-footer-area {
    background-color: var(--tp-common-black);
    padding: 80px 0 30px;
    color: var(--tp-text-grey-2);
}

.tp-footer-logo {
    margin-bottom: 25px;
}

.tp-footer-logo img {
    width: 150px;
}

.tp-footer-text {
    margin-bottom: 30px;
    line-height: 1.6;
}

.tp-footer-widget-title {
    font-size: 20px;
    color: var(--tp-theme-primary);
    margin-bottom: 25px;
    font-weight: 700;
}

.tp-footer-links li {
    margin-bottom: 15px;
}

.tp-footer-links li a:hover {
    color: var(--tp-theme-primary);
}

.tp-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.tp-footer-bottom-links {
    display: flex;
    gap: 30px;
}

.tp-footer-bottom-links a:hover {
    color: var(--tp-theme-primary);
}

/* 12. Age Popup */
#age-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.age-modal {
    background: var(--tp-common-white);
    padding: 30px 35px;
    border-radius: 24px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    animation: slideUp 0.3s ease;
}

.age-modal h2 {
    font-size: 32px;
    color: var(--tp-theme-primary);
    margin-bottom: 20px;
}

.age-modal p {
    font-size: 14px;
    color: var(--tp-text-grey-1);
    margin: 8px 0;
    text-align: left;
}

.checkbox-container {
    display: flex;
    align-items: center;
    margin: 20px 0;
    font-size: 14px;
}

.checkbox-container input {
    margin-right: 12px;
    transform: scale(1.2);
    cursor: pointer;
}

.age-btns {
    display: flex;
    gap: 15px;
}

.age-btns button {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--tp-transition);
}

.btn-yes {
    background: var(--tp-gradient-primary);
    color: white;
}

.btn-yes:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-no {
    background: var(--tp-text-grey-2);
    color: white;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* 13. Animations */
.bounce__anim {
    opacity: 0;
    transform: translateY(-50px);
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.bounce__anim.visible {
    opacity: 1;
    transform: translateY(0);
}

.scale-up-img {
    overflow: hidden;
}

/* Preloader */
.loader-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--tp-bg-dark);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
}

.load-text {
    background: var(--tp-gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 28px;
    letter-spacing: 6px;
    font-weight: 800;
}

/* 14. Grid & Utility Classes */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

[class*="col-"] {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.col-6 { flex: 0 0 50%; max-width: 50%; }

@media (min-width: 768px) {
    .col-md-6 { flex: 0 0 50%; max-width: 50%; }
    .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
}

@media (min-width: 992px) {
    .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
    .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .col-lg-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
    .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
    .d-xl-block { display: block; }
    .d-xl-none { display: none; }
}

@media (min-width: 1200px) {
    .col-xl-3 { flex: 0 0 25%; max-width: 25%; }
    .col-xl-6 { flex: 0 0 50%; max-width: 50%; }
}

.text-center { text-align: center; }
.text-white { color: var(--tp-common-white); }
.mt-4 { margin-top: 1.5rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.d-flex { display: flex; }
.align-items-center { align-items: center; }
.justify-content-between { justify-content: space-between; }
.justify-content-center { justify-content: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

@media (max-width: 992px) {
    .tp-hero-title { font-size: 48px; }
    .tp-section-title { font-size: 36px; }
    .tp-nav-menu { display: none; }
    .tp-cta-title { font-size: 36px; }
}

@media (max-width: 768px) {
    .tp-hero-title { font-size: 36px; }
    .tp-section-title { font-size: 28px; }
    .tp-cta-title { font-size: 28px; }
    .tp-game-card h3 { font-size: 20px; }
    .tp-testimonial-text { font-size: 18px; }
}

@media (max-width: 575px) {
    .tp-hero-buttons { flex-direction: column; }
    .tp-btn { width: 100%; justify-content: center; }
    .tp-hero-thumb { position: relative; width: 100%; height: 400px; margin-top: 50px; }
}
/* Age Popup */
#age-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.age-modal {
    background: var(--tp-common-white);
    padding: 30px 35px;
    border-radius: 24px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    animation: slideUp 0.3s ease;
}

.age-modal h2 {
    font-size: 32px;
    color: var(--tp-theme-primary);
    margin-bottom: 20px;
}

.age-modal p {
    font-size: 14px;
    color: var(--tp-text-grey-1);
    margin: 8px 0;
    text-align: left;
}

.checkbox-container {
    display: flex;
    align-items: center;
    margin: 20px 0;
    font-size: 14px;
}

.checkbox-container input {
    margin-right: 12px;
    transform: scale(1.2);
    cursor: pointer;
}

.age-btns {
    display: flex;
    gap: 15px;
}

.age-btns button {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--tp-transition);
}

.btn-yes {
    background: var(--tp-gradient-primary);
    color: white;
}

.btn-yes:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-no {
    background: var(--tp-text-grey-2);
    color: white;
}

.btn-no:hover {
    background: #f44336;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Preloader */
.loader-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--tp-bg-dark);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
}

.load-text {
    background: var(--tp-gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 28px;
    letter-spacing: 6px;
    font-weight: 800;
}