/* --- YANKI TOPU MODERN STİL DOSYASI --- */

/* 1. Kök Değişkenler ve Sıfırlama */
:root {
    --bg-color: #080B14;
    --surface-color: rgba(15, 21, 32, 0.7);
    --surface-solid: #0F1520;
    --surface-high: #161D2E;
    --border-color: rgba(56, 189, 248, 0.15);
    
    /* Neon Renkler */
    --color-orange: #FF6B35;
    --color-green: #00F5A0;
    --color-blue: #38BDF8;
    --color-purple: #a855f7;
    --color-yellow: #FBBF24;
    --color-red: #F87171;
    
    /* Glow/Işıma Değerleri */
    --glow-orange: 0 0 15px rgba(255, 107, 53, 0.6);
    --glow-green: 0 0 15px rgba(0, 245, 160, 0.6);
    --glow-blue: 0 0 15px rgba(56, 189, 248, 0.6);
    --glow-purple: 0 0 15px rgba(168, 85, 247, 0.6);
    
    /* Fontlar */
    --font-primary: 'Space Grotesk', sans-serif;
    --font-display: 'Orbitron', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-color);
    color: #FFFFFF;
    font-family: var(--font-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* 2. Arka Plan Süslemeleri */
.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(to right, rgba(56, 189, 248, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(56, 189, 248, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -2;
    pointer-events: none;
}

.glow-radial {
    position: fixed;
    top: -20%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.08) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
    filter: blur(80px);
    animation: pulseGlow 15s infinite alternate ease-in-out;
}

@keyframes pulseGlow {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.2) translate(10%, 10%); }
}

/* 3. Genel Düzen */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Glassmorphism Panel */
.glass-panel {
    background: var(--surface-color);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.glass-panel:hover {
    border-color: rgba(56, 189, 248, 0.3);
    box-shadow: 0 12px 40px 0 rgba(56, 189, 248, 0.1);
}

/* Buton Stilleri */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 16px 36px;
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-blue);
    color: var(--bg-color);
    box-shadow: var(--glow-blue);
}

.btn-primary:hover {
    background-color: #ffffff;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: #FFFFFF;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
    border-radius: 8px;
}

.btn-full {
    width: 100%;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

/* Bölüm Başlıkları */
.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #ffffff 0%, var(--color-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #94a3b8;
}

.text-center {
    text-align: center;
}

/* 4. Header / Navigasyon */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    background: rgba(8, 11, 20, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: 2px;
    cursor: default;
}

.logo-text {
    color: #ffffff;
}

.logo-accent {
    color: var(--color-orange);
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

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

.nav-link {
    color: #94a3b8;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    position: relative;
    padding: 5px 0;
}

.nav-link:hover, .nav-link.active {
    color: #ffffff;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-blue);
    box-shadow: var(--glow-blue);
}

/* 5. Hero Bölümü */
.hero-section {
    padding-top: 180px;
    padding-bottom: 100px;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 50px;
    color: var(--color-orange);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.hero-description {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    animation: floatImage 6s infinite ease-in-out;
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
    transition: transform 0.5s ease;
}

.hero-img:hover {
    transform: scale(1.03);
}

.neon-frame-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid var(--color-orange);
    border-radius: 24px;
    pointer-events: none;
    box-shadow: inset 0 0 20px rgba(255, 107, 53, 0.2), 0 0 30px rgba(255, 107, 53, 0.3);
}

@keyframes floatImage {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* 6. İnteraktif Demo Bölümü */
.demo-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-color) 0%, rgba(15, 21, 32, 0.5) 50%, var(--bg-color) 100%);
}

.demo-wrapper {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 30px;
    align-items: stretch;
}

.demo-controls {
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.panel-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.panel-description {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.element-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.el-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    color: #cbd5e1;
    padding: 12px 16px;
    border-radius: 10px;
    cursor: pointer;
    font-family: var(--font-primary);
    font-weight: 600;
    text-align: left;
    transition: all 0.2s ease;
}

.el-btn:hover {
    background: rgba(255,255,255,0.07);
    color: #ffffff;
}

.el-btn.active {
    background: rgba(56, 189, 248, 0.1);
    border-color: var(--color-blue);
    color: #ffffff;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.2);
}

.el-color {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    display: inline-block;
}

.color-blue { background-color: var(--color-blue); box-shadow: 0 0 8px var(--color-blue); }
.color-yellow { background-color: var(--color-yellow); box-shadow: 0 0 8px var(--color-yellow); }
.color-green { background-color: var(--color-green); box-shadow: 0 0 8px var(--color-green); }
.color-purple { background-color: var(--color-purple); box-shadow: 0 0 8px var(--color-purple); }

.demo-stats {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 24px;
    border: 1px solid rgba(255,255,255,0.03);
}

.stat-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.stat-item:last-child {
    margin-bottom: 0;
}

.stat-label {
    color: #94a3b8;
}

.stat-value {
    font-family: var(--font-display);
    color: #ffffff;
    font-weight: 700;
}

.panel-actions {
    margin-top: auto;
}

.brake-tip {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 16px;
    line-height: 1.4;
}

.canvas-container {
    position: relative;
    padding: 0;
    overflow: hidden;
    height: 480px;
}

#physicsCanvas {
    display: block;
    width: 100%;
    height: 100%;
    background-color: #05070e;
    cursor: crosshair;
}

