html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

/* Black-Gray Theme Colors */
:root {
  --parliament-blue: #000000;
  --parliament-blue-dark: #1a1a1a;
  --parliament-blue-medium: #2d3748;
  --parliament-blue-light: #4a5568;
  --parliament-blue-lighter: #718096;
  --text-white: #ffffff;
  --text-dark: #1f2937;
  --border-light: #e5e7eb;
  --gradient-primary: linear-gradient(135deg, #000000 0%, #2d3748 50%, #4a5568 100%);
  --gradient-secondary: linear-gradient(135deg, #1a1a1a 0%, #000000 50%, #2d3748 100%);
  --shadow-elegant: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-soft: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--parliament-blue-light);
}

html {
  height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  color: var(--text-dark);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}

/* Custom Navbar Styles */
.navbar-custom {
  background: var(--gradient-primary) !important;
  border-bottom: none;
  padding: 1.2rem 0;
  box-shadow: var(--shadow-elegant);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  z-index: 10;
}

/* Navbar Logo Styles */
.navbar-logo {
  display: inline-block;
  margin-right: 1rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 15;
}

.navbar-logo .logo-navbar {
  width: 65px;
  height: 65px;
  object-fit: contain;
  filter: brightness(1.1) drop-shadow(0 2px 4px rgba(0,0,0,0.3));
  transition: all 0.3s ease;
  border-radius: 10px;
}

.navbar-logo:hover .logo-navbar {
  transform: scale(1.1);
  filter: brightness(1.2) drop-shadow(0 6px 12px rgba(0,0,0,0.4));
}

/* Responsive logo adjustments */
@media (max-width: 768px) {
  .navbar-logo .logo-navbar {
    width: 55px;
    height: 55px;
  }
}

@media (max-width: 576px) {
  .navbar-logo {
    margin-right: 0.5rem;
  }
  
  .navbar-logo .logo-navbar {
    width: 45px;
    height: 45px;
  }
}

.navbar-custom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 100%);
  pointer-events: none;
}

.navbar-custom::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255,255,255,0.6) 25%, 
    rgba(255,255,255,0.8) 50%, 
    rgba(255,255,255,0.6) 75%, 
    transparent 100%);
  animation: shimmer 1.5s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.navbar-custom .navbar-brand {
  color: var(--text-white) !important;
  font-weight: 700;
  font-size: 1.8rem;
  text-decoration: none;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  position: relative;
  transition: all 0.3s ease;
}

/* Centered navbar brand on large screens */
@media (min-width: 992px) {
  .navbar-custom .navbar-collapse {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
  }
  
  .navbar-custom .navbar-nav.me-auto,
  .navbar-custom .navbar-nav.ms-auto {
    margin: 0 !important;
  }
  
  .navbar-custom .navbar-brand.mx-auto {
    margin: 0 !important;
    position: static;
    transform: none;
  }
  
  .navbar-custom .navbar-brand.mx-auto:hover {
    transform: none;
  }
}

.navbar-custom .navbar-brand:hover {
  color: var(--text-white) !important;
  transform: scale(1.05);
  text-shadow: 
    0 0 20px rgba(255, 255, 255, 0.8),
    0 0 40px rgba(255, 255, 255, 0.6),
    0 4px 8px rgba(0,0,0,0.4);
  filter: brightness(1.2);
}

.navbar-custom .navbar-brand::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(45, 55, 72, 0.3), rgba(255,255,255,0.1));
  border-radius: 15px;
  opacity: 0;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.navbar-custom .navbar-brand:hover::before {
  opacity: 1;
  transform: scale(1.1);
  animation: brandGlow 0.8s ease-in-out infinite alternate;
}

.navbar-custom .navbar-brand::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, 
    rgba(255,255,255,0.9), 
    rgba(74, 85, 104, 0.9), 
    rgba(255,255,255,0.9));
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.navbar-custom .navbar-brand:hover::after {
  width: 120%;
  animation: underlineGlow 1s ease-in-out infinite;
}

@keyframes brandGlow {
  0% { 
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(45, 55, 72, 0.3), rgba(255,255,255,0.1));
  }
  100% { 
    background: linear-gradient(45deg, rgba(74, 85, 104, 0.3), rgba(255,255,255,0.2), rgba(74, 85, 104, 0.3));
  }
}

