/*
  style.css
  Copyright © 2025 Melike Ebru KIRKIN

  This stylesheet is part of a personal portfolio project.
  External libraries (if any) used:
  - Font Awesome Free (CDN, MIT License)
  - Google Fonts (Orbitron, Rajdhani – OFL 1.1)
  - AOS Animate on Scroll (CDN, MIT License)

  All other custom styles are original and created by the author.
*/
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Rajdhani:wght@300;400;500;600;700&display=swap');

:root {
  /* Core Colors */
  --primary-color: #8a2be2;
  --secondary-color: #00ffff;
  --accent-color: #ff00ff;
  --highlight-color: #00ff9d;
  --pink-color: #FF00FF;
  --lightpink-color: #FF77FF;

  /* Background Colors */
  --background-color: #050511;
  --card-bg-color: rgba(10, 10, 30, 0.6);
  --dark-bg-color: rgba(8, 8, 24, 0.8);

  /* Gradient Colors */
  --gradient-primary: linear-gradient(135deg, #8a2be2 0%, #5f27cd 100%);
  --gradient-secondary: linear-gradient(135deg, #00ffff 0%, #00c9c9 100%);
  --gradient-accent: linear-gradient(135deg, #ff00ff 0%, #cc00cc 100%);
  --gradient-dark: linear-gradient(135deg, #12133b 0%, #090a1a 100%);

  /* Text Colors */
  --text-color: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.7);
  --text-light: rgba(255, 255, 255, 0.9);

  /* Border Colors */
  --border-color: rgba(138, 43, 226, 0.3);
  --border-light: rgba(255, 255, 255, 0.1);

  /* Shadow Colors */
  --shadow-color: rgba(0, 0, 0, 0.5);
  --glow-primary: 0 0 15px rgba(138, 43, 226, 0.7);
  --glow-secondary: 0 0 15px rgba(0, 255, 255, 0.7);

  /* Font Sizes */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-md: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;
  --font-size-5xl: 3rem;
  --font-size-6xl: 3.5rem;

  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  --spacing-4xl: 6rem;

  /* Animation Speed */
  --animation-slow: 1.5s;
  --animation-normal: 0.5s;
  --animation-fast: 0.3s;
}

/* Reset and Base Styles */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
}

body {
  font-family: 'Orbitron', sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  overflow-x: hidden;
  line-height: 1.6;
  position: relative;
}

a {
  text-decoration: none;
  color: var(--text-color);
  transition: all var(--animation-normal) ease;
}

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

p {
  margin-bottom: var(--spacing-md);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  position: relative;
  z-index: 2;
}

.highlight {
  color: var(--pink-color);
  font-weight: 600;
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--background-color);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeOut 0.5s ease 3s forwards;
}

.loading-content {
  text-align: center;
  max-width: 80%;
}

.loading-screen .logo-container {
  margin-bottom: var(--spacing-xl);
}

.loading-screen .logo-text {
  font-family: 'Orbitron', sans-serif;
  font-size: var(--font-size-4xl);
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
  position: relative;
  display: inline-block;
  text-shadow: 0 0 10px var(--secondary-color);
}

.loading-screen .logo-text span {
  color: var(--lightpink-color);
}

.loading-screen .logo-tagline {
  font-size: var(--font-size-sm);
  color: var(--lightpink-color);
  letter-spacing: 2px;
  opacity: 0;
  animation: fadeIn 1s ease 0.5s forwards;
  text-shadow: 0 0 5px var(--pink-color);
}

.loading-progress {
  width: 300px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  margin: 0 auto var(--spacing-md);
  overflow: hidden;
}

.loading-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  animation: loadingProgress 2.5s ease forwards;
}

.loading-status {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  letter-spacing: 1px;
  opacity: 0.7;
}

@keyframes loadingProgress {
  0% {
    width: 0;
  }

  50% {
    width: 70%;
  }

  100% {
    width: 100%;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    visibility: visible;
  }

  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* Background and Visual Effects */
#webgl-background {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
}

.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/png;base64,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');
  opacity: 0.03;
  z-index: -1;
  pointer-events: none;
}

.hexagon-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path fill="none" stroke="rgba(138, 43, 226, 0.1)" stroke-width="1" d="M50 0 L93.3 25 L93.3 75 L50 100 L6.7 75 L6.7 25 Z"></path></svg>');
  background-size: 100px 100px;
  z-index: -1;
  opacity: 0.2;
}

