@import url('https://fonts.googleapis.com/css2?family=Literata:ital,opsz,wght@0,7..72,200..900;1,7..72,200..900&display=swap');

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

:root {
    --primary-red: #FF0000;
    --dark-red: #CC0000;
    --black: #000000;
    --white: #FFFFFF;
    --text-gray: #CCCCCC;
    --light-gray: #999999;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #000000;
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.98);
    padding: 40px 20px;
    z-index: 10000;
    display: none;
    animation: slideDown 0.4s ease;
}

.cookie-consent.active {
    display: block;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-content {
    max-width: 800px;
    margin: 0 auto;
}

.cookie-title {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 8px;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}

.cookie-text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--text-gray);
}

.cookie-text a {
    color: var(--white);
    text-decoration: none;
    border-bottom: 1px solid var(--white);
}

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

.btn-accept,
.btn-decline {
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-accept {
    background-color: var(--primary-red);
    color: var(--white);
}

.btn-accept:hover {
    background-color: var(--dark-red);
    transform: scale(1.05);
}

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

.btn-decline:hover {
    background-color: var(--white);
    color: var(--black);
}

/* Header */
.header {
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--white);
    font-size: 24px;
    font-weight: 600;
    font-family: "Literata", serif;
    font-style: italic;
}

.logo img {
    font-size: 28px;
    width: 40px;
}

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

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-red);
}

.btn-contact {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 20px;
background: #CE0002;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
}

.btn-contact:hover {
    background-color: var(--dark-red);
    transform: scale(1.05);
}

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

.burger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: all 0.3s ease;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

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

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    padding: 150px 0 120px;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 15%;
    z-index: 2;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, #000 100%);
}

.hero-content {
    display: grid;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    max-width: 950px;
    width: 100%;
   
}

.hero-title {
    font-size: 72px;
    font-weight: 500;
    letter-spacing: 2px;
    font-family: "Literata", serif;
    font-style: italic;
     position: relative;
    z-index: 3;
}

.hero-subtitle {
    font-size: 56px;
    font-weight: 400;
    color: var(--primary-red);
    
    line-height: 1.2;
    font-family: "Literata", serif;
    font-style: italic;
    text-align: center;
     position: relative;
    z-index: 3;
}

.hero-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
    max-width: 340px;
     position: relative;
    z-index: 3;
}

.hero-image {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 0);
    max-width: 414px;
}

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

.hero-additional {
    max-width: 340px;
    width: 100%;
    margin-left: auto;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
    
}

.hero-additional-text {
    font-size: 16px;
    line-height: 1.2;
    color: var(--text-gray);
    max-width: 900px;
    position: relative;
    z-index: 3;
}

/* About Section */
.about {
    padding: 80px 0;
    position: relative;
    overflow-x: clip;
}

.about-content {
    display: flex;
   justify-content: space-between;
    gap: 40px;
    align-items: center;
    margin-bottom: 80px;
}

.about-image {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    max-width: 335%;
    width: 30%;
}

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

.about-text {
    position: relative;
    margin-left: auto;
    max-width: 777px;
    width: 70%;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 30px;
    font-family: "Literata", serif;
    font-style: italic;
}

.about-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
}

/* Features */
.features {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.feature-item {
    padding: 20px;
    background-color: rgba(255, 0, 0, 0.05);
    border-radius: 15px;
  
    transition: all 0.3s ease;
}

.feature-item:hover {
    background-color: rgba(255, 0, 0, 0.1);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 15px;
    background-color: #CE0002;
    width: 18px;
height: 18px;
border-radius: 50%;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--white);
}

.feature-description {
    font-size: 14px;
    color: var(--light-gray);
    line-height: 1.6;
}

/* Games Section */
.games {
    padding: 80px 0;
    background-image: url(/wp-content/themes/techfile_nhdwacdx/assets/images/g-bcg.webp);
    background-position: right top;
    background-size: contain;
    background-repeat: no-repeat;
}

.section-title-games {
    font-size: 56px;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 30px;
    text-align: center;
    font-family: "Literata", serif;
    font-style: italic;
}

.games-intro {
    text-align: center;
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

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

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

.div3 {
    grid-column: span 2 / span 2;
    grid-row: span 2 / span 2;
    grid-column-start: 5;
}

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

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

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

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

.game-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
}

.game-card:hover {
    transform: scale(1.05);
}

.game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-card-6 {
   
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.game-card-content p {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 25px;
    color: var(--white);
}

.btn-play {
    display: inline-block;
    background-color: var(--black);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-play:hover {
    background-color: var(--white);
    color: var(--primary-red);
    transform: scale(1.05);
}

/* Team Section */
.team {
    padding: 80px 0;
    position: relative;
    overflow-x: clip;
}

.team-member {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 30px;
    max-width: 403px;
    width: 100%;
    position: relative;
    z-index: 3;
}

.team-info {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.team-member-reverse {
    grid-template-columns: 1fr ;
    margin-left: auto;
}

.team-image {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
   
}

.team-image img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    border: 5px solid var(--primary-red);
}

.team-icon {
    font-size: 24px;
    margin-bottom: 15px;
    background-color: #CE0002;
    width: 18px;
height: 18px;
border-radius: 50%;
}

.team-name {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.team-description {
    font-size: 16px;
    line-height: 1.4;
    color: var(--text-gray);
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    position: relative;
}

.section-title-faq {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 50px;
    line-height: 1.3;
    font-family: "Literata", serif;
    font-style: italic;
    position: relative;
    z-index: 3;
}

.faq-list {
    width: 75%;
    position: relative;
    z-index: 3;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    position: relative;
    z-index: 3;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.faq-question h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
    transition: color 0.3s ease;
    margin: 0;
}

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

.faq-icon {
    font-size: 28px;
    font-weight: 300;
    color: var(--primary-red);
    transition: transform 0.3s ease;
    min-width: 30px;
    text-align: center;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.4s ease;
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-top: 20px;
    opacity: 1;
}

.faq-answer p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-gray);
    margin: 0;
}

.faq-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 32%;
}

