
:root {
    --primary-color: #3584ff;
    --secondary-color: #7d40ff;
    --accent-color: #00e1b4;
    --dark-bg: #0f1224;
    --darker-bg: #090c18;
    --card-bg: #161a30;
    --light-text: #ffffff;
    --gray-text: #a0b0c5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', 'Arial', sans-serif;
}

body {
    background-color: var(--dark-bg);
    color: var(--light-text);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background-color: rgba(15, 18, 36, 0.9);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(61, 89, 187, 0.1);
    padding: 20px 0;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
}

.logo::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 6px;
    margin-right: 12px;
    position: relative;
}

.logo span {
    color: var(--light-text);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.auth-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
    letter-spacing: 0.5px;
}

.btn-login {
    background: rgba(53, 132, 255, 0.1);
    border: 1px solid var(--primary-color);
    color: var(--light-text);
}

.btn-login:hover {
    background: rgba(53, 132, 255, 0.2);
    transform: translateY(-2px);
}

.btn-register {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: var(--light-text);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-register::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    transition: left 0.6s ease;
    z-index: -1;
}

.btn-register:hover::before {
    left: 0;
}

.btn-register {
    position: relative;
    display: inline-block;
    overflow: hidden;
    z-index: 1;
  }
  
  .btn-register span {
    position: relative;
    z-index: 2;
  }
  

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(53, 132, 255, 0.4);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 200;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--light-text);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding-top: 120px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, rgba(15, 18, 36, 0.9), rgba(9, 12, 24, 0.95)), url('/api/placeholder/1600/900') center/cover no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(53, 132, 255, 0.2), transparent 70%);
    top: -200px;
    right: -200px;
    border-radius: 50%;
    filter: blur(80px);
}

.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(125, 64, 255, 0.15), transparent 70%);
    bottom: -100px;
    left: -100px;
    border-radius: 50%;
    filter: blur(60px);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 650px;
    padding: 40px 0;
}

.hero-tag {
    background: rgba(53, 132, 255, 0.1);
    color: var(--primary-color);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 15px;
    display: inline-block;
    margin-bottom: 25px;
    font-weight: 600;
    border: 1px solid rgba(53, 132, 255, 0.3);
}

.hero h1 {
    font-size: 58px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    background: linear-gradient(90deg, var(--light-text) 0%, #d0deff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    color: var(--gray-text);
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-hero {
    padding: 15px 32px;
    font-size: 16px;
}

.hero-stats {
    display: flex;
    margin-top: 60px;
    gap: 40px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat-number {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-stat-label {
    color: var(--gray-text);
    font-size: 15px;
}

/* Features Section */
.features {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(53, 132, 255, 0.03), transparent 70%);
    top: 10%;
    left: -400px;
    border-radius: 50%;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--light-text), #d0deff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-title p {
    color: var(--gray-text);
    font-size: 18px;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    position: relative;
    z-index: 1;
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 40px 30px;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(53, 132, 255, 0.2);
}

.feature-icon {
    margin: 0 auto 25px;
    width: 70px;
    height: 70px;
    font-size: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}

.feature-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.2));
    top: -50%;
    left: -50%;
    transform: rotate(35deg);
}

.feature-icon i {
    font-size: 28px;
    color: white;
    z-index: 1;
}

.feature-card h3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 18px;
    color: var(--light-text);
}

.feature-card p {
    color: var(--gray-text);
    font-size: 16px;
    line-height: 1.7;
}

/* Games Section */
.games {
    padding: 120px 0;
    background-color: var(--darker-bg);
    position: relative;
    overflow: hidden;
}

.games::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(53, 132, 255, 0.03), transparent 70%);
    top: 0;
    left: 0;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    position: relative;
    z-index: 1;
}

.game-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(53, 132, 255, 0.2);
}

.game-thumb {
    height: 180px;
    position: relative;
    overflow: hidden;
}

.game-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.game-card:hover .game-thumb img {
    transform: scale(1.05);
}

.game-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.game-content {
    padding: 25px;
}

.game-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 600;
}

.game-meta {
    display: flex;
    justify-content: space-between;
    color: var(--gray-text);
    margin-bottom: 20px;
    font-size: 14px;
}

.btn-play {
    width: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-play {
    position: relative;
    display: inline-block;
    overflow: hidden;
    z-index: 1;
  }
  
  .btn-play span {
    position: relative;
    z-index: 2;
  }
  

.btn-play::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    transition: left 0.6s ease;
    z-index: -1;
}

