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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: Verdana, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2c2c2c;
    color: white;
    padding: 15px 0;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

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

.cookie-content p {
    flex: 1;
    margin: 0;
    font-size: 14px;
}

.cookie-content a {
    color: #4CAF50;
    text-decoration: underline;
}

.cookie-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
}

.cookie-btn:hover {
    background: #45a049;
}

.cookie-btn.secondary {
    background: transparent;
    border: 1px solid #ccc;
}

.cookie-btn.secondary:hover {
    background: #f5f5f5;
    color: #333;
}

/* Header */
.header {
  
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
   color: #000;
text-align: center;
font-family: "Pixelify Sans";
font-size: 40px;
font-style: normal;
font-weight: 400;
line-height: 90%; /* 36px */
letter-spacing: 3.2px;
text-transform: capitalize;
    text-decoration: none;
}

.logo img {
    width: 32px;
}

.heart {
    color: #e74c3c;
    font-size: 20px;
}

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

.nav-link {
    text-decoration: none;
    color: #333;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
    background: #e5e5e5;
}

.nav-link:hover,
.nav-link.active {
    background: #d5d5d5;
}

.burger-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    width: 30px;
    height: 25px;
    justify-content: space-between;
}

.burger-btn span {
    width: 100%;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: #f5f5f5;
    border-bottom: 2px solid #ddd;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: 99;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-nav-list {
    list-style: none;
    padding: 20px;
}

.mobile-nav-list li {
    margin: 10px 0;
}

.mobile-nav-link {
    text-decoration: none;
    color: #333;
    display: block;
    padding: 12px 16px;
    background: #e5e5e5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.mobile-nav-link:hover {
    background: #d5d5d5;
}

/* Hero Section */
.hero {
    padding: 60px 0 80px;
 
}

.hero-title {
    font-family: 'Pixelify Sans', Verdana, sans-serif;
    font-size: 5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.1;
    color: #333;
}

.title-line {
   
}

