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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: #080711;
    min-height: 100vh;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
    line-height: 1.4;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

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

.btn-primary {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    color: #ffffff;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5f4fcf 0%, #8b7eff 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.cookie-consent.hidden {
    display: none;
}

.cookie-content {
    background: #1a1d4a;
    padding: 40px;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    text-align: center;
}

.cookie-content h2 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 2rem;
}

.cookie-content p {
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
}

.cookie-content a {
    color: #6c5ce7;
    text-decoration: underline;
}

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

.accept-cookies {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    color: #ffffff;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.accept-cookies:hover {
    background: linear-gradient(135deg, #5f4fcf 0%, #8b7eff 100%);
}

.refuse-cookies {
    background: transparent;
    color: #ffffff;
    padding: 12px 24px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.refuse-cookies:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Header */
.header {
    background: #080711;
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
}

.logo-img {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    
}

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

.nav-list a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: #ffffff;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

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

.burger-menu span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #a29bfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.hero-image {
    text-align: center;
}

.hero-characters {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(108, 92, 231, 0.3));
}

/* Categories Section */
.categories {
    padding: 80px 0;
}

.categories h2 {
    text-align: center;
    margin-bottom: 60px;
    color: #ffffff;
}

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

.category-card {
    background: rgba(26, 29, 74, 0.6);
    border-radius: 20px;
   overflow: hidden;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(108, 92, 231, 0.2);
}

.category-card:hover {
    transform: translateY(-10px);
    background: rgba(26, 29, 74, 0.8);
    border-color: rgba(108, 92, 231, 0.5);
    box-shadow: 0 20px 40px rgba(108, 92, 231, 0.2);
}

.category-image {
    width: 100%;
  
    margin: 0 auto 20px;
    
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.category-card h3 {
    color: #ffffff;
    font-size: 1.1rem;
}

/* About Section */
.about {
    padding: 80px 0;
    background: rgba(26, 29, 74, 0.3);
}

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

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

.about-text li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.about-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.about-image {
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(108, 92, 231, 0.3));
}

/* Advantages Section */
.advantages {
    padding: 80px 0;
}

.advantages h2 {
    text-align: center;
    margin-bottom: 60px;
    color: #ffffff;
}

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

.advantage-card {
    text-align: center;
    padding: 30px 20px;
}

.advantage-icon {
    width: 90px;
    
    margin: 0 auto 20px;
    
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-icon img {
    width: 100%;
    
}

.advantage-card h3 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.advantage-card p {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: rgba(26, 29, 74, 0.3);
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.cta-image {
    text-align: center;
}

.cta-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(108, 92, 231, 0.3));
}

