/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    color: #ffffff;
    background-color: #121212;
    overflow-x: hidden;
}

/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    position: fixed;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
    z-index: 1000;
    transition: all 0.3s ease;
}

header .logo a img {
    height: 50px;
    transition: transform 0.3s ease;
}

header .logo a img:hover {
    transform: scale(1.1);
}

nav {
    display: flex;
    gap: 20px;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    font-family: 'Roboto', sans-serif;
	
    padding: 10px 15px;
    border-radius: 5px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #f39c12;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Hamburger Menu Animation */
.menu-icon {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.menu-icon .bar {
    width: 30px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
}

nav.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

nav {
    display: flex;
}

@media (max-width: 768px) {
    nav {
        display: none;
        position: absolute;
        top: 60px;
        right: 0;
        background: rgba(0, 0, 0, 0.9);
        width: 200px;
        padding: 20px;
        flex-direction: column;
    }

    .menu-icon {
        display: flex;
    }

    nav.open {
        display: flex;
    }
}

/* Hero Section */
#home {
    
    height: 100vh;
    background: url('wallpaper.jpg') center/cover no-repeat;
    opacity:0.89;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;

}



#home h1 {
    font-size: 2.8em;
    font-weight: bold;
    margin-bottom: 10px;
}

#home h1 span {
    color: #f39c12;
}

#home p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.explore-btn {
    background-color: #f39c12;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    color: #ffffff;
    cursor: pointer;
    margin-top: 20px;
    transition: transform 0.3s ease;
}

.explore-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(243, 156, 18, 0.5);
}

/* Games Section */
/* games area */
/* Genel Ayarlar */
#games {
    background-color: #141414;
    color: #fff;
    padding: 50px 20px;
    text-align: center;
}

h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #ff6600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Oyun Kartları Konteyneri */
.game-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    justify-items: center;
    animation: fadeIn 1s ease-out;
}

/* Oyun Kartları */
.game-card {
    background-color: #222;
    border-radius: 15px; /* Yumuşak köşeler */
    width: 100%;
    height: auto;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    position: relative;
    margin-bottom: 20px;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.game-logo {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px 10px 0 0; /* Sadece üst köşeleri yuvarlat */
}

.game-info {
    background-color: #333;
    padding: 20px;
    border-radius: 0 0 10px 10px; /* Alt köşeleri yuvarlat */
    text-align: left;
    opacity: 0;
    animation: fadeInText 1s ease-out forwards;
}

.game-info h3 {
    font-size: 1.3rem;
    font-family: 'Arial', sans-serif;
    margin: 0 0 10px 0;
    color: #fff;
    font-weight: bold;
}

.game-info p {
    font-size: 1rem;
    font-family: 'Arial', sans-serif;
    color: #ddd;
    line-height: 1.5;
}

/* Animasyonlar */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInText {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    #games {
        padding: 20px 10px;
    }

    h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .game-cards-container {
        grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
        gap: 15px;
    }

    .game-card {
        height: auto;
    }

    .game-logo {
        height: 200px;
        border-radius: 12px 12px 0 0; /* Mobilde köşeleri yuvarlat */
    }

    .game-info h3 {
        font-size: 1.2rem;
    }

    .game-info p {
        font-size: 1rem;
        margin: 0;
    }
}

@media (max-width: 480px) {
    h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .game-cards-container {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 10px;
    }

    .game-card {
        height: auto;
    }

    .game-logo {
        height: 180px;
        border-radius: 10px 10px 0 0; /* Mobilde köşeleri yuvarlatmaya devam et */
    }

    .game-info h3 {
        font-size: 1rem;
    }

    .game-info p {
        font-size: 0.9rem;
    }
}

/* games area bitis */

/* Footer Styles */
footer {
    text-align: center;
    padding: 20px;
    background: #111111;
    font-size: 14px;
}

/* Animation */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Page Load Animation */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    animation: fadeIn 1s ease-out;
    animation-delay: 0.5s; /* Slight delay to make it smoother */
}
/* Giriş Paneli (Welcome) Modernizasyonu */
/* Giriş Paneli (Welcome) Mobil Düzenlemeleri */

/* saa */

#home .overlay {
    position: relative;
    opacity: .85;
    background: linear-gradient(190deg, rgba(19, 19, 19, 0.301), rgba(0, 0, 0, 0.073));
    padding: 30px 25px; /* Daha geniş padding */
    color: #ffffff; /* Beyaz yazı rengi */
    border-radius: 20px; /* Yumuşak köşeler */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 -4px 15px rgba(11, 11, 11, 0.2);
    width: 90%;
    max-width: 450px;
    margin: 0 auto;
    backdrop-filter: blur(15px);
    text-align: center;
    animation: fadeIn 1s ease-in-out;
    transition: transform 0.2s ease;
}
 
#home .overlay h1 {
    font-size: 1.45rem;
    font-weight: 450;
    color: #e7e7e7; /* Turuncu-sarı tonunda "world" kelimesi */
    margin-bottom: 0px;
    letter-spacing: 0.5px;
}

#home .overlay span {
    color: #ff9800; /* Turuncu-sarı tonunda */
}

#home .overlay p {
    font-size: 1rem;
    color: #ffffff; /* Beyaz metin */
    line-height: 1.6;
    opacity: 0.9;
}

.explore-btn {
    padding: 12px 40px;
    font-size: 1rem;
    font-weight: 500;
    color: #ffffff; /* Beyaz metin */
    background: linear-gradient(135deg, #ff9800, #ff5722); /* Sarı-turuncu arası */
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 25px rgba(255, 152, 0, 0.4);
}

.explore-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 152, 0, 0.6);
}

/* Yumuşak Fade-in Animasyonu */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* saa */
/* Mobil Ekranlar için Panel Yüksekliğini Optimize Et */
@media (max-width: 768px) {
    #home h1 {
        font-size: 2em; /* Başlık boyutunu küçült */
    }

    #home p {
        font-size: 1em; /* Yazı boyutunu küçült */
    }

    .explore-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}



/* Başlık Fontu */
#home h1 {
    font-size: 3em;
    font-weight: bold;
    margin-bottom: 15px;
  
}

#home h1 span {
    color: #f39c12; /* Vurgulu renk */
}

/* Buton Animasyonu */
.explore-btn {
    background-color: #f39c12;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    color: #ffffff;
    cursor: pointer;
    margin-top: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 5px; /* Modern buton şekli */
}

.explore-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(243, 156, 18, 0.3);
}
.logo {
    width: 30px; /* Resimlerin genişliğini küçült */
    height: auto; /* Boyut orantısını korur */
    margin-left: 10px; /* Resimler arasında boşluk */
}
body {
    background: linear-gradient(45deg, #1e1e1e, #333);
    background-size: 400% 400%;
    animation: gradientAnimation 20s ease infinite;
}

@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #000000; /* Arka plan rengi */
    z-index: -1; /* İçeriğin arkasında kalması için */
}
/* Başlangıçta saydamlık ve küçültme */
.container {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

/* Sayfa yüklendiğinde opacity ve boyut animasyonunu aktif eder */
body.loaded .container {
    opacity: 1;
    transform: scale(1);
}

