/* -- Renk Paleti ve Temel Ayarlar -- */
:root {
    --primary-black: #0A0A0A;
    --secondary-black: #1A1A1A;
    --accent-red: #FF0000;
    --accent-red-hover: #E60000;
    --accent-gold: #FFD700;
    --accent-gold-hover: #E0B700;
    --text-light-grey: #E0E0E0;
    --text-dark-grey: #888888;
    --border-grey: #333333;
}

/* -- Temel Reset ve Fontlar -- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--primary-black);
    color: var(--text-light-grey);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="%23FFD700" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-crosshair"><circle cx="12" cy="12" r="10"></circle><line x1="22" y1="12" x2="2" y2="12"></line><line x1="12" y1="2" x2="12" y2="22"></line></svg>') 9 9, auto;
}

h1, h2, h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--accent-gold);
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

a {
    color: var(--accent-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-red-hover);
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.7);
}

/* -- Scrollbar Stili -- */
::-webkit-scrollbar {
    width: 8px;
    background-color: var(--secondary-black);
}

::-webkit-scrollbar-thumb {
    background-color: var(--accent-red);
    border-radius: 4px;
    border: 2px solid var(--secondary-black);
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--accent-red-hover);
}

/* -- Preloader -- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-black);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.preloader-terminal {
    background-color: var(--secondary-black);
    border: 2px solid var(--accent-red);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5), inset 0 0 10px rgba(255, 0, 0, 0.3);
    padding: 20px 40px;
    width: 90%;
    max-width: 800px;
    text-align: left;
    white-space: pre-wrap;
    font-family: 'Fira Code', monospace;
    font-size: 1.1em;
    color: var(--accent-gold);
    animation: terminal-glow 1.5s infinite alternate;
}

#preloader-text {
    min-height: 25px;
    color: var(--accent-gold);
    overflow: hidden;
    white-space: nowrap;
}

.preloader-progress-bar-container {
    width: 100%;
    height: 8px;
    background-color: var(--border-grey);
    margin-top: 15px;
    border-radius: 4px;
    overflow: hidden;
}

.preloader-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(to right, var(--accent-red), var(--accent-gold));
    box-shadow: 0 0 8px var(--accent-gold);
    transition: width 0.3s ease-out;
}

@keyframes terminal-glow {
    from { box-shadow: 0 0 15px rgba(255, 0, 0, 0.5), inset 0 0 8px rgba(255, 0, 0, 0.3); }
    to { box-shadow: 0 0 25px rgba(255, 0, 0, 0.8), inset 0 0 12px rgba(255, 0, 0, 0.5); }
}

.preloader-fade-out {
    animation: fadeOut 1s forwards;
}
@keyframes fadeOut {
    to { opacity: 0; visibility: hidden; }
}

/* -- Header -- */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 5%;
    border-bottom: 1px solid var(--border-grey);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    transition: background 0.3s ease, border-bottom 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

/* Ortadaki logo ve mobil dil seçiciyi sarmalar */
.header-center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1; /* Masaüstünde ortayı doldurur */
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8em;
    font-weight: 700;
    color: var(--text-light-grey);
    letter-spacing: 2px;
    text-align: center; /* Hem masaüstü hem mobil için ortala */
    margin-bottom: 0; /* Mobil dil seçiciyle boşluk JS tarafından ayarlanır */
}

.logo-accent {
    color: var(--accent-red);
    text-shadow: 0 0 5px var(--accent-red);
}

/* Masaüstü sağda boşluk bırakıcı */
.header-spacer {
    width: 130px; /* Yaklaşık bir dil seçici kadar yer kaplar */
}

/* Dil seçiciler */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 10px; /* Butonlar arası boşluk */
}

.lang-switcher button {
    background: none;
    border: 1px solid var(--accent-red);
    color: var(--accent-red);
    padding: 5px 10px;
    cursor: pointer;
    font-family: 'Fira Code', monospace;
    font-size: 0.9em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    text-shadow: 0 0 3px rgba(255, 0, 0, 0.5);
    box-shadow: 0 0 5px rgba(255, 0, 0, 0.3);
    display: flex; /* İçindeki bayrak ve yazıyı hizala */
    align-items: center;
    gap: 5px; /* Bayrak ve yazı arası boşluk */
}

.lang-switcher button img {
    width: 20px;
    height: auto;
    border-radius: 2px;
    vertical-align: middle; /* Metinle aynı hizada tut */
}

.lang-switcher button:hover {
    background-color: var(--accent-red);
    color: var(--primary-black);
    box-shadow: 0 0 10px var(--accent-red);
}

.lang-switcher button.active {
    background-color: var(--accent-gold);
    color: var(--primary-black);
    border-color: var(--accent-gold);
    box-shadow: 0 0 10px var(--accent-gold);
    text-shadow: none;
}

