/* Base Styles */
:root {
    --primary: #0066ff;
    --primary-dark: #0052cc;
    --primary-light: #4d94ff;
    --dark: #0f0f1a;
    --darker: #080810;
    --light: #f5f5f5;
    --gray: #888;
    --gray-dark: #333;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    min-height: 100vh;
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

body.menu-open {
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Glowing Background Effect */
.glow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
}

.glow-1 {
    top: -100px;
    left: -100px;
    width: 600px;
    height: 600px;
    background: var(--primary);
    animation: float 15s ease-in-out infinite;
}

.glow-2 {
    bottom: -200px;
    right: -100px;
    width: 800px;
    height: 800px;
    background: var(--primary-light);
    animation: float 20s ease-in-out infinite reverse;
}

.glow-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    background: var(--primary-dark);
    animation: pulse 10s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(100px, 100px);
    }
    100% {
        transform: translate(0, 0);
    }
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.2;
    }
    100% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.1;
    }
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-secondary:hover {
    background-color: rgba(0, 102, 255, 0.1);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
}

/* Header Styles */
header {
    padding: 20px 0;
    position: sticky;
    top: 0;
    background-color: rgba(15, 15, 26, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.logo i {
    color: var(--primary);
    margin-right: 10px;
    font-size: 28px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    position: relative;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    width: 30px;
    cursor: pointer;
}

.mobile-menu-btn span {
    height: 3px;
    width: 100%;
    background-color: white;
    margin-bottom: 5px;
    border-radius: 3px;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.tag {
    display: inline-block;
    background-color: rgba(0, 102, 255, 0.1);
    color: var(--primary);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 102, 255, 0.3);
}

h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.accent {
    color: var(--primary);
}

.hero p {
    margin-bottom: 30px;
    font-size: 16px;
    color: var(--gray);
}

.cta-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.compatibility {
    margin-top: 25px;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--gray);
}

.compatibility i {
    margin-right: 10px;
    font-size: 18px;
}

.hero-video {
    flex: 1;
    position: relative;
}

.hero-video video {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: var(--darker);
}

.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    color: var(--gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: rgba(15, 15, 26, 0.5);
    border-radius: 10px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 102, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 24px;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--gray);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Catalog Section */
.catalog {
    padding: 100px 0;
}

.catalog-header {
    margin-bottom: 50px;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.game-card {
    background-color: rgba(15, 15, 26, 0.5);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px);
}

.game-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.1);
}

.game-image {
    position: relative;
}

.game-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.game-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--primary);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.game-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.game-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.game-info p {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 15px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 4.8em;
}

.game-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--gray);
}

.game-meta span {
    display: flex;
    align-items: center;
}

.game-meta i {
    margin-right: 5px;
    color: var(--primary);
}

.no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 0;
    text-align: center;
    grid-column: 1 / -1;
}

.no-results i {
    font-size: 48px;
    color: var(--gray);
    margin-bottom: 20px;
}

.no-results h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.no-results p {
    color: var(--gray);
}

/* How to Install Section */
.how-to-install {
    padding: 100px 0;
    background-color: var(--darker);
}

.how-to-install .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.install-content {
    flex: 1;
}

.install-content .section-title {
    text-align: left;
}

.install-image {
    flex: 1;
}

.install-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
}

.steps {
    margin-top: 40px;
    margin-bottom: 40px;
}

.step {
    display: flex;
    margin-bottom: 30px;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.step-content p {
    color: var(--gray);
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
}

.testimonials-slider {
    margin-top: 50px;
    display: flex;
    gap: 30px;
}

.testimonial {
    background-color: rgba(15, 15, 26, 0.5);
    border-radius: 10px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
    flex: 1;
}

.testimonial:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.1);
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
    position: relative;
    padding: 0 20px;
}

.testimonial-content p::before,
.testimonial-content p::after {
    content: '"';
    font-size: 24px;
    color: var(--primary);
    position: absolute;
}

.testimonial-content p::before {
    left: 0;
    top: 0;
}

.testimonial-content p::after {
    right: 0;
    bottom: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 102, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.author-avatar i {
    font-size: 20px;
    color: var(--primary);
}

.author-info {
    flex-grow: 1;
}

.author-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.author-info p {
    font-size: 14px;
    color: var(--gray);
}

.rating {
    color: var(--warning);
    font-size: 14px;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background-color: var(--darker);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: rgba(15, 15, 26, 0.5);
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 500;
}

.faq-question i {
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    overflow: hidden;
    transition: max-height 0.3s ease;
    max-height: 0;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding-bottom: 20px;
}

.faq-answer p {
    color: var(--gray);
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(rgba(0, 102, 255, 0.1), rgba(0, 102, 255, 0.05));
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-content p {
    color: var(--gray);
    margin-bottom: 30px;
    font-size: 18px;
}

/* Footer */
footer {
    margin-top: auto;
    padding: 80px 0 40px;
    background-color: var(--darker);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-middle {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.footer-nav h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-nav h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
}

.footer-nav ul li {
    margin-bottom: 10px;
}

.footer-nav ul li a {
    color: var(--gray);
    transition: color 0.3s ease;
}

.footer-nav ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: var(--gray);
    font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 36px;
    }
    
    .testimonials-slider {
        flex-direction: column;
    }
    
    .hero .container,
    .how-to-install .container {
        flex-direction: column;
    }
    
    .hero-video {
        margin-top: 40px;
    }
    
    .install-image {
        order: -1;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-wrap: wrap;
    }
    
    nav {
        width: 100%;
        display: none;
        margin-top: 20px;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .desktop-only {
        display: none;
    }
    
    .section-title {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .cta-group {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .btn {
        width: 100%;
    }
    
    .compatibility {
        margin-top: 10px;
    }
    
    .testimonial {
        padding: 20px;
    }
}