.btn-play:hover::before {
    left: 0;
}

.btn-play:hover {
    box-shadow: 0 5px 15px rgba(53, 132, 255, 0.4);
}

/* How It Works Section */
.how-it-works {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(125, 64, 255, 0.05), transparent 70%);
    bottom: -300px;
    right: -300px;
    border-radius: 50%;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 60px;
}

.step {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.step:hover {
    transform: translateX(10px);
    border-color: rgba(53, 132, 255, 0.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--light-text);
}

.step-content p {
    color: var(--gray-text);
    font-size: 16px;
    line-height: 1.7;
}

/* Pricing Section */
.pricing {
    padding: 120px 0;
    background-color: var(--darker-bg);
    position: relative;
    overflow: hidden;
}

.pricing::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(0, 225, 180, 0.03), transparent 70%);
    top: 0;
    left: 0;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.pricing-card {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 40px 30px;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: rgba(53, 132, 255, 0.2);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.popular-plan {
    border: 2px solid var(--accent-color);
    position: relative;
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
}

.pricing-name {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
}

.pricing-price {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.pricing-period {
    color: var(--gray-text);
    margin-bottom: 30px;
}

.pricing-features {
    text-align: left;
    margin-bottom: 30px;
    flex-grow: 1;
}

.pricing-feature {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--gray-text);
}

.feature-check {
    width: 20px;
    height: 20px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-check::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* Testimonials Section */
.testimonials {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(53, 132, 255, 0.05), transparent 70%);
    top: -300px;
    left: -300px;
    border-radius: 50%;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.testimonial-card {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(53, 132, 255, 0.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
    color: #ffca28;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-text);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #2a3052;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--light-text);
}


.testimonial-content {
    margin-bottom: 10px;
}

.author-info h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.author-info p {
    color: var(--gray-text);
    font-size: 14px;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(53, 132, 255, 0.1), rgba(125, 64, 255, 0.1));
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 225, 180, 0.1), transparent 70%);
    top: -250px;
    right: -250px;
    border-radius: 50%;
}

.cta::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(53, 132, 255, 0.1), transparent 70%);
    bottom: -200px;
    left: -200px;
    border-radius: 50%;
}

.cta h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--light-text), #d0deff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cta p {
    color: var(--gray-text);
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 35px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* Footer */
footer {
    padding: 80px 0 30px;
    background-color: var(--darker-bg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    color: var(--light-text);
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--gray-text);
    transition: color 0.3s ease;
    font-size: 15px;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.footer-logo::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 5px;
    margin-right: 10px;
}

.footer-col p {
    color: var(--gray-text);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray-text);
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .hero h1 {
        font-size: 48px;
    }
    
    .hero-buttons {
        flex-direction: column;
        max-width: 300px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 30px;
    }
    
    .step {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media screen and (max-width: 768px) {

    .nav-links, .auth-buttons {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero h1 {
        font-size: 38px;
    }
    
    .section-title h2 {
        font-size: 36px;
    }
    
    .cta h2 {
        font-size: 34px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .feature-cards {
      grid-template-columns: 1fr; /* 1 колонка */
    }
  
    .feature-icon {
      width: 60px;
      height: 60px;
      font-size: 28px;
      margin: 0 auto 20px;
    }
  
    .feature-card {
      text-align: center;
      padding: 30px 20px;
    }
  
    .feature-card h3 {
      font-size: 20px;
    }
  
    .feature-card p {
      font-size: 14px;
    }
  }
  

/* Performance Metrics Animation */
.performance-metrics {
    margin-top: 100px;
    padding: 30px;
    background: rgba(22, 26, 48, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(53, 132, 255, 0.1);
    backdrop-filter: blur(10px);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.metric-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: rgba(15, 18, 36, 0.4);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(53, 132, 255, 0.05);
}

.metric-card:hover {
    transform: translateY(-5px);
    border-color: rgba(53, 132, 255, 0.2);
}

.metric-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 20px
}

.metric-value {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
    background: linear-gradient(90deg, var(--light-text), #d0deff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.metric-label {
    font-size: 14px;
    color: var(--gray-text);
    text-align: center;
}

/* Device Compatibility Section */
.compatibility {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.compatibility::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 225, 180, 0.05), transparent 70%);
    bottom: -300px;
    left: -300px;
    border-radius: 50%;
}

.devices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 60px;
}

.device-card {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.device-card:hover {
    transform: translateY(-8px);
    border-color: rgba(53, 132, 255, 0.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.device-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.device-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 600;
}

.device-card p {
    color: var(--gray-text);
    font-size: 15px;
    line-height: 1.6;
}

/* Featured Game Section */
.featured-game {
    padding: 120px 0;
    background-color: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.featured-game::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('/api/placeholder/1600/900') center/cover no-repeat;
    opacity: 0.05;
    top: 0;
    left: 0;
}

.featured-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
}

.featured-image {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.featured-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(53, 132, 255, 0.2);
}

.featured-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(53, 132, 255, 0.5);
    transition: all 0.3s ease;
}

.featured-play-button::before {
    content: '';
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 25px solid white;
    margin-left: 5px;
}

.featured-play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.featured-info {
    flex: 1;
    min-width: 300px;
}

.featured-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 225, 180, 0.1);
    color: var(--accent-color);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 25px;
    border: 1px solid rgba(0, 225, 180, 0.3);
}

