/* Ana Stiller */
:root {
    --main-color: #8a2be2; /* Mor renk - Huedini'nin tema rengi */
    --accent-color: #ff69b4; /* Pembe - aksan rengi */
    --secondary-color: #00bfff; /* Mavi - ikincil renk */
    --tertiary-color: #32cd32; /* Yeşil - üçüncül renk */
    --background-color: #0a0a0a;
    --text-color: #ffffff;
    --section-bg: #121212;
    --card-bg: #1e1e1e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Pixelify Sans', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--text-color);
}

p {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, var(--main-color), var(--accent-color));
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Header Stili */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: 0 auto;
}

.logo h1 {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--main-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0;
}

.nav-links {
    display: flex;
    list-style: none;
    justify-content: space-between;
    width: 60%;
}

.nav-links a {
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 1;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--main-color), var(--accent-color));
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.download-btn {
    background: linear-gradient(900deg, var(--main-color), var(--accent-color));
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.4);
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Bölümü */
.hero {
    min-height: 100vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 6rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-content {
    flex: 1;
    padding-right: 2rem;
}

.hero h2 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, var(--main-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(90deg, var(--main-color), var(--accent-color));
    color: var(--text-color);
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.4);
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

#hero-img {
    max-width: 90%;
    filter: drop-shadow(0 0 15px rgba(138, 43, 226, 0.7));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Hakkında Bölümü */
.about-section {
    padding: 6rem 0;
    background-color: var(--section-bg);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--section-bg));
    z-index: 2;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.about-wrapper {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.about-text {
    display: table-cell;
    vertical-align: middle;
    width: 50%;
    padding-right: 2rem;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.about-image {
    display: table-cell;
    vertical-align: middle;
    width: 50%;
    text-align: center;
}

#gameplay-img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    display: inline-block;
}

#gameplay-img:hover {
    transform: scale(1.05);
}

/* Özellikler Bölümü */
.features-section {
    padding: 6rem 0;
    background-color: var(--background-color);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.3);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(138, 43, 226, 0.2);
    position: relative;
}

.feature-icon::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Feature Icons - Base64 Encoded */
.feature-icon.color-change::before {
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48ZGVmcz48cmFkaWFsR3JhZGllbnQgaWQ9InJhaW5ib3ciIGN4PSI1MCUiIGN5PSI1MCUiIHI9IjUwJSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmM2QwMCIvPjxzdG9wIG9mZnNldD0iMTYlIiBzdG9wLWNvbG9yPSIjZmYzZDAwIi8+PHN0b3Agb2Zmc2V0PSIxNyUiIHN0b3AtY29sb3I9IiNmZjlhMDAiLz48c3RvcCBvZmZzZXQ9IjMzJSIgc3RvcC1jb2xvcj0iI2ZmOWEwMCIvPjxzdG9wIG9mZnNldD0iMzQlIiBzdG9wLWNvbG9yPSIjY2ZmZjAwIi8+PHN0b3Agb2Zmc2V0PSI1MCUiIHN0b3AtY29sb3I9IiNjZmZmMDAiLz48c3RvcCBvZmZzZXQ9IjUxJSIgc3RvcC1jb2xvcj0iIzAwZmYyMSIvPjxzdG9wIG9mZnNldD0iNjclIiBzdG9wLWNvbG9yPSIjMDBmZjIxIi8+PHN0b3Agb2Zmc2V0PSI2OCUiIHN0b3AtY29sb3I9IiMwMDgxZmYiLz48c3RvcCBvZmZzZXQ9Ijg0JSIgc3RvcC1jb2xvcj0iIzAwODFmZiIvPjxzdG9wIG9mZnNldD0iODUlIiBzdG9wLWNvbG9yPSIjYTkwMGZmIi8+PHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjYTkwMGZmIi8+PC9yYWRpYWxHcmFkaWVudD48L2RlZnM+PGNpcmNsZSBjeD0iMjU2IiBjeT0iMjU2IiByPSIyMDAiIGZpbGw9InVybCgjcmFpbmJvdykiIC8+PHBhdGggZD0iTTI1NiA4MC..."); /* kısaltıldı */
    background-size: 100% 100%;
}

.feature-icon.spells::before {
    background-image: url("data:image/svg+xml;base64,..."); /* kısaltıldı */
    background-size: 100% 100%;
}

.feature-icon.roguelike::before {
    background-image: url("data:image/svg+xml;base64,..."); /* kısaltıldı */
    background-size: 100% 100%;
}

.feature-icon.pixel-art::before {
    background-image: url("data:image/svg+xml;base64,..."); /* kısaltıldı */
    background-size: 100% 100%;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--main-color);
}

.feature-card p {
    font-size: 1rem;
}

/* Galeri Bölümü */
.gallery-section {
    padding: 6rem 0;
    background-color: var(--section-bg);
}

.gallery-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    position: relative;
    cursor: pointer;
    width: 300px;
    height: 200px; /* Sabit bir yükseklik ayarlayalım */
}

.gallery-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

