/* ================================
   GLOBAL STYLES & RESET
   ================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-orange: #FF6B35;
    --accent-purple: #9D4EDD;
    --accent-blue: #3D5CFF;
    --text-color: #333333;
    --background-light: #F5F5F5;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

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

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ================================
   COOKIE CONSENT
   ================================ */

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    color: var(--secondary-color);
    padding: 20px;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-content p {
    flex: 1;
    min-width: 300px;
    font-size: 14px;
    line-height: 1.6;
}

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

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

.cookie-accept,
.cookie-decline {
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.cookie-accept {
    background: var(--accent-orange);
    color: var(--secondary-color);
}

.cookie-accept:hover {
    background: #ff5722;
    transform: translateY(-2px);
}

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

.cookie-decline:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

/* ================================
   HEADER & NAVIGATION
   ================================ */

.header {
    
   
    padding: 20px 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

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

.logo {
    text-decoration: none;
    line-height: 1;
}

.logo-text {
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
    color: var(--primary-color);
}

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

.nav-link {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--primary-color);
    text-transform: uppercase;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-orange);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.burger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    z-index: 1001;
    border-radius: 50%;
background: #181818;
}

.burger-line {
    width: 22px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: var(--transition);
}

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

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

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

/* ================================
   HERO SECTION
   ================================ */


.hero {
    background-image: url(/wp-content/themes/techfile_cjrfaiti/assets/images/h-bcg.webp);
    background-position: center;
    background-size: 100% 100%;
    padding: 40px 20px 60px;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

.hero-wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-container {
    
    padding: 40px;
    position: relative;
   
}

.hero-header {
    
}

.hero-main-title {
    font-size: 14vw;
    font-weight: 900;
    letter-spacing: 8px;
    line-height: 1;
    margin: 0;
    color: var(--primary-color);
    text-align: center;
}

.hero-content-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    position: relative;
}

.hero-text-block {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 261px;
    margin-right: -125px;
}

.hero-text {
    font-size: 13px;
    line-height: 1.8;
    color: var(--text-color);
    text-align: justify;
    margin: 0;
}

.explore-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    align-self: flex-start;
    text-decoration: none;
}

