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

:root {
    --primary-color: #e91e63;
    --secondary-color: #000;
    --white: #fff;
    --gray-light: #f5f5f5;
    --gray-dark: #333;
    --text-dark: #222;
    --text-light: #666;
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --container-padding: 20px;
    --section-padding: 80px 0;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.4;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* Buttons */
.btn {
    padding: 15px 30px;
    border: none;
    border-radius: var(--border-radius);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

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

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

.btn-accept {
    background: var(--primary-color);
    color: var(--white);
    width: 100%;
    margin-bottom: 15px;
}

.btn-accept:hover {
    background: #c2185b;
}

.btn-manage {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    width: 100%;
}

.btn-manage:hover {
    background: var(--white);
    color: var(--secondary-color);
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 1;
    visibility: visible;
    transition: var(--transition);
}

.cookie-consent.hidden {
    opacity: 0;
    visibility: hidden;
}

.cookie-content {
    background: var(--secondary-color);
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    color: var(--white);
}

.cookie-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.cookie-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cookie-content p {
    margin-bottom: 30px;
    line-height: 1.6;
    color: #ccc;
}

.cookie-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
  color: #0B0B0B;
font-size: 26px;
font-style: normal;
font-weight: 900;
line-height: normal;
text-transform: uppercase;
text-decoration: none;
}

.logo img {
   width: 30px;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

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

.burger-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
}

.burger-line {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition);
}

/* Hero Section */
.hero {
   background-image: url(/wp-content/themes/techfile_hspq27he/assets/images/hero-bcg.webp);
   background-position: center;
   background-repeat: no-repeat;
   background-size: 1200px;
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

.hero-background-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 200px;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.03);
    z-index: 1;
    white-space: nowrap;
}

.hero-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-end;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 110px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 10px;
    text-align: center;
}

.title-line {
    display: block;
}

.hero-text {
    font-size: 14px;
    color: var(--text-light);
    max-width: 193px;
    width: 100%;
}

.hero-image {
    position: relative;
   max-width: 778px;
   width: 100%;
}

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

.characters {
    position: relative;
    width: 100%;
    height: 100%;
}

.character {
    position: absolute;
    font-size: 60px;
    animation: float 3s ease-in-out infinite;
}

.character-yellow {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.character-red {
    top: 10%;
    left: 50%;
    animation-delay: 0.5s;
}

.character-black {
    top: 30%;
    left: 70%;
    animation-delay: 1s;
}

.character-white {
    top: 60%;
    left: 20%;
    animation-delay: 1.5s;
}

.character-bomb {
    top: 70%;
    left: 80%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* About Section */
.about {
    padding: var(--section-padding);
}

.section-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 60px;
    text-align: center;
}

.section-title.white {
    color: var(--white);
}

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

.about-text {
    max-width: 387px;
}



.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-light);
    font-size: 14px;
}

.about-image {
    position: relative;
    text-align: center;
    max-width: 302px;
    width: 100%;
}

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

.ab-code {
    max-width: 381px;
    width: 100%;
    display: block;
}

.about-quote {
    background: var(--secondary-color);
    color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    transform: rotate(-5deg);
}

.about-quote p {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 20px;
}

.barcode {
    font-size: 24px;
    letter-spacing: 2px;
}

