/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #fff;
    background-color: #064147;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #49FFEC;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #fff;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

header .container {
    max-width: unset;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background-color: #D93850;
    color: #fff;
}

.btn-primary:hover {
    background-color: #c52d44;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(217, 56, 80, 0.3);
}

.btn-secondary {
    background-color: #177DFA;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #0d6efd;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(23, 125, 250, 0.3);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Header */
.header {
    background-color: #181F2B;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo img {
    height: 30px;
    width: auto;
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #fff;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background-color: #49FFEC;
    color: #181F2B;
}

/* Header Buttons */
.header-buttons {
    display: flex;
    gap: 1rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    background-color: #181F2B;
    border-top: 1px solid #333;
}

.mobile-nav-list {
    list-style: none;
    padding: 1rem 0;
}

.mobile-nav-link {
    display: block;
    color: #fff;
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid #333;
    transition: background-color 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background-color: #49FFEC;
    color: #181F2B;
}


/* Sections */
section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    color: #fff;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: #49FFEC;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.section-buttons {
    text-align: center;
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #064147 0%, #0a5a5a 100%);
    padding: 6rem 0;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.2rem;
    color: #49FFEC;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    color: #49FFEC;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: #fff;
    font-size: 1.2rem;
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.game-category {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

.game-category:hover {
    transform: translateY(-5px);
}

.game-icon {
    font-size: 3rem;
    color: #49FFEC;
    margin-bottom: 1rem;
}

.game-category h3 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.game-category p {
    color: #49FFEC;
}

/* Reviews Grid */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.review-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.stars {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-card p {
    color: #fff;
    font-style: italic;
    margin-bottom: 1rem;
}

.reviewer {
    color: #49FFEC;
    font-weight: 600;
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.step-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    overflow: visible !important;

    position: relative;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: #49FFEC;
    color: #181F2B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.step-card h3 {
    color: #fff;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.step-card p {
    color: #49FFEC;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.faq-item h3 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: #49FFEC;
    margin-bottom: 0;
}

/* Footer */
.footer {
    background-color: #181F2B;
    padding: 3rem 0 1rem;
    color: #fff;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #49FFEC;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #fff;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #49FFEC;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #49FFEC;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 1440px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-nav.active {
        display: block;
    }
    
    .header-buttons {
        gap: 0.5rem;
    }
}

@media (max-width: 768px) {
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .features-grid,
    .games-grid,
    .reviews-grid,
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .header-buttons {
        width: 100%;
        justify-content: center;
        order: 3;
        margin-top: 15px;
    }

    .header-content {
        flex-wrap: wrap;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .feature-card,
    .game-category,
    .review-card,
    .step-card {
        padding: 1.5rem;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* 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.6;
    pointer-events: none;
}

/* Focus States for Accessibility */
.btn:focus,
.nav-link:focus,
.mobile-nav-link:focus {
    outline: 2px solid #49FFEC;
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .btn-primary {
        background-color: #fff;
        color: #000;
    }
    
    .btn-secondary {
        background-color: #000;
        color: #fff;
        border: 2px solid #fff;
    }
}

/* Slider Styles */
.slider-section {
    width: 100%;
    padding: 0;
    max-width: 1200px;
    margin: 2rem auto; 
}

.swiper-container {
    width: 100%;
    height: auto;
    min-height: 200px;
    position: relative;
    overflow: hidden;
}

.swiper-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
}

.swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
}

.swiper-slide picture {
    width: 100%;
    height: 100%;
    max-width: unset;
    display: block;
    margin: 0;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
    box-shadow: none;
    transition: none;
}

.swiper-slide img:hover {
    transform: none;
    box-shadow: none;
}

/* Navigation arrows */
.swiper-button-next,
.swiper-button-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(23, 125, 250, 0.8);
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(23, 125, 250, 1);
    transform: translateY(-50%) scale(1.1);
}

.swiper-button-next {
    right: 20px;
}

.swiper-button-prev {
    left: 20px;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 16px;
}

.swiper-button-next:after {
    content: '\f054';
}

.swiper-button-prev:after {
    content: '\f053';
}

/* Pagination dots */
.swiper-pagination {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    margin: 0 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #177DFA;
    transform: scale(1.2);
}

/* Responsive slider */
@media (max-width: 768px) {
    .swiper-container {
        min-height: 200px;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .swiper-button-next {
        right: 10px;
    }
    
    .swiper-button-prev {
        left: 10px;
    }
    
    .swiper-pagination {
        bottom: 15px;
    }
    
    .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        margin: 0 4px;
    }
}

@media (max-width: 480px) {
    .swiper-container {
        min-height: 180px;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    
    .swiper-button-next {
        right: 8px;
    }
    
    .swiper-button-prev {
        left: 8px;
    }
}

/* Image Styles */
picture {
    display: block;
    width: 100%;
    margin: 0 auto;
}

picture img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

picture img:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* Hero Section Images */
.hero picture {
    margin-bottom: 2rem;
    max-width: 100%;
}

.hero picture img {
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

/* Section Images */
section picture {
    margin: 2rem auto;
    max-width: 800px;
}

section picture img {
    border-radius: 8px;
}

/* Mobile Image Adjustments */
@media (max-width: 768px) {
    .hero picture {
        margin-bottom: 1.5rem;
    }
    
    section picture {
        margin: 1.5rem auto;
    }
    
    picture img {
        border-radius: 6px;
    }
}

/* Image Loading States */
picture img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

picture img[loading="lazy"].loaded {
    opacity: 1;
}

/* Responsive Image Sizes */
@media (max-width: 480px) {
    .hero picture img {
        border-radius: 4px;
    }
}
