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

:root {
    --primary-color: rgba(45, 160, 223, 1);
    --primary-dark: rgba(35, 130, 190, 1);
    --text-color: #ffffff;
    --bg-dark: #000000;
    --bg-card: rgba(20, 20, 20, 1);
    --border-radius: 20px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Michroma', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Buttons */
.btn-primary {
    background: var(--primary-color);
    color: var(--text-color);
    padding: 16px 40px;
    border: none;
    border-radius: var(--border-radius);
    font-family: 'Michroma', sans-serif;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: capitalize;
    text-decoration: none;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    padding: 16px 40px;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    font-family: 'Michroma', sans-serif;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-color);
}

/* Modal Styles */
.modal {
    display: flex;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 2px solid var(--primary-color);
    max-width: 500px;
    width: 90%;
    text-align: center;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.age-modal h2,
.cookie-modal h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.age-modal p,
.cookie-modal p {
    font-size: 14px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.age-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cookie-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.cookie-modal .btn-primary {
    margin-bottom: 15px;
    width: 100%;
}

.cookie-modal .btn-secondary {
    width: 100%;
}

/* Header and Navigation */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(45, 160, 223, 0.3);
}

.navbar {
    padding: 20px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 40px;
    height: 40px;
}

.logo span {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding:  60px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.hero > .container > p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content {
    display: grid;
    grid-template-columns: 230px 1fr 230px;
    gap: 20px;
    align-items: center;
    margin-bottom: 60px;
}

.hero-content .section-title {
  text-align: left;
  font-size: 28px;
}

.hero-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;

}

.hero-stats {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.stat-item h3 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 14px;
    line-height: 1.6;
}

.section-title {
    font-size: 32px;
    margin-top: 80px;
    margin-bottom: 40px;
}

/* About Section */
.about {
    padding:  60px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr 190px;
    gap: 60px;
    align-items: start;
}

.about-images {
    position: relative;
}

.about-img-main {
    width: 100%;
}

.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

.about-text h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: var(--text-color);
}

.about-text p {
    font-size: 14px;
    line-height: 1.2;
    color: rgba(254, 254, 254, 0.7);
}

.about-game-previews {
  max-width: 400px;
}

.about-game-previews img {
    width: 100%;
    height: auto;
}

/* Why Choose Section */
.why-choose {
    padding:  60px 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(10, 10, 20, 1) 100%);
}

.why-choose h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 20px;
}

.why-choose .subtitle {
    font-size: 14px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.feature-item {
    background: var(--bg-card);
    padding: 20px;
    border-radius: var(--border-radius);
    border: 2px solid var(--primary-color);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: var(--text-color);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    background: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 35px;
    height: 35px;
}

.feature-item h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.feature-item p {
    font-size: 14px;
    line-height: 1.2;
    color: rgba(254, 254, 254, 0.7);
}

.game-showcase {
    text-align: center;
    margin-top: 60px;
}

.game-showcase img {
    width: 100%;
}

/* Community Section */
.community {
    padding:  60px 0;
}

.community-content {
    display: grid;
   grid-template-columns: 1fr 302px 1fr;
    gap: 16px;
    align-items: center;
}

.community-text h2 {
    font-size: 32px;
    margin-bottom: 30px;
}

.community-text p {
    font-size: 14px;
    line-height: 1.2;
    margin-bottom: 30px;
    color: rgba(254, 254, 254, 0.7);
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icon:hover {
    transform: scale(1.1);
    background: var(--primary-dark);
}

.social-icon img {
    width: 25px;
    height: 25px;
}

.community-image {
  max-width: 400px;
  width: 100%;
}

.community-image img {
    width: 100%;
}

.community-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.feature-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateY(-5px) !important;
}

.feature-icon-small {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon-small img {
    width: 30px;
    height: 30px;
}

.feature-box h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.feature-box p {
    font-size: 14px;
    line-height: 1.2;
    color: rgba(254, 254, 254, 0.7);
}

/* FAQ Section */
.faq {
    padding:  60px 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(10, 10, 20, 1) 100%);
}

.faq h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 20px;
}