/* Header and Navigation */
header {
  padding: 20px 0;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: rgba(5, 5, 17, 0.85);
  backdrop-filter: blur(10px);
  transition: all var(--animation-normal) ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

header.scrolled {
  padding: 15px 0;
  background-color: rgba(5, 5, 17, 0.95);
}

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

.logo-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--text-color);
  text-decoration: none;
  display: inline-block;
  position: relative;
  text-shadow: 0 0 10px var(--secondary-color);
  transition: all var(--animation-normal) ease;
}

.logo::before {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: -4px;
  left: 0;
  background: var(--gradient-secondary);
  transform-origin: bottom right;
  transition: transform 0.3s ease-out;
  box-shadow: 0 0 8px var(--secondary-color);
}

.logo:hover::before {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.logo span {
  color: var(--lightpink-color);
  margin-left: 5px;
  position: relative;
  display: inline-block;
}

.logo-tagline {
  font-size: var(--font-size-xs);
  color: var(--lightpink-color);
  letter-spacing: 1px;
  margin: 0;
  opacity: 0.9;
  font-style: normal;
  text-shadow: 0 0 5px var(--pink-color);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle .bar {
  height: 3px;
  width: 100%;
  background-color: var(--text-color);
  border-radius: 3px;
  transition: all 0.3s ease;
}

nav ul {
  display: flex;
  gap: var(--spacing-xl);
}

nav ul li a {
  color: var(--text-color);
  text-decoration: none;
  font-size: var(--font-size-xs);
  font-weight: 500;
  letter-spacing: 1px;
  padding: 5px 0;
  position: relative;
  transition: all var(--animation-fast) ease;
  text-transform: uppercase;
}

nav ul li a::before {
  content: attr(data-text);
  position: absolute;
  color: var(--secondary-color);
  left: 0;
  width: 0;
  height: 100%;
  overflow: hidden;
  transition: width var(--animation-normal) ease;
  white-space: nowrap;
  text-shadow: 0 0 8px var(--secondary-color);
  margin-top: 4px;
}

nav ul li a:hover::before {
  width: 100%;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-secondary);
  transition: width var(--animation-normal) ease;
  box-shadow: 0 0 5px var(--secondary-color);
}

nav ul li a:hover::after {
  width: 100%;
}

/* Main Content */
main {
  padding-top: 80px;
}

section {
  padding: var(--spacing-4xl) 0;
  position: relative;
  overflow: hidden;
}

.section-title {
  font-size: var(--font-size-4xl);
  text-align: center;
  margin-bottom: var(--spacing-3xl);
  margin-top: 50px;
  position: relative;
  color: var(--text-color);
  text-shadow: 0 0 15px var(--accent-color);
  transform: translateX(-50%);
  /*display: inline-block;*/
  display: block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-secondary);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--secondary-color);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;

  @media (min-width: 1200px) {
    margin-left: 50px;
  }
}

.hero-content {
  text-align: left;
  z-index: 10;
}

.hero-title {
  font-size: var(--font-size-6xl);
  font-weight: 800;
  margin-bottom: var(--spacing-xs);
  line-height: 1.2;
  text-shadow: 0 0 20px var(--accent-color);
  position: relative;

  @media (max-width: 992px) {
    text-align: center;
  }

}

.hero-subtitle {
  font-size: var(--font-size-md);
  margin-bottom: var(--spacing-md);
  line-height: 1.6;
  max-width: 600px;
  text-shadow: 0 0 10px var(--secondary-color);
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
}

.btn {
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all var(--animation-normal) ease;
  border: 2px solid transparent;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', sans-serif;
  min-width: 150px;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

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

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--text-color);
  border-color: var(--accent-color);
}

.btn-primary:hover {
  background: var(--gradient-accent);
  border-color: var(--primary-color);
  box-shadow: 0 0 15px var(--accent-color);
}

.btn-submit {
  background: var(--gradient-primary);
  color: var(--text-color);
  border-color: var(--accent-color);
  margin: 20px auto;
  display: block;
}

.btn-submit:hover {
  background: var(--gradient-accent);
  border-color: var(--primary-color);
  box-shadow: 0 0 15px var(--accent-color);
}