/* Mobil dil seçiciyi varsayılan olarak gizle (masaüstünde) */
.mobile-lang-switcher {
    display: none;
    margin-top: 10px; /* Logonun altında boşluk */
}

/* Masaüstü dil seçiciyi varsayılan olarak göster */
.desktop-lang-switcher {
    display: flex;
}


/* -- Hero Section -- */
#hero {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    text-align: center;
    padding-top: 80px; /* Header yüksekliği kadar boşluk */
    padding-bottom: 300px; /* Mini oyun alanı için boşluk */
}

#hero-background-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--border-grey);
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.4);
    animation: hero-fade-in 1.5s forwards;
    margin-bottom: 20px; /* Hero content ile mini oyun arasında boşluk */
}

@keyframes hero-fade-in {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content h1 {
    font-size: 3.5em; /* Desktop boyutu */
    margin-bottom: 20px;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--accent-gold);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: var(--text-light-grey);
    white-space: nowrap; /* Varsayılan olarak tek satır */
    overflow: hidden; /* Taşmayı gizle */
    text-overflow: ellipsis; /* Taşarsa üç nokta */
    max-width: 100%; /* Sığması için */
    margin-left: auto;
    margin-right: auto;
}

/* Glitch Text Effect */
.glitch-text {
    position: relative;
    display: inline-block;
}

.glitch-text.active::before,
.glitch-text.active::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.glitch-text.active::before {
    left: 2px;
    text-shadow: -2px 0 var(--accent-red);
    animation: glitch-left 1s infinite linear alternate-reverse;
}

.glitch-text.active::after {
    left: -2px;
    text-shadow: -2px 0 var(--accent-gold);
    animation: glitch-right 1s infinite linear alternate-reverse;
}

@keyframes glitch-left {
    0% { clip: rect(0, 9999px, 25px, 0); } 25% { clip: rect(50px, 9999px, 75px, 0); } 50% { clip: rect(100px, 9999px, 125px, 0); }
    75% { clip: rect(75px, 9999px, 100px, 0); } 100% { clip: rect(25px, 9999px, 50px, 0); }
}

@keyframes glitch-right {
    0% { clip: rect(25px, 9999px, 50px, 0); } 25% { clip: rect(100px, 9999px, 125px, 0); } 50% { clip: rect(0, 9999px, 25px, 0); }
    75% { clip: rect(50px, 9999px, 75px, 0); } 100% { clip: rect(75px, 9999px, 100px, 0); }
}

/* Typewriter Effect (JS tarafından içeriği güncellenecek) */
.type-text {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap; /* Varsayılan: tek satır */
    border-right: .15em solid var(--accent-red); /* İmleç */
    /* İlk görünüşte animasyon */
    animation: typing 2s steps(40, end), blink-caret .75s step-end infinite;
}

/* Mobilde çok satırlı olması için */
.type-text.multiline {
    white-space: normal;
    animation: blink-caret .75s step-end infinite; /* Typing animasyonu kaldırıldı */
    border-right: .15em solid var(--accent-red);
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--accent-red); }
}

/* CTA Button */
.cta-button {
    background-color: var(--accent-red);
    color: var(--primary-black);
    padding: 15px 30px;
    border: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2em;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.7);
    border: 2px solid transparent;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cta-button:hover {
    background-color: var(--accent-red-hover);
    transform: translateY(-3px);
    box-shadow: 0 0 25px var(--accent-red);
    border-color: var(--accent-gold);
}

.cta-button:hover::before {
    transform: translateX(100%);
}

/* -- Mini Oyun Alanı -- */
#mini-game-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%; /* Masaüstünde biraz küçült */
    max-width: 600px;
    height: 250px; /* Mini oyun alanını uzat */
    background-color: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--accent-gold);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    overflow: hidden;
}

.game-instructions {
    font-family: 'Fira Code', monospace;
    color: var(--text-light-grey);
    font-size: 0.9em;
    text-align: center;
    margin-bottom: 5px;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.game-score-display {
    font-family: 'Orbitron', sans-serif;
    color: var(--accent-red);
    font-size: 1.2em;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(255, 0, 0, 0.7);
    margin-top: 5px;
}

#mini-game-canvas {
    width: 100%;
    flex-grow: 1;
    display: block;
    cursor: crosshair;
}


/* -- Genel Bölüm Stilleri -- */
.content-section {
    padding: 100px 5%;
    max-width: 1200px;
    margin: 0 auto;
    border-bottom: 1px dashed var(--border-grey);
    position: relative;
    overflow: hidden;
}

.content-section:last-of-type {
    border-bottom: none;
}

.section-title {
    font-size: 2.5em;
    margin-bottom: 50px;
    text-align: center;
    color: var(--accent-red);
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section-title.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* -- About Section -- */
#about p {
    text-align: center;
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

/* -- Games Section -- */
.game-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.game-card {
    background-color: var(--secondary-black);
    border: 1px solid var(--border-grey);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.game-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.8);
    border-color: var(--accent-red);
}