/* Footer */
footer {
    background-color: #060606;
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-logo h2 {
    font-size: 2rem;
    background: linear-gradient(90deg, var(--main-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    font-size: 1rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--main-color);
}

/* Mobil Responsive Tasarım */
@media screen and (max-width: 1024px) {
    .nav-links {
        width: 70%;
    }
    
    .hero h2 {
        font-size: 3rem;
    }
    
    .gallery-grid {
        gap: 1.5rem;
    }
    
    .gallery-item {
        width: 280px;
        height: 180px;
    }
}

@media screen and (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    .nav-links {
        position: absolute;
        right: 0;
        top: 0;
        height: 100vh;
        background-color: rgba(10, 10, 10, 0.95);
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        width: 60%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        padding: 6rem 0;
        z-index: -1;
    }
    
    .burger {
        display: block;
    }
    
    .nav-active {
        transform: translateX(0%);
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 6rem;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }
    
    .about-wrapper {
        display: block;
    }
    
    .about-text, .about-image {
        display: block;
        width: 100%;
        padding: 0;
    }
    
    .about-text {
        text-align: center;
        margin-top: 2rem;
    }
    
    .about-image {
        margin-bottom: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .gallery-grid {
        gap: 1rem;
    }
    
    .gallery-item {
        width: 250px;
        height: 160px;
    }
}

@media screen and (max-width: 480px) {
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .gallery-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .gallery-item {
        width: 90%;
        height: 180px;
    }
    
    .nav-links {
        width: 100%;
    }
}

body {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0a2a 70%);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background 0.5s ease;
}

/* Bölüm Arka Planlarına Hafif Gradient ve Blur Efekti */
.section-bg-gradient {
    background: linear-gradient(145deg, #121212 0%, #201533 100%);
    box-shadow: inset 0 0 60px rgba(138, 43, 226, 0.3);
    border-radius: 12px;
    padding: 4rem 2rem;
    margin: 4rem auto;
    max-width: 1200px;
    transition: background 0.5s ease;
}

/* Bu sınıfı section id’lerine uygula örneğin: #about, #features, #gallery, #feedback vb. */

/* Başlık altı çizgi daha belirgin */
.section-title::after {
    width: 120px;
    height: 5px;
    background: linear-gradient(90deg, #8a2be2, #ff69b4, #00bfff);
    box-shadow: 0 0 15px #8a2be2aa;
}

/* Header */
header {
    background: rgba(15, 10, 25, 0.95);
    border-bottom: 1px solid #3a1a77;
    box-shadow: 0 2px 10px rgba(138, 43, 226, 0.3);
    transition: background 0.4s ease;
}

/* Nav link hover ve aktif animasyonları */
.nav-links a:hover,
.nav-links a:focus {
    color: var(--accent-color);
    text-shadow: 0 0 8px var(--accent-color);
}

.nav-links a::after {
    background: linear-gradient(90deg, var(--main-color), var(--accent-color));
}

/* Download butonuna hafif parıltı animasyonu */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 10px #8a2be2, 0 0 20px #ff69b4;
    }
    50% {
        box-shadow: 0 0 20px #8a2be2, 0 0 30px #ff69b4;
    }
}

.download-btn {
    animation: glow 3s ease-in-out infinite;
}

/* Hero bölümü geliştirmesi */
.hero {
    padding-top: 7rem;
    background: radial-gradient(circle at center, rgba(138,43,226,0.15) 0%, transparent 70%);
    border-radius: 12px;
    margin-bottom: 6rem;
    transition: background 0.5s ease;
}

/* Hero başlık animasyonu */
@keyframes textGlow {
    0%, 100% {
        text-shadow: 0 0 8px #8a2be2, 0 0 15px #ff69b4;
    }
    50% {
        text-shadow: 0 0 15px #8a2be2, 0 0 25px #ff69b4;
    }
}

.hero h2 {
    animation: textGlow 4s ease-in-out infinite;
}

/* CTA Button hover iyileştirmesi */
.cta-button:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.6);
}

/* About, Features, Gallery vb bölümlere sınıf ekle, padding ve margin düzenle */
.about-section,
.features-section,
.gallery-section,
#feedback,
#changelog,
#reviews,
#legal {
    padding-top: 5rem;
    padding-bottom: 5rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
    border-radius: 12px;
    /* section-bg-gradient sınıfını otomatik kullanmak istersen, JS ile ekleyebilirsin */
}

/* Animasyonlu fade-in efektleri (sayfa yüklenirken veya scroll'da) */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Özellik kartlarına animasyonlu yükselme */
.feature-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 15px 40px rgba(138, 43, 226, 0.4);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Gallery hover zoom iyileştirmesi */
.gallery-item:hover .gallery-img {
    transform: scale(1.12);
    transition: transform 0.6s ease;
}

/* Footer düzenlemesi */
footer {
    background: linear-gradient(90deg, #0a0a1a, #1a074d);
    box-shadow: inset 0 5px 20px #8a2be2aa;
    padding: 4rem 0;
    transition: background 0.5s ease;
}

/* Footer yazı parlaklığı */
.footer-logo h2 {
    text-shadow: 0 0 15px #8a2be2aa;
}

/* Responsive eklemeler için animasyon gecikmeleri */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 2.8rem;
    }
    
    .feature-card:hover {
        transform: translateY(-8px) scale(1.02);
    }
}

.cta-button {
  display: block;
  margin: 20px auto;
  padding: 12px 24px;
  font-size: 16px;
  background-color: #8a2be2;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.hero-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-button {
  display: block;
  margin: 20px auto 0 auto; /* yukarı boşluk + ortalama */
}