.btn-secondary {
  background-color: transparent;
  color: var(--secondary-color);
  border-color: var(--secondary-color);
  position: relative;
  z-index: 1;
}

.btn-secondary:hover {
  color: var(--background-color);
  box-shadow: 0 0 15px var(--secondary-color);
}

.btn-secondary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--gradient-secondary);
  transition: all 0.3s ease;
  z-index: -1;
  border-radius: 28px;
}

.btn-secondary:hover::after {
  width: 100%;
}

.btn i {
  margin-left: var(--spacing-sm);
  font-size: var(--font-size-sm);
}

/* 3D Cube Animation */
.hero-image {
  position: relative;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.cube-container {
  width: 200px;
  height: 200px;
  position: relative;
  perspective: 1000px;
  transform-style: preserve-3d;
}

.cube {
  width: 100%;
  height: 100%;
  position: absolute;
  transform-style: preserve-3d;
  animation: cubeSpin 15s infinite linear;
}

.face {
  position: absolute;
  width: 200px;
  height: 200px;
  background: rgba(138, 43, 226, 0.2);
  border: 2px solid var(--secondary-color);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5), inset 0 0 20px rgba(0, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  backface-visibility: visible;
}

.face::before {
  content: '';
  position: absolute;
  width: 80%;
  height: 80%;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.front {
  transform: translateZ(100px);
  background: linear-gradient(45deg, rgba(138, 43, 226, 0.3), rgba(0, 255, 255, 0.2));
}

.back {
  transform: rotateY(180deg) translateZ(100px);
  background: linear-gradient(45deg, rgba(0, 255, 255, 0.2), rgba(138, 43, 226, 0.3));
}

.right {
  transform: rotateY(90deg) translateZ(100px);
  background: linear-gradient(45deg, rgba(255, 0, 255, 0.2), rgba(0, 255, 255, 0.2));
}

.left {
  transform: rotateY(-90deg) translateZ(100px);
  background: linear-gradient(45deg, rgba(0, 255, 255, 0.2), rgba(255, 0, 255, 0.2));
}

.top {
  transform: rotateX(90deg) translateZ(100px);
  background: linear-gradient(45deg, rgba(138, 43, 226, 0.2), rgba(255, 0, 255, 0.2));
}

.bottom {
  transform: rotateX(-90deg) translateZ(100px);
  background: linear-gradient(45deg, rgba(255, 0, 255, 0.2), rgba(138, 43, 226, 0.2));
}

@keyframes cubeSpin {
  0% {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
  }

  100% {
    transform: rotateX(360deg) rotateY(720deg) rotateZ(360deg);
  }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;

  @media (max-width: 992px) {
    bottom: 5px;
  }

  @media (min-width: 993px) {
    bottom: 40px;
  }

  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
  opacity: 1;
}

.mouse {
  border: 2px solid var(--secondary-color);
  border-radius: 20px;
  position: relative;
  margin-bottom: 10px;

  @media (max-width: 480px) {
    width: 15px;
    height: 20px;
  }

  @media (min-width: 481px) {
    width: 26px;
    height: 40px;
  }
}

.wheel {
  width: 6px;
  height: 6px;
  background: var(--secondary-color);
  border-radius: 50%;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 1.5s infinite;
}

.arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: bounce 1.5s infinite;
}

.arrow span {
  display: block;
  width: 10px;
  height: 10px;
  border-bottom: 2px solid var(--secondary-color);
  border-right: 2px solid var(--secondary-color);
  transform: rotate(45deg);
  margin: -5px;
  animation: blink 1.5s infinite;
}

@keyframes scroll {
  0% {
    opacity: 1;
    top: 8px;
  }

  100% {
    opacity: 0;
    top: 24px;
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
  }
}

@keyframes blink {

  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 1;
  }
}

/* Glitch Effect */
.glitch {
  position: relative;
  animation: colorShift 5s infinite alternate;
}

@keyframes colorShift {
  0% {
    color: var(--text-color);
  }

  50% {
    color: var(--secondary-color);
  }

  100% {
    color: var(--accent-color);
  }
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--background-color);
  opacity: 0.8;
}

.glitch::before {
  left: 2px;
  text-shadow: -2px 0 var(--secondary-color);
  clip: rect(24px, 550px, 90px, 0);
  animation: glitch-animation 3s infinite linear alternate-reverse;
}