@keyframes underlineGlow {
  0%, 100% { 
    box-shadow: 0 0 10px rgba(255,255,255,0.5);
  }
  50% { 
    box-shadow: 0 0 20px rgba(74, 85, 104, 0.9), 0 0 30px rgba(255,255,255,0.6);
  }
}

.navbar-custom .nav-link {
  color: var(--text-white) !important;
  font-weight: 500;
  margin: 0 0.3rem;
  padding: 0.7rem 1.2rem !important;
  border-radius: 25px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.navbar-custom .nav-link::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: left 0.25s;
}

.navbar-custom .nav-link:hover::before {
  left: 100%;
}

.navbar-custom .nav-link:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-white) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  backdrop-filter: blur(10px);
}

.navbar-custom .nav-link:focus {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-custom .navbar-toggler {
  border: 2px solid rgba(255,255,255,0.3);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  padding: 0.5rem;
  transition: all 0.3s ease;
}

.navbar-custom .navbar-toggler:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.navbar-custom .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Custom Footer Styles */
.footer-custom {
  background: var(--gradient-secondary);
  color: var(--text-white);
  border-top: none;
  padding: 4rem 0 2rem 0;
  width: 100%;
  font-weight: 500;
  box-shadow: 0 -8px 32px rgba(15, 29, 79, 0.4);
  position: relative;
  overflow: hidden;
  margin-top: auto;
  z-index: 10;
}

.footer-custom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255,255,255,0.05) 0%, transparent 100%);
  pointer-events: none;
}

.footer-custom::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255,255,255,0.4) 25%, 
    rgba(255,255,255,0.6) 50%, 
    rgba(255,255,255,0.4) 75%, 
    transparent 100%);
  animation: shimmer 2s ease-in-out infinite reverse;
}

.footer-custom .container {
  position: relative;
  z-index: 1;
}

.footer-custom p {
  font-size: 1rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
  margin-bottom: 0.5rem;
}

.footer-custom a:not(.footer-link) {
  color: var(--text-white);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.footer-custom a:not(.footer-link):hover {
  opacity: 0.8;
  transform: translateY(-1px);
}

.footer-custom a:not(.footer-link)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: rgba(255,255,255,0.8);
  transition: width 0.3s ease;
}

.footer-custom a:not(.footer-link):hover::after {
  width: 100%;
}

/* Main content spacing */
.main-content {
  padding: 2rem 0;
  flex: 1;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  margin: 2rem auto;
  box-shadow: var(--shadow-soft);
  animation: fadeInUp 0.3s ease-out;
  position: relative;
  z-index: 5;
}

/* Enhanced form styles */
.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Responsive enhancements */
@media (max-width: 991px) {
  .navbar-custom {
    padding: 1rem 0;
  }
  
  .navbar-custom .navbar-brand {
    font-size: 1.5rem;
  }
  
  /* Mobile navbar layout */
  .navbar-custom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .navbar-custom .navbar-logo {
    order: 1;
    flex-shrink: 0;
  }
  
  .navbar-custom .navbar-toggler {
    order: 2;
    margin-left: auto;
    margin-right: 1rem;
  }
  
  .navbar-custom .navbar-brand.d-lg-none {
    order: 3;
    flex-grow: 1;
    text-align: center;
    margin-right: 0;
  }
}

@media (max-width: 768px) {
  .main-content {
    margin: 1rem auto;
    border-radius: 15px;
  }
  
  .footer-custom {
    padding: 2rem 0 1.5rem 0;
  }
}

/* Social Media Icons */
.social-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  color: var(--text-white);
}

.social-links a i {
  font-size: 1.2rem;
}

/* X (Twitter) Logo */
.x-logo {
  font-size: 1.2rem;
  font-weight: bold;
  font-family: 'Times New Roman', serif;
  display: inline-block;
}

/* Footer Components */
.footer-title {
  color: var(--text-white);
  font-weight: 600;
  font-size: 1.25rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.footer-description {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.contact-info {
  font-size: 0.9rem;
}

.contact-item {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.contact-link {
  color: var(--text-white);
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.contact-link:hover {
  color: rgba(255, 255, 255, 0.8);
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

.sponsor-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.sponsor-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  text-decoration: none;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.sponsor-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 992px) {
  .footer-links {
    align-items: flex-end;
  }
}

.footer-link {
  color: rgba(255, 255, 255, 0.85) !important;
  text-decoration: none !important;
  font-size: 0.9rem;
  transition: all 0.3s ease !important;
  padding: 0.25rem 0;
  position: relative;
  opacity: 1 !important;
  transform: none !important;
}

.footer-link:hover {
  color: var(--text-white) !important;
  transform: translateX(5px) !important;
  opacity: 1 !important;
}

.footer-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.6);
  transition: width 0.3s ease;
}

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

.footer-divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255,255,255,0.3) 25%, 
    rgba(255,255,255,0.5) 50%, 
    rgba(255,255,255,0.3) 75%, 
    transparent 100%);
  margin: 2rem 0 1.5rem 0;
  opacity: 0.7;
}