.canvas-overlay {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(8, 11, 20, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    pointer-events: none;
    color: #94a3b8;
    transition: opacity 0.3s ease;
}

.canvas-overlay.hidden {
    opacity: 0;
}

/* 7. Özellikler Bölümü */
.features-section {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    padding: 40px 30px;
    text-align: center;
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    background: rgba(255,255,255,0.03);
}

.feature-icon.color-blue {
    color: var(--color-blue);
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.feature-icon.color-yellow {
    color: var(--color-yellow);
    background: rgba(251, 191, 36, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.feature-icon.color-green {
    color: var(--color-green);
    background: rgba(0, 245, 160, 0.08);
    border: 1px solid rgba(0, 245, 160, 0.2);
}

.feature-card-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.feature-card-desc {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 8. Top Dükkanı Bölümü */
.shop-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-color) 0%, rgba(15, 21, 32, 0.3) 50%, var(--bg-color) 100%);
}

.shop-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.shop-card {
    padding: 24px;
    text-align: center;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.shop-card.active-skin {
    border-color: var(--color-orange);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.15);
}

.skin-preview {
    height: 140px;
    background: rgba(0,0,0,0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    border: 1px solid rgba(255,255,255,0.02);
}

.skin-ball {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    position: relative;
}

/* Top Skin Tasarımları */
.skin-classic {
    background: radial-gradient(circle at 30% 30%, #ff8c42, var(--color-orange));
    box-shadow: var(--glow-orange);
}

.skin-fire {
    background: radial-gradient(circle at 30% 30%, #ff5722, #b71c1c);
    box-shadow: 0 0 15px rgba(244, 67, 54, 0.8), inset 0 0 10px rgba(255, 235, 59, 0.5);
    animation: burnSkin 1.5s infinite alternate;
}

@keyframes burnSkin {
    0% { transform: scale(1); box-shadow: 0 0 15px rgba(244, 67, 54, 0.7); }
    100% { transform: scale(1.05); box-shadow: 0 0 25px rgba(244, 67, 54, 1), 0 0 10px rgba(255, 235, 59, 0.6); }
}

.skin-plasma {
    background: radial-gradient(circle at 30% 30%, #e0aaff, var(--color-purple));
    box-shadow: var(--glow-purple);
    animation: plasmaSkin 3s infinite linear;
}

@keyframes plasmaSkin {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

.skin-rainbow {
    background: radial-gradient(circle at 30% 30%, #ffffff, #888888);
    animation: rainbowSkin 5s infinite linear;
}

@keyframes rainbowSkin {
    0% { background: radial-gradient(circle at 30% 30%, #ff8888, #ff0000); box-shadow: 0 0 15px rgba(255,0,0,0.6); }
    20% { background: radial-gradient(circle at 30% 30%, #ffff88, #ffff00); box-shadow: 0 0 15px rgba(255,255,0,0.6); }
    40% { background: radial-gradient(circle at 30% 30%, #88ff88, #00ff00); box-shadow: 0 0 15px rgba(0,255,0,0.6); }
    60% { background: radial-gradient(circle at 30% 30%, #88ffff, #00ffff); box-shadow: 0 0 15px rgba(0,255,255,0.6); }
    80% { background: radial-gradient(circle at 30% 30%, #8888ff, #0000ff); box-shadow: 0 0 15px rgba(0,0,255,0.6); }
    100% { background: radial-gradient(circle at 30% 30%, #ff88ff, #ff00ff); box-shadow: 0 0 15px rgba(255,0,255,0.6); }
}

.skin-name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.skin-desc {
    color: #94a3b8;
    font-size: 0.8rem;
    height: 48px;
    margin-bottom: 16px;
    line-height: 1.4;
}

.skin-price {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-orange);
}

.shop-card.active-skin .skin-price {
    color: var(--color-green);
}

/* 9. Nasıl Oynanır Bölümü */
.how-to-play-section {
    padding: 100px 0;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.step-card {
    padding: 40px 30px;
    position: relative;
}

.step-num {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    top: 15px;
    right: 24px;
    line-height: 1;
}

.step-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-blue);
    text-transform: uppercase;
}

.step-desc {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 10. Footer */
.main-footer {
    background-color: #03050a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 0;
    font-size: 0.9rem;
    color: #64748b;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 40px;
}

.footer-tagline {
    margin-top: 16px;
    color: #94a3b8;
}

.footer-links h4, .footer-right h4 {
    font-family: var(--font-display);
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--color-blue);
}

.developer-info {
    color: #94a3b8;
    margin-top: 8px;
    margin-bottom: 16px;
}

.footer-badges {
    display: flex;
    gap: 10px;
}

.v-badge {
    background: rgba(255,255,255,0.05);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    color: #94a3b8;
    border: 1px solid rgba(255,255,255,0.03);
}

/* 11. Mobil Responsive Düzenler */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .demo-wrapper {
        grid-template-columns: 1fr;
    }
    
    .shop-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .main-header {
        padding: 15px 0;
    }
    
    .nav-menu {
        display: none; /* Mobil menü basitlik için gizlendi, CTA butonu aktif */
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .features-grid, .steps-container {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-links ul {
        align-items: center;
    }
    
    .footer-badges {
        justify-content: center;
    }
}