.faq .subtitle {
    font-size: 14px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.2;
    color: rgba(254, 254, 254, 0.7);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 2px solid var(--primary-color);
    margin-bottom: 20px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-color);
    padding: 25px 30px;
    font-family: 'Michroma', sans-serif;
    font-size: 16px;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-toggle {
    font-size: 24px;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 30px 25px;
    font-size: 14px;
    line-height: 1.2;
    color: rgba(254, 254, 254, 0.7);;
}

/* Contact Section */
.contact {
 background: linear-gradient(90deg, #6FE3FC 0%, #2DA0DF 100%);
    padding: 100px 0 0;
    text-align: center;
    position: relative;
    color: #000;
}

.contact h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.contact > .container > p {
    font-size: 14px;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.contact-info {
    font-size: 16px;
    margin-bottom: 40px;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info a {
    color: #000;
    text-decoration: none;
    transition: var(--transition);
}

.contact-info a:hover {
    text-decoration: underline;
}

.landscape-decoration {
    width: 100%;
    margin-top: 40px;
}

.landscape-decoration img {
    width: 100%;
    display: block;
}

/* Footer */
footer {
    background: var(--bg-dark);
    padding: 40px 0 20px;
    border-top: 1px solid rgba(45, 160, 223, 0.3);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
}

.footer-logo img {
    width: 40px;
    height: 40px;
}

.footer-logo span {
    font-size: 20px;
    font-weight: 700;
}

.footer-nav {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 12px;
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social .social-icon {
    width: 40px;
    height: 40px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(45, 160, 223, 0.2);
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

/* Games Page Styles */
.games-page {
    padding:  60px 0;
}

.games-page h1 {
    font-size: 42px;
    text-align: center;
    margin-bottom: 30px;
}

.games-intro {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.games-description {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.game-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 2px solid var(--primary-color);
    overflow: hidden;
    transition: var(--transition);
}

.game-card:hover {
    transform: translateY(-10px);
    border-color: var(--text-color);
}

.game-card a {
    text-decoration: none;
    color: var(--text-color);
    display: block;
}

.game-card img {
    width: 100%;
    display: block;
}

.game-card h3 {
    padding: 20px;
    font-size: 18px;
    text-align: center;
}

/* Game Detail Page Styles */
.game-hero {
    padding: 100px 0 60px;
}

.game-header {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 40px;
}

.game-icon img {
    width: 100%;
    border-radius: var(--border-radius);
    border: 2px solid var(--primary-color);
}

.game-title-block h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.game-title-block p {
    font-size: 14px;
    line-height: 1.8;
}

.game-hero .btn-primary {
    display: block;
    margin: 0 auto;
    max-width: 300px;
    text-align: center;
}

.game-details {
    padding: 60px 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(10, 10, 20, 1) 100%);
}

.details-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 40px;
}

.details-text h2 {
    font-size: 32px;
    margin-bottom: 30px;
}

.details-text p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.details-image img {
    width: 100%;
    border-radius: var(--border-radius);
    border: 2px solid var(--primary-color);
}

.game-details .btn-primary {
    display: block;
    margin: 0 auto;
    max-width: 300px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-stats {
        text-align: center;
        align-items: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .community-content {
        grid-template-columns: 1fr;
    }
    
    .community-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .game-header {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .game-icon {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .details-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 30px 0;
        border-top: 1px solid var(--primary-color);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .community-features {
        grid-template-columns: 1fr;
    }

    
    .about-game-previews img {
        width: 100%;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-nav {
        justify-content: center;
    }
    
    .age-buttons {
        flex-direction: column;
    }
    
    .age-buttons button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 24px;
    }
    
    .modal-content {
        padding: 30px 20px;
    }
    
    .age-modal h2,
    .cookie-modal h2 {
        font-size: 22px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 14px 30px;
        font-size: 14px;
    }
}

.policy {
  padding-top: 60px;
  padding-bottom: 60px;
}

.policy-content {
  padding-top: 20px;
  color: rgba(254, 254, 254, 0.7);
}

.policy-content a {
  color: inherit;
  text-decoration: none;
}