.game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: filter 0.3s ease;
}

.game-card:hover img {
    filter: brightness(1.1) saturate(1.2);
}

.game-card h3 {
    font-size: 1.5em;
    margin: 20px 0 10px;
    color: var(--accent-gold);
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
    padding: 0 15px;
}

.game-card p {
    font-size: 0.95em;
    color: var(--text-dark-grey);
    margin-bottom: 20px;
    padding: 0 15px;
    flex-grow: 1;
}

.game-card .status-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--accent-gold);
    color: var(--primary-black);
    font-family: 'Fira Code', monospace;
    font-size: 0.8em;
    padding: 5px 10px;
    border-radius: 3px;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.7);
    animation: pulse-gold 1.5s infinite alternate;
}

@keyframes pulse-gold {
    from { transform: scale(1); opacity: 0.9; }
    to { transform: scale(1.05); opacity: 1; }
}

.game-card .playstore-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    background-color: var(--accent-red);
    color: var(--primary-black);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9em;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 5px;
    margin: 10px auto 20px;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card .playstore-link:hover {
    background-color: var(--accent-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 15px var(--accent-red);
}

.game-card .playstore-link svg {
    width: 20px;
    height: 20px;
    fill: var(--primary-black);
    margin-right: 8px;
}

/* -- AI Integration Section -- */
#ai-integration {
    text-align: center;
}

#ai-integration p {
    max-width: 800px;
    margin: 0 auto 50px auto;
    font-size: 1.1em;
}

.ai-animation-container {
    width: 100%;
    height: 350px;
    background-color: var(--secondary-black);
    border: 1px solid var(--accent-gold);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    position: relative;
    overflow: hidden;
}

.ai-circle-anim {
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: var(--accent-gold);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--accent-gold);
    opacity: 0;
    transform: scale(0);
}

.ai-circle-anim.active {
    animation: circle-grow-pop 2s forwards;
}

@keyframes circle-grow-pop {
    0% { transform: scale(0); opacity: 0; }
    20% { transform: scale(1.2); opacity: 1; }
    80% { transform: scale(2); opacity: 0.8; }
    100% { transform: scale(3); opacity: 0; }
}

.ai-text-anim {
    position: absolute;
    font-family: 'Orbitron', sans-serif;
    font-size: 0;
    color: var(--accent-gold);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
    opacity: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.ai-text-anim.active {
    animation: text-reveal-glow 1.5s forwards;
    animation-delay: 1.5s;
}

@keyframes text-reveal-glow {
    0% { font-size: 0; opacity: 0; transform: translateY(20px); }
    50% { font-size: 4em; opacity: 1; transform: translateY(0); text-shadow: 0 0 20px var(--accent-gold); }
    100% { font-size: 4em; opacity: 1; transform: translateY(0); text-shadow: 0 0 30px var(--accent-gold), 0 0 50px rgba(255, 215, 0, 0.5); }
}


/* -- Contact Section -- */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--secondary-black);
    padding: 40px;
    border: 1px solid var(--border-grey);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 15px;
    color: var(--text-dark-grey);
    font-size: 1em;
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background-color: var(--primary-black);
    border: 1px solid var(--border-grey);
    color: var(--text-light-grey);
    font-family: 'Poppins', sans-serif;
    font-size: 1em;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-red);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 5px;
    font-size: 0.8em;
    color: var(--accent-gold);
    background-color: var(--secondary-black);
    padding: 0 5px;
}

.contact-form .cta-button {
    width: 100%;
    padding: 15px;
    margin-top: 20px;
}

.social-links {
    margin-top: 50px;
    text-align: center;
}

.social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border: 2px solid var(--accent-red);
    border-radius: 50%;
    margin: 0 15px;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.social-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--accent-red);
    transition: fill 0.3s ease;
}

.social-icon:hover {
    background-color: var(--accent-red);
    border-color: var(--accent-gold);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 0 15px var(--accent-red);
}

.social-icon:hover svg {
    fill: var(--primary-black);
}

/* -- Footer -- */
footer {
    text-align: center;
    padding: 40px 5%;
    background-color: var(--secondary-black);
    color: var(--text-dark-grey);
    font-size: 0.9em;
    border-top: 1px solid var(--border-grey);
}

.brand-note {
    margin-top: 10px;
    font-size: 0.8em;
    color: var(--accent-red);
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.3);
}

.powered-by {
    margin-top: 10px;
    color: var(--accent-gold);
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

/* -- Sahte Terminal -- */
#floating-terminal {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 350px;
    height: 250px;
    background-color: rgba(10, 10, 10, 0.9);
    border: 1px solid var(--accent-red);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
    z-index: 900;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    resize: both;
    min-width: 250px;
    min-height: 200px;
    max-width: 90vw;
    max-height: 50vh;
}