/* Footer */
.footer {
    background: rgba(10, 13, 46, 0.8);
    padding: 40px 0 20px;
    border-top: 1px solid rgba(108, 92, 231, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 30px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-contact p {
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

.footer-social {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    align-items: center;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link.twitter {
    
}

.social-link.facebook {
    
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.3);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content,
    .about-content,
    .cta-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(26, 29, 74, 0.95);
        backdrop-filter: blur(10px);
        padding: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .burger-menu {
        display: flex;
    }
    
    .burger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .burger-menu.active span:nth-child(2) {
        opacity: 0;
    }
    
    .burger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .categories-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .hero-buttons,
    .about-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .cookie-content {
        padding: 30px 20px;
    }
    
    .cookie-buttons {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .categories,
    .about,
    .advantages,
    .cta {
        padding: 60px 0;
    }
    
    .category-card,
    .advantage-card {
        padding: 20px 15px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Games Page Specific Styles */

/* Header Active State */
.header .btn.active {
    background: linear-gradient(135deg, #5f4fcf 0%, #8b7eff 100%);
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.4);
}

/* Games Zone Section */
.games-zone {
    padding: 120px 0 80px;
    min-height: 100vh;
}

.games-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.games-intro h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #ffffff 0%, #a29bfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.games-intro p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
    
}

/* Featured Game Card - 2x2 */
.game-card.featured {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

/* Normal Game Cards - 1x1 */
.game-card.normal:nth-of-type(2) { /* MineClicker */
    grid-column: 3;
    grid-row: 1;
}

.game-card.normal:nth-of-type(4) { /* Minecraft Builder */
    grid-column: 5;
    grid-row: 1;
}

.game-card.normal:nth-of-type(5) { /* Stick Fight */
    grid-column: 6;
    grid-row: 1;
}

.game-card.normal:nth-of-type(6) { /* Cryzen */
    grid-column: 3;
    grid-row: 2;
}

.game-card.normal:nth-of-type(7) { /* Venge */
    grid-column: 5;
    grid-row: 2;
}

.game-card.normal:nth-of-type(8) { /* X-Ray Math */
    grid-column: 6;
    grid-row: 2;
}

/* Tall Game Card - Golden Knight 1x1.5 */
.game-card.tall {
    grid-column: 4;
    grid-row: 1 / 3;
}

/* Remove old small-games styles */
.small-games {
    display: none;
}

/* Game Card Base Styles */
.game-card {
    background: transparent;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    cursor: pointer;
    aspect-ratio: 1 / 1;
}

.game-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 2px rgba(108, 92, 231, 0.5);
}

.game-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    width: 100%;
}

/* Game Image */
.game-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 15px;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.1);
    filter: brightness(0.7);
}

/* Game Overlay */
.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: all 0.4s ease;
    border-radius: 15px;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

/* Game Title */
.game-title {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.game-card:hover .game-title {
    transform: translateY(0);
}

.game-card.featured .game-title {
    font-size: 1.5rem;
    padding: 25px;
}

.game-card.tall .game-title {
    font-size: 0.9rem;
}

.game-card.normal .game-title {
    font-size: 0.85rem;
    padding: 15px;
}

/* Loading Animation for Images */
.game-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    z-index: -1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .games-grid {
        max-width: 900px;
        gap: 20px;
       
    }
    
    .games-intro h1 {
        font-size: 2.5rem;
    }
    
    .game-title {
        font-size: 0.9rem;
    }
    
    .game-card.featured .game-title {
        font-size: 1.3rem;
    }
    
    .game-card.normal .game-title {
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .games-zone {
        padding: 100px 0 60px;
    }
    
    .games-intro {
        margin-bottom: 40px;
    }
    
    .games-intro h1 {
        font-size: 2rem;
    }
    
    .games-intro p {
        font-size: 1rem;
    }
    
    .games-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(3, 1fr);
        
        gap: 20px;
    }
    
    /* Reposition for tablet */
    .game-card.featured {
        grid-column: 1 / 3;
        grid-row: 1 / 3;
    }
    
    .game-card.normal:nth-of-type(2) { /* MineClicker */
        grid-column: 3;
        grid-row: 1;
    }
    
    .game-card.tall { /* Golden Knight */
        grid-column: 4;
        grid-row: 1 / 3;
    }
    
    .game-card.normal:nth-of-type(4) { /* Minecraft Builder */
        grid-column: 3;
        grid-row: 2;
    }
    
    .game-card.normal:nth-of-type(5) { /* Stick Fight */
        grid-column: 1;
        grid-row: 3;
    }
    
    .game-card.normal:nth-of-type(6) { /* Cryzen */
        grid-column: 2;
        grid-row: 3;
    }
    
    .game-card.normal:nth-of-type(7) { /* Venge */
        grid-column: 3;
        grid-row: 3;
    }
    
    .game-card.normal:nth-of-type(8) { /* X-Ray Math */
        grid-column: 4;
        grid-row: 3;
    }
    
    .game-title {
        font-size: 0.8rem;
    }
    
    .game-card.featured .game-title {
        font-size: 1.1rem;
    }
    
    .game-card.normal .game-title {
        font-size: 0.7rem;
    }
}

@media (max-width: 640px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(1, 1fr);
        
        gap: 18px;
    }
    
    /* Mobile layout - stack vertically */
    .game-card.featured {
        grid-column: 1 / 3;
        grid-row: 1;
    }
    
    .game-card.normal:nth-of-type(2) { /* MineClicker */
        grid-column: 1;
        grid-row: 2;
    }
    
    .game-card.tall { /* Golden Knight */
        grid-column: 1 / 3;
        grid-row: 5;
    }
    
    .game-card.normal:nth-of-type(4) { /* Minecraft Builder */
        grid-column: 1;
        grid-row: 3;
    }
    
    .game-card.normal:nth-of-type(5) { /* Stick Fight */
        grid-column: 2;
        grid-row: 3;
    }
    
    .game-card.normal:nth-of-type(6) { /* Cryzen */
        grid-column: 1;
        grid-row: 4;
    }
    
    .game-card.normal:nth-of-type(7) { /* Venge */
        grid-column: 2;
        grid-row: 4;
    }
    
    .game-card.normal:nth-of-type(8) { /* X-Ray Math */
        grid-column: 2;
        grid-row: 2;
    }
    
    .games-intro h1 {
        font-size: 1.8rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .game-title {
        font-size: 0.75rem;
    }
    
    .game-card.featured .game-title {
        font-size: 1rem;
    }
    
    .game-card.normal .game-title {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .games-zone {
        padding: 90px 0 50px;
    }
    
    .games-intro h1 {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    
    .games-intro p {
        font-size: 0.9rem;
    }
    
    .games-grid {
        
        gap: 12px;
    }
    
    .game-title {
        font-size: 0.7rem;
    }
    
    .game-card.featured .game-title {
        font-size: 0.9rem;
    }
    
    .game-card.normal .game-title {
        font-size: 0.6rem;
    }
}

/* Loading State */
.game-image.loading {
    background: linear-gradient(90deg, #6c5ce7, #a29bfe, #6c5ce7);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Accessibility Improvements */
.game-card:focus-within {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 2px rgba(108, 92, 231, 0.8);
}

.game-link:focus {
    outline: none;
}

/* Additional Hover Effects */
.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1) 0%, rgba(162, 155, 254, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    border-radius: 15px;
    z-index: 1;
}

.game-card:hover::before {
    opacity: 1;
}

/* Game Page Specific Styles */

/* Game Hero Section */
.game-hero {
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.game-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.game-hero-text {
    max-width: 500px;
}

.game-title {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 30px;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, #a29bfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.game-description {
    margin-bottom: 40px;
}

.game-description p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

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

.play-btn {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    color: #ffffff;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-btn:hover {
    background: linear-gradient(135deg, #5f4fcf 0%, #8b7eff 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.4);
}

.learn-btn {
    background: transparent;
    color: #ffffff;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.learn-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Game Hero Image */
.game-hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.game-image-container {
    position: relative;
    max-width: 500px;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.game-image-container:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 35px 70px rgba(108, 92, 231, 0.3);
}

.game-hero-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

/* Game Features Section */
.game-features {
    padding: 80px 0;
    background: rgba(26, 29, 74, 0.3);
}

.game-features h2 {
    text-align: center;
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
    transition: all 0.4s ease;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

/* Color-coded icons based on game features */
.feature-icon.purple {
    
}

.feature-icon.green {
   
}

.feature-icon.orange {
   
}

.feature-icon.blue {
    
}

.feature-card:hover .feature-icon {
    box-shadow: 0 15px 30px rgba(108, 92, 231, 0.4);
    transform: scale(1.1);
}

.feature-icon img {
   width: 100%;
}

.feature-card h3 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.5;
}

/* Game Overview Section */
.game-overview {
    padding: 80px 0;
}

.game-overview h2 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
}

.overview-content {
    max-width: 800px;
}

.overview-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .game-hero-content {
        gap: 40px;
    }
    
    .game-title {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .game-features h2,
    .game-overview h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .game-hero {
        padding: 100px 0 60px;
    }
    
    .game-hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .game-title {
        font-size: 2rem;
    }
    
    .game-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .game-features,
    .game-overview {
        padding: 60px 0;
    }
    
    .game-features h2,
    .game-overview h2 {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
}

@media (max-width: 640px) {
    .game-hero {
        padding: 90px 0 50px;
    }
    
    .game-title {
        font-size: 1.8rem;
    }
    
    .game-description p {
        font-size: 1rem;
    }
    
    .game-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .play-btn,
    .learn-btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }
    
    .feature-icon img {
        width: 30px;
        height: 30px;
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
    }
    
    .overview-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .game-title {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    
    .game-features h2,
    .game-overview h2 {
        font-size: 1.5rem;
    }
    
    .feature-card {
        padding: 20px 15px;
    }
    
    .game-features,
    .game-overview {
        padding: 50px 0;
    }
}

/* Animation Effects */
.game-hero-text {
    animation: fadeInLeft 1s ease forwards;
}

.game-hero-image {
    animation: fadeInRight 1s ease 0.3s forwards;
    opacity: 0;
}

.feature-card {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading states */
.game-hero-img {
    transition: opacity 0.5s ease;
}

.game-hero-img.loading {
    opacity: 0.7;
    background: linear-gradient(90deg, #6c5ce7, #a29bfe, #6c5ce7);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Interactive elements */
.play-btn:active {
    transform: translateY(-1px) scale(0.98);
}

.learn-btn:active {
    transform: scale(0.98);
}

/* Focus states for accessibility */
.play-btn:focus,
.learn-btn:focus {
    outline: 2px solid rgba(108, 92, 231, 0.5);
    outline-offset: 4px;
}

/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(26, 29, 74, 0.3);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5f4fcf 0%, #8b7eff 100%);
}

              .page {
                padding: 80px 0;
              }
              
              .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;
              }

              
                

                