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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background-color: #F3F3F1;
}

.main {
    background-image: url(/wp-content/themes/techfile_tdo21nw3/assets/images/body.webp);
    background-position: center top;
    background-size: cover;
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #4FC3F7 0%, #BA68C8 100%);
    z-index: 1000;
    padding: 20px;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.cookie-content h3 {
    font-size: 2rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.cookie-content p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn-accept, .btn-decline {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.btn-accept {
    background: #4FC3F7;
    color: white;
}

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

.btn-decline {
    background: rgba(255, 255, 255, 0.7);
    color: #333;
}

.btn-decline:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
 
    z-index: 999;
    transition: all 0.3s ease;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    text-decoration: none;
}

.nav-brand img {
    width: 27px;
}

.brand-icon {
    font-size: 1.8rem;
    color: #4FC3F7;
}

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

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #4FC3F7;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4FC3F7;
    transition: width 0.3s ease;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 80px;
    padding-bottom: 90px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-content {
    display: flex;
    align-items:flex-end;
    justify-content: space-between;
    gap: 40px;
    flex: 1;
}

.hero-text {
    flex: 1;
    max-width: 318px;
}

.welcome-text {
    
    position: relative;
}

.arrow-down {
   margin-left: auto;
   width: fit-content;
}

.hero-text p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;
    margin-top: 40px;
}

.hero-main {
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 780px;
    width: 100%;
}

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

.hero-link {
    position: absolute;
    left: 20px;
    bottom: 20px;
    color: #000;
font-family: "Nunito Sans";
font-size: 84px;
font-style: normal;
font-weight: 800;
line-height: 120%; /* 100.8px */
text-decoration-line: underline;
text-decoration-style: solid;
text-decoration-skip-ink: none;
text-decoration-color: #0B5B8C;
text-decoration-thickness: 4.5%; /* 3.78px */
text-underline-offset: auto;
text-underline-position: from-font;
}

.play-section {
    text-align: center;
    z-index: 2;
    position: relative;
}

.play-section h1 {
    
}

.game-characters {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.character-card {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.character-card:hover {
    transform: translateY(-5px);
}

.character-card.red {
    background: #FF6B6B;
}

.character-card.blue {
    background: #4ECDC4;
}

.character-card.yellow {
    background: #FFE66D;
}

.see-more {
    text-align: center;
    border-top: 1px #DADAD8 solid;
    border-bottom: 1px #DADAD8 solid;
}

.see-more-btn {
    background: transparent;

    padding: 15px 30px;
   border: none;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.see-more-btn:hover {
    
 
}

.see-more-btn .arrow {
    transition: transform 0.3s ease;
    border-radius: 23px;
border: 2px solid #6C6C6C;
display: flex;
width: 46px;
height: 46px;
justify-content: center;
align-items: center;
gap: 10px;
}

.see-more-btn:hover .arrow {
    transform: translateY(3px);
}

/* Section Headers */
.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
}

.section-icon {
    font-size: 2rem;
    color: #4FC3F7;
}

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

.about-main {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.about-character {
    flex: 1;
    max-width: 400px;
}

.character-rabbit {
    width: 100%;
    height: auto;
    max-width: 350px;
    border-radius: 20px;
}

.about-text-section {
    flex: 2;
}

.why-yorvalen-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.why-yorvalen-card h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.why-yorvalen-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
}

.advantages-section h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
}

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

.advantage-card {
    padding: 30px;
    border-radius: 20px;
    text-align: left;
    transition: transform 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
}

.advantage-card.dark {
    background: #333;
    color: white;
}

.advantage-card.blue {
    background: #4FC3F7;
    color: white;
}

.advantage-card.light {
    background: white;
    color: #333;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.advantage-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.advantage-card p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Games Section */
.games {
    padding: 0 0 100px;
    
}

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

.game-card {
    padding: 30px;
    border-radius: 20px;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.game-card:hover {
    transform: translateY(-5px);
}

.game-card.dark {
    background: #333;
    color: white;
}

.game-card.light {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    color: #333;
}

.game-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.game-card p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.8;
}

/* Advertising Section */
.advertising {
    padding: 100px 0;
 
}

.advertising-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.advertising-text {
    flex: 2;
}

.advertising-text h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.2;
    letter-spacing: 1px;
}

.advertising-text > p {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 30px;
    opacity: 0.95;
}

.advertising-features ul {
    list-style: none;
    margin-bottom: 20px;
}

.advertising-features li {
    font-size: 1.1rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

.advertising-features p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.advertising-character {
   max-width: 412px;
   width: 100%;
}

.advertising-character img {
    width: 100%;
}


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

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    gap: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-info {
    display: flex;
    gap: 60px;
}

.footer-address p {
    font-size: 0.95rem;
    margin-bottom: 5px;
    opacity: 0.8;
}

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

.footer-links a {
    color: #000;
    text-decoration: none;
    font-size: 0.95rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: #4FC3F7;
}

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

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #4FC3F7;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

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

.social-link:hover {
    background: #29B6F6;
    transform: translateY(-3px);
}

.footer-character {
    max-width: 206px;
    width: 100%;
}

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

.character-small {
    width: 80px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    position: relative;
}



.footer-bottom {
 display: flex;
 justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #555;
width: 100%;
    font-size: 0.9rem;
}

.catalog {
    padding: 140px 0;
}

.cat-title {
    font-weight: 800;
    text-align: center;
    font-size: 18vw;
    line-height: 0.9;
}

.cat-grid {
    padding: 50px 0;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
}

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

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

.div4 {
    grid-column-start: 4;
    grid-row-start: 1;
}

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

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

.game-item {
    width: 100%;
    flex: 0 1 46%;
}

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

.page-about {
    color: #fff;
}

/* Responsive Design */
@media (max-width: 968px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        backdrop-filter: blur(10px);
    }

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

    .nav-menu li {
        margin: 15px 0;
    }

    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
        gap: 20px;
    }

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

    .play-section h1 {
        font-size: 4rem;
    }

    .about-main {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .about-character {
        max-width: 250px;
        margin: 0 auto;
    }

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

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

    .advertising-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .advertising-text h2 {
        font-size: 2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 30px;
    }

    .footer-info {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        text-align: center;
    }

    .cookie-content h3 {
        font-size: 1.5rem;
    }

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

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

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

    .hero-container {
        padding: 20px 15px;
    }

    .play-section h1 {
        font-size: 3rem;
    }

    .character-card {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .advertising-text h2 {
        font-size: 1.8rem;
    }
    .footer-bottom {
        gap: 16px;
        flex-direction: column-reverse;
        align-items: center;
    }
    .hero-link {
        font-size: 50px;
    }
}

/* Smooth scrolling for anchor links */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

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

              
                

                