.glitch::after {
  left: -2px;
  text-shadow: -2px 0 var(--accent-color);
  clip: rect(85px, 550px, 140px, 0);
  animation: glitch-animation 2s infinite linear alternate-reverse;
}

@keyframes glitch-animation {
  0% {
    clip: rect(49px, 9999px, 40px, 0);
  }

  5% {
    clip: rect(35px, 9999px, 80px, 0);
  }

  10% {
    clip: rect(82px, 9999px, 54px, 0);
  }

  15% {
    clip: rect(32px, 9999px, 26px, 0);
  }

  20% {
    clip: rect(46px, 9999px, 78px, 0);
  }

  25% {
    clip: rect(50px, 9999px, 52px, 0);
  }

  30% {
    clip: rect(47px, 9999px, 55px, 0);
  }

  35% {
    clip: rect(16px, 9999px, 86px, 0);
  }

  40% {
    clip: rect(75px, 9999px, 31px, 0);
  }

  45% {
    clip: rect(40px, 9999px, 56px, 0);
  }

  50% {
    clip: rect(35px, 9999px, 81px, 0);
  }

  55% {
    clip: rect(63px, 9999px, 93px, 0);
  }

  60% {
    clip: rect(48px, 9999px, 59px, 0);
  }

  65% {
    clip: rect(94px, 9999px, 42px, 0);
  }

  70% {
    clip: rect(58px, 9999px, 29px, 0);
  }

  75% {
    clip: rect(81px, 9999px, 37px, 0);
  }

  80% {
    clip: rect(57px, 9999px, 63px, 0);
  }

  85% {
    clip: rect(39px, 9999px, 45px, 0);
  }

  90% {
    clip: rect(76px, 9999px, 86px, 0);
  }

  95% {
    clip: rect(63px, 9999px, 53px, 0);
  }

  100% {
    clip: rect(52px, 9999px, 35px, 0);
  }
}

/* Star Animation */
.star {
  position: absolute;
  background-color: var(--text-color);
  border-radius: 50%;
  animation: twinkle 1s infinite alternate;
  pointer-events: none;
}

@keyframes twinkle {
  0% {
    opacity: 0.2;
    transform: scale(0.5);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* About Section */
.about {
  background: linear-gradient(to bottom, rgba(5, 5, 17, 0.7), rgba(8, 8, 24, 0.9));
  position: relative;
}

.content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: flex-start;
}


.about-content {
  position: relative;
  padding: var(--spacing-xl);
  background: rgba(10, 10, 30, 0.4);
  border-radius: 10px;
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about-content p {
  margin-bottom: var(--spacing-md);
  line-height: 1.8;
  letter-spacing: 0.5px;
}

/*Publication Section*/
.publication {
  background: linear-gradient(to bottom, rgba(5, 5, 17, 0.7), rgba(8, 8, 24, 0.9));
  position: relative;
}

.publication-content-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-3xl);
  align-items: flex-start;
}

.publication-content {
  position: relative;
  padding: var(--spacing-xl);
  background: rgba(10, 10, 30, 0.4);
  border-radius: 10px;
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.publication-content p {
  margin-bottom: var(--spacing-md);
  line-height: 1.8;
  letter-spacing: 0.5px;
}

.main-content {
  position: relative;
  background: rgba(10, 10, 30, 0.4);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  margin-bottom: var(--spacing-lg);

  @media (max-width: 992px) {
    text-align: center;
  }
}

.main-content p {
  margin-bottom: var(--spacing-md);
  line-height: 1.8;
  letter-spacing: 0.5px;
  font-size: var(--font-size-sm);
}

/* Skills Section */
.skills {
  background: rgba(10, 10, 30, 0.4);
  padding: var(--spacing-xl);
  border-radius: 10px;
  border: 1px solid var(--border-light);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.skills h3 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--spacing-xl);
  text-align: center;
  color: var(--secondary-color);
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.skills h3::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 2px;
  bottom: -8px;
  left: 25%;
  background: var(--gradient-secondary);
  border-radius: 2px;
}

.skill-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
}

.skill-card {
  padding: var(--spacing-md);
  background: rgba(138, 43, 226, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(138, 43, 226, 0.2);
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
  transition: all var(--animation-normal) ease;
}

.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
  background: rgba(138, 43, 226, 0.15);
}