.copyright-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.copyright-text .text-danger {
  animation: heartbeat 1.2s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* Icon enhancements for navbar */
.navbar-custom .nav-link i {
  transition: transform 0.3s ease;
}

.navbar-custom .nav-link:hover i {
  transform: scale(1.1);
}

.navbar-custom .navbar-brand i {
  color: rgba(255, 255, 255, 0.95);
  animation: pulse 1.2s infinite;
}

@keyframes pulse {
  0%, 100% { 
    opacity: 0.9; 
    transform: scale(1);
  }
  50% { 
    opacity: 1; 
    transform: scale(1.05);
  }
}

/* Enhanced content area */
.main-content {
  position: relative;
  overflow: hidden;
}

.main-content::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(15, 29, 79, 0.05) 0%, transparent 70%);
  animation: rotate 12s linear infinite;
  pointer-events: none;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Loading animation for smooth transitions */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive design for footer */
@media (max-width: 768px) {
  .footer-custom {
    padding: 3rem 0 2rem 0;
  }
  
  .footer-title {
    font-size: 1.1rem;
  }
  
  .sponsor-buttons {
    justify-content: center;
  }
  
  .footer-links {
    align-items: center !important;
  }
  
  .footer-link:hover {
    transform: none !important;
  }
}

@media (max-width: 576px) {
  .social-links {
    justify-content: center;
  }
  
  .social-links a {
    width: 35px;
    height: 35px;
  }
  
  .social-links a i {
    font-size: 1rem;
  }
  
  .sponsor-btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
  
  .copyright-text {
    font-size: 0.85rem;
  }
}

/* ===== DİNAMİK BALONCUK ARKA PLAN EFEKTİ ===== */

.bubbles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.bubble {
  position: absolute;
  bottom: -120px;
  background: rgba(15, 29, 79, 0.4);
  border-radius: 50%;
  animation: floatUp linear infinite;
  box-shadow: 
    0 0 30px rgba(15, 29, 79, 0.6),
    inset 0 0 20px rgba(15, 29, 79, 0.3);
  backdrop-filter: blur(3px);
  border: 1px solid rgba(15, 29, 79, 0.2);
}

/* Her baloncuk için farklı boyut, pozisyon ve süre */
.bubble:nth-child(1) {
  left: 5%;
  width: 30px;
  height: 30px;
  animation-duration: 12s;
  animation-delay: 0s;
}

.bubble:nth-child(2) {
  left: 15%;
  width: 20px;
  height: 20px;
  animation-duration: 15s;
  animation-delay: 2s;
}

.bubble:nth-child(3) {
  left: 25%;
  width: 40px;
  height: 40px;
  animation-duration: 10s;
  animation-delay: 4s;
}

.bubble:nth-child(4) {
  left: 35%;
  width: 18px;
  height: 18px;
  animation-duration: 18s;
  animation-delay: 1s;
}

.bubble:nth-child(5) {
  left: 45%;
  width: 35px;
  height: 35px;
  animation-duration: 14s;
  animation-delay: 3s;
}

.bubble:nth-child(6) {
  left: 55%;
  width: 23px;
  height: 23px;
  animation-duration: 16s;
  animation-delay: 5s;
}

.bubble:nth-child(7) {
  left: 65%;
  width: 45px;
  height: 45px;
  animation-duration: 11s;
  animation-delay: 2.5s;
}

.bubble:nth-child(8) {
  left: 75%;
  width: 15px;
  height: 15px;
  animation-duration: 20s;
  animation-delay: 1.5s;
}

.bubble:nth-child(9) {
  left: 85%;
  width: 28px;
  height: 28px;
  animation-duration: 13s;
  animation-delay: 4.5s;
}

.bubble:nth-child(10) {
  left: 95%;
  width: 33px;
  height: 33px;
  animation-duration: 17s;
  animation-delay: 0.5s;
}

.bubble:nth-child(11) {
  left: 10%;
  width: 38px;
  height: 38px;
  animation-duration: 19s;
  animation-delay: 3.5s;
}