.featured-info h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--light-text), #d0deff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.featured-info p {
    color: var(--gray-text);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.featured-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.spec-item {
    background: rgba(22, 26, 48, 0.6);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    border: 1px solid rgba(53, 132, 255, 0.1);
}

.spec-value {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.spec-label {
    font-size: 13px;
    color: var(--gray-text);
}

/* Game Library Navigation */
.library-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    gap: 15px;
    flex-wrap: wrap;
}

.lib-nav-btn {
    padding: 12px 25px;
    background: rgba(22, 26, 48, 0.6);
    border: 1px solid rgba(53, 132, 255, 0.1);
    border-radius: 30px;
    color: var(--gray-text);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lib-nav-btn.active, .lib-nav-btn:hover {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: var(--light-text);
    border-color: transparent;
}

/* FAQ Section */
.faq {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.faq::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(125, 64, 255, 0.05), transparent 70%);
    top: -300px;
    right: -300px;
    border-radius: 50%;
}

.faq-grid {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 25px;
}

@media screen and (max-width: 576px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

.faq-item {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-question {
    padding: 20px 25px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question span {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question span {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--gray-text);
    font-size: 16px;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    padding: 0 25px 25px;
    max-height: 300px;
}


.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 18, 36, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
  }
  
  .modal.active {
    visibility: visible;
    opacity: 1;
  }
  
  .modal-content {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 12px;
    width: 100%;
    max-width: 420px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  }
  
  .modal-content h2 {
    margin-bottom: 25px;
    font-size: 24px;
    color: var(--light-text);
  }
  
  .modal-content form {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .modal-content input {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: var(--dark-bg);
    color: white;
    font-size: 16px;
  }
  
  .modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 26px;
    color: var(--gray-text);
    cursor: pointer;
    transition: color 0.2s ease;
  }
  
  .modal-close:hover {
    color: var(--accent-color);
  }
  
  .pricing-features-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    color: var(--gray-text);
    font-size: 15px;
    line-height: 1.7;
  }

  .pricing-features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
  }

  .pricing-features-list .icon {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white;
    width: 20px;
    height: 20px;
    font-size: 13px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .pricing-features-list li.disabled {
    color: #777a92;
    text-decoration: line-through;
  }

  .pricing-features-list li.disabled .icon {
    background: transparent;
    color: #ff5c5c;
  }


  .mobile-banner {
    display: none;
  }
  
  /* мобаил баннер */

  #mobile-banner {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: url('img/photorealistic-lifestyle_23-2151032925.jpg') center/cover no-repeat;
    z-index: 999;
    color: white;
    text-align: center;
    padding: 40px 20px;
    box-sizing: border-box;
    overflow: hidden;
    opacity: 1;
    transition: opacity 0.5s ease;
  }

  #mobile-banner.hidden {
    opacity: 0;
    pointer-events: none;
  }
  
  /* Затемнение через псевдоэлемент */
  #mobile-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Прозрачное затемнение */
    z-index: 1;
  }
  
  /* Контент поверх затемнения */
  #mobile-banner .banner-content {
    position: relative;
    top: 40%;
    transform: translateY(-50%);
    z-index: 2;
  }
  
  /* Заголовок и текст */
  #mobile-banner h2 {
    font-size: 24px;
    margin-bottom: 15px;
  }
  
  #mobile-banner p {
    font-size: 16px;
    margin-bottom: 25px;
  }
  
  /* Кнопка закрытия */
  #close-banner {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    z-index: 2;
  }
  
  /* Показывать только на устройствах до 425px */
  @media (max-width: 426px) {
    #mobile-banner {
      display: block;
    }
  }
    