/* Game Page Specific Styles */

/* Game Hero Section */
.game-hero {
    background: linear-gradient(180deg, #00773A 0%, #00DD6B 100%);;
    padding: 120px 20px 50px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.game-hero-content {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

/* Game Title */
.game-title-container {
    background: rgba(11, 11, 11, 1);
    padding: 18px 20px;
    border-radius: 60px;
    margin-bottom: 30px;
    line-height: 1;
}

.game-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 900;
    color: #ffffff;
    margin: 0;
    letter-spacing: 1px;
}

/* Game Description */
.game-description {
    margin-bottom: 40px;
}

.game-description p {
    font-size: 14px;
    line-height: 1.2;
    color: #ffffff;
}

/* Play Now Button */
.play-now-btn {
  display: inline-flex;
    background: rgba(255, 82, 142, 1);
    border: 2px solid rgba(255, 255, 255, 1);
    color: #ffffff;
    border: none;
    padding: 26px 60px;
    border-radius: 60px;
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}


.play-now-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(233, 30, 99, 0.5);
}

.play-now-btn:active {
    transform: translateY(-1px);
}

/* Game Character Image */
.game-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.gran-character {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.3));
    animation: granFloat 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

@keyframes granFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    50% { 
        transform: translateY(-15px) rotate(2deg); 
    }
}

/* Decorative elements around character */
.game-image::before {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
    z-index: 1;
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 0.5; 
    }
    50% { 
        transform: scale(1.1); 
        opacity: 0.8; 
    }
}

/* Game Details Section */
.game-details {
    padding: 100px 20px;
    background-color: #fff;
    color: rgba(11, 11, 11, 1);
}

.game-details .section-title {
  text-align: center;
}

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

.game-about-text p {
    font-size: 14px;
    line-height: 1.2;
    text-align: justify;
        text-align: center;
}


/* Game Screenshot */
.game-screenshot {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.gameplay-img {
    width: 100%;
    max-width: 720px;
    height: 280px;
    object-fit: cover;
    margin-left: auto;
    margin-right: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}


/* Responsive Design */
@media (max-width: 768px) {
    .game-hero-content,
    .game-about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .game-hero {
        padding: 100px 20px 40px;
    }

    .game-title-container {
        padding: 20px 30px;
        margin-bottom: 25px;
    }

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

    .game-description p {
        text-align: left;
        font-size: 15px;
    }

    .play-now-btn {
        padding: 18px 40px;
        font-size: 16px;
    }

    .game-about-text p {
        font-size: 15px;
    }

    .features {
        gap: 15px;
    }

    .feature {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .game-hero {
        padding: 80px 15px 30px;
    }

    .game-details {
        padding: 60px 15px;
    }

    .game-title {
        font-size: 24px;
    }

    .game-title-container {
        padding: 15px 25px;
        margin-bottom: 20px;
    }

    .game-description p {
        font-size: 14px;
        line-height: 1.6;
    }

    .play-now-btn {
        padding: 15px 35px;
        font-size: 14px;
    }

    .game-about-text p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 30px;
    }

    .feature {
        padding: 12px;
        font-size: 13px;
    }

    .gameplay-img {
        max-width: 100%;
    }
}

/* Loading animation for the page */
.game-hero-content,
.game-about-content {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.game-hero-content {
    animation-delay: 0.2s;
}

.game-about-content {
    animation-delay: 0.4s;
}

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

/* Interactive elements */
.play-now-btn {
    position: relative;
    z-index: 10;
}

.feature {
    cursor: pointer;
}

/* Accessibility improvements */
.play-now-btn:focus {
    outline: 3px solid rgba(255, 255, 255, 0.6);
    outline-offset: 3px;
}

.feature:focus {
    outline: 2px solid #00d4aa;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .game-hero,
    .game-details {
        background: white !important;
        color: black !important;
        padding: 20px;
    }
    
    .game-title {
        color: black !important;
        text-shadow: none !important;
    }
    
    .game-description p,
    .game-about-text p {
        color: black !important;
        text-shadow: none !important;
    }
    
    .play-now-btn {
        display: none;
    }
    
    .game-image::before,
    .game-screenshot::before {
        display: none;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .game-details {
        background-color: #1a1a1a;
        color: #ffffff;
    }
    
    .game-about-text p {
        color: #cccccc;
    }
    
    .section-title {
        color: #00d4aa;
    }
}


