/* --- YENİ TASARIM CSS STİLLERİ --- */

/* Tailwind Config */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&display=swap');

/* Base Styles */
@layer base {
    html {
        font-family: "Orbitron", sans-serif;
        font-optical-sizing: auto;
        font-weight: 400;
        font-style: normal;
        font-variation-settings: "wdth" 100;
    }
}

@layer utilities {
    .text-outline {
        text-shadow: 2px 2px 0px #000, -2px -2px 0px #000, 2px -2px 0px #000, -2px 2px 0px #000;
    }
    
    .glow-effect {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    }
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes glow {
    from { box-shadow: 0 0 20px rgba(255, 215, 0, 0.4); }
    to { box-shadow: 0 0 30px rgba(255, 215, 0, 0.8); }
}

@keyframes slideFromRight {
    0% { 
        transform: translateX(100px);
        opacity: 0;
    }
    100% { 
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideFromLeft {
    0% { 
        transform: translateX(-100px);
        opacity: 0;
    }
    100% { 
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideFromTopRight {
    0% { 
        transform: translateX(50px) translateY(-50px) rotate(-31.12deg);
        opacity: 0;
    }
    100% { 
        transform: translateX(0) translateY(0) rotate(-31.12deg);
        opacity: 1;
    }
}

@keyframes slideFromBottomLeft {
    0% { 
        transform: translateX(-50px) translateY(50px);
        opacity: 0;
    }
    100% { 
        transform: translateX(0) translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    0% { 
        transform: translateY(30px);
        opacity: 0;
    }
    100% { 
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes scaleIn {
    0% { 
        transform: scale(0.8);
        opacity: 0;
    }
    100% { 
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes spinClockwise {
    0% { 
        transform: rotate(0deg);
    }
    100% { 
        transform: rotate(360deg);
    }
}

@keyframes spinCounterClockwise {
    0% { 
        transform: rotate(0deg);
    }
    100% { 
        transform: rotate(-360deg);
    }
}

@keyframes slideUpIn {
    0% { 
        transform: translateY(100px);
        opacity: 0;
    }
    100% { 
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideUpOut {
    0% { 
        transform: translateY(0);
        opacity: 1;
    }
    100% { 
        transform: translateY(-100px);
        opacity: 0;
    }
}

@keyframes typewriter {
    0% { width: 0; }
    100% { width: 100%; }
}

@keyframes blink {
    0%, 50% { border-right-color: transparent; }
    51%, 100% { border-right-color: #ffde21; }
}

.typewriter {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid transparent;
    width: auto;
    min-width: 100px;
}

.circle-container img {
    max-width: none !important;
    flex-shrink: 0;
}

/* Gradient Border Button */
.gradient-border-button {
    position: relative;
    background: transparent;
}

.gradient-border-button::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    background: linear-gradient(90deg, #000000 0%, #FFDE21 100%);
    border-radius: 100px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    transition: all 0.4s ease;
}

.gradient-border-card {
    background: transparent;
}

.gradient-border-card::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    background: linear-gradient(247.4deg, #FFFFFF 1.12%, #FFDE21 98.99%);
    border-radius: 100px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    transition: all 0.4s ease;
}

.gradient-border-button:hover::before {
    background: linear-gradient(90deg, #FFDE21 0%, #FFD700 50%, #FFA500 100%);
    padding: 3px;
}

.gradient-border-button:hover {
    transform: scale(1.05);
    box-shadow: 
        0 0 20px rgba(255, 222, 33, 0.3),
        0 0 40px rgba(255, 222, 33, 0.2),
        0 0 60px rgba(255, 222, 33, 0.1);
}

.gradient-border-button:hover .button-text {
    color: #FFDE21;
    text-shadow: 0 0 10px rgba(255, 222, 33, 0.8);
}

.gradient-border-button:active {
    transform: scale(0.98);
}

/* Play Button */
.play-button {
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.play-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(255, 222, 33, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.play-button:hover::before {
    opacity: 1;
}

.play-button:hover {
    transform: scale(1.1);
    box-shadow: 
        0 0 30px rgba(255, 222, 33, 0.4),
        0 0 60px rgba(255, 222, 33, 0.2),
        inset 0 0 30px rgba(255, 222, 33, 0.1);
}

.play-button:hover .play-text {
    color: #FFDE21;
    text-shadow: 0 0 15px rgba(255, 222, 33, 0.8);
    transform: scale(1.05);
}

.play-button:active {
    transform: scale(1.05);
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.play-button::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid rgba(255, 222, 33, 0.6);
    border-radius: 50%;
    animation: pulse-ring 2s ease-out infinite;
}

/* YouTube Lightbox */
.youtube-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.youtube-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.youtube-container {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    width: 800px;
    height: 450px;
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    transform: scale(0.7);
    transition: transform 0.3s ease;
}

.youtube-lightbox.active .youtube-container {
    transform: scale(1);
}

.youtube-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.youtube-close:hover {
    background: rgba(255, 222, 33, 0.3);
    transform: scale(1.1);
}

/* Simple Diagonal Marquee */
@keyframes simpleMarquee {
    0% {
        transform: translateX(100vw) translateY(-50%);
    }
    100% {
        transform: translateX(-100vw) translateY(-50%);
    }
}

.marquee-container {
    position: absolute;
    top: 193px;
    left: -10%;
    width: 120%;
    height: 198px;
    overflow: hidden;
    transform: rotate(10.97deg);
    transform-origin: center;
    background: #ffde21;
}

.marquee-text {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-weight: 900;
    color: #e3c728;
    font-size: 120px;
    letter-spacing: 12px;
    white-space: nowrap;
    animation: simpleMarquee 25s linear infinite;
    text-shadow: 
        0 0 20px rgba(227, 199, 40, 0.4),
        0 0 40px rgba(227, 199, 40, 0.2),
        0 0 60px rgba(227, 199, 40, 0.1);
}

/* Diagonal Marquee Animation */
.marquee-diagonal-container {
    width: 200%;
    height: 100%;
    display: flex;
    align-items: center;
    animation: marquee-diagonal 15s linear infinite;
}

.marquee-diagonal-text {
    display: inline-block;
    padding-right: 200px;
}

@keyframes marquee-diagonal {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Counter Animation */
@keyframes countUp {
    0% { transform: scale(0.8); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(90deg, #FFFFFF 0%, #FFDE21 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

/* Background Gradient */
.bg-gradient-radial {
    background: radial-gradient(50% 50% at 50% 50%, #212121 0%, #000000 100%);
}

/* Basketball Animations */
.basketball-ball {
    transition: transform 1.2s ease-out, opacity 1s ease-out;
    transform: translateY(-300px);
    opacity: 0;
}

.basketball-in {
    transform: translateY(0);
    opacity: 1;
}

.basketball-scored {
    animation: basketballScore 2s ease-in-out forwards;
}

@keyframes basketballScore {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    30% {
        transform: translateY(0) scale(1.1);
        opacity: 1;
    }
    60% {
        transform: translateY(150px) scale(0.9);
        opacity: 0.8;
    }
    100% {
        transform: translateY(400px) scale(0.7);
        opacity: 0;
    }
}

.hoop-effect {
    position: absolute;
    top: 378px;
    right: 80px;
    width: 139px;
    height: 139px;
    opacity: 0;
    pointer-events: none;
}

.hoop-effect.active {
    animation: hoopShake 0.5s ease-out;
}

@keyframes hoopShake {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0;
    }
    25% {
        transform: translate(-2px, -2px);
        opacity: 1;
    }
    50% {
        transform: translate(2px, -1px);
        opacity: 1;
    }
    75% {
        transform: translate(-1px, 2px);
        opacity: 1;
    }
}

.score-effect {
    position: absolute;
    top: 300px;
    right: 50px;
    font-weight: 900;
    color: #ffde21;
    font-size: 48px;
    opacity: 0;
    pointer-events: none;
    text-shadow: 
        0 0 20px rgba(255, 222, 33, 0.8),
        0 0 40px rgba(255, 222, 33, 0.4);
}

.score-effect.active {
    animation: scorePopup 1.5s ease-out forwards;
}

@keyframes scorePopup {
    0% {
        transform: translateY(0) scale(0.5);
        opacity: 0;
    }
    30% {
        transform: translateY(-30px) scale(1.2);
        opacity: 1;
    }
    70% {
        transform: translateY(-50px) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(-80px) scale(0.8);
        opacity: 0;
    }
}

/* Chat Bubble Animations */
.chat-bubble {
    opacity: 0;
    transition: opacity 0.7s ease-out, transform 0.7s cubic-bezier(0.22,1,0.36,1);
    will-change: opacity, transform;
}

.chat-bubble-right {
    transform: translateX(60px) translateY(20px) scale(0.95);
}

.chat-bubble-left {
    transform: translateX(-60px) translateY(20px) scale(0.95);
}

.chat-bubble.bubble-visible {
    opacity: 1;
    transform: translateX(0) translateY(0) scale(1);
}

/* Bubble (baloncuk) stilleri */
.bubble {
  position: absolute;
  min-width: 220px;
  max-width: 340px;
  padding: 16px 28px;
  background: rgba(20, 20, 20, 0.7);
  border: 1px solid #333;
  border-radius: 40px;
  color: #fff;
  font-size: 15px;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 2px;
  box-shadow: 0 2px 24px 0 rgba(0,0,0,0.12);
  z-index: 20;
  transition: box-shadow 0.2s, background 0.2s;
  text-align: center;
  user-select: none;
}
.bubble .bubble-highlight {
  color: #FFDE21;
  font-weight: 700;
  letter-spacing: 1.5px;
}
.bubble:hover {
  background: rgba(40, 40, 40, 0.9);
  box-shadow: 0 4px 32px 0 rgba(255,222,33,0.12);
}
.bubble-top-left { top: 40px; left: 5%; }
.bubble-bottom-left { bottom: 60px; left: 10%; }
.bubble-top-right { top: 80px; right: 7%; }
.bubble-bottom-right { bottom: 40px; right: 12%; }
.bubble-mobile {
  position: static;
  margin-bottom: 12px;
  width: 90%;
  max-width: 400px;
  left: 50%;
  transform: translateX(-50%);
}
@media (max-width: 1024px) {
  .bubble { font-size: 13px; padding: 12px 18px; min-width: 160px; max-width: 260px; }
  .bubble-top-left { top: 20px; left: 2%; }
  .bubble-bottom-left { bottom: 30px; left: 4%; }
  .bubble-top-right { top: 40px; right: 3%; }
  .bubble-bottom-right { bottom: 20px; right: 5%; }
}
@media (max-width: 768px) {
  .bubble-mobile { display: block !important; }
}
@media (min-width: 769px) {
  .bubble-mobile { display: none !important; }
  .bubble { display: block !important; }
}

.bubble-animate {
  opacity: 0;
  transform: translateY(-20px) scale(0.95);
  animation: bubbleFadeIn 0.8s cubic-bezier(0.22,1,0.36,1) forwards;
}
@keyframes bubbleFadeIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.bubble-animate.delay-1 { animation-delay: 0.1s; }
.bubble-animate.delay-2 { animation-delay: 0.25s; }
.bubble-animate.delay-3 { animation-delay: 0.4s; }
.bubble-animate.delay-4 { animation-delay: 0.55s; }

/* Responsive Design */
@media (max-width: 768px) {
    .youtube-container {
        width: 95vw;
        height: 56.25vw;
        max-height: 80vh;
    }
    
    .youtube-close {
        top: -40px;
        right: 0;
        font-size: 24px;
        width: 35px;
        height: 35px;
    }
    
    .marquee-text {
        font-size: 60px;
        letter-spacing: 6px;
        animation: simpleMarquee 20s linear infinite;
    }
    
    .marquee-container {
        height: 150px;
        top: 180px;
    }
}

@media (max-width: 480px) {
    .marquee-text {
        font-size: 40px;
        letter-spacing: 4px;
        animation: simpleMarquee 15s linear infinite;
    }
    
    .marquee-container {
        height: 120px;
        top: 170px;
    }
}

/* Additional Utility Classes */
.neon-yellow {
    color: #FFDE21;
}

.cyber-black {
    background-color: #0A0A0A;
}

/* Ping Animation */
@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

.animate-ping {
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
} 

body, html, .bg-gradient-radial, .main-bg, .bg-black {
  background: #000 !important;
} 

.hero-img-animate {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  animation: heroImgFadeIn 1s cubic-bezier(0.22,1,0.36,1) 0.5s forwards;
}
@keyframes heroImgFadeIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
} 

@media (max-width: 768px) {
  .bubble-mobile { display: block !important; }
  .bubble {
    font-size: 12px;
    padding: 8px 12px;
    min-width: 120px;
    max-width: 180px;
    border-radius: 24px;
  }
  .bubble-animate {
    font-size: 12px;
  }
  .bubble-1 { top: 12px !important; left: 12px !important; right: auto !important; bottom: auto !important; }
  .bubble-2 { top: 48px !important; right: 12px !important; left: auto !important; bottom: auto !important; }
  .bubble-3 { bottom: 72px !important; left: 12px !important; right: auto !important; top: auto !important; }
  .bubble-4 { bottom: 32px !important; right: 12px !important; left: auto !important; top: auto !important; }
} 

@media (max-width: 768px) {
  .mob-test-bubble { display: block !important; }
}
@media (min-width: 769px) {
  .mob-test-bubble { display: none !important; }
} 

@media (max-width: 768px) {
  .basketball-ball {
    transition: transform 1.2s ease-out, opacity 1s ease-out;
    transform: translateY(-120px);
    width: 60px !important;
    height: 60px !important;
    opacity: 0;
  }
  .basketball-in {
    transform: translateY(0);
    opacity: 1;
  }
  .basketball-scored {
    animation: basketballScoreMobile 2s ease-in-out forwards;
  }
  @keyframes basketballScoreMobile {
    0% {
      transform: translateY(0) scale(1);
      opacity: 1;
    }
    30% {
      transform: translateY(0) scale(1.1);
      opacity: 1;
    }
    60% {
      transform: translateY(60px) scale(0.9);
      opacity: 0.8;
    }
    100% {
      transform: translateY(120px) scale(0.7);
      opacity: 0;
    }
  }
  .hoop-effect {
    top: 120px !important;
    right: 0 !important;
    width: 60px !important;
    height: 60px !important;
  }
  .score-effect {
    top: 60px !important;
    right: 0 !important;
    font-size: 24px !important;
  }
} 

/* Slider Styles */
.slide-content {
    position: absolute;
    inset: 0;
    padding: 1.5rem;
    transition: all 0.7s ease-out;
    transform: translateY(100px);
    opacity: 0;
    z-index: 1;
}

.slide-content:first-child {
    transform: translateY(0) !important;
    opacity: 1 !important;
    z-index: 10;
}

.slide-title,
.slide-title-mobile {
    font-weight: 800;
    color: #ffde21;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.slide-description,
.slide-description-mobile {
    color: white;
    line-height: 1.5;
    transition: all 0.3s ease;
}

/* Desktop slider geçiş efektleri */
.slide-title.fade-out {
    opacity: 0;
    transform: translateY(10px);
}

.slide-description.fade-out {
    opacity: 0;
    transform: translateY(10px);
}

.slide-title.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.slide-description.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Pagination dots */
.pagination-dot,
.pagination-dot-mobile {
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-dot:hover,
.pagination-dot-mobile:hover {
    background-color: rgba(255, 255, 255, 0.8) !important;
}

/* Desktop pagination dots için özel stiller */
@media (min-width: 1024px) {
    .pagination-dot {
        width: 7px;
        height: 7px;
        background-color: rgba(255, 255, 255, 0.4);
        border-radius: 20px;
        transition: all 0.3s ease;
    }
    
    .pagination-dot.active {
        width: 7px;
        height: 50px;
        background-color: white;
        border-radius: 20px;
    }
    
    .pagination-dot:hover {
        background-color: rgba(255, 255, 255, 0.8) !important;
    }
}

/* Mobil pagination dots için özel stiller */
@media (max-width: 1023px) {
    .pagination-dot-mobile {
        width: 7px;
        height: 7px;
        background-color: rgba(255, 255, 255, 0.4);
        border-radius: 20px;
        transition: all 0.3s ease;
    }
    
    .pagination-dot-mobile.active {
        width: 50px;
        height: 7px;
        background-color: white;
        border-radius: 20px;
    }
    
    .pagination-dot-mobile:hover {
        background-color: rgba(255, 255, 255, 0.8) !important;
    }
}

/* Active slide styles - handled by JavaScript */

/* Counter animations */
@keyframes countUp {
    0% { 
        transform: scale(0.8); 
        opacity: 0; 
    }
    50% { 
        transform: scale(1.1); 
    }
    100% { 
        transform: scale(1); 
        opacity: 1; 
    }
}

/* Typewriter effect */
@keyframes blink {
    0%, 50% { 
        border-right-color: transparent; 
    }
    51%, 100% { 
        border-right-color: #ffde21; 
    }
}

.typewriter {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid transparent;
    width: auto;
    min-width: 100px;
}

/* Responsive adjustments for slider */
@media (max-width: 1024px) {
    .slide-content {
        padding: 1rem;
    }
    
    .slide-title {
        font-size: 1.25rem;
        line-height: 2rem;
    }
    
    .slide-description {
        font-size: 0.875rem;
        line-height: 1.5rem;
    }
}

@media (max-width: 768px) {
    .slide-content-mobile {
        padding: 1rem;
        position: relative;
        transition: all 0.5s ease;
    }
    
    .slide-title-mobile {
        font-size: 1.125rem;
        line-height: 1.75rem;
        margin-bottom: 0.75rem;
        transition: all 0.3s ease;
    }
    
    .slide-description-mobile {
        font-size: 0.75rem;
        line-height: 1.25rem;
        transition: all 0.3s ease;
    }
    
    /* Mobil slider için özel animasyonlar */
    .slide-title-mobile,
    .slide-description-mobile {
        animation: fadeInSlide 0.5s ease-out;
    }
    
    /* Mobil slider container için özel stiller */
    .mobile-slider-container {
        position: relative;
        overflow: hidden;
        min-height: 200px;
    }
    
    /* Mobil slider geçiş efektleri */
    .slide-title-mobile.fade-out {
        opacity: 0;
        transform: translateY(10px);
    }
    
    .slide-description-mobile.fade-out {
        opacity: 0;
        transform: translateY(10px);
    }
    
    .slide-title-mobile.fade-in {
        opacity: 1;
        transform: translateY(0);
    }
    
    .slide-description-mobile.fade-in {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInSlide {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
} 

/* Ana sayfa logo büyütme ve ortalama kuralları */
@media (max-width: 768px) {
    .central-logo {
        left: 50% !important;
        transform: translateX(-54%) !important;
        right: auto !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        position: absolute !important;
        width: auto !important;
        max-width: none !important;
    }
    .central-logo svg {
        width: 64px !important;
        height: 80px !important;
        max-width: 64px !important;
        max-height: 80px !important;
    }
}

@media (min-width: 769px) {
    .central-logo {
        left: 50% !important;
        transform: translateX(-50%) !important;
        right: auto !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        position: absolute !important;
        width: auto !important;
        max-width: none !important;
    }
    .central-logo svg {
        width: 120px !important;
        height: 150px !important;
        max-width: 120px !important;
        max-height: 150px !important;
    }
} 
