/* PlayoGames Website Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6C5CE7;
    --secondary-color: #00B894;
    --dark-bg: #1a1a2e;
    --darker-bg: #0f0f1e;
    --light-text: #ffffff;
    --gray-text: #b8b8d1;
    --card-bg: #16213e;
    --accent: #fd79a8;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.6;
}

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

/* Navigation */
.navbar {
    background-color: var(--darker-bg);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo h1 {
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--gray-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    border-bottom: 2px solid var(--primary-color);
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.3rem;
    color: var(--gray-text);
}

/* Games Section */
.games-section {
    padding: 4rem 0;
}

.games-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--light-text);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.game-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.game-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.game-card-link:hover .game-card {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.3);
    border-color: var(--primary-color);
}

.game-card.coming-soon {
    opacity: 0.7;
}

.game-card.coming-soon:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--gray-text);
}

.game-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: var(--darker-bg);
}

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

.game-card-link:hover .game-image img {
    transform: scale(1.05);
}

.game-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.game-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--light-text);
}

.game-info p {
    color: var(--gray-text);
    margin-bottom: 1rem;
    line-height: 1.5;
    flex-grow: 1;
}

.game-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.tag {
    background-color: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent));
    color: white !important;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.4);
    color: white !important;
}

/* About Section */
.about-section {
    padding: 4rem 0;
    background-color: var(--darker-bg);
}

.about-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.about-section p {
    max-width: 800px;
    margin: 0 auto 1.5rem;
    font-size: 1.1rem;
    color: var(--gray-text);
    text-align: center;
    line-height: 1.8;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    text-align: center;
}

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-section p {
    font-size: 1.1rem;
    color: var(--gray-text);
    margin-bottom: 2rem;
}

.contact-button-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

/* Footer */
footer {
    background-color: var(--darker-bg);
    padding: 2rem 0;
    text-align: center;
    border-top: 2px solid var(--primary-color);
}

footer p {
    color: var(--gray-text);
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

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

    .games-section h2,
    .about-section h2,
    .contact-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        gap: 0.75rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .logo h1 {
        font-size: 1.5rem;
    }
}
