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

:root {
    /* Light Side (Jedi) Theme */
    --primary-color: #00d4ff;
    --secondary-color: #ff6b35;
    --accent-color: #ffd700;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --light-text: #ffffff;
    --gray-text: #b0b0b0;
    --gradient-primary: linear-gradient(135deg, #00d4ff, #0099cc);
    --gradient-secondary: linear-gradient(135deg, #ff6b35, #cc4400);
    --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.3);
    --shadow-orange: 0 0 20px rgba(255, 107, 53, 0.3);
}

/* Dark Side (Sith) Theme */
body[data-theme="dark"] {
    --primary-color: #ff0040;
    --secondary-color: #8b00ff;
    --accent-color: #ff6600;
    --dark-bg: #1a0000;
    --darker-bg: #0d0000;
    --light-text: #ffffff;
    --gray-text: #cc9999;
    --gradient-primary: linear-gradient(135deg, #ff0040, #cc0033);
    --gradient-secondary: linear-gradient(135deg, #8b00ff, #6600cc);
    --shadow-glow: 0 0 20px rgba(255, 0, 64, 0.4);
    --shadow-orange: 0 0 20px rgba(139, 0, 255, 0.4);
}

body {
    font-family: 'Orbitron', monospace;
    background: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Yıldızlar Animasyonu */
.stars, .twinkling {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: -1;
}

.stars {
    background: #000 url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle cx="100" cy="100" r="1" fill="white"/><circle cx="200" cy="200" r="0.5" fill="white"/><circle cx="300" cy="50" r="1" fill="white"/><circle cx="400" cy="300" r="0.5" fill="white"/><circle cx="500" cy="150" r="1" fill="white"/><circle cx="600" cy="250" r="0.5" fill="white"/><circle cx="700" cy="80" r="1" fill="white"/><circle cx="800" cy="180" r="0.5" fill="white"/><circle cx="150" cy="350" r="1" fill="white"/><circle cx="250" cy="400" r="0.5" fill="white"/></svg>') repeat;
    animation: move-stars 200s linear infinite;
}

.twinkling {
    background: transparent url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle cx="50" cy="50" r="0.5" fill="white" opacity="0.8"/><circle cx="150" cy="150" r="0.5" fill="white" opacity="0.6"/><circle cx="250" cy="80" r="0.5" fill="white" opacity="0.9"/><circle cx="350" cy="200" r="0.5" fill="white" opacity="0.7"/></svg>') repeat;
    animation: move-twinkle 100s linear infinite;
}

@keyframes move-stars {
    from { transform: translateY(0px); }
    to { transform: translateY(-2000px); }
}

@keyframes move-twinkle {
    from { transform: translateY(0px); }
    to { transform: translateY(-1000px); }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigasyon */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo .logo-text {
    font-size: 2rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Theme Switcher */
.theme-switcher {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--light-text);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 0.9rem;
}

.theme-btn:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.theme-btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.theme-btn:hover i {
    transform: rotate(360deg);
}

/* Dark Side Theme Specific Styles */
body[data-theme="dark"] .theme-btn {
    border-color: rgba(255, 0, 64, 0.3);
}

body[data-theme="dark"] .theme-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

/* Dark Side Lightsaber */
body[data-theme="dark"] .blade {
    background: linear-gradient(to top, var(--primary-color), rgba(255, 0, 64, 0.8));
}

body[data-theme="dark"] .blade-mini {
    background: var(--primary-color);
}

/* Dark Side Stars */
body[data-theme="dark"] .stars {
    background: #000 url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle cx="100" cy="100" r="1" fill="red" opacity="0.8"/><circle cx="200" cy="200" r="0.5" fill="red" opacity="0.6"/><circle cx="300" cy="50" r="1" fill="red" opacity="0.9"/><circle cx="400" cy="300" r="0.5" fill="red" opacity="0.7"/><circle cx="500" cy="150" r="1" fill="red" opacity="0.8"/><circle cx="600" cy="250" r="0.5" fill="red" opacity="0.6"/><circle cx="700" cy="80" r="1" fill="red" opacity="0.9"/><circle cx="800" cy="180" r="0.5" fill="red" opacity="0.7"/><circle cx="150" cy="350" r="1" fill="red" opacity="0.8"/><circle cx="250" cy="400" r="0.5" fill="red" opacity="0.6"/></svg>') repeat;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--light-text);
    margin: 3px 0;
    transition: 0.3s;
}
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--light-text);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 110vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 20px 80px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    width: 100%;
}

.hero-text {
    animation: fadeInLeft 1s ease-out;
}

.greeting {
    display: block;
    font-size: 1.5rem;
    color: var(--gray-text);
    margin-bottom: 0.5rem;
}

.name {
    display: block;
    font-size: 4rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--gray-text);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: inherit;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--light-text);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    transform: translateY(-2px);
}

/* Lightsaber */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease-out;
}

