/* ===== GLOBAL ===== */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #0d0d0d;
    color: white;
}

/* ===== NAVBAR ===== */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #111;
    padding: 15px 40px;
    border-bottom: 1px solid #2a2a2a;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-left {
    font-size: 22px;
    font-weight: bold;
}

.nav-center {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-center li {
    position: relative;
}

.nav-center a {
    text-decoration: none;
    color: #ccc;
    font-size: 15px;
}

.nav-center a:hover {
    color: #ff9800;
}

.nav-center .active {
    color: #ff9800;
}

/* SEARCH */
.nav-right input {
    padding: 8px 12px;
    border-radius: 6px;
    border: none;
    background: #2a2a2a;
    color: white;
}

/* ===== DROPDOWN ===== */
.dropdown-menu {
    position: absolute;
    top: 45px;
    left: 0;
    background: #1f1f1f;
    list-style: none;
    padding: 8px 0;
    margin: 0;
    display: none;
    min-width: 180px;
    border-radius: 8px;
    border: 1px solid #2a2a2a;
}

.dropdown-menu li {
    padding: 10px 15px;
    cursor: pointer;
    color: #ccc;
}

.dropdown-menu li:hover {
    background: #2a2a2a;
    color: #ff9800;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* ===== HERO ===== */
.hero {
    text-align: center;
    padding: 40px 20px;
    background: #141414;
    border-bottom: 1px solid #2a2a2a;
}

.hero h1 {
    margin: 0;
    font-size: 32px;
}

.hero p {
    color: #aaa;
    margin-top: 10px;
}

/* ===== GAMES GRID ===== */
.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 30px;
}

/* ===== CARD ===== */
.game-card {
    background: #1c1c1c;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    transition: 0.25s;
}

.game-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 152, 0, 0.4);
}

.game-card img {
    width: 100%;
    border-radius: 6px;
}

.play-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 14px;
    background: #ff9800;
    color: black;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

/* ===== FOOTER ===== */
.footer {
    text-align: center;
    padding: 20px;
    background: #111;
    color: #aaa;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .games-grid {
        grid-template-columns: 1fr;
    }
}
/* ===== PAGE LAYOUT ===== */
.page-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    background: #141414;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.page-container h1 {
    margin-bottom: 20px;
    font-size: 28px;
}

.page-container p {
    color: #bbb;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Back link */
.page-container a {
    display: inline-block;
    margin-top: 20px;
    color: #ff9800;
    text-decoration: none;
}

/* ===== CONTACT FORM ===== */
form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

form input,
form textarea {
    padding: 10px;
    border-radius: 6px;
    border: none;
    background: #2a2a2a;
    color: white;
}

form textarea {
    min-height: 120px;
}

form button {
    background: #ff9800;
    border: none;
    padding: 10px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

form button:hover {
    opacity: 0.9;
}.game-wrapper {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
}

.game-wrapper iframe {
    width: 90%;
    height: 90vh;
    border: none;
    border-radius: 10px;
}