.skill-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(138, 43, 226, 0.5);
}

.skill-icon i {
  color: var(--text-color);
  font-size: var(--font-size-lg);
}

.skill-info {
  flex: 1;
}

.skill-info h4 {
  font-size: var(--font-size-md);
  margin-bottom: var(--spacing-xs);
  color: var(--text-light);
}

.skill-level {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.skill-percent {
  height: 100%;
  background: var(--gradient-secondary);
  border-radius: 3px;
  width: 0%;
  transition: width 1.5s ease;
  position: relative;
}

/* Journey Section */
.journey {
  background: linear-gradient(to bottom, rgba(8, 8, 24, 0.9), rgba(5, 5, 17, 0.7));
  position: relative;
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  width: 4px;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.timeline-item {
  padding: var(--spacing-xl) 0;
  position: relative;
  width: 50%;
  box-sizing: border-box;
  margin-bottom: var(--spacing-xl);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s ease;
}

.timeline-item:nth-child(odd) {
  left: 0;
  padding-right: var(--spacing-3xl);
}

.timeline-item:nth-child(even) {
  left: 50%;
  padding-left: var(--spacing-3xl);
}

.timeline-date {
  position: absolute;
  width: 250px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 5px;
  color: var(--text-color);
  text-align: center;
  line-height: 30px;
  font-weight: 700;
  top: var(--spacing-xl);
  box-shadow: 0 0 15px rgba(138, 43, 226, 0.5);
  font-family: 'Orbitron', sans-serif;
  padding: var(--spacing-xs) var(--spacing-sm);
  z-index: 1;
  letter-spacing: 1px;
}

.timeline-item:nth-child(odd) .timeline-date {
  right: -60px;
}

.timeline-item:nth-child(even) .timeline-date {
  left: -60px;
}

.timeline-content {
  padding: var(--spacing-xl);
  background: rgba(10, 10, 30, 0.4);
  border-radius: 10px;
  position: relative;
  border: 1px solid var(--border-light);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
  transition: all var(--animation-normal) ease;
  margin-top: 60px;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border-color: rgba(0, 255, 255, 0.2);
}

.timeline-icon {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  top: var(--spacing-xl);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
  z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-icon {
  right: -20px;
}

.timeline-item:nth-child(even) .timeline-icon {
  left: -20px;
}

.timeline-icon i {
  color: var(--background-color);
  font-size: var(--font-size-md);
}

.timeline-content h3 {
  margin-bottom: var(--spacing-sm);
  color: var(--secondary-color);
  font-size: var(--font-size-xl);
}

.timeline-content h4 {
  margin-bottom: var(--spacing-sm);
  color: var(--secondary-color);
  font-size: var(--font-size-md);
}

.timeline-content p {
  margin-bottom: 0;
  line-height: 1.6;
}

/* Articles Section */
.articles {
  background: linear-gradient(to bottom, rgba(5, 5, 17, 0.7), rgba(8, 8, 24, 0.9));
  position: relative;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--spacing-xl);
}

.article-card {
  background: rgba(10, 10, 30, 0.4);
  border-radius: 10px;
  overflow: hidden;
  transition: transform var(--animation-normal) ease, box-shadow var(--animation-normal) ease;
  border: 1px solid var(--border-light);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 30px rgba(138, 43, 226, 0.2);
  border-color: rgba(0, 255, 255, 0.2);
}

.article-image {
  height: 200px;
  /*background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));*/
  background: url('../lirugalaxyview.png') center center / cover no-repeat;
  position: relative;
  overflow: hidden;
}

.article-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1" d="M0 0 L100 100 M100 0 L0 100"></path></svg>');
  background-size: 10px 10px;
  opacity: 0.3;
}

.article-tag {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  background: rgba(0, 255, 255, 0.2);
  color: var(--text-color);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: 5px;
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 1px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(0, 255, 255, 0.3);
}

.article-content {
  padding: var(--spacing-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-content h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-sm);
  color: var(--secondary-color);
}

.article-content p {
  font-size: var(--font-size-md);
  margin-bottom: var(--spacing-lg);
  line-height: 1.6;
  flex: 1;
}

.read-more {
  display: inline-flex;
  align-items: center;
  color: var(--accent-color);
  text-decoration: none;
  font-size: var(--font-size-sm);
  font-weight: 600;
  transition: all var(--animation-normal) ease;
  margin-top: auto;
}

.read-more i {
  margin-left: var(--spacing-xs);
  transition: transform var(--animation-normal) ease;
}

.read-more:hover {
  color: var(--secondary-color);
}

.read-more:hover i {
  transform: translateX(5px);
}

/* Beyond Code Section */
.beyond-code {
  background: linear-gradient(to bottom, rgba(8, 8, 24, 0.9), rgba(5, 5, 17, 0.7));
  position: relative;
}

.interests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--spacing-xl);
}