.title-line:last-child {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.computer-icon {
    width: 60px;
    height: 60px;
   
}

.hero-image {
    text-align: center;
    margin: 40px 0;
}

.landscape-img {
    max-width: 300px;
    width: 100%;
    height: auto;
    border: 8px solid #e5e5e5;
    border-radius: 8px;
}

.hero-text {
   display: flex;
   align-items: center;
   gap: 8px;
   margin-bottom: 20px;
}

.hero-text p {
    font-size: 16px;
    margin-bottom: 30px;
    color: #666;
    line-height: 1.7;
}

.arrow {
    max-width: 36px;
    width: 100%;
    height: 36px;
    display: block;
    background-image: url(/wp-content/themes/techfile_pemlglm8/assets/images/arr.webp);
    background-size: 100% 100%;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 14px;
}

.btn.primary {
    border: 1px solid #000;
    color: #101010;
font-family: "Pixelify Sans";
font-size: 20px;
font-style: normal;
font-weight: 400;
line-height: 100%; /* 20px */
}

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

.btn.secondary {
   background: #005DF1;
    color: white;
}

.btn.secondary:hover {
    background: #5a68d4;
    transform: translateY(-2px);
}

/* About Section */
.about {
    padding: 80px 0;
    background: white;
}

.section-title {
    font-family: 'Pixelify Sans', Verdana, sans-serif;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 20px;
    align-items: center;
}

.about-img {
    width: 100%;
    height: auto;
    border: 4px solid #e5e5e5;
    border-radius: 8px;
}

.about-text {
    padding: 0 20px;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.7;
}

/* Play Section */
.play-section {
    padding: 80px 0;
    background: #272B2C;
    color: #fff;
}

.play-title {
    font-family: 'Pixelify Sans', Verdana, sans-serif;
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 700;
}

.play-subtitle {
    text-align: center;
    margin-bottom: 50px;
}

.play-subtitle h3 {
    font-family: 'Pixelify Sans', Verdana, sans-serif;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap:50px;
   width: 100%;
    margin: 0 auto;
}

.feature-card {
    width: 100%;
    flex: 0 1 30%;
    padding: 30px 14px 20px;
   position: relative;
    transition: transform 0.3s ease;
    min-height: 202px;
    aspect-ratio: 242 / 202;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.feature-icon {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

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



.feature-card h4 {
    font-family: 'Pixelify Sans', Verdana, sans-serif;
    font-size: 1rem;
    margin-bottom: 10px;
    color: #ecf0f1;
    position: relative;
    z-index: 3;
}

.feature-card p {
    color: #bdc3c7;
    line-height: 1.6;
    position: relative;
    z-index: 3;
    font-size: 14px;
}

/* Questions Section */
.questions {
    padding: 80px 0;
    background: #f8f8f8;
}

.questions-list {
    max-width: 800px;
    margin: 0 auto;
}

.question-item {
    border-bottom: 1px solid #ddd;
    margin-bottom: 0;
}

.question-header {
    display: flex;
    align-items: center;
    padding: 25px 0;
    cursor: pointer;
    transition: background 0.3s ease;
}

.question-header:hover {
    background: rgba(0, 0, 0, 0.02);
}

.question-number {
    font-family: 'Pixelify Sans', Verdana, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #3498db;
    margin-right: 25px;
    min-width: 50px;
}

.question-title {
    flex: 1;
    font-size: 1.1rem;
    color: #333;
    margin: 0;
}

.question-toggle {
    background: none;
    border: none;
    font-size: 3.5rem;
    color: #666;
    cursor: pointer;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.question-content {
    padding: 0;
    color: #666;
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.question-item.active .question-content {
    max-height: 200px;
    padding: 0 75px 25px 0;
}

.question-item.active .question-toggle {
    transform: rotate(180deg);
}

/* Footer */
.footer {
    background: #272B2C;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-left {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Pixelify Sans', Verdana, sans-serif;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-info {
  
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-info p {
    margin-bottom: 5px;
    color: #bdc3c7;
    font-size: 14px;
}

.footer-center {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.copyright {
    color: #95a5a6;
    font-size: 12px;
}

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

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ecf0f1;
}

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

.social-link {
    display: block;
    width: 32px;
    height: 32px;
}

.social-link img {
    width: 100%;
    height: 100%;
    filter: brightness(0.8);
    transition: filter 0.3s ease;
}

.social-link:hover img {
    filter: brightness(1);
}

.footer-right {
    width: 100%;
}

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

/* Tetris Blocks */
.tetris-blocks {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.tetris-row {
    display: flex;
    gap: 4px;
}

.tetris-row.right {
    margin-right: 20px;
}

.block {
    width: 24px;
    height: 24px;
    border-radius: 2px;
}

.block.blue {
    background: #3498db;
}

.block.red {
    background: #e74c3c;
}

.block.green {
    background: #2ecc71;
}

.block.yellow {
    background: #f1c40f;
}

.block.gray {
    background: #95a5a6;
}

.page-title {
    color: #101010;
text-align: center;
font-family: "Pixelify Sans";
font-size: 88px;
font-style: normal;
font-weight: 400;
line-height: 100%; /* 88px */
text-transform: uppercase;
}

.games-grid {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    padding-top: 90px;
}

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

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

.game-about {
    display: flex;
    align-items: center;
    gap: 30px;
    padding-top: 80px;
}

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

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

.page-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Responsive Design */
@media (max-width: 1023px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .burger-btn {
        display: flex;
    }
    
    .hero-title {
        font-size:4.2rem;
    }
    
    .title-line:last-child {
        flex-direction: column;
        gap: 15px;
    }

    .game-about {
        flex-direction: column;
    }
    
    .computer-icon {
        width: 50px;
        height: 50px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 200px;
        text-align: center;
    }
    
    .play-title {
        font-size: 2.2rem;
    }

    .feature-card {
        flex: 0 1 45%;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .tetris-blocks {
        align-items: center;
    }
    
    .question-content {
      
    }

    .game-item {
        flex: 0 1 45%;
    }
    
    .question-number {
        margin-right: 15px;
        min-width: 40px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 40px 0 60px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .play-title {
        font-size: 1.8rem;
    }
    
    .play-subtitle h3 {
        font-size: 1.4rem;
    }
    
    .features-grid {
       flex-direction: column;
       align-items: center;
    }
    
    .about,
    .play-section,
    .questions {
        padding: 60px 0;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .question-title {
        font-size: 1rem;
    }
    
    .question-number {
        font-size: 1.2rem;
    }
}

/* Smooth animations for better UX */
.nav-link,
.mobile-nav-link,
.btn,
.feature-card,
.question-header {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Focus states for accessibility */
.nav-link:focus,
.mobile-nav-link:focus,
.btn:focus,
.question-header:focus,
.cookie-btn:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .cookie-consent,
    .mobile-menu {
        display: none;
    }
    
    .hero,
    .about,
    .play-section,
    .questions {
        padding: 20px 0;
    }
}

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

              
                

                