/* Games Page Styles - Using the same theme as index.php */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

body {
    font-family: 'Bebas Neue', cursive;
    background-color: white;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

.main-content {
    padding: 0;
}

/* Games Hero Section */
.games-hero {
    position: relative;
    height: 60vh;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
}

.hero-background {
    position: relative;
    width: 100%;
    height: 100%;
    background-image: url('../images/sekiro.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.7) 100%),
        radial-gradient(circle at center, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 5rem;
    margin-bottom: 1rem;
    color: white;
    letter-spacing: 8px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    animation: slideInFromBottom 1s ease-out;
}

.hero-content p {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 2px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: slideInFromBottom 1s ease-out 0.3s both;
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Games Section */
.games-section {
    padding: 6rem 2rem 4rem 2rem;
    background: 
        linear-gradient(135deg, #121212 0%, #1e1e1e 25%, #161616 75%, #0f0f0f 100%),
        radial-gradient(circle at 70% 30%, rgba(40, 40, 40, 0.3) 0%, transparent 60%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.games-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 35px,
            rgba(255, 255, 255, 0.01) 35px,
            rgba(255, 255, 255, 0.01) 36px
        ),
        linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(20,20,20,0.8) 100%);
    z-index: 1;
}

.games-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: start;
}

/* All Game Cards - Now using unified large style */

/* Regular Game Cards - Now styled like featured cards */
.game-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: linear-gradient(145deg, rgba(28, 28, 28, 0.95), rgba(18, 18, 18, 0.98));
    border: 2px solid rgba(60, 60, 60, 0.5);
    border-radius: 25px;
    padding: 3rem;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.6),
        0 0 0 3px rgba(70, 70, 70, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

/* Game Image */
.game-image {
    position: relative;
    overflow: hidden;
    height: 100%;
    border-radius: 15px;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.8) contrast(1.1);
}

/* Game Overlay */
.game-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
}

.game-status {
    font-family: 'Bebas Neue', cursive;
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
}

.game-status {
    background: linear-gradient(145deg, rgba(34, 197, 94, 0.9), rgba(22, 163, 74, 0.9));
    color: white;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.game-status.coming-soon {
    background: linear-gradient(145deg, rgba(249, 115, 22, 0.9), rgba(234, 88, 12, 0.9));
    border: 1px solid rgba(249, 115, 22, 0.3);
}

.game-status.development {
    background: linear-gradient(145deg, rgba(59, 130, 246, 0.9), rgba(37, 99, 235, 0.9));
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.game-status.concept {
    background: linear-gradient(145deg, rgba(168, 85, 247, 0.9), rgba(147, 51, 234, 0.9));
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.game-status.early-access {
    background: linear-gradient(145deg, rgba(14, 165, 233, 0.9), rgba(2, 132, 199, 0.9));
    border: 1px solid rgba(14, 165, 233, 0.3);
}

.game-status.beta {
    background: linear-gradient(145deg, rgba(236, 72, 153, 0.9), rgba(219, 39, 119, 0.9));
    border: 1px solid rgba(236, 72, 153, 0.3);
}

/* Game Content */
.game-content {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

/* Game Meta */
.game-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    flex-wrap: wrap;
}

.game-genre {
    background: rgba(80, 80, 80, 0.4);
    color: #e0e0e0;
    padding: 0.4rem 1rem;
    border-radius: 4px;
    border: 1px solid rgba(100, 100, 100, 0.4);
    font-weight: 600;
}

.game-platform {
    color: #ccc;
    font-weight: 600;
    position: relative;
    padding: 0.4rem 1.2rem;
    background: rgba(60, 60, 60, 0.3);
    border-radius: 4px;
    border: 1px solid rgba(80, 80, 80, 0.4);
}

.game-platform::before {
    content: '//';
    color: #777;
    margin-right: 6px;
    font-size: 0.7rem;
}

.game-release {
    color: #999;
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
    background: rgba(40, 40, 40, 0.3);
    border-radius: 4px;
    border: 1px solid rgba(60, 60, 60, 0.4);
}

/* Game Titles */
.game-card h2,
.game-card h3 {
    font-family: 'Bebas Neue', cursive;
    color: #f0f0f0;
    letter-spacing: 1px;
    line-height: 1.3;
    font-weight: 400;
    position: relative;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}



/* Game Text */
.game-card p {
    font-size: 1.2rem;
    color: #c5c5c5;
    letter-spacing: 0.3px;
    line-height: 1.8;
    margin-bottom: 1.8rem;
}

/* Game Buttons */
.game-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: auto;
    justify-content: center;
}

/* Read More Button Styling - matching news.php */
.learn-more-btn {
    font-family: 'Bebas Neue', cursive;
    font-size: 1rem;
    color: #ddd;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    border: 1px solid rgba(100, 100, 100, 0.5);
    background: linear-gradient(145deg, rgba(40, 40, 40, 0.4), rgba(25, 25, 25, 0.6));
    padding: 0.9rem 1.8rem;
    display: block;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 0.8;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    margin: 1rem auto 0 auto;
    text-align: center;
    width: fit-content;
    text-decoration: none !important;
}

.learn-more-btn:hover,
.learn-more-btn:focus,
.learn-more-btn:active,
.learn-more-btn:visited {
    text-decoration: none !important;
}

.learn-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, rgba(80, 80, 80, 0.6), rgba(60, 60, 60, 0.8));
    transition: left 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: -1;
}

.game-card:hover .learn-more-btn {
    opacity: 1;
    color: #fff;
    border-color: rgba(120, 120, 120, 0.7);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.game-card:hover .learn-more-btn::before {
    left: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .games-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .game-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2.5rem;
    }
    
    .game-card h2,
    .game-card h3 {
        font-size: 2.2rem;
    }
    
    .hero-content h1 {
        font-size: 4rem;
        letter-spacing: 6px;
    }
    
    .hero-content p {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .games-section {
        padding: 4rem 1rem;
    }
    
    .games-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .game-card {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem;
    }
    
    .game-content {
        padding: 0;
    }
    
    .game-card h2,
    .game-card h3 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .game-card p {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
        letter-spacing: 4px;
    }
    
    .hero-content p {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }
    
    .games-hero {
        height: 50vh;
    }
    
    .game-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .learn-more-btn {
        margin: 1rem auto 0 auto;
        text-decoration: none !important;
    }
    
    .learn-more-btn:hover,
    .learn-more-btn:focus,
    .learn-more-btn:active,
    .learn-more-btn:visited {
        text-decoration: none !important;
    }
}

@media (max-width: 480px) {
    .games-section {
        padding: 3rem 0.5rem;
    }
    
    .game-card {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .game-content {
        padding: 0;
    }
    
    .game-card h2,
    .game-card h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .game-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .game-card p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.6;
    }
    
    .learn-more-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.8rem;
        margin: 1rem auto 0 auto;
        text-decoration: none !important;
    }
    
    .learn-more-btn:hover,
    .learn-more-btn:focus,
    .learn-more-btn:active,
    .learn-more-btn:visited {
        text-decoration: none !important;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        letter-spacing: 3px;
    }
    
    .hero-content p {
        font-size: 1rem;
        letter-spacing: 0.5px;
    }
    
    .games-hero {
        height: 40vh;
    }
}

/* Smooth animations for page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.game-card {
    animation: fadeInUp 0.6s ease-out;
}

.game-card:nth-child(1) { animation-delay: 0.1s; }
.game-card:nth-child(2) { animation-delay: 0.2s; }
.game-card:nth-child(3) { animation-delay: 0.3s; }
.game-card:nth-child(4) { animation-delay: 0.4s; }
.game-card:nth-child(5) { animation-delay: 0.5s; }
.game-card:nth-child(6) { animation-delay: 0.6s; }