.interest-card {
  padding: var(--spacing-xl);
  background: rgba(10, 10, 30, 0.4);
  border-radius: 10px;
  text-align: center;
  transition: all var(--animation-normal) ease;
  border: 1px solid var(--border-light);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.interest-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--animation-normal) ease;
}

.interest-card:hover::before {
  transform: scaleX(1);
}

.interest-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 255, 255, 0.2);
  background: rgba(10, 10, 30, 0.6);
}

.interest-icon-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-lg);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
  position: relative;
  z-index: 1;
  transition: all var(--animation-normal) ease;
}

.interest-card:hover .interest-icon-wrapper {
  transform: scale(1.1) rotate(10deg);
  background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
}

.interest-icon {
  font-size: var(--font-size-2xl);
  color: var(--text-color);
}

.interest-card h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-sm);
  color: var(--secondary-color);
  position: relative;
  display: inline-block;
}

.interest-card h3::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-secondary);
  transition: width var(--animation-normal) ease;
}

.interest-card:hover h3::after {
  width: 100%;
}

.interest-card p {
  font-size: var(--font-size-md);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Contact Section */
.contact {
  background: linear-gradient(to bottom, rgba(5, 5, 17, 0.7), rgba(8, 8, 24, 0.9));
  position: relative;
  overflow: hidden;
}

.contact-wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

.contact-header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}

.contact-subtitle {
  color: var(--text-muted);
  font-size: var(--font-size-lg);
  max-width: 600px;
  margin: 0 auto;
}

.contact-container {
  @media (min-width: 451px) {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  gap: var(--spacing-3xl);
  background: rgba(10, 10, 30, 0.4);
  border-radius: 10px;
  padding: var(--spacing-2xl);
  border: 1px solid var(--border-light);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info p {
  margin-bottom: var(--spacing-xl);
  line-height: 1.8;
  font-size: var(--font-size-lg);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);

  @media (max-width: 450px) {
    margin-bottom: 40px;
  }
}

.contact-item {
  align-items: center;
  gap: var(--spacing-md);

  @media (max-width: 550px) {
    font-size: 14px;
    display: none;
  }

  @media (min-width: 551px) {
    display: flex;
  }
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(138, 43, 226, 0.5);
}

.contact-icon i {
  color: var(--text-color);
  font-size: var(--font-size-md);
}

.contact-social {
  display: flex;
  gap: var(--spacing-md);
  margin-top: var(--spacing-xl);
}

.contact-social .social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-color);
  font-size: var(--font-size-md);
  transition: all var(--animation-normal) ease;
  border: 1px solid var(--border-light);
}

.contact-social .social-icon:hover {
  background: var(--gradient-primary);
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.form-group {
  position: relative;
  margin-bottom: var(--spacing-md);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--spacing-md) var(--spacing-sm);
  background: rgba(255, 255, 255, 0.05);
  border: none;
  border-radius: 5px;
  color: var(--text-color);
  font-family: 'Orbitron', sans-serif;
  font-size: var(--font-size-md);
  transition: all var(--animation-normal) ease;
}

.form-group textarea {
  height: 150px;
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.1);
}

.form-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--border-light);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--animation-normal) ease;
}

.form-group input:focus+.form-line,
.form-group textarea:focus+.form-line {
  transform: scaleX(1);
  transform-origin: left;
  background: var(--gradient-secondary);
}

.contact-form button {
  align-self: flex-start;
  margin-top: var(--spacing-sm);
}