.bubble:nth-child(12) {
  left: 20%;
  width: 25px;
  height: 25px;
  animation-duration: 12s;
  animation-delay: 6s;
}

.bubble:nth-child(13) {
  left: 30%;
  width: 43px;
  height: 43px;
  animation-duration: 15s;
  animation-delay: 1.2s;
}

.bubble:nth-child(14) {
  left: 40%;
  width: 13px;
  height: 13px;
  animation-duration: 21s;
  animation-delay: 2.8s;
}

.bubble:nth-child(15) {
  left: 50%;
  width: 48px;
  height: 48px;
  animation-duration: 9s;
  animation-delay: 4.2s;
}

.bubble:nth-child(16) {
  left: 60%;
  width: 19px;
  height: 19px;
  animation-duration: 16s;
  animation-delay: 0.8s;
}

.bubble:nth-child(17) {
  left: 70%;
  width: 36px;
  height: 36px;
  animation-duration: 14s;
  animation-delay: 5.5s;
}

.bubble:nth-child(18) {
  left: 80%;
  width: 21px;
  height: 21px;
  animation-duration: 18s;
  animation-delay: 3.2s;
}

.bubble:nth-child(19) {
  left: 90%;
  width: 44px;
  height: 44px;
  animation-duration: 13s;
  animation-delay: 1.8s;
}

.bubble:nth-child(20) {
  left: 3%;
  width: 26px;
  height: 26px;
  animation-duration: 22s;
  animation-delay: 4.8s;
}

/* Baloncuk yüzme animasyonu */
@keyframes floatUp {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.3;
  }
  
  10% {
    opacity: 0.9;
  }
  
  25% {
    transform: translateY(-25vh) rotate(90deg) translateX(30px);
    opacity: 1;
  }
  
  50% {
    transform: translateY(-50vh) rotate(180deg) translateX(-20px);
    opacity: 0.8;
  }
  
  75% {
    transform: translateY(-75vh) rotate(270deg) translateX(40px);
    opacity: 0.6;
  }
  
  90% {
    opacity: 0.4;
  }
  
  100% {
    transform: translateY(-100vh) rotate(360deg) translateX(-10px);
    opacity: 0;
  }
}

/* Hover efekti - baloncuklar üzerine gelindiğinde büyür */
.bubble:hover {
  transform: scale(1.3) !important;
  background: rgba(30, 64, 175, 0.6) !important;
  box-shadow: 
    0 0 40px rgba(30, 64, 175, 0.8),
    inset 0 0 30px rgba(30, 64, 175, 0.4) !important;
  transition: all 0.3s ease !important;
}

/* Pulse efekti - baloncuklar hafif titreşim */
.bubble::before {
  content: '';
  position: absolute;
  top: 15%;
  left: 15%;
  width: 30%;
  height: 30%;
  background: rgba(30, 64, 175, 0.5);
  border-radius: 50%;
  animation: bubblePulse 1.5s ease-in-out infinite;
}

@keyframes bubblePulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.3;
  }
  
  50% {
    transform: scale(1.5);
    opacity: 0.1;
  }
}

/* Dalgalı hareket efekti */
.bubble:nth-child(odd) {
  animation-name: floatUpWave;
}

@keyframes floatUpWave {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: 0.3;
  }
  
  10% {
    opacity: 0.9;
  }
  
  25% {
    transform: translateY(-25vh) translateX(50px) rotate(90deg);
    opacity: 1;
  }
  
  50% {
    transform: translateY(-50vh) translateX(-30px) rotate(180deg);
    opacity: 0.8;
  }
  
  75% {
    transform: translateY(-75vh) translateX(60px) rotate(270deg);
    opacity: 0.6;
  }
  
  90% {
    opacity: 0.4;
  }
  
  100% {
    transform: translateY(-100vh) translateX(-20px) rotate(360deg);
    opacity: 0;
  }
}

/* Mobil cihazlar için baloncuk optimizasyonu */
@media (max-width: 768px) {
  .bubble {
    width: 10px !important;
    height: 10px !important;
    animation-duration: 8s !important;
  }
  
  .bubble:nth-child(n+11) {
    display: none; /* Mobilde daha az baloncuk */
  }
}

/* Düşük performanslı cihazlar için optimizasyon */
@media (prefers-reduced-motion: reduce) {
  .bubble {
    animation: none;
    opacity: 0.1;
  }
}