/* ========================================
   1xBet Casino - Main Styles
   Responsive Design for all devices
======================================== */

/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #0a0e1a;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn--primary {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.btn--secondary {
    background: transparent;
    color: white;
    border: 2px solid #ff6b35;
}

.btn--secondary:hover {
    background: #ff6b35;
    color: white;
}

.btn--outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.btn--hero {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn--full {
    width: 100%;
}

/* Gradient Text */
.text-gradient {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    color: white;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.header__logo img {
    height: 50px;
    width: auto;
}

.header__nav {
    flex: 1;
    margin: 0 2rem;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: white;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #ff6b35;
    background: rgba(255, 107, 53, 0.1);
}

.header__actions {
    display: flex;
    gap: 1rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
}

.hero__bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 14, 26, 0.8), rgba(255, 107, 53, 0.2));
    z-index: -1;
}

.hero__content {
    text-align: center;
    color: white;
    padding: 6rem 0 4rem;
}

.hero__title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero__subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

.hero__stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 3rem;
}

.stat {
    text-align: center;
}

.stat__number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: #ff6b35;
    margin-bottom: 0.5rem;
}

.stat__label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero__actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.hero__trust {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.trust-badge i {
    color: #4caf50;
}

/* Advantages Section */
.advantages {
    padding: 6rem 0;
    background: linear-gradient(180deg, #0a0e1a 0%, #1a1f2e 100%);
}

.advantages__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.advantage-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.advantage-card:hover {
    transform: translateY(-10px);
    border-color: #ff6b35;
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
}

.advantage-card__icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.advantage-card__title {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.advantage-card__text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Bonuses Section */
.bonuses {
    padding: 6rem 0;
    background: #0a0e1a;
}

.bonuses__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.bonus-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.bonus-card:hover {
    transform: translateY(-5px);
    border-color: #ff6b35;
    box-shadow: 0 15px 30px rgba(255, 107, 53, 0.2);
}

.bonus-card--featured {
    border: 2px solid #ff6b35;
    transform: scale(1.05);
}

.bonus-card__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #ff6b35;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.bonus-card__header {
    padding: 2rem 2rem 1rem;
    text-align: center;
}

.bonus-card__title {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.bonus-card__amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ff6b35;
    margin-bottom: 1rem;
}

.bonus-card__content {
    padding: 0 2rem 2rem;
}

.bonus-card__features {
    list-style: none;
    margin-bottom: 2rem;
}

.bonus-card__features li {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bonus-card__features i {
    color: #4caf50;
    width: 16px;
}

.bonus-card__description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.bonuses__terms {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Games Section */
.games {
    padding: 6rem 0;
    background: linear-gradient(180deg, #1a1f2e 0%, #0a0e1a 100%);
}

.games__categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.category-btn {
    padding: 12px 24px;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.category-btn:hover,
.category-btn.active {
    background: #ff6b35;
    color: white;
    border-color: #ff6b35;
}

.games__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.game-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    group: hover;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.3);
}

.game-card__image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.game-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card:hover .game-card__image img {
    transform: scale(1.1);
}

.game-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover .game-card__overlay {
    opacity: 1;
}

.game-card__info {
    padding: 1.5rem;
}

.game-card__title {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.game-card__provider {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.game-card__features {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.game-feature {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 4px;
}

.games__load-more {
    text-align: center;
}

/* Live Casino Section */
.live-casino {
    padding: 6rem 0;
    background: #0a0e1a;
}

.live-casino__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.live-casino__image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.live-casino__image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.live-casino:hover .live-casino__image img {
    transform: scale(1.05);
}

.live-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #ff0000;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.live-indicator {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.live-casino__title {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.live-casino__description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.live-casino__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.live-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
}

.live-feature i {
    color: #ff6b35;
    width: 20px;
}

.live-casino__games h4 {
    color: white;
    margin-bottom: 1rem;
}

.live-games-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.live-game-tag {
    background: rgba(255, 107, 53, 0.2);
    color: #ff6b35;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 107, 53, 0.3);
}

/* Mobile App Section */
.mobile-app {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1a1f2e 0%, #0a0e1a 100%);
}

.mobile-app__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mobile-app__advantages {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.mobile-advantage {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
}

.mobile-advantage i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.mobile-advantage h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.mobile-advantage p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.mobile-app__download {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.download-btn img {
    height: 48px;
    width: auto;
    transition: transform 0.3s ease;
}

.download-btn:hover img {
    transform: scale(1.05);
}

/* About Section */
.about {
    padding: 6rem 0;
    background: #0a0e1a;
}

.about__content {
    max-width: 1000px;
    margin: 0 auto;
}

.about__text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.about__text h3 {
    color: white;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.about__text p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.about__text strong {
    color: #ff6b35;
}

/* Reviews Section */
.reviews {
    padding: 6rem 0;
    background: linear-gradient(180deg, #1a1f2e 0%, #0a0e1a 100%);
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.review-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: #ff6b35;
    box-shadow: 0 15px 30px rgba(255, 107, 53, 0.2);
}

.review-card__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.review-card__avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.review-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-card__name {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.review-card__rating {
    display: flex;
    gap: 2px;
    margin-bottom: 0.5rem;
}

.review-card__rating i {
    color: #ffc107;
    font-size: 0.9rem;
}

.review-card__date {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

.review-card__text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-style: italic;
}

/* Tags Cloud Section */
.tags-cloud {
    padding: 6rem 0;
    background: #0a0e1a;
}

.tags-cloud__content {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.tag {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tag:hover {
    background: #ff6b35;
    color: white;
    border-color: #ff6b35;
    transform: translateY(-2px);
}

.tag--large {
    font-size: 1.2rem;
    padding: 12px 24px;
    font-weight: 600;
}

.tag--medium {
    font-size: 1rem;
    padding: 10px 20px;
}

.tag--small {
    font-size: 0.9rem;
    padding: 8px 16px;
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    background: linear-gradient(180deg, #0a0e1a 0%, #000000 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer__section h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer__logo {
    margin-bottom: 1rem;
}

.footer__logo img {
    height: 40px;
    width: auto;
}

.footer__description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.footer__social {
    display: flex;
    gap: 1rem;
}

.footer__social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.footer__social a:hover {
    background: #ff6b35;
    transform: translateY(-2px);
}

.footer__links {
    list-style: none;
}

.footer__links li {
    margin-bottom: 0.8rem;
}

.footer__links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer__links a:hover {
    color: #ff6b35;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    align-items: center;
}

.footer__legal {
    color: rgba(255, 255, 255, 0.6);
}

.footer__payment {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

.payment-methods {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.payment-methods i {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer__disclaimer {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 15px;
    }
    
    h1 { font-size: 3rem; }
    h2 { font-size: 2rem; }
}

@media (max-width: 768px) {
    /* Header Mobile */
    .header__nav {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 14, 26, 0.98);
        backdrop-filter: blur(10px);
        padding: 2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .header__nav.active {
        display: block;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 1rem;
    }
    
    .header__actions {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Hero Mobile */
    .hero__title {
        font-size: 2.5rem;
    }
    
    .hero__stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero__actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero__trust {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Grids Mobile */
    .advantages__grid,
    .bonuses__grid,
    .games__grid,
    .reviews__grid {
        grid-template-columns: 1fr;
    }
    
    .live-casino__content,
    .mobile-app__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .live-casino__image {
        order: -1;
    }
    
    .live-casino__features {
        grid-template-columns: 1fr;
    }
    
    /* Games Mobile */
    .games__categories {
        gap: 0.5rem;
    }
    
    .category-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    /* Footer Mobile */
    .footer__bottom {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }
    
    .footer__payment {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero__title {
        font-size: 2rem;
    }
    
    .hero__subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .advantage-card,
    .bonus-card,
    .review-card {
        padding: 1.5rem;
    }
    
    .games__grid {
        grid-template-columns: 1fr;
    }
    
    .mobile-app__download {
        flex-direction: column;
        align-items: center;
    }
}