/* Footer */
.footer {
  background: linear-gradient(to bottom, rgba(8, 8, 24, 0.9), rgba(5, 5, 17, 1));
  padding-top: var(--spacing-4xl);
  padding-bottom: var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.footer-waves {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  overflow: hidden;
}

.wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100px;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 320" xmlns="http://www.w3.org/2000/svg"><path fill="%238A2BE2" fill-opacity="0.2" d="M0,160L48,154.7C96,149,192,139,288,154.7C384,171,480,213,576,224C672,235,768,213,864,186.7C960,160,1056,128,1152,133.3C1248,139,1344,181,1392,202.7L1440,224L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>');
  background-repeat: repeat-x;
  background-position: 0 0;
  background-size: 1440px 100px;
}

.wave1 {
  z-index: 3;
  opacity: 0.2;
  animation: wave 20s linear infinite;
}

.wave2 {
  z-index: 2;
  opacity: 0.4;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 320" xmlns="http://www.w3.org/2000/svg"><path fill="%2300FFFF" fill-opacity="0.2" d="M0,192L48,181.3C96,171,192,149,288,149.3C384,149,480,171,576,197.3C672,224,768,256,864,250.7C960,245,1056,203,1152,197.3C1248,192,1344,224,1392,240L1440,256L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>');
  background-size: 1440px 100px;
  animation: wave 15s linear infinite reverse;
}

.wave3 {
  z-index: 1;
  opacity: 0.3;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 320" xmlns="http://www.w3.org/2000/svg"><path fill="%23FF00FF" fill-opacity="0.2" d="M0,224L48,229.3C96,235,192,245,288,229.3C384,213,480,171,576,165.3C672,160,768,192,864,197.3C960,203,1056,181,1152,186.7C1248,192,1344,224,1392,240L1440,256L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>');
  background-size: 1440px 100px;
  animation: wave 25s linear infinite;
}

@keyframes wave {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-2xl);
}

.footer-logo {
  display: flex;
  flex-direction: column;
  /*gap: var(--spacing-sm);*/
}

.footer-logo .logo {
  margin-bottom: var(--spacing-xs);
}

.footer-logo p {
  font-size: var(--font-size-sm);
  opacity: 0.8;
  margin-bottom: 0;
  margin-top: 0px;
  color: var(--lightpink-color);
}

.footer-links h3,
.footer-social h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-md);
  color: var(--secondary-color);
  position: relative;
  display: inline-block;
}

.footer-links h3::after,
.footer-social h3::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: var(--gradient-secondary);
  border-radius: 2px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.footer-links ul li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: var(--font-size-md);
  transition: all var(--animation-normal) ease;
  display: inline-block;
  position: relative;
  padding-left: var(--spacing-sm);
}

.footer-links ul li a::before {
  content: '›';
  position: absolute;
  left: 0;
  top: 0;
  transition: transform var(--animation-normal) ease;
  color: var(--secondary-color);
}

.footer-links ul li a:hover {
  color: var(--secondary-color);
  transform: translateX(5px);
}

.footer-links ul li a:hover::before {
  transform: translateX(3px);
}

.social-icons {
  display: flex;
  gap: var(--spacing-sm);
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-color);
  font-size: var(--font-size-md);
  transition: all var(--animation-normal) ease;
  border: 1px solid var(--border-light);
}

.social-icon:hover {
  background: var(--gradient-primary);
  color: var(--text-color);
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: var(--font-size-sm);
  opacity: 0.7;
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
  :root {
    --font-size-6xl: 3rem;
  }

  .hero-grid {
    gap: var(--spacing-xl);
  }
}

