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

html {
    scroll-behavior: smooth;
}

body {
    background: #050505;
    color: white;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

/* ARKA PLAN AYARLARI */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(5,5,5,.35), rgba(5,5,5,.55)),
        url("images/background.jpg");
    background-image:
        linear-gradient(rgba(5,5,5,.35), rgba(5,5,5,.55)),
        -webkit-image-set(
            url("images/background.webp") type("image/webp"),
            url("images/background.jpg") type("image/jpeg")
        );
    background-image:
        linear-gradient(rgba(5,5,5,.35), rgba(5,5,5,.55)),
        image-set(
            url("images/background.webp") type("image/webp"),
            url("images/background.jpg") type("image/jpeg")
        );
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media(max-width: 800px) {
    .background {
        background-image:
            linear-gradient(rgba(5,5,5,.35), rgba(5,5,5,.55)),
            url("images/arkaplan.png");
        background-image:
            linear-gradient(rgba(5,5,5,.35), rgba(5,5,5,.55)),
            -webkit-image-set(
                url("images/arkaplan.webp") type("image/webp"),
                url("images/arkaplan.png") type("image/png")
            );
        background-image:
            linear-gradient(rgba(5,5,5,.35), rgba(5,5,5,.55)),
            image-set(
                url("images/arkaplan.webp") type("image/webp"),
                url("images/arkaplan.png") type("image/png")
            );
        background-size: cover;
        background-position: center;
    }
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #F0821B;
    color: #000;
    padding: 8px 16px;
    z-index: 10000;
    text-decoration: none;
    font-weight: 600;
    border-radius: 0 0 8px 0;
    transition: top .2s;
}

.skip-link:focus {
    top: 0;
}

/* NAVBAR */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(5,5,5,0.8);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(240,130,27,.15);
    z-index: 1000;
}

.logo {
    text-decoration: none !important;
    color: white !important;
    font-family: 'Orbitron';
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 2px;
}

.logo span {
    color: #F0821B !important;
    text-shadow: 0 0 12px #F0821B;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul a {
    color: #ddd !important;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 500;
    transition: .3s;
}

nav ul a:hover {
    color: #F0821B !important;
    text-shadow: 0 0 12px #F0821B;
}

/* HERO VE 3D LOGO (CLS / Zıplama Önleyici Sabit Boyutlar) */
.hero {
    height: 100vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px;
    text-align: left;
    position: relative;
}

.hero-logo-link {
    display: inline-block;
    perspective: 1000px;
    text-decoration: none;
    width: 150px;
    height: 150px;
}

.hero-3d-logo {
    width: 150px;
    height: 150px;
    --poster-color: transparent;
    transition: transform 0.5s ease;
}

model-viewer {
    width: 150px;
    height: 150px;
}

.hero-logo-container {
    width: 150px;
    height: 150px;
    position: absolute;
    right: 60px;
    bottom: 60px;
}

.hero-logo-link:hover .hero-3d-logo {
    transform: rotate(360deg);
}

.hero-logo-link .hero-3d-logo {
    transform: rotate(0deg);
}

.hero-text {
    transform: translateY(-80px);
}

.hero-text h1 {
    font-family: 'Orbitron';
    font-size: 40px;
    color: white;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(240,130,27,0.4);
}

.hero-text p {
    font-size: 17px;
    color: #bbb;
    max-width: 480px;
}

.button {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 40px;
    background: #F0821B;
    color: white;
    text-decoration: none;
    border-radius: 40px;
    font-weight: 600;
    transition: .3s;
    box-shadow: 0 0 25px rgba(240,130,27,.6);
}

.button:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 50px #F0821B;
}

/* DİĞER SAYFALAR İÇİN ORTAK ALANLAR */
.page {
    min-height: 100vh;
    padding: 160px 10% 80px;
}

.page h1 {
    font-family: 'Orbitron';
    color: #F0821B;
    font-size: 50px;
    margin-bottom: 40px;
}

/* ABOUT SAYFASI */
.about-section {
    max-width: 900px;
}

.about-section p {
    color: #ddd;
    font-size: 19px;
    line-height: 2;
    margin-bottom: 25px;
}

.founder {
    margin-top: 40px;
    padding: 25px;
    border-left: 3px solid #F0821B;
}

/* GAMES SAYFASI */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
}

.game-box {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(240,130,27,.3);
    border-radius: 25px;
    padding: 30px;
    transition: .4s;
}

.game-box:hover {
    transform: translateY(-10px);
    border-color: #F0821B;
    box-shadow: 0 0 35px rgba(240,130,27,.35);
}

.game-image {
    height: 200px;
    border-radius: 20px;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #111, #222);
}

.game-box h2 {
    font-family: 'Orbitron';
    margin-bottom: 15px;
}

.status {
    display: inline-block;
    padding: 8px 18px;
    background: #F0821B;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 20px;
}

.game-box p {
    color: #ccc;
    line-height: 1.8;
}

/* CONTACT SAYFASI */
.contact-box {
    max-width: 600px;
    padding: 40px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(240,130,27,.3);
    border-radius: 25px;
}

.contact-box p {
    margin: 20px 0;
    color: #ddd;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    color: white;
    text-decoration: none;
    border: 1px solid #F0821B;
    padding: 10px 20px;
    border-radius: 30px;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 35px;
    border-top: 1px solid rgba(240,130,27,.2);
    color: #888;
}

/* MOBİL MENÜ VE 3 NOKTA */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: white;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 60px;
    right: 20px;
    background-color: #1a1a1a;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    flex-direction: column;
    padding: 10px 0;
    z-index: 1000;
}

.dropdown-menu a {
    padding: 12px 24px;
    color: white;
    text-decoration: none;
    display: block;
    font-size: 16px;
}

.dropdown-menu a:hover {
    background-color: #333;
}

@media (max-width: 768px) {
    .desktop-menu {
        display: none !important;
    }
    .menu-toggle {
        display: block !important;
    }
    .hero h1 {
        font-size: 36px;
    }
}