/* Tigroclub Casino - Main CSS */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #F5F6FF;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    color: #333;
}

h2 {
    font-size: 2rem;
    color: #333;
}

h3 {
    font-size: 1.5rem;
    color: #333;
}

p {
    margin-bottom: 1rem;
    color: #666;
}

/* Links */
a {
    color: #F9BB0B;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #e6a800;
}

footer p {
    color: #eee;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    line-height: 1.2;
    gap: 1rem;
}

.btn-primary {
    background-color: #F9BB0B;
    color: #fff;
}

.btn-primary:hover {
    background-color: #e6a800;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 187, 11, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #F9BB0B;
    border: 1px solid #F9BB0B;
}

.btn-secondary:hover {
    background-color: #F9BB0B;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 187, 11, 0.3);
}

/* Header */
.header {
    background-color: #F5F6FF;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 35px;
    display: flex;
    align-items: center;
}

.logo img {
    height: 100%;
    width: auto;
}


/* Navigation */
.nav {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover, .nav a.active {
    color: #F9BB0B;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #F5F6FF;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem;
}

.mobile-menu.active {
    display: block;
}

.header-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;

}

.mobile-menu .nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* Slider Section */
.slider-section {
    width: 100%;
    position: relative;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 2rem;
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
}

.slider-section .swiper {
    width: 100%;
}

.slider-section .swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-section .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Swiper Navigation */
.slider-section .swiper-button-next,
.slider-section .swiper-button-prev {
    color: #F9BB0B;
    background: rgba(255, 255, 255, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.slider-section .swiper-button-next:hover,
.slider-section .swiper-button-prev:hover {
    background: #F9BB0B;
    color: white;
    transform: scale(1.1);
}

.slider-section .swiper-button-next:after,
.slider-section .swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

/* Swiper Pagination */
.slider-section .swiper-pagination {
    bottom: 20px;
}

.slider-section .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    width: 12px;
    height: 12px;
    margin: 0 6px;
    transition: all 0.3s ease;
}

.slider-section .swiper-pagination-bullet-active {
    background: #F9BB0B;
    transform: scale(1.2);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #F5F6FF 0%, #e8eaff 100%);
    padding: 4rem 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #666;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Content Sections */
.section {
    padding: 4rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

/* Cards */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card h3 {
    color: #F9BB0B;
    margin-bottom: 1rem;
}

.card-image {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Tables */
.table-container {
    overflow-x: auto;
    margin: 2rem 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    background-color: #F9BB0B;
    color: #fff;
    font-weight: 600;
}

tr:hover {
    background-color: #f8f9ff;
}

/* Lists */
.feature-list {
    list-style: none;
    margin: 2rem 0;
}

.feature-list li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #F9BB0B;
    font-weight: bold;
}

/* Footer */
.footer {
    background-color: #333;
    color: #fff;
    padding: 3rem 0 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    color: #F9BB0B;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #F9BB0B;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid #555;
    color: #ccc;
}

@media (max-width: 1080px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    
    .hero {
        padding: 2rem 0;
        min-height: 50vh;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .cards {
        grid-template-columns: 1fr;
    }
    
    .table-container {
        font-size: 0.9rem;
    }
    
    th, td {
        padding: 0.5rem;
    }
    
    /* Адаптивные кнопки в text-center */
    .text-center:has(.btn) {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .text-center:has(.btn) .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .slider-section .swiper-button-next,
    .slider-section .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
    
    .slider-section .swiper-button-next:after,
    .slider-section .swiper-button-prev:after {
        font-size: 16px;
    }
    
    .slider-section .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        margin: 0 4px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .header-buttons {
        width: 100%;
        order: 3;
        margin-top: 15px;
        justify-content: center;
    }

    .header-buttons .btn {
        width: 100%;
    }

    .header-container {
        flex-wrap: wrap;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-center:has(.btn) {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Focus States for Accessibility */
.btn:focus,
a:focus {
    outline: 2px solid #F9BB0B;
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .btn-primary {
        background-color: #000;
        color: #fff;
    }
    
    .btn-secondary {
        border-color: #000;
        color: #000;
    }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1023px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .btn {
        padding: 12px 24px;
    }
    
    /* Адаптивные кнопки в text-center для планшетов */
    .text-center:has(.btn) {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .text-center:has(.btn) .btn {
        flex: 1;
        min-width: 200px;
        max-width: 250px;
    }
    
    /* Слайдер для планшетов */
    .slider-section .swiper {
        height: 350px;
    }
}