/* Game Categories */
.game-categories {
    background: var(--secondary-color);
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

.categories-inner {
    width: 100%;
    display: flex;
    align-items: center;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
   max-width: 895px;
   width: 70%;
    position: relative;
}

.category-card {
    padding: 20px;
   border-radius: 28px;
border: 1px solid #FFF;
    transition: var(--transition);
}

.category-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.category-icon {
    width: 3px;
    height: 40px;
    background-color: #fff;
    margin-bottom: 20px;
    display: block;
}

.category-title {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 18px;
}

.category-description {
    color: #ccc;
    font-size: 14px;
    line-height: 1.6;
}

.category-mascot {
    position: absolute;
    right: -50px;
    top: 60%;
    transform: translateY(-50%);
    font-size: 120px;
width: 35%;
}

.category-mascot img {
    width: 100%;
}

/* Level Up Section */
.level-up {
    padding: var(--section-padding);
    position: relative;
    background-image: url(/wp-content/themes/techfile_hspq27he/assets/images/m-bcg.webp);
    background-position: center;
    background-size: cover;
    overflow: hidden;
}

.level-up-content {
    display: flex;
    
    gap: 30px;
    align-items: center;
}

.level-up-text {
    width: 75%;
}

.level-up-title {
    font-size: 72px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
}

.level-up-title span {
    display: block;
}

.level-up-description {
    color: var(--text-light);
    line-height: 1.2;
    font-size: 14px;
    margin-bottom: 40px;
    max-width: 502px;
}

.level-up-image {
    position: absolute;
    right: -50px;
    top: 60%;
    transform: translateY(-50%);
width: 45%;
}

.level-up-image img {
    width: 100%;
}

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

/* Footer */
.footer {
   
    padding: 60px 0 20px;
    position: relative;
}

.footer-inner {
    display: flex;
    
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
   color: #0B0B0B;
font-family: Inter;
font-size: 26px;
font-style: normal;
font-weight: 900;
line-height: normal;
text-transform: uppercase;
}

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

.footer-link {
    color: #000;
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-contact  {
   color: #F40045;
    margin-bottom: 5px;
    font-size: 14px;
}

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

.social-link {
    font-size: 24px;
    text-decoration: none;
    transition: var(--transition);
}

.social-link img {
    width: 32px;
}

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

.footer-bottom {

    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.footer-bottom p {
    
    font-size: 14px;
}

.footer-character {
    font-size: 60px;
    position: absolute;
    right: 0;
    bottom: 0;
    width: 48%;
}

.footer-character img {
    width: 100%;
    display: block;
}


.games-grid {
    padding-top: 50px;
    width: 100%;
    max-width: 830px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.game-item {
    width: 100%;
    flex: 0 1 31%;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

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

.game-title {
    border-radius: 20px;
background: #F40045;
width: 100%;
aspect-ratio: 1;
color: #FFF;
font-family: Inter;
font-size: 20px;
font-style: normal;
font-weight: 700;
line-height: normal;
 display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.game-item:hover .game-title {
    opacity: 1;
}


.page-image {
    max-width: 500px;
    width: 100%;
}

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

.page-about {
    max-width: 640px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: #FFF;
}

.page-about a {
    max-width: 300px;
}

@keyframes scroll {
    0% { transform: translateX(100vw); }
    100% { transform: translateX(-100%); }
}

/* Responsive Design */
@media (max-width: 1023px) {
.hero {
    padding-top: 120px;
}

    .hero-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
        align-items: center;
    }
    
    .hero-title {
        font-size: 80px;
    }

    .hero-text {
        max-width: 340px;
        order: 2;
    }

    .btn-primary {
        order: 3;
    }
    
    .about-content {
        flex-direction: column;
        gap: 30px;
      
    }

    .about-text {
        max-width: 450px;
        font-size: 14px;
    }

    .level-up {
        background-size: 1200px;
        background-repeat: no-repeat;
    }
    
    .level-up-content {
        grid-template-columns: 1fr;
        gap: 40px;
         flex-direction: column;
    }

    .categories-inner {
        flex-direction: column;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        margin: 0 auto;
    }
    
    .category-mascot, .level-up-image {
        position: relative;
        right: -20px;
        align-self: flex-end;
        top: auto;
        transform: none;
        max-width: 500px;
        width: 100%;
    }

    .footer {
        padding-bottom: 0;
    }

.footer-inner {
    flex-direction: column;
}

    .footer-character {
        position: relative;
        right: 0px;
        align-self: flex-end;
        top: auto;
        transform: none;
        max-width: 500px;
        width: 100%;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 15px;
        --section-padding: 60px 0;
    }
    
    .burger-btn {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        transition: var(--transition);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        padding: 40px;
        gap: 30px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .level-up-title {
        font-size: 36px;
    }
    
    .hero-background-text {
        font-size: 100px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
     
    }
    
    .footer-bottom {
       
        gap: 20px;
      
    }
    
    .character {
        font-size: 40px;
    }
    
    .level-up-character {
        font-size: 120px;
    }

    .level-up-text {
        width: 100%;
    }
    
    .about-character {
        font-size: 80px;
    }
    .games-grid {
        justify-content: center;
    }
    .game-item {
        flex: 0 1 46%;
    }
}

@media (max-width: 550px) {
    .hero-title {
        font-size:36px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .level-up-title {
        font-size: 28px;
    }
    
    .cookie-content {
        padding: 30px 20px;
    }
    
    .cookie-buttons {
        gap: 10px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 12px;
    }
    
    .category-card {
        padding: 30px 20px;
    }
    
    .hero-image {
        height: 250px;
    }
    
    .character {
        font-size: 30px;
    }

    .footer-links {
        flex-direction: column;
    }
}

/* Burger Animation */
.burger-btn.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

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

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Focus States */
.btn:focus,
.nav-link:focus,
.footer-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

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

              
                

                