.terminal-header {
    background-color: var(--secondary-black);
    padding: 8px 10px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-grey);
    cursor: grab;
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
}
.terminal-dot.red { background-color: #ff5f56; }
.terminal-dot.yellow { background-color: #ffbd2e; }
.terminal-dot.green { background-color: #27c93f; }

.terminal-title {
    color: var(--text-light-grey);
    font-family: 'Fira Code', monospace;
    font-size: 0.9em;
    flex-grow: 1;
    text-align: center;
}

.terminal-output {
    flex-grow: 1;
    padding: 10px;
    font-family: 'Fira Code', monospace;
    font-size: 0.85em;
    color: var(--accent-gold);
    overflow-y: auto;
    white-space: pre-wrap;
    word-break: break-all;
    line-height: 1.4;
    text-shadow: 0 0 3px rgba(255, 215, 0, 0.3);
}

.terminal-output::-webkit-scrollbar {
    width: 5px;
}
.terminal-output::-webkit-scrollbar-thumb {
    background-color: var(--accent-gold);
    border-radius: 3px;
}


/* -- Responsive Tasarım -- */
@media (max-width: 768px) {
    /* Header ve Mobil Menü Ayarları */
    header nav {
        flex-direction: column; /* Dikey hizala */
        align-items: center;    /* Yatayda ortala */
        padding-top: 10px; /* Üstten boşluk ekle */
        padding-bottom: 10px; /* Alttan boşluk ekle */
    }

    .desktop-lang-switcher {
        display: none; /* Masaüstü dil seçiciyi mobilde gizle */
    }

    .header-center-content {
        flex-grow: 0; /* Artık ortayı doldurmasına gerek yok */
        width: 100%;
        order: 1; /* En üste al */
        /* Logo ve mobil dil seçici zaten içinde ortalanacak */
    }

    .logo {
        font-size: 1.6em; /* Mobil logo boyutu */
        margin-bottom: 10px; /* Dil seçiciyle arasına boşluk */
    }

    .mobile-lang-switcher {
        display: flex; /* Mobil dil seçiciyi göster */
        justify-content: center; /* Butonları ortala */
        width: 100%;
        margin-bottom: 0; /* Artık hero section'dan önce değil, header içinde */
    }
    
    .header-spacer { /* Masaüstü boşluk bırakıcıyı gizle */
        display: none;
    }

    /* Hero Section */
    #hero {
        padding-top: 160px; /* Yeni header yüksekliğini telafi et */
        padding-bottom: 280px; /* Mini oyun alanını kapsayacak şekilde boşluk */
    }

    .hero-content h1 {
        font-size: 1.8em;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 0.9em;
        margin-bottom: 30px;
        white-space: normal; /* Mobilde çok satırlı olmalı */
        word-break: break-word;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    /* Mini Oyun Alanı Mobil Optimizasyon */
    #mini-game-container {
        width: 90%;
        height: 250px; /* Mobil'de de uzun kalsın */
        padding: 8px;
    }
    .game-instructions {
        font-size: 0.8em;
    }
    .game-score-display {
        font-size: 1em;
    }


    /* Genel Bölümler */
    .content-section {
        padding: 60px 5%;
    }

    .section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    #about p {
        font-size: 1em;
    }

    .game-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .game-card h3 {
        font-size: 1.3em;
    }
    .game-card p {
        font-size: 0.85em;
    }

    .contact-form {
        padding: 25px;
    }

    .social-icon {
        width: 45px;
        height: 45px;
        margin: 0 10px;
    }

    /* Sahte Terminal */
    #floating-terminal {
        width: 90vw;
        height: 30vh;
        bottom: 10px;
        left: 5vw;
        right: 5vw;
        transform: none;
    }
    .terminal-output {
        font-size: 0.75em;
    }

    /* AI Section */
    #ai-integration p {
        font-size: 1em;
    }
    .ai-animation-container {
        height: 250px;
    }
    .ai-text-anim.active {
        animation: text-reveal-glow-mobile 1.5s forwards;
        animation-delay: 1.5s;
    }
    @keyframes text-reveal-glow-mobile {
        0% { font-size: 0; opacity: 0; transform: translateY(20px); }
        50% { font-size: 2em; opacity: 1; transform: translateY(0); text-shadow: 0 0 10px var(--accent-gold); }
        100% { font-size: 2em; opacity: 1; transform: translateY(0); text-shadow: 0 0 15px var(--accent-gold), 0 0 25px rgba(255, 215, 0, 0.5); }
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.5em;
    }

    .hero-content h1 {
        font-size: 1.5em;
    }

    .preloader-terminal {
        padding: 15px 20px;
        font-size: 0.9em;
    }
}