/* TK1971 Casino - Main Styles */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #fff;
    background: #02316E;
}

/* Header Styles */
.header {
    background: #003F8E;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-container {
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #fff;
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
}

/* Navigation Styles */
.nav {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #ffd700;
}

.header-buttons {
    display: flex;
    gap: 1rem;
}

/* Button Styles */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.9rem;
}

.primary-btn {
    background: linear-gradient(0deg, rgba(0, 56, 129, 1) 0%, rgba(0, 105, 235, 1) 100%);
    border: 2px solid #fff;
    color: #fff;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.secondary-btn {
    border: 1px solid #fff;
    color: #fff;
    background: #00377E;
}

.secondary-btn:hover {
    background: #00377E;
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Sections */
.hero, .login-hero, .app-hero, .games-hero, .slots-hero, .bonus-hero, .betting-hero, .aviator-hero, .live-casino-hero {
    background: linear-gradient(135deg, #02316E 0%, #003F8E 100%);
    color: #fff;
    padding: 8rem 0 4rem;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content, .login-content, .app-content, .games-content, .slots-content, .bonus-content, .betting-content, .aviator-content, .live-casino-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero h1, .login-hero h1, .app-hero h1, .games-hero h1, .slots-hero h1, .bonus-hero h1, .betting-hero h1, .aviator-hero h1, .live-casino-hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p, .login-hero p, .app-hero p, .games-hero p, .slots-hero p, .bonus-hero p, .betting-hero p, .aviator-hero p, .live-casino-hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons, .login-hero-buttons, .app-hero-buttons, .games-hero-buttons, .slots-hero-buttons, .bonus-hero-buttons, .betting-hero-buttons, .aviator-hero-buttons, .live-casino-hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Container and Section Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 4rem 0;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #fff;
}

a {
    color: #F1D2A4;
}

.section h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #F1D2A4;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-card {
    background: rgba(255, 255, 255, 0.2);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid #fff;
    text-align: center;
}

.feature-card i {
    font-size: 3rem;
    color: #F1D2A4;
    margin-bottom: 1rem;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.3);
}


/* Game/Slot/Bonus Cards */
.games-showcase, .slots-showcase, .bonus-showcase, .sports-showcase, .live-casino-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.game-card, .slot-card, .bonus-card, .sport-card {
    background: rgba(255, 255, 255, 0.2); border: 1px solid #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.game-card:hover, .slot-card:hover, .bonus-card:hover, .sport-card:hover {
    transform: translateY(-5px);
}

.game-image, .slot-image, .bonus-image, .sport-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.game-image img, .slot-image img, .bonus-image img, .sport-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-content, .slot-content, .bonus-content, .sport-content {
    padding: 1.5rem;
}

.game-content h3, .slot-content h3, .bonus-content h3, .sport-content h3 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.game-content p, .slot-content p, .bonus-content p, .sport-content p {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.game-stats, .slot-stats, .sport-markets {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: #fff;
}

.game-stats span, .slot-stats span, .sport-markets span {
    
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
}

.rtp-high {
    background: #d4edda !important;
    color: #155724 !important;
}

/* Bonus Card Special Styles */
.bonus-card.featured {
    border: 3px solid #ffd700;
}

.bonus-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #ffd700;
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.8rem;
}

.bonus-amount {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 1rem;
}

.bonus-terms {
    font-size: 0.8rem;
    color: #fff;
    margin-bottom: 1rem;
}

