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

:root {
    --primary-bg: #171815;
    --secondary-bg: #21262D;
    --accent-color: #A4FF4D;
    --purple-bg: #6B46C1;
    --text-white: #FFFFFF;
    --text-gray: #C9D1D9;
    --text-dark: #8B949E;
    --border-color: #30363D;
    --hover-bg: #30363D;
}

html {
    scroll-behavior: smooth;
}

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

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

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-consent.hidden {
    display: none;
}

.cookie-content {
    background: var(--primary-bg);
    padding: 40px;
    border-radius: 16px;
    max-width: 600px;
    text-align: center;
}

.cookie-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.cookie-content p {
    margin-bottom: 30px;
    color: var(--text-gray);
    line-height: 1.6;
}

.cookie-content a {
    color: var(--accent-color);
    text-decoration: underline;
}

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

.btn-accept, .btn-refuse {
    padding: 16px 32px;
    border-radius: 50px;
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-accept {
    background: var(--accent-color);
    color: var(--primary-bg);
}

.btn-accept:hover {
    background: #8FE234;
    transform: translateY(-2px);
}

.btn-refuse {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

.btn-refuse:hover {
    background: var(--text-white);
    color: var(--primary-bg);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(22, 27, 34, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.nav {
    padding: 15px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-white);
    font-weight: 600;
    font-size: 1.2rem;
}

.logo-icon {
    color: var(--accent-color);
    font-size: 1.5rem;
}

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

.nav-link {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--text-white);
}

.nav-cta {
    background: var(--accent-color);
    color: var(--primary-bg);
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: #8FE234;
    transform: translateY(-2px);
}

.burger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.burger-line {
    width: 25px;
    height: 3px;
    background: var(--text-white);
    margin: 3px 0;
    transition: 0.3s;
}

.burger.active .burger-line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.burger.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger.active .burger-line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
    
}

.hero h1 {
    font-size: 0;
    font-weight: 200;
  color: transparent;
width: 0;
}

.hero-text {
    display: flex;
    align-items: center;
    gap: 30px;
    justify-content: space-between;
}

.hero-text p {
    color: var(--text-gray);
    font-size: 14px;
  max-width: 422px;
  width: 100%;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: inline-block;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--primary-bg);
}

.btn-primary:hover {
    background: #8FE234;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border-color: var(--text-white);
}

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

.hero-images {
    position: relative;
    width: 100%;
    height: 425px;
}

.hero-images img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   object-position: left;
}



.hero-description {
    margin-top: 60px;
    text-align: center;
}

.hero-description p {
    color: var(--text-gray);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Gaming Feels Section */
.gaming-feels {
    background: var(--purple-bg);
    padding: 100px 0;
    border-radius: 24px;
    background-image: url(/wp-content/themes/techfile_og9dxwel/assets/images/services.webp);
    background-position: center;
    background-size: cover;
}

.gaming-feels-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 80px;
}

.gaming-feels-title h2 {
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.1;
    color: var(--text-white);
}

.gaming-feels-description p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-white);
}

.feature-item h2 {
    font-size: 2.3rem;
}

.feature-item img {
    width: 100%;
}

.feature-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Restrictions Section */
.restrictions {
    padding: 100px 0;
    background: var(--primary-bg);
}

.restrictions-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 80px;
}

.restrictions-title h2 {
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.1;
    color: var(--text-white);
}

.restrictions-description p {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.6;
}

.restrictions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.restriction-card {
    
   
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.restriction-card:nth-of-type(2) {
  margin-top: 30px;
}


.restriction-card:nth-of-type(3) {
    margin-top: 60px;
}

.restriction-card:nth-of-type(4) {
    margin-top: 90px;
}



.restriction-card img {
    width: 100%;
    
}



.card-content {
    padding: 10px;
}

.card-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-white);
}

.card-content p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Join Space Section */
.join-space {
    padding: 100px 0;
    background: var(--accent-color);
    color: var(--primary-bg);
    border-radius: 24px;
    background-image: url(/wp-content/themes/techfile_og9dxwel/assets/images/abcg.webp);
    background-size: cover;
    background-position: center;
}

.join-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.join-text h2 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 30px;
    line-height: 1.1;
}

.join-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: rgba(22, 27, 34, 0.8);
}

.join-text .btn-primary {
    background: var(--primary-bg);
    color: var(--text-white);
    margin-top: 20px;
}

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

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

/* Footer */
.footer {
    background: var(--primary-bg);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 1.2rem;
}

.footer-info p {
    color: var(--text-gray);
    margin-bottom: 10px;
    text-align: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-white);
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: var(--secondary-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link img {
    width: 100%;
}

.social-link:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-dark);
}

/* Additional Styles */
.nav-link.active {
    color: var(--accent-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-color);
}

body.menu-open {
    overflow: hidden;
}

body.loaded {
    opacity: 1;
}

body {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Focus styles for accessibility */
*:focus-visible {
    outline: 2px solid var(--accent-color) !important;
    outline-offset: 2px !important;
}

/* Hover effects for cards */
.restriction-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.restriction-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(164, 255, 77, 0.1);
}

/* Loading animation for images */
.game-image, .card-image, .controller-image {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 16px;
}

.div1 {
    grid-column: span 2 / span 2;
    grid-row: span 2 / span 2;
}

.div2 {
    grid-column-start: 3;
    grid-row-start: 2;
}

.div3 {
    grid-column-start: 4;
    grid-row-start: 2;
}

.div4 {
    grid-row-start: 3;
}

.div5 {
    grid-column: span 2 / span 2;
    grid-row: span 2 / span 2;
    grid-row-start: 3;
}

.div6 {
    grid-column-start: 4;
    grid-row-start: 3;
}

.game-item img {
    width: 100%;
    border-radius: 24px;
}

.game-features {
    padding: 120px 0;
}

.game-about {
    padding-bottom: 60px;
}

/* Responsive Design */
@media (max-width: 1023px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        height: calc(100vh - 100%);
        background: var(--primary-bg);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 50px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .burger {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
       
    }

    .hero h1 {
        
    }

    .gaming-feels-header,
    .restrictions-header {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .restrictions-grid {
        grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
        gap: 16px;
    }

    .join-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero h1 {
        
    }

    .hero-text {
        flex-direction: column;
        align-items: center;
    }

    .hero-text p {
        max-width: 100%;
    }

    .gaming-feels-title h2,
    .restrictions-title h2,
    .join-text h2 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .gaming-feels-header,
    .restrictions-header {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 50px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    

    .cookie-content {
        padding: 30px 20px;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .btn-accept, .btn-refuse {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 500px) {
    .hero h1 {
       
    }

    .gaming-feels-title h2,
    .restrictions-title h2,
    .join-text h2 {
        font-size: 2rem;
    }

    .hero-image-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 300px;
        margin: 0 auto;
    }

    .restriction-card .card-content {
        padding: 20px;
    }

    .card-image {
        height: 150px;
    }

    .restrictions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .games-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .gaming-feels-header,
    .restrictions-header {
        gap: 20px;
        margin-bottom: 40px;
    }
}

              .page {
                padding: 140px 0 80px;
              }
              
              .page__inner {
                padding-top: 40px;
                width: 100%;
                margin: 0 auto;
                display: flex;
                  flex-direction: column;
                  row-gap: 18px;
                  line-height: 1.4;
              }

              .page__inner p {
                padding-bottom: 10px;
                padding-top: 8px;
              }

              .page__inner strong {
                font-weight: 600;
              }

              .page__inner ul {
                padding-left: 20px;
                list-style-type: disc;
              }

              
                

                