@media (max-width: 992px) {
  :root {
    --font-size-6xl: 2.5rem;
    --font-size-4xl: 2rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    order: 2;
  }

  .hero-image {
    order: 1;
    height: 300px;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;

    @media (max-width: 992px) {
      text-align: center;
    }
  }

  .hero-buttons {
    justify-content: center;
  }

  .content-wrapper {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }

  .timeline-item {
    width: 100%;
    padding-left: var(--spacing-3xl);
    left: 0 !important;
  }

  .timeline::before {
    left: 40px;
  }

  .timeline-date {
    left: -10px !important;
    right: auto !important;
    width: 250px;
    font-size: var(--font-size-sm);
    text-align: center;
    padding: var(--spacing-xs);
  }

  .timeline-icon {
    left: -20px !important;
    right: auto !important;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
}

@media (max-width: 1199px) {
  :root {
    --font-size-6xl: 2.2rem;
    --font-size-4xl: 1.8rem;
    --font-size-3xl: 1.6rem;
    --font-size-2xl: 1.4rem;
  }

  .menu-toggle {
    display: flex;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: rgba(5, 5, 17, 0.95);
    backdrop-filter: blur(10px);
    padding: 80px var(--spacing-lg) var(--spacing-lg);
    transition: right 0.3s ease;
    z-index: 999;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
  }

  nav.active {
    right: 0;
  }

  nav ul {
    flex-direction: column;
    gap: var(--spacing-lg);
  }

  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .skill-cards {
    grid-template-columns: 1fr;
  }

  .interests-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

@media (max-width: 480px) {
  :root {
    --font-size-6xl: 2rem;
    --font-size-4xl: 1.6rem;
    --spacing-4xl: 4rem;
    --spacing-3xl: 3rem;
  }

  .hero {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: var(--spacing-2xl);
  }

  .btn {
    padding: 10px 20px;
    font-size: var(--font-size-sm);
    min-width: 120px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }

  .section-title {
    font-size: var(--font-size-3xl);
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .hero-image {
    height: 200px;
  }

  .cube-container {
    width: 150px;
    height: 150px;
  }

  .face {
    width: 150px;
    height: 150px;
  }

  .front {
    transform: translateZ(75px);
  }

  .back {
    transform: rotateY(180deg) translateZ(75px);
  }

  .right {
    transform: rotateY(90deg) translateZ(75px);
  }

  .left {
    transform: rotateY(-90deg) translateZ(75px);
  }

  .top {
    transform: rotateX(90deg) translateZ(75px);
  }

  .bottom {
    transform: rotateX(-90deg) translateZ(75px);
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    text-align: center;
  }

  .footer-logo {
    align-items: center;
  }

  .footer-links h3::after,
  .footer-social h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-links ul li a {
    padding-left: 0;
  }

  .footer-links ul li a::before {
    display: none;
  }

  .social-icons {
    justify-content: center;
  }

  .contact-social {
    justify-content: center;
  }
}

.tooltip {
  position: relative;
  display: inline-block;
  font-size: 14px;
  color: #333;
  cursor: pointer;
}

.tooltip-text {
  visibility: hidden;
  opacity: 0;
  background-color: #fbd3e9;
  color: #000;
  text-align: center;
  border-radius: 6px;
  padding: 8px 12px;
  position: absolute;
  z-index: 1;
  top: 130%;
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 0.4s;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* Emoji sınıfı */
.emoji {
  font-size: 1.3rem;
  margin-right: 0.3rem;
  display: inline-block;
  transform: translateY(2px);
  transition: transform 0.2s ease;
}

/* Emoji hover efekti */
.emoji:hover {
  transform: scale(1.2);
  cursor: default;
}

.starbullet {
  list-style: none;
  /* Varsayılan madde işaretlerini kaldır */
  padding-left: 0;
}

.starbullet li::before {
  content: "★";
  /* Unicode yıldız */
  color: #f1c40f;
  margin-right: 10px;
  font-size: 1.2em;
}

.yellowbullet {
  list-style: none;
  /* Varsayılan madde işaretini kaldır */
  padding-left: 0;
}

.yellowbullet li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #f1c40f;
  /* Sarı */
  border-radius: 50%;
  /* Nokta (yuvarlak) */
  margin-right: 10px;
  transform: translateY(1px);
  /* Dikey hizalama düzeltmesi */
}

.language-wrapper {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 1001;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-family: 'Orbitron', sans-serif;
}

.language-switcher .lang-button {
  padding: 4px 8px;
  border-radius: 5px;
  cursor: pointer;
  border: none;
  background: none;
  color: var(--text-muted);
  transition: all 0.3s ease;
  font-weight: 600;
}

.language-switcher .lang-button.active {
  color: var(--secondary-color);
  text-shadow: 0 0 5px var(--secondary-color);
}

.language-separator {
  color: var(--text-muted);
  font-weight: 500;
}

.form-notification {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.85);
  color: #00ff9d;
  padding: 20px 30px;
  border-radius: 15px;
  font-size: 18px;
  z-index: 9999;
  display: none;
  animation: fadeInOut 3s ease-in-out;
}

@keyframes fadeInOut {
  0% { opacity: 0; transform: translate(-50%, -60%); }
  10% { opacity: 1; transform: translate(-50%, -50%); }
  90% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -40%); }
}