/* ==== GENEL AYARLAR ==== */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background: #0d0d0d;
    color: #fff;
    overflow-x: hidden;
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* ==== HAREKETLİ ARKA PLAN ==== */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(270deg, #ff6a00, #ff0080, #6a00ff, #00e1ff);
    background-size: 600% 600%;
    animation: gradientBG 18s ease infinite;
    z-index: -1;
    opacity: 0.15;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ==== HEADER & NAV ==== */
header {
    background: rgba(0, 0, 0, 0.85);
    padding: 12px 40px;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,106,0,0.3);
    box-shadow: 0 2px 12px rgba(0,0,0,0.6);
}

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

/* Logo ve nav birlikte solda */
.logo-nav {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Logo */
.logo img {
    height: 70px;
    transition: transform 0.3s;
}

.logo img:hover {
    transform: scale(1.05);
}

/* Menü linkleri */
.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: color 0.3s, text-shadow 0.3s, transform 0.2s;
}

.nav-links a:hover {
    color: #ff6a00;
    text-shadow: 0 0 12px #ff6a00;
    transform: translateY(-2px);
}

/* Sosyal ikonlar sağda */
.social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-icons a img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s, filter 0.3s;
}

.social-icons a:hover img {
    transform: scale(1.2);
    filter: brightness(1.5);
}

/* ==== HAMBURGER MENÜ ==== */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #FF6F00;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Açıldığında X şekli */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ==== RESPONSIVE ==== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(0,0,0,0.95);
        max-height: 0;
        overflow: hidden;
        padding: 0;
        transition: max-height 0.4s ease;
    }

    .nav-links.show {
        max-height: 400px;
        padding: 15px 0;
        display: flex;
    }

    .nav-links a {
        padding: 12px 20px;
        font-size: 1.2rem;
        color: #FF6F00;
        text-align: center;
    }
}

/* ==== MAIN ALANI ==== */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* ==== BAŞLIKLAR ==== */
h2 {
    font-size: 2.4rem;
    margin-bottom: 25px;
    text-align: center;
    color: #ff6a00;
    text-shadow: 0 0 20px rgba(255,106,0,0.8);
    letter-spacing: 1px;
}

/* ==== OYUN KARTLARI ==== */
#games-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    margin-top: 30px;
}

.game-card {
    background: rgba(20, 20, 20, 0.85);
    border-radius: 14px;
    box-shadow: 0 6px 25px rgba(255,106,0,0.25);
    padding: 22px;
    text-align: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    border: 1px solid rgba(255,106,0,0.25);
    backdrop-filter: blur(6px);
    overflow: hidden;
    position: relative;
}

.game-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 12px 35px rgba(255,106,0,0.6);
    border-color: rgba(255,106,0,0.6);
}

.game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 18px;
    transition: transform 0.4s;
}

.game-card:hover img {
    transform: scale(1.08);
}

.game-card h3 {
    margin: 12px 0;
    font-size: 1.4rem;
    color: #fff;
    text-shadow: 0 0 10px rgba(255,106,0,0.6);
}

.game-card p {
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 18px;
}

.game-card a {
    display: inline-block;
    padding: 12px 20px;
    background: linear-gradient(90deg, #ff6a00, #ff8533);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.25s, box-shadow 0.25s, transform 0.25s;
}

.game-card a:hover {
    background: linear-gradient(90deg, #ff8533, #ff6a00);
    box-shadow: 0 0 18px #ff6a00;
    transform: translateY(-3px);
}

/* ==== KÜÇÜK EKRAN ==== */
@media (max-width: 480px) {
    header {
        padding: 10px 20px;
    }

    .logo img {
        height: 50px;
    }

    h2 {
        font-size: 1.5rem;
    }

    main {
        padding: 40px 15px;
    }

    #games-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .game-card img {
        height: 150px;
    }
}