/* Login Form Styles */
.login-form-container {
    background: rgba(255, 255, 255, 0.2); border: 1px solid #fff;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #fff;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #F1D2A4;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}

.forgot-password {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* App Showcase Styles */
.app-showcase, .aviator-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin: 3rem 0;
}

.app-image, .aviator-image {
    text-align: center;
}

.app-image img, .aviator-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.app-features, .aviator-features {
    background: rgba(255, 255, 255, 0.2); border: 1px solid #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.app-features ul, .aviator-features ul {
    list-style: none;
    padding: 0;
}

.app-features li, .aviator-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.app-features i, .aviator-features i {
    color: #ffd700;
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* Download Section */
.download-section {
    
    padding: 3rem 0;
    text-align: center;
}

.download-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    transition: transform 0.3s ease;
    min-width: 200px;
}

.download-btn:hover {
    transform: translateY(-3px);
}

.download-btn i {
    font-size: 2rem;
}

.download-btn .btn-text {
    text-align: left;
}

.download-btn .btn-text .main-text {
    font-weight: bold;
    font-size: 1.1rem;
}

.download-btn .btn-text .sub-text {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Game Steps */
.game-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.step-card {
    background: rgba(255, 255, 255, 0.2); border: 1px solid #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
}

.nav a.active {
    color: #ffd700;
}

.step-number {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #003F8E;
    color: #fff;
    width: 60px;
    font-size: 20px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.step-card h3 {
    margin-top: 1rem;
    color: #fff;
}

/* Tables */
.comparison-table {
    overflow-x: auto;
    margin: 2rem 0;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.2); border: 1px solid #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.comparison-table th {
    background: #003F8E;
    color: #fff;
    padding: 1rem;
    text-align: left;
}

.comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

/* CTA Sections */
.cta-section {
    background: #003F8E;
    color: #fff;
    text-align: center;
    padding: 3rem 0;
}

.cta-section h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Footer */
.footer {
    background: #003F8E;
    color: #fff;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #ffd700;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ffd700;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #00377E;
}

@media (max-width: 1440px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #003F8E;
        flex-direction: column;
        padding: 1rem;
        align-items: center;
        gap: 20px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    }
    
    .logo img {
        height: 25px;
    }

    .nav.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
}

/* Responsive Design */
@media (max-width: 768px) {

    .section h3 {
        font-size: 20px;
    }

    .section p {
        font-size: 14px;
    }
    
    .hero h1, .login-hero h1, .app-hero h1, .games-hero h1, .slots-hero h1, .bonus-hero h1, .betting-hero h1, .aviator-hero h1, .live-casino-hero h1 {
        font-size: 2rem;
    }
    
    .hero p, .login-hero p, .app-hero p, .games-hero p, .slots-hero p, .bonus-hero p, .betting-hero p, .aviator-hero p, .live-casino-hero p {
        font-size: 1rem;
    }
    
    .hero-buttons, .login-hero-buttons, .app-hero-buttons, .games-hero-buttons, .slots-hero-buttons, .bonus-hero-buttons, .betting-hero-buttons, .aviator-hero-buttons, .live-casino-hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .app-showcase, .aviator-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .login-form-container {
        padding: 2rem;
        margin: 0 1rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.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; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-in-left {
    animation: slideInLeft 0.5s ease-out;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

.slide-in-right {
    animation: slideInRight 0.5s ease-out;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}



@media (max-width: 400px) {
    .download-btn .btn-text .main-text {
        font-size: 1rem;
    }

    .hero-slider {
        height: 130px;
    }

    .header-buttons {
        width: 100%;
        justify-content: center;
        order: 3;
        margin-top: 15px;
    }

    .header-buttons .btn {
        width: 100%;
    }

    .header-container {
        flex-wrap: wrap;
    }

    .download-buttons .download-btn {
        width: 100%;
    }
}

.floating-logo-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background: linear-gradient(145deg, #10204d, #081026);
    border: 2px solid #00c2ff;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    padding: 0;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(8, 16, 38, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    animation: pulse-glow-blue 2.5s infinite ease-in-out;
}

.floating-logo-button:hover {
    transform: scale(1.1);
    animation-play-state: paused;
}

.floating-logo-button img {
    width: 90%;
    height: auto;
    border-radius: 50%;
}

@keyframes pulse-glow-blue {
    0%   { box-shadow: 0 0 0 0 rgba(0, 194, 255, 0.6); }
    70%  { box-shadow: 0 0 10px 10px rgba(0, 194, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 194, 255, 0); }
}
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 16, 38, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: linear-gradient(145deg, #10204d, #081026);
    border: 1px solid rgba(0, 194, 255, 0.5);
    border-radius: 12px;
    padding: 30px 40px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 30px rgba(0, 194, 255, 0.2);
}

.popup-overlay.active .popup-content {
    transform: scale(1);
}

/* Кнопка закрытия */
.popup-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #a0eaff;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: transform 0.2s, color 0.2s;
}
.popup-close-btn:hover {
    transform: scale(1.2);
    color: #fff;
}

/* Заголовок */
.popup-title {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    color: #00c2ff;
    margin-top: 0;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(0, 194, 255, 0.5);
}

/* Текст */
.popup-text {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #e0faff;
}

/* Кнопка действия (CTA) */
.popup-cta-btn {
    display: inline-block;
    background: linear-gradient(45deg, #00c2ff, #008fbf);
    color: #081026;
    border: none;
    padding: 12px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s, filter 0.2s;
}
.popup-cta-btn:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

/* Адаптивность */
@media (max-width: 768px) {
    .floating-logo-button {
        width: 65px;
        height: 65px;
        bottom: 20px;
        right: 20px;
    }
    .popup-content {
        padding: 25px 20px;
    }
}