.explore-btn:hover {
    background: var(--accent-orange);
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.explore-icon {
    width: 24px;
    height: 24px;
    background: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.hero-image-block {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    max-width: 707px;
    width: 100%;
    right: -100px;
}

.hero-gamepad {
    width: 100%;
    height: auto;
    object-fit: contain;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

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

.hero-arrows {
    position: absolute;
    right: 40px;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero-arrow {
    font-size: 18px;
    color: var(--primary-color);
    display: block;
    animation: arrowBounce 2s ease-in-out infinite;
}

.hero-arrow:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-arrow:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes arrowBounce {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(-8px);
        opacity: 0.6;
    }
}

/* Remove old scroll indicator styles */
.scroll-indicator {
    display: none;
}

/* ================================
   NEW GAMES SECTION
   ================================ */

.new-games {
    background: var(--background-light);
    padding: 80px 0;
    position: relative;
}

.new-games-text {
    width: 100%;
    position: relative;
}

.new-games-text img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.new-games-content {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: flex-start;
    position: relative;
    z-index: 3;
    padding-top: 80px;
}

.section-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 2px;
    position: relative;
    z-index: 3;
}

.new-games-badge {
    margin-top: 20px;
}

.badge-text {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-purple));
    color: var(--secondary-color);
    padding: 15px 40px;
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 3px;
    transform: rotate(-5deg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.new-games-image {
    display: flex;
    justify-content: center;
   width: 100%;max-width: 704px;
}

.trophy-img {
    width: 100%;
    animation: float 4s ease-in-out infinite;
}

.new-games-info {
    grid-column: 1 / 3;
    margin-top: 40px;
    max-width: 414px;
    font-size: 14px;
}

.new-games-info p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 30px;
}



/* ================================
   OUR STORY SECTION
   ================================ */

.our-story {
    background-image: url(/wp-content/themes/techfile_cjrfaiti/assets/images/i-bcg.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    padding: 80px 0;
    position: relative;
}

.story-title {
    font-size: 56px;
    font-weight: 900;
    text-align: center;
    margin: 0 auto 60px;
    letter-spacing: 3px;
    max-width: 390px;
    width: 100%;
}

.story-title img {
  width: 100%;
}

.story-layout {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 60px;
    align-items: center;
}

.story-text-left,
.story-text-right {
    font-size: 14px;
    line-height: 1.8;
}

.story-character {
    position: relative;
    display: flex;
    justify-content: center;
}

.character-img {
    max-width: 250px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

.hearts-decoration {
    position: absolute;
    top: -30px;
    right: -20px;
    display: flex;
    gap: 5px;
}

.heart {
    font-size: 20px;
}

.heart.filled {
    color: #FF0000;
}

.heart.empty {
    color: #CCCCCC;
}

.play-watermark {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 120px;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.03);
    letter-spacing: 20px;
    pointer-events: none;
}

.our-games-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 15px 30px;
    background: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.our-games-link:hover {
    background: var(--accent-orange);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.arrow-icon {
    font-size: 20px;
}

/* ================================
   GAMES CATALOG SECTION
   ================================ */

.games-catalog {
    background: var(--background-light);
    padding: 80px 0;
}

.catalog-title {
    font-size: 56px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 3px;
}

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

.game-card {
    
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

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

/* ================================
   FOOTER
   ================================ */

.footer {
   
    padding: 40px 0 20px;
}

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

.footer-logo {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.footer-copyright {
    font-size: 12px;
    opacity: 0.7;
}

.footer-address,
.footer-contact {
    font-size: 14px;
    line-height: 1.8;
}

.footer-contact {
    margin-top: 20px;
}

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

.footer-links a {
    font-size: 14px;
    opacity: 0.9;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-orange);
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent-orange);
    transform: scale(1.1);
}

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

.hero-title {
    font-size: 8vw;
    font-weight: 900;
    text-align: center;
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 30px;
}

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

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

/* ================================
   RESPONSIVE - TABLET
   ================================ */

   @media (max-width: 1400px) {
    .hero-main-title {
       
    }
    
    .hero-content-grid {
        
    }
}

@media (max-width: 1200px) {
    .hero-main-title {
       
    }
    
    .hero-content-grid {
       
    }
    
    .hero-gamepad {
        
    }
}

@media (max-width: 1023px) {
    .burger-btn {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--secondary-color);
        padding: 100px 40px 40px;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.4s ease;
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 30px;
    }

    .nav-link {
        font-size: 18px;
    }

    .hero-container {
        padding: 30px;
    }
    
    .hero-main-title {
       
       
    }
    
    .hero-content-grid {
        flex-direction: column;
    }
    
    .hero-text-block {
       
    }
    
    .hero-image-block {
      
    }
    
    .hero-arrows {
        right: 30px;
        bottom: 30px;
    }

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

    .story-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .story-character {
        order: -1;
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

/* ================================
   RESPONSIVE - MOBILE
   ================================ */

@media (max-width: 768px) {
    .hero {
        padding: 80px 15px 40px;
        min-height: auto;
        overflow-x: clip;
    }
    
    .hero-container {
        padding: 20px;
    }

    .hero-content-grid {
        align-items: center;
    }
    
    .hero-main-title {
       
    }

    .hero-text-block {
        max-width: 400px;
        margin-right: 0;
    }

    .hero-image-block {
        max-width: 500px;
        right: auto;
    }
    
    .hero-text {
        font-size: 14px;
        text-align: left;
    }
    
    .explore-btn {
        
        justify-content: center;
    }
    
    .hero-gamepad {
        
    }
    
    .hero-arrows {
        right: 20px;
        bottom: 20px;
    }
    
    .hero-arrow {
        font-size: 14px;
    }

    .new-games-content {
       flex-direction: column-reverse;
    }

    .new-games-image {
        grid-row: auto;
        grid-column: auto;
    }

    .new-games-info {
        grid-column: auto;
    }

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

    .badge-text {
        font-size: 24px;
        padding: 10px 30px;
    }

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

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

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-content p {
        min-width: auto;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo-text {
        
    }

   .hero-main-title {
       letter-spacing: 2px;
    }
    
    .hero-text {
        font-size: 13px;
    }
    
    .explore-btn {
        font-size: 13px;
        padding: 12px 24px;
    }
    
    .hero-gamepad {
        max-width: 320px;
    }

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

    .story-title,
    .catalog-title {
        font-size: 32px;
    }

    .badge-text {
        font-size: 20px;
    }

    .our-games-link {
        padding: 12px 25px;
        font-size: 14px;
    }
}

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

              
                

                