.faq-image img {
   width: 100%;
    height: auto;
}

/* Footer */
.footer {
    padding: 100px 0 40px;
    border-radius: 80px 80px 0 0;
background: #CE0002;
}

.footer-title {
    font-size: 120px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 5px;
    font-family: "Literata", serif;
    font-style: italic;
}

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

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.7;
}

.footer-contact p {
    font-size: 14px;
    margin-bottom: 10px;
    color: var(--white);
}

.footer-social {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.social-link {
    font-size: 32px;
    transition: transform 0.3s ease;
    width: 40px;
}

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

.social-link:hover {
    transform: scale(1.2);
}

.footer-copyright {
    text-align: center;
    font-size: 14px;
    color: var(--white);
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.catalog {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    width: 40%;
}

.game-item {
    width: 100%;
    flex: 0 1 45%;
    overflow: hidden;
    aspect-ratio: 1;
    border-radius: 15px;
}

.game-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-inner {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
}

.game-page {
    padding: 160px 0 120px;
}

.game-col {
    max-width: 440px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.game-col h2 {
    color: #CE0002;
font-family: "Literata", serif;
    font-style: italic;
font-size: 70px;
font-weight: 400;
line-height: 100%; /* 70px */
}

.game-col:last-of-type {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.page-image {
  width: 100%;
  height: 249px;
  object-fit: cover;
  border-radius: 15px;
}

/* Responsive Design */
@media (max-width: 1023px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.98);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        padding: 40px 0;
        gap: 30px;
    }

    .nav-menu.active {
        left: 0;
    }

    .burger-menu {
        display: flex;
    }

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

    .about-content {
        grid-template-columns: 1fr;
    }

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

   

    .team-member,
    .team-member-reverse {
        grid-template-columns: 1fr;
    }

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

    .footer-social {
        justify-content: center;
    }
    .game-card-6 {
        padding: 5px;
    }
}

@media (max-width: 768px) {
    .cookie-title {
        font-size: 36px;
    }

    .game-inner {
        flex-direction: column;
        align-items: center;
    }

    .hero {
        padding-bottom: 0;
    }

    .hero-title {
        font-size: 56px;
    }

    .hero-subtitle {
        font-size: 42px;
    }

    .hero-image {
        position: relative;
        transform: none;
        margin: 0 auto;
        left: auto;
        bottom: auto;
    }

    .section-title,
    .section-title-faq {
        font-size: 36px;
    }

    .section-title-games {
        font-size: 40px;
    }

     .games-grid {
       display: flex;
       flex-wrap: wrap;
       justify-content: center;
    }

    .game-card {
        flex: 0 1 46%;
        width: 100%;
        aspect-ratio: 1;
    }

    .game-card-6 {
        flex: 0 1 100%;
        order: 7;
        aspect-ratio: auto;
    }

    .footer-title {
        font-size: 60px;
    }

    .team-name {
        font-size: 28px;
    }

    .h-btn {
        display: none;
    }

    .her-btn {
        position: absolute;
        bottom: 10%;
        left: 50%;
        transform: translateX(-50%);

    }

    .hero-additional-text {
        font-size: 14px;
    }
    .hero-description {
        font-size: 14px;
    }

    .about-content {
        flex-direction: column;
        align-items: flex-start;
    }
    .catalog {
        width: 80%;
    }
}

@media (max-width: 520px) {
    .catalog {
        width: 100%;
    }
    .cookie-title {
        font-size: 28px;
    }

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

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

    .hero-title {
        font-size: 42px;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 28px;
    }

    .about-content {
        width: 100%;
        margin-bottom: 0;
    }

    .about-text {
        width: 100%;
    }

    .about-image {
        top: -2%;
        left: 50%;
        transform: translate(-50%, 0) rotate(90deg);
        width: 60%;
    }

    .team .container {
display: flex;
flex-direction: column;
align-items: center;
    }

    .team-image {
        position: relative;
        transform: none;
        left: auto;
        bottom: auto;
        width: 170%;
    }

    .faq {
        padding-top: 100px;
        overflow-x: clip;
    }

    .faq-list {
        width: 100%;
    }

     .faq-image {
        top: -15%;
        left: 50%;
        transform: translate(-50%, 0) rotate(-90deg);
        width: 60%;
    }

    .section-title,
    .section-title-faq {
        font-size: 28px;
    }

    .section-title-games {
        font-size: 32px;
    }

    .footer-title {
        font-size: 40px;
    }

    .faq-image {
        margin-top: 0;
    }

    .faq-image img {
        max-width: 100%;
    }
}

              .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;
              }

              
                

                