/* Character Container */
.character-container {
    position: relative;
    width: 300px;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    animation: float 3s ease-in-out infinite;
}

/* Jedi Character */
.jedi-character {
    position: relative;
    width: 200px;
    height: 320px;
    transition: all 0.3s ease;
}

.jedi-hood {
    width: 100px;
    height: 120px;
    background: linear-gradient(135deg, #5D4E37, #8B4513, #A0522D);
    border-radius: 50px 50px 40px 40px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
}

.jedi-hood::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 90px;
    background: linear-gradient(135deg, #4A2C17, #654321);
    border-radius: 40px 40px 30px 30px;
    box-shadow: inset 0 3px 15px rgba(0, 0, 0, 0.4);
}

.jedi-face {
    width: 60px;
    height: 70px;
    background: linear-gradient(135deg, #F5DEB3, #DEB887, #D2B48C);
    border-radius: 30px 30px 25px 25px;
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
}

.jedi-face::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 17px;
    width: 9px;
    height: 9px;
    background: #2F4F4F;
    border-radius: 50%;
    box-shadow: 18px 0 0 #2F4F4F;
}

.jedi-face::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 10px;
    background: linear-gradient(135deg, #CD853F, #D2691E);
    border-radius: 0 0 9px 9px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.jedi-beard {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 30px;
    background: linear-gradient(135deg, #D2691E, #CD853F, #B8860B);
    border-radius: 0 0 20px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.jedi-beard::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 20px;
    background: linear-gradient(135deg, #B8860B, #DAA520);
    border-radius: 0 0 15px 15px;
}

.jedi-robe {
    width: 140px;
    height: 170px;
    background: linear-gradient(135deg, #5D4E37, #8B4513, #A0522D);
    border-radius: 70px 70px 30px 30px;
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.jedi-robe::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 130px;
    background: linear-gradient(135deg, #8B4513, #A0522D);
    border-radius: 55px 55px 25px 25px;
    box-shadow: inset 0 4px 15px rgba(0, 0, 0, 0.25);
}

.jedi-robe::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 110px;
    background: linear-gradient(135deg, #A0522D, #CD853F);
    border-radius: 45px 45px 20px 20px;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.15);
}

.jedi-belt {
    position: absolute;
    top: 185px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 14px;
    background: linear-gradient(90deg, #4A2C17, #654321, #4A2C17);
    border-radius: 7px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}

.jedi-belt::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 22px;
    background: linear-gradient(45deg, #B8860B, #DAA520, #FFD700);
    border-radius: 5px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.jedi-arm {
    position: absolute;
    top: 140px;
    right: -18px;
    width: 55px;
    height: 20px;
    background: linear-gradient(135deg, #5D4E37, #8B4513);
    border-radius: 28px 12px 12px 28px;
    transform: rotate(-15deg);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.jedi-hand {
    position: absolute;
    top: -5px;
    right: -10px;
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, #F5DEB3, #DEB887, #D2B48C);
    border-radius: 50%;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

/* Sith/Vader Character */
.sith-character {
    position: relative;
    width: 200px;
    height: 320px;
    transition: all 0.3s ease;
}

.vader-helmet {
    width: 95px;
    height: 110px;
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a, #333);
    border-radius: 48px 48px 35px 35px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.9);
}

.vader-helmet::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 75px;
    height: 70px;
    background: linear-gradient(135deg, #000, #1a1a1a);
    border-radius: 38px 38px 25px 25px;
    box-shadow: inset 0 3px 15px rgba(0, 0, 0, 0.8);
}

.vader-mask {
    width: 75px;
    height: 85px;
    background: linear-gradient(135deg, #000, #1a1a1a, #333);
    border-radius: 38px;
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: inset 0 3px 15px rgba(255, 0, 0, 0.4);
}

.vader-mask::before {
    content: '';
    position: absolute;
    top: 45px;
    left: 50%;
    transform: translateX(-50%);
    width: 25px;
    height: 15px;
    background: linear-gradient(135deg, #333, #555);
    border-radius: 12px 12px 8px 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.vader-eyes {
    width: 45px;
    height: 10px;
    background: linear-gradient(90deg, #ff0040, #ff6b6b, #ff0040);
    border-radius: 5px;
    position: absolute;
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 20px #ff0040, inset 0 2px 5px rgba(255, 255, 255, 0.3);
    animation: vaderEyes 3s ease-in-out infinite;
}

.vader-eyes::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 6px;
    background: linear-gradient(90deg, transparent, #ff6b6b, transparent);
    border-radius: 3px;
}

@keyframes vaderEyes {
    0%, 100% { opacity: 1; box-shadow: 0 0 20px #ff0040, inset 0 2px 5px rgba(255, 255, 255, 0.3); }
    50% { opacity: 0.7; box-shadow: 0 0 10px #ff0040, inset 0 2px 5px rgba(255, 255, 255, 0.1); }
}

.vader-cape {
    width: 150px;
    height: 190px;
    background: linear-gradient(135deg, #000, #0a0a0a, #1a1a1a);
    border-radius: 75px 75px 25px 25px;
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.95);
}

.vader-cape::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 160px;
    background: linear-gradient(135deg, #0a0a0a, #000);
    border-radius: 60px 60px 20px 20px;
    box-shadow: inset 0 4px 15px rgba(0, 0, 0, 0.8);
}

.vader-chest {
    width: 85px;
    height: 110px;
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a, #333);
    border-radius: 43px;
    position: absolute;
    top: 110px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.8);
}

.vader-chest::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 65px;
    height: 65px;
    background: linear-gradient(45deg, #1a1a1a, #333, #555);
    border-radius: 33px;
    box-shadow: inset 0 3px 12px rgba(255, 0, 0, 0.3);
}

.vader-chest::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 35px;
    background: linear-gradient(45deg, #333, #666);
    border-radius: 18px;
    box-shadow: inset 0 2px 8px rgba(255, 0, 0, 0.4);
}

.vader-belt {
    position: absolute;
    top: 180px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 15px;
    background: linear-gradient(90deg, #000, #1a1a1a, #000);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
}

.vader-belt::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 25px;
    height: 23px;
    background: linear-gradient(45deg, #333, #555, #777);
    border-radius: 5px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.6);
}

.vader-arm {
    position: absolute;
    top: 130px;
    right: -20px;
    width: 65px;
    height: 22px;
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
    border-radius: 33px 12px 12px 33px;
    transform: rotate(-20deg);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
}

.vader-hand {
    position: absolute;
    top: -6px;
    right: -10px;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a, #333);
    border-radius: 50%;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.6);
}

/* Lightsaber Styles */
.lightsaber {
    position: absolute;
    top: -10px;
    right: -15px;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: rotate(-15deg);
}

.sith-character .lightsaber {
    position: absolute;
    top: -30px;
    right: -25px;
    transform: rotate(-25deg);
}

.hilt {
    width: 15px;
    height: 80px;
    background: linear-gradient(to bottom, #silver, #333);
    border-radius: 8px;
    position: relative;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.sith-hilt {
    background: linear-gradient(45deg, #1a1a1a, #333, #1a1a1a);
    box-shadow: 0 0 20px rgba(255, 0, 64, 0.3);
}

.hilt::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 15px;
    background: #444;
    border-radius: 3px;
}

.blade {
    width: 4px;
    height: 200px;
    background: linear-gradient(to top, var(--primary-color), rgba(0, 212, 255, 0.8));
    margin: 0 auto;
    border-radius: 2px;
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 
        0 0 8px var(--primary-color),
        0 0 16px var(--primary-color),
        0 0 24px var(--primary-color);
    animation: lightsaber-glow 2s ease-in-out infinite alternate;
}

.sith-blade {
    background: linear-gradient(to top, #ff0040, rgba(255, 0, 64, 0.8));
    box-shadow: 
        0 0 10px #ff0040,
        0 0 20px #ff0040,
        0 0 30px #ff0040;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes lightsaber-glow {
    0% { 
        box-shadow: 
            0 0 10px var(--primary-color),
            0 0 20px var(--primary-color),
            0 0 30px var(--primary-color);
    }
    100% { 
        box-shadow: 
            0 0 15px var(--primary-color),
            0 0 30px var(--primary-color),
            0 0 45px var(--primary-color);
    }
}

/* Character Hover Effects */
.character-container:hover .jedi-character {
    transform: scale(1.05);
}

.character-container:hover .sith-character {
    transform: translateY(-20px) scale(1.1);
}

/* Force Hint */
.force-hint {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    z-index: 10;
}

.hint-glow {
    background: linear-gradient(135deg, 
        rgba(0, 212, 255, 0.1), 
        rgba(0, 212, 255, 0.2)
    );
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 25px;
    padding: 12px 20px;
    backdrop-filter: blur(10px);
    animation: forceHintPulse 3s ease-in-out infinite;
}

body[data-theme="dark"] .hint-glow {
    background: linear-gradient(135deg, 
        rgba(255, 0, 64, 0.1), 
        rgba(255, 0, 64, 0.2)
    );
    border: 1px solid rgba(255, 0, 64, 0.3);
}

.hint-icon {
    font-size: 1.2rem;
    margin-right: 8px;
    animation: forceIconSpin 4s linear infinite;
}

.hint-text {
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 500;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

body[data-theme="dark"] .hint-text {
    text-shadow: 0 0 10px rgba(255, 0, 64, 0.5);
}

@keyframes forceHintPulse {
    0%, 100% { 
        opacity: 0.8; 
        transform: translateX(-50%) scale(1);
    }
    50% { 
        opacity: 1; 
        transform: translateX(-50%) scale(1.05);
    }
}

@keyframes forceIconSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 4rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* About Section */
.about {
    background: var(--darker-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
}

.about-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(255, 107, 53, 0.3);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

.stat-label {
    color: var(--gray-text);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.skill-category {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.skill-category h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.5rem;
    text-align: center;
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.skill-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    width: 30px;
}

.skill-item span {
    flex: 1;
    font-weight: 600;
}

.skill-item.skill-text {
    padding: 1rem;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.skill-item.skill-text:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: var(--primary-color);
    transform: translateX(10px);
}

.skill-item.skill-text span {
    color: var(--light-text);
    font-size: 0.95rem;
    line-height: 1.4;
}

.skill-level {
    width: 100px;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.skill-level::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    width: var(--level, 0%);
    animation: fillSkill 2s ease-out;
}

@keyframes fillSkill {
    from { width: 0%; }
    to { width: var(--level, 0%); }
}

/* Projects Section */
.projects {
    background: var(--darker-bg);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(255, 107, 53, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-placeholder {
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.7;
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.project-content p {
    color: var(--gray-text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    background: rgba(0, 212, 255, 0.2);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--light-text);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.project-link:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    border-color: var(--primary-color);
}

/* Mini Lightsaber for Projects */
.lightsaber-mini {
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-45deg);
}

.hilt-mini {
    width: 8px;
    height: 40px;
    background: linear-gradient(to bottom, #silver, #333);
    border-radius: 4px;
}

.blade-mini {
    width: 3px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--primary-color);
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-info p {
    color: var(--gray-text);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.contact-method i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    width: 30px;
}

.contact-method h4 {
    color: var(--primary-color);
    margin-bottom: 0.2rem;
}

.contact-method p {
    color: var(--gray-text);
    margin: 0;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 10px;
    color: var(--light-text);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--gray-text);
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:valid + label,
.form-group textarea:valid + label {
    top: -0.5rem;
    left: 0.5rem;
    font-size: 0.8rem;
    color: var(--primary-color);
    background: var(--dark-bg);
    padding: 0 0.5rem;
}

/* Footer */
.footer {
    background: var(--darker-bg);
    padding: 2rem 0;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 50%;
    color: var(--light-text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .theme-switcher {
        margin-right: 0.5rem;
    }
    
    .theme-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .theme-text {
        display: none;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .name {
        font-size: 2.5rem !important;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        flex-direction: row;
        justify-content: space-around;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 80px 15px 30px;
    }
    
    .name {
        font-size: 2rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .about-stats {
        flex-direction: column;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .skill-category {
        padding: 1.5rem;
    }
}

/* Skill Level Animation */
.skill-level[data-level="95"]::after { --level: 95%; }
.skill-level[data-level="90"]::after { --level: 90%; }
.skill-level[data-level="85"]::after { --level: 85%; }
.skill-level[data-level="80"]::after { --level: 80%; }
.skill-level[data-level="75"]::after { --level: 75%; }
.skill-level[data-level="70"]::after { --level: 70%; }
.skill-level[data-level="65"]::after { --level: 65%; }
.skill-level[data-level="60"]::after { --level: 60%; }
.skill-level[data-level="55"]::after { --level: 55%; }

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--primary-color);
    color: var(--dark-bg);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

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

/* Lightsaber Interactive Animations */
@keyframes slashTrail {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(-45deg) scaleX(0);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) rotate(-45deg) scaleX(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(-45deg) scaleX(1.2);
    }
}

@keyframes forceWave {
    0% {
        width: 50px;
        height: 50px;
        opacity: 0.7;
    }
    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}

/* Lightsaber Hover Effects */
.lightsaber:hover {
    transform: rotate(-25deg) scale(1.05);
    transition: transform 0.3s ease;
}

.lightsaber:active {
    transform: rotate(-25deg) scale(0.95);
}

/* Enhanced Lightsaber Glow on Interaction */
.lightsaber.active .blade {
    box-shadow: 
        0 0 20px var(--primary-color),
        0 0 40px var(--primary-color),
        0 0 60px var(--primary-color),
        0 0 80px var(--primary-color);
    animation: lightsaber-intense-glow 0.5s ease-out;
}

@keyframes lightsaber-intense-glow {
    0% {
        box-shadow: 
            0 0 10px var(--primary-color),
            0 0 20px var(--primary-color),
            0 0 30px var(--primary-color);
    }
    50% {
        box-shadow: 
            0 0 25px var(--primary-color),
            0 0 50px var(--primary-color),
            0 0 75px var(--primary-color),
            0 0 100px var(--primary-color);
    }
    100% {
        box-shadow: 
            0 0 15px var(--primary-color),
            0 0 30px var(--primary-color),
            0 0 45px var(--primary-color);
    }
}

/* Force Lightning Effect */
@keyframes forceLightning {
    0%, 100% { 
        opacity: 0;
        transform: scale(0.8) rotate(0deg);
    }
    25% { 
        opacity: 0.8;
        transform: scale(1.1) rotate(5deg);
    }
    50% { 
        opacity: 0.6;
        transform: scale(0.9) rotate(-3deg);
    }
    75% { 
        opacity: 0.9;
        transform: scale(1.05) rotate(2deg);
    }
}

/* Lightsaber Combat Stance */
@keyframes combatStance {
    0% { transform: rotate(-45deg) translateY(0px); }
    25% { transform: rotate(-40deg) translateY(-5px); }
    50% { transform: rotate(-50deg) translateY(-3px); }
    75% { transform: rotate(-42deg) translateY(-7px); }
    100% { transform: rotate(-45deg) translateY(0px); }
}

/* Special effect for multiple clicks */
.lightsaber.combo-mode {
    animation: combatStance 0.8s ease-in-out;
}

/* Pulsing effect for Force sensitivity */
.character-container.force-sensitive {
    animation: forcePulse 2s ease-in-out infinite;
}

@keyframes forcePulse {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.6));
    }
}

/* Dark Side specific effects */
body[data-theme="dark"] .character-container.force-sensitive {
    animation: darkForcePulse 2s ease-in-out infinite;
}

@keyframes darkForcePulse {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(255, 0, 64, 0.4));
    }
    50% {
        filter: drop-shadow(0 0 25px rgba(255, 0, 64, 0.8));
    }
}

/* Game Modal */
.game-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.game-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.game-arena {
    width: 80%;
    height: 60%;
    background: linear-gradient(135deg, #0a0a0a, #1a1a2e);
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.3);
}

.game-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: 0 0 20px var(--primary-color);
    font-family: 'Orbitron', monospace;
    font-weight: 900;
}

.game-fighters {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10%;
}

.fighter {
    width: 150px;
    height: 200px;
    position: relative;
    animation: fighterIdle 2s ease-in-out infinite alternate;
}

.fighter.jedi {
    transform: scaleX(-1);
}

.fighter.attacking {
    animation: fighterAttack 0.5s ease-out;
}

.fighter.defending {
    animation: fighterDefend 0.3s ease-out;
}

.fighter-health {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.health-bar {
    height: 100%;
    background: linear-gradient(90deg, #ff0040, #ff6b35);
    transition: width 0.5s ease;
    box-shadow: 0 0 10px rgba(255, 0, 64, 0.5);
}

.jedi .health-bar {
    background: linear-gradient(90deg, #00d4ff, #0099cc);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.game-controls {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2rem;
}

.game-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.game-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.3);
}

.game-btn.attack {
    background: linear-gradient(135deg, #ff0040, #ff6b35);
}

.game-btn.attack:hover {
    box-shadow: 0 10px 20px rgba(255, 0, 64, 0.3);
}

.close-game {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-game:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    transform: rotate(90deg);
}

.game-score {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    text-shadow: 0 0 10px var(--primary-color);
}

.combat-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0;
    pointer-events: none;
    animation: combatEffect 1s ease-out forwards;
}

@keyframes fighterIdle {
    0%, 100% { transform: translateY(0) scaleX(-1); }
    50% { transform: translateY(-10px) scaleX(-1); }
}

@keyframes fighterAttack {
    0% { transform: translateX(0) scaleX(-1); }
    50% { transform: translateX(30px) scaleX(-1) scale(1.1); }
    100% { transform: translateX(0) scaleX(-1); }
}

@keyframes fighterDefend {
    0%, 100% { transform: translateX(0) scaleX(-1); }
    50% { transform: translateX(-20px) scaleX(-1) scale(0.9); }
}

@keyframes combatEffect {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0.5);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.5);
    }
}

.sith.fighter {
    transform: scaleX(1);
    animation: sithIdle 2s ease-in-out infinite alternate;
}

.sith.fighter.attacking {
    animation: sithAttack 0.5s ease-out;
}

@keyframes sithAttack {
    0% { transform: translateX(0) scaleX(1); }
    50% { transform: translateX(-30px) scaleX(1) scale(1.1); }
    100% { transform: translateX(0) scaleX(1); }
}

@keyframes sithIdle {
    0%, 100% { transform: translateY(0) scaleX(1); }
    50% { transform: translateY(-10px) scaleX(1); }
}

body[data-theme="dark"] .game-arena {
    border-color: #ff0040;
    box-shadow: 0 0 50px rgba(255, 0, 64, 0.3);
}

body[data-theme="dark"] .game-title {
    color: #ff0040;
    text-shadow: 0 0 20px #ff0040;
}

body[data-theme="dark"] .game-score {
    color: #ff0040;
    text-shadow: 0 0 10px #ff0040;
}

body[data-theme="dark"] .close-game {
    border-color: #ff0040;
    color: #ff0040;
}

body[data-theme="dark"] .close-game:hover {
    background: #ff0040;
}

/* Yeni animasyon efektleri */
@keyframes clashEffect {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.5);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(2);
    }
}

@keyframes sparkFly {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) rotate(var(--rotation)) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(var(--rotation)) scale(0.5) translateY(-100px);
    }
}

@keyframes levitate {
    0% {
        opacity: 0;
        transform: translateY(50px) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: translateY(-30px) rotate(180deg);
    }
    100% {
        opacity: 0;
        transform: translateY(-80px) rotate(360deg);
    }
}

@keyframes lightning {
    0% {
        opacity: 0;
        height: 0%;
    }
    50% {
        opacity: 1;
        height: 60%;
    }
    100% {
        opacity: 0;
        height: 60%;
    }
}

@keyframes mindTrickSpiral {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(0deg) scale(0.5);
    }
    50% {
        opacity: 0.7;
        transform: translate(-50%, -50%) rotate(180deg) scale(1.2);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(360deg) scale(0.8);
    }
}

/* Force animasyonları */
.fighter.force-pushing {
    animation: forcePushStance 1s ease-out;
}

.fighter.force-pushed {
    animation: forcePushedReaction 1s ease-out;
}

.fighter.spinning-attack {
    animation: spinningAttack 1.2s ease-in-out;
}

@keyframes forcePushStance {
    0% { transform: translateY(0) scaleX(-1); }
    30% { transform: translateY(-10px) scaleX(-1) scale(1.1); }
    60% { transform: translateY(-5px) scaleX(-1) scale(1.05); }
    100% { transform: translateY(0) scaleX(-1); }
}

@keyframes forcePushedReaction {
    0% { transform: translateY(0) scaleX(-1); }
    30% { transform: translateY(5px) scaleX(-1) scale(0.9) translateX(-20px); }
    60% { transform: translateY(-5px) scaleX(-1) scale(0.95) translateX(-10px); }
    100% { transform: translateY(0) scaleX(-1); }
}

@keyframes spinningAttack {
    0% { transform: translateY(0) scaleX(-1) rotate(0deg); }
    25% { transform: translateY(-20px) scaleX(-1) rotate(90deg) scale(1.1); }
    50% { transform: translateY(-30px) scaleX(-1) rotate(180deg) scale(1.2); }
    75% { transform: translateY(-20px) scaleX(-1) rotate(270deg) scale(1.1); }
    100% { transform: translateY(0) scaleX(-1) rotate(360deg); }
}

/* Sith karakteri için özel animasyonlar */
.sith.fighter.force-pushing {
    animation: sithForcePushStance 1s ease-out;
}

.sith.fighter.force-pushed {
    animation: sithForcePushedReaction 1s ease-out;
}

.sith.fighter.spinning-attack {
    animation: sithSpinningAttack 1.2s ease-in-out;
}

@keyframes sithForcePushStance {
    0% { transform: translateY(0) scaleX(1); }
    30% { transform: translateY(-10px) scaleX(1) scale(1.1); }
    60% { transform: translateY(-5px) scaleX(1) scale(1.05); }
    100% { transform: translateY(0) scaleX(1); }
}

@keyframes sithForcePushedReaction {
    0% { transform: translateY(0) scaleX(1); }
    30% { transform: translateY(5px) scaleX(1) scale(0.9) translateX(20px); }
    60% { transform: translateY(-5px) scaleX(1) scale(0.95) translateX(10px); }
    100% { transform: translateY(0) scaleX(1); }
}

@keyframes sithSpinningAttack {
    0% { transform: translateY(0) scaleX(1) rotate(0deg); }
    25% { transform: translateY(-20px) scaleX(1) rotate(-90deg) scale(1.1); }
    50% { transform: translateY(-30px) scaleX(1) rotate(-180deg) scale(1.2); }
    75% { transform: translateY(-20px) scaleX(1) rotate(-270deg) scale(1.1); }
    100% { transform: translateY(0) scaleX(1) rotate(-360deg); }
}

/* Force Activation Efektleri */
@keyframes forceActivation {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
        border-width: 1px;
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(2);
        border-width: 3px;
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(4);
        border-width: 1px;
    }
}

@keyframes forceParticle {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(var(--rotation)) translateY(-40px) scale(0.5);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) rotate(var(--rotation)) translateY(-80px) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(var(--rotation)) translateY(-120px) scale(0.5);
    }
}

.character-container.force-activated {
    animation: forceActivatedPulse 2s ease-out;
}

@keyframes forceActivatedPulse {
    0% {
        filter: brightness(1) drop-shadow(0 0 10px rgba(0, 212, 255, 0.3));
        transform: scale(1);
    }
    25% {
        filter: brightness(1.3) drop-shadow(0 0 30px rgba(0, 212, 255, 0.8));
        transform: scale(1.05);
    }
    50% {
        filter: brightness(1.5) drop-shadow(0 0 50px rgba(0, 212, 255, 1));
        transform: scale(1.1);
    }
    75% {
        filter: brightness(1.3) drop-shadow(0 0 30px rgba(0, 212, 255, 0.8));
        transform: scale(1.05);
    }
    100% {
        filter: brightness(1) drop-shadow(0 0 10px rgba(0, 212, 255, 0.3));
        transform: scale(1);
    }
}

body[data-theme="dark"] .character-container.force-activated {
    animation: darkForceActivatedPulse 2s ease-out;
}

@keyframes darkForceActivatedPulse {
    0% {
        filter: brightness(1) drop-shadow(0 0 10px rgba(255, 0, 64, 0.3));
        transform: scale(1);
    }
    25% {
        filter: brightness(1.3) drop-shadow(0 0 30px rgba(255, 0, 64, 0.8));
        transform: scale(1.05);
    }
    50% {
        filter: brightness(1.5) drop-shadow(0 0 50px rgba(255, 0, 64, 1));
        transform: scale(1.1);
    }
    75% {
        filter: brightness(1.3) drop-shadow(0 0 30px rgba(255, 0, 64, 0.8));
        transform: scale(1.05);
    }
    100% {
        filter: brightness(1) drop-shadow(0 0 10px rgba(255, 0, 64, 0.3));
        transform: scale(1);
    }
}

/* Video Modal Styles */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.video-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal-content {
    background: var(--dark-bg);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.3);
    animation: modalSlideIn 0.4s ease-out;
}

body[data-theme="dark"] .video-modal-content {
    border-color: #ff0040;
    box-shadow: 0 0 50px rgba(255, 0, 64, 0.3);
}

.video-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(0, 212, 255, 0.1);
    border-bottom: 1px solid var(--primary-color);
}

body[data-theme="dark"] .video-modal-header {
    background: rgba(255, 0, 64, 0.1);
    border-bottom-color: #ff0040;
}

.video-modal-header h3 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.5rem;
    text-shadow: 0 0 10px var(--primary-color);
}

body[data-theme="dark"] .video-modal-header h3 {
    color: #ff0040;
    text-shadow: 0 0 10px #ff0040;
}

.video-close {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.video-close:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    transform: rotate(90deg);
}

body[data-theme="dark"] .video-close {
    color: #ff0040;
}

body[data-theme="dark"] .video-close:hover {
    background: #ff0040;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsive for video modal */
@media (max-width: 768px) {
    .video-modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .video-modal-header {
        padding: 0.8rem 1rem;
    }
    
    .video-modal-header h3 {
        font-size: 1.2rem;
    }
    
    .video-close {
        font-size: 1.5rem;
        width: 35px;
        height: 35px;
    }
}

.theme-switcher .force-hint {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    cursor: pointer;
}

.theme-switcher .force-hint .hint-glow {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 0, 64, 0.3);
    color: var(--light-text);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    animation: none; /* Nabız animasyonunu kaldır */
    transition: all 0.3s ease;
}

body:not([data-theme="dark"]) .theme-switcher .force-hint .hint-glow {
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.theme-switcher .force-hint:hover .hint-glow {
    background: var(--primary-color);
    color: var(--dark-bg);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.theme-switcher .force-hint .hint-icon {
    font-size: 1rem;
    animation: none; /* İkon animasyonunu kaldır */
}

.theme-switcher .force-hint .hint-text {
    color: var(--light-text);
}

.theme-switcher .force-hint:hover .hint-text {
    color: var(--dark-bg);
}

/* Navigasyon bar force butonu */
.force-hint-nav {
    cursor: pointer;
}

.force-hint-nav .hint-glow {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--light-text);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 0.9rem;
}

body[data-theme="dark"] .force-hint-nav .hint-glow {
    border-color: rgba(255, 0, 64, 0.3);
}


.force-hint-nav:hover .hint-glow {
    background: var(--primary-color);
    color: var(--dark-bg);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.force-hint-nav .hint-icon {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.force-hint-nav:hover .hint-icon {
    transform: rotate(360deg);
}

.force-hint-nav .hint-text {
    transition: color 0.3s ease;
}

.force-hint-nav:hover .hint-text {
    color: var(--dark-bg);
}

@media (max-width: 768px) {
    .video-modal-content {
        width: 95%;
        margin: 1rem;
    }
}

/* Projeler Sayfası */
.projects-page {
    min-height: 100vh;
    padding: 120px 0 80px;
    background: var(--dark-bg);
}

.page-header {
    text-align: center;
    margin-bottom: 4rem;
}

.page-title {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--gray-text);
    max-width: 600px;
    margin: 0 auto;
}

/* Captcha Styles */
.captcha-container {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    margin: 20px 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.captcha-label {
    color: var(--light-text);
    font-weight: 600;
    font-size: 1rem;
    margin-right: 10px;
    font-family: 'Orbitron', monospace;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.captcha-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s;
}

.captcha-container:hover::before {
    left: 100%;
}

.captcha-container:hover {
    border-color: rgba(0, 212, 255, 0.6);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
}

#captcha-question {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
    min-width: 120px;
    position: relative;
    z-index: 1;
    font-family: 'Orbitron', monospace;
}

#captcha {
    width: 140px !important;
    margin: 0 !important;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(0, 212, 255, 0.5);
    color: var(--light-text);
    padding: 12px 16px;
    border-radius: 8px;
    font-family: 'Orbitron', monospace;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

#captcha:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
    background: rgba(0, 0, 0, 0.6);
}

#captcha::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

/* Dark Side Theme */
body[data-theme="dark"] .captcha-container {
    border-color: rgba(255, 0, 64, 0.3);
}

body[data-theme="dark"] .captcha-container::before {
    background: linear-gradient(90deg, transparent, rgba(255, 0, 64, 0.1), transparent);
}

body[data-theme="dark"] .captcha-container:hover {
    border-color: rgba(255, 0, 64, 0.6);
    box-shadow: 0 0 20px rgba(255, 0, 64, 0.2);
}

body[data-theme="dark"] #captcha-question {
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(255, 0, 64, 0.5);
}

body[data-theme="dark"] #captcha {
    border-color: rgba(255, 0, 64, 0.5);
}

body[data-theme="dark"] #captcha:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(255, 0, 64, 0.4);
}

body[data-theme="dark"] .captcha-label {
    text-shadow: 0 0 10px rgba(255, 0, 64, 0.3);
}

/* Captcha responsive design */
@media (max-width: 768px) {
    .captcha-container {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
    }
    
    .captcha-label {
        font-size: 0.9rem;
        margin-right: 0;
        margin-bottom: 5px;
        text-align: center;
    }
    
    #captcha-question {
        font-size: 1.1rem;
        min-width: auto;
        text-align: center;
    }
    
    #captcha {
        width: 120px !important;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .captcha-container {
        padding: 12px;
        margin: 15px 0;
    }
    
    #captcha-question {
        font-size: 1rem;
    }
    
    #captcha {
        width: 100px !important;
        padding: 10px 12px;
        font-size: 0.9rem;
    }
}