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

body {
    font-family: 'Inter', sans-serif;
    background: #0B0B0F;
    color: #fff;
    overflow-x: hidden;
}

/* Text selection — brand purple / pink */
::selection {
    background: rgba(139, 92, 246, 0.55);
    color: #fff;
    text-shadow: none;
}

::-moz-selection {
    background: rgba(139, 92, 246, 0.55);
    color: #fff;
    text-shadow: none;
}

.gradient-text::selection,
.gradient-text::-moz-selection {
    background: rgba(244, 114, 182, 0.65);
    -webkit-text-fill-color: #fff;
    color: #fff;
}

input::selection,
textarea::selection,
select::selection,
[contenteditable="true"]::selection {
    background: rgba(139, 92, 246, 0.45);
    color: #fff;
}

input::-moz-selection,
textarea::-moz-selection,
select::-moz-selection,
[contenteditable="true"]::-moz-selection {
    background: rgba(139, 92, 246, 0.45);
    color: #fff;
}

.gradient-text {
    background: linear-gradient(135deg, #8B5CF6 0%, #F472B6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradientTextShift 3s ease infinite;
    position: relative;
    display: inline;
    padding: 0;
    margin: 0;
    letter-spacing: inherit;
    filter: none !important;
}

/* Large gradient headings — minimal side padding only when needed for clip */
h1 .gradient-text,
h2 .gradient-text,
h3 .gradient-text,
.text-3xl.gradient-text,
.text-4xl.gradient-text,
.text-5xl.gradient-text {
    display: inline-block;
    padding: 0 0.05em;
}

/* Wordmark only — no extra gap before .to (font/gradient unchanged) */
.site-logo-mark .gradient-text {
    display: inline !important;
    padding: 0 !important;
    margin: 0 !important;
    letter-spacing: inherit;
}

/* Remove any background color from gradient text containers */
.text-3xl.sm\:text-4xl.font-black.gradient-text,
.text-xl.sm\:text-2xl.font-bold.gradient-text {
    background-color: transparent !important;
}

/* Price gradient text fix */
div>span.gradient-text {
    background: linear-gradient(135deg, #8B5CF6 0%, #F472B6 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    padding: 0 !important;
    margin: 0 !important;
}

.gradient-bg {
    background: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 100%);
}

.gradient-border {
    position: relative;
    background: #111114;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(244, 114, 182, 0.1));
    border: 2px solid transparent;
    background-clip: padding-box;
    transition: none !important;
    transform: none !important;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1.5rem;
    padding: 2px;
    background: linear-gradient(135deg, #8B5CF6, #F472B6);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    transition: none !important;
    inset: -2px;
    border-radius: inherit;
    z-index: -1;
    opacity: 0.5;
}

.gradient-border:hover::before {}

.gradient-border:hover {
    transform: none !important;
}

.hover-lift {
    /* transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1); */
    /* transition: transform 0.3s ease; */
}

.hover-lift:hover {
    /* transform: translateY(-8px); */
    /* box-shadow: 0 25px 50px rgba(139, 92, 246, 0.3); */
    /* transform: translateY(-5px); */
}

.btn-gradient {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    vertical-align: middle;
    background: linear-gradient(135deg, #8B5CF6 0%, #F472B6 100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    contain: paint;
}

.btn-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(
        105deg,
        transparent 38%,
        rgba(255, 255, 255, 0.28) 50%,
        transparent 62%
    );
    transform: translateX(-120%);
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-gradient:hover::before {
    left: auto;
    transform: translateX(120%);
}

.btn-gradient:hover {
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.4) !important;
    transform: translateY(-2px) scale(1.02) !important;
}

.btn-gradient > *,
.btn-gradient span {
    position: relative;
    z-index: 1;
}

.btn-gradient:active {
    transform: scale(0.98) translateY(-2px) !important;
}

#navbar {
    backdrop-filter: blur(10px);
    background: rgba(11, 11, 15, 0.7);
    border-bottom: 1px solid transparent;
    background: transparent;
    z-index: 50;
    overflow: visible;
}

#navbar > div,
#navbar .flex.items-center.gap-3 {
    overflow: visible;
}

/* Profile dropdown (desktop + mobile) */
#userDropdown {
    position: relative;
    z-index: 60;
    overflow: visible;
}

#userDropdownBtn {
    position: relative;
    z-index: 2;
    cursor: pointer;
}

.profile-dropdown-backdrop {
    position: fixed;
    inset: 0;
    z-index: 55;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.profile-dropdown-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

#dropdownMenu.profile-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    z-index: 70;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

#dropdownMenu.profile-dropdown-menu.is-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
    display: block !important;
}

#dropdownMenu.profile-dropdown-menu.profile-dropdown-menu--mobile {
    position: fixed;
    top: auto;
    right: auto;
    bottom: auto;
    transform: none;
}

body.profile-menu-open {
    overflow: hidden;
}

.navbar-scrolled {
    background: rgba(11, 11, 15, 0.95);
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

.glow {
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
    animation: glow-pulse 2s ease-in-out infinite;
}

.glow:hover {
    box-shadow: 0 0 50px rgba(139, 92, 246, 0.5);
}

@keyframes glow-pulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
    }

    50% {
        box-shadow: 0 0 40px rgba(139, 92, 246, 0.8);
    }
}

/* Smooth backdrop blur effects */
.backdrop-blur-sm {
    backdrop-filter: blur(8px);
}

.backdrop-blur-xl {
    backdrop-filter: blur(24px);
}

/* Smooth transitions for all interactive elements */
a,
button,
details,
summary {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

a:hover {
    transform: translateY(-1px);
}

a:active {
    transform: scale(0.95);
}

/* Product card image hover effects */
.group {
    transition: all 0.3s ease !important;
    transform: translateZ(0);
    will-change: auto;
}

.group:hover {
    transform: scale(1) translateY(0) !important;
    box-shadow: none !important;
}

.group:hover .aspect-video {
    transform: scale(1) !important;
    transition: transform 0.3s ease;
}

.aspect-video {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.aspect-video .absolute {
    transition: background-color 0.5s ease;
}

.group:hover .aspect-video .absolute {
    background-color: rgba(0, 0, 0, 0.3);
}

.group:hover .btn-gradient {
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3) !important;
    transform: scale(1.02) !important;
}

/* Details/FAQ — summary marker hide (global); accordion styles in home-faq.css */
details summary::-webkit-details-marker {
    display: none;
}

details summary {
    list-style: none;
}

/* Smooth scroll padding for anchor links */
html {
    scroll-padding-top: 100px;
}

/* Card blur background effects */
.bg-dark-card\/80 {
    background-color: rgba(17, 17, 20, 0.8);
}

.bg-dark-card\/80:nth-child(1) {
    animation-delay: 0.1s;
}

.bg-dark-card\/80:nth-child(2) {
    animation-delay: 0.2s;
}

.bg-dark-card\/80:nth-child(3) {
    animation-delay: 0.3s;
}

.bg-dark-card\/80:nth-child(4) {
    animation-delay: 0.4s;
}

.bg-dark-card\/80:nth-child(5) {
    animation-delay: 0.5s;
}

/* Price badge hover animation */
.bg-pink-accent\/10 {
    transition: all 0.3s ease !important;
}

.group:hover .bg-pink-accent\/10 {
    background-color: rgba(244, 114, 182, 0.2) !important;
    transform: scale(1.05) !important;
}

/* Category badge animations */
.bg-purple-main\/20 {
    transition: all 0.3s ease;
}

.bg-pink-accent\/20 {
    transition: all 0.3s ease;
}

.group:hover .bg-purple-main\/20,
.group:hover .bg-pink-accent\/20 {
    background-color: rgba(139, 92, 246, 0.3) !important;
}

/* Testimonial card staggered entrance */
@keyframes staggeredFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Smooth border transitions */
.border-slate-800 {
    transition: border-color 0.5s ease;
}

.border-slate-800\/50 {
    transition: border-color 0.5s ease;
}

.border-purple-main\/50 {
    transition: border-color 0.5s ease;
}

/* Icon hover effects */
svg {
    transition: all 0.3s ease;
}

/* List item smooth hover */
li {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

li:hover svg {
    animation: iconPulse 0.5s ease;
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

.group ul li {
    transition: all 0.3s ease !important;
}

.group ul li:hover {
    color: #A78BFA !important;
    transform: translateX(5px) !important;
}

.group ul li:hover svg {
    transform: scale(1.2) !important;
}

/* Smooth opacity transitions */
.text-slate-400 {
    transition: color 0.3s ease;
}

.text-slate-300 {
    transition: color 0.3s ease;
}

.text-slate-500 {
    transition: color 0.3s ease;
}

/* Smooth gradient animation for product images */
@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Pulse animation for FREE badge */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

/* Smooth social icon transitions */
footer a {
    position: relative;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

footer a:hover {
    color: #A78BFA !important;
    transform: translateX(2px) !important;
}

footer a:hover svg {
    transform: translateY(-2px) scale(1.1);
}

/* Product card shadow on hover */
.group:hover {
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.3) !important;
}

/* Bestseller badge pulse */
@keyframes badgePulse {

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

    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

.group .absolute.top-0.right-0 {
    animation: badgePulse 2s ease-in-out infinite;
}

/* Smooth blur layer transitions */
.group .absolute.inset-0 {
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.group:hover .absolute.inset-0 {
    backdrop-filter: blur(30px);
}

/* Smooth navbar link underline effect */
nav a {
    position: relative;
    transition: all 0.3s ease !important;
}

nav a:hover {
    color: #A78BFA !important;
}

nav a:not(.btn-gradient):not(.cc-btn-primary):hover {
    transform: translateY(-1px) !important;
}

nav a.btn-gradient:hover {
    color: #fff !important;
    transform: translateY(-2px) scale(1.02) !important;
}

@media (min-width: 1024px) {
    #navbar .mob-nav-signin.btn-gradient {
        display: inline-flex !important;
        overflow: hidden !important;
        isolation: isolate;
        contain: paint;
        border-radius: 0.5rem !important;
    }

    #navbar .mob-nav-signin.btn-gradient::before {
        inset: 0;
        border-radius: inherit;
        z-index: 0;
    }

    #navbar .mob-nav-signin.btn-gradient:hover {
        transform: translateY(-2px) scale(1.02) !important;
    }
}

nav a:not(.btn-gradient):not(.cc-btn-primary):not(.mob-tab)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #8B5CF6, #F472B6);
    transition: width 0.3s ease;
}

nav a:not(.btn-gradient):not(.cc-btn-primary):not(.mob-tab):hover::after {
    width: 100%;
}

nav a:first-child:hover {
    transform: scale(1.05) !important;
}

nav a:first-child:hover span:first-child {
    color: #A78BFA !important;
    transition: color 0.3s ease;
}

nav a span.absolute {
    height: 2px;
    bottom: -2px;
    transition: all 0.3s ease !important;
}

nav a:hover .gradient-text,
footer a:hover .gradient-text {
    animation: gradientPulse 1s ease-in-out;
}

@keyframes gradientPulse {

    0%,
    100% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.3);
    }
}

/* Smooth entrance for all sections */
section {
    animation: sectionFadeIn 0.8s ease-out;
}

@keyframes sectionFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Mobile smooth scrolling */
@media (max-width: 768px) {
    .hover-lift:active {
        /* transform: translateY(-4px); */
    }

    .btn-gradient:active {
        transform: scale(0.97);
    }

    .group:hover {
        transform: scale(1.02) translateY(-3px) !important;
    }

    .btn-gradient:hover {
        transform: translateY(-1px) scale(1.01) !important;
    }
}

/* Smooth loading state */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Smooth gradient text animation */
@keyframes gradientTextShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Full screen hero animations */
.hero-content {
    transition: all 0.3s ease-out;
}

/* Floating background animations */
@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

@keyframes float-delayed {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(-40px, 30px) scale(1.05);
    }

    66% {
        transform: translate(25px, -25px) scale(0.95);
    }
}

@keyframes float-slow {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(15px, 15px) scale(1.08);
    }
}

.animate-float {
    animation: float 8s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float-delayed 10s ease-in-out infinite;
}

.animate-float-slow {
    animation: float-slow 12s ease-in-out infinite;
}

/* Staggered fade in animations */
.animation-delay-100 {
    animation-delay: 0.1s;
}

.animation-delay-200 {
    animation-delay: 0.2s;
}

.animation-delay-300 {
    animation-delay: 0.3s;
}

/* Smooth bounce animation */
@keyframes bounce {

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

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

.animate-bounce {
    animation: bounce 2s ease-in-out infinite;
}

/* Scroll down indicator animation */
@keyframes scrollDown {
    0% {
        transform: translateY(-8px);
        opacity: 0.3;
    }

    50% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(8px);
        opacity: 0.3;
    }
}

#hero .animate-bounce {
    animation: scrollDown 1.5s ease-in-out infinite !important;
}

#hero .animate-bounce:hover {
    animation: scrollDown 1s ease-in-out infinite !important;
}

/* Smooth bounce animation */
@keyframes bounce {

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

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

.animate-bounce {
    animation: bounce 2s ease-in-out infinite;
}

/* Smooth bounce animation */
@keyframes bounce {

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

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

.animate-bounce {
    animation: bounce 2s ease-in-out infinite;
}

/* Smooth bounce animation for scroll indicator */
@keyframes smooth-bounce {

    0%,
    100% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    }

    50% {
        transform: translateY(12px);
        animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    }
}

.animate-smooth-bounce {
    animation: smooth-bounce 2.5s ease-in-out infinite;
}

/* Remove default bounce, we'll use our custom one */
.animate-bounce {
    animation: none;
}

/* Hero badge hover - smooth glow */
#hero .inline-block.px-4.py-2:hover {
    transform: scale(1.08) translateY(-2px) !important;
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.4) !important;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(244, 114, 182, 0.3)) !important;
    border-color: rgba(139, 92, 246, 0.5) !important;
}

/* Remove any background artifacts from text hover */
footer a:not(.btn-gradient):not(.cc-btn-primary),
nav a:not(.btn-gradient):not(.cc-btn-primary),
.group h3,
#register h2 {
    background: transparent !important;
    -webkit-text-stroke: 0 !important;
}

nav a.btn-gradient,
footer a.btn-gradient {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    overflow: hidden !important;
    isolation: isolate;
    contain: paint;
    background: linear-gradient(135deg, #8B5CF6 0%, #F472B6 100%) !important;
}

nav a.btn-gradient::before,
footer a.btn-gradient::before {
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    pointer-events: none;
}

/* Ensure text glow is smooth and layered */
footer ul li a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex !important;
    align-items: center !important;
    background: transparent !important;
    position: relative;
    z-index: 1;
}

/* Remove all text-shadow glow effects */
nav a:hover,
footer ul li a:hover,
footer .md\:col-span-2 a:hover h3,
footer h4:hover,
footer .flex.items-center.gap-6 a:hover,
footer a[href="#hero"]:hover,
.group:hover h3,
#register .gradient-border:hover h2,
#hero .inline-block.px-4.py-2:hover {
    text-shadow: none !important;
}

/* Remove filter drop-shadow for text */
a:hover,
h1:hover,
h2:hover,
h3:hover,
h4:hover {
    filter: none !important;
}

/* Remove sharp edges from all glowing elements */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Smooth layered glow effect */
.text-glow {
    text-shadow:
        0 0 10px rgba(139, 92, 246, 0.6),
        0 0 20px rgba(139, 92, 246, 0.4),
        0 0 30px rgba(139, 92, 246, 0.2),
        0 0 40px rgba(139, 92, 246, 0.1);
}

/* Hide scrollbar for category buttons */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

/* Category button styles */
.category-btn {
    background: rgba(30, 30, 40, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(100, 100, 120, 0.2);
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.category-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(244, 114, 182, 0.1));
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-btn:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.4);
    color: #a78bfa;
}

.category-btn:hover::before {
    opacity: 1;
}

.category-btn.active {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(244, 114, 182, 0.25));
    border-color: #8B5CF6;
    color: #fff;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-btn svg {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.category-btn:hover svg {
    transform: scale(1.15) rotate(8deg);
}

.category-btn.active svg {
    transform: scale(1.1);
}

.category-btn span {
    position: relative;
    z-index: 1;
}

/* Product card animations - Geliştirilmiş hover ve geçiş efektleri */
.product-card {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
    transform: scale(1.03) translateY(-8px);
    box-shadow: 0 25px 60px rgba(139, 92, 246, 0.35);
}

.product-card.hiding {
    opacity: 0;
    transform: translateY(30px) scale(0.92);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card.showing {
    animation: smoothFadeIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes smoothFadeIn {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
    }

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

/* Fotoğraf sabit kalır - sadece overlay animasyonu */
.product-card .aspect-square {
    overflow: hidden;
    position: relative;
}

.product-card .aspect-square img {
    transition: none !important;
    transform: scale(1) !important;
}

.product-card:hover .aspect-square img {
    transform: scale(1) !important;
}

/* Hover overlay efekti */
.product-card .aspect-square .absolute {
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .aspect-square .absolute {
    opacity: 1 !important;
}

/* Title hover animasyonu */
.product-card h3 {
    transition: color 0.3s ease, transform 0.3s ease !important;
}

.product-card:hover h3 {
    color: #A78BFA !important;
    transform: translateX(3px);
}

/* Category badge pulse animasyonu */
.product-card [class*="bg-"][class*="/20"] {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover [class*="bg-"][class*="/20"] {
    backdrop-filter: blur(20px);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

/* Price gradient glow efekti */
.product-card .gradient-text {
    transition: filter 0.3s ease, transform 0.3s ease;
}

.product-card:hover .gradient-text {
    filter: brightness(1.2) drop-shadow(0 0 8px rgba(139, 92, 246, 0.6));
    transform: scale(1.05);
}

/* Button geliştirilmiş animasyonlar */
.product-card .btn-gradient {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card .btn-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%) rotate(45deg);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .btn-gradient::before {
    transform: translateX(200%) rotate(45deg);
}

.product-card .btn-gradient:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.5);
}

.product-card .btn-gradient:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

/* Border glow pulse animasyonu */
.product-card>div {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover>div {
    border-color: rgba(139, 92, 246, 0.5) !important;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.25),
        inset 0 0 20px rgba(139, 92, 246, 0.1);
}

/* Gradient background pulse */
.product-card>.absolute {
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover>.absolute {
    opacity: 1 !important;
    animation: gradientPulse 3s ease-in-out infinite;
}

@keyframes gradientPulse {

    0%,
    100% {
        opacity: 0.8;
    }

    50% {
        opacity: 1;
    }
}

/* Description hover animasyonu */
.product-card p {
    transition: color 0.3s ease;
}

.product-card:hover p {
    color: #CBD5E1 !important;
}

/* Discount badge pulse */
.product-card .text-green-400 {
    transition: all 0.3s ease;
}

.product-card:hover .text-green-400 {
    transform: scale(1.1);
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
}

/* Load more button hover */
#load-more-btn {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

#load-more-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent);
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#load-more-btn:hover::before {
    opacity: 1;
}

#load-more-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(139, 92, 246, 0.45);
}

#load-more-btn:active {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.35);
}

#load-more-btn svg {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#load-more-btn:hover svg {
    transform: translateY(4px);
}

/* Smooth spin animation */
@keyframes smoothSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: smoothSpin 1.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Navigation Styles */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #6366f1;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #6366f1;
}

/* Dropdown Styles */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    background: none;
    border: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
    cursor: pointer;
    padding: 0.5rem 0;
}

.dropdown-toggle:hover {
    color: #A78BFA;
}

.arrow {
    display: none;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px) scale(0.95);
    background: linear-gradient(145deg, rgba(17, 17, 20, 0.98), rgba(11, 11, 15, 0.98));
    backdrop-filter: blur(24px);
    box-shadow:
        0 0 0 1px rgba(139, 92, 246, 0.15),
        0 20px 60px rgba(0, 0, 0, 0.6),
        0 0 80px rgba(139, 92, 246, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border: 1px solid transparent;
    border-image: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(244, 114, 182, 0.2)) 1;
    border-radius: 1.25rem;
    padding: 2rem;
    min-width: 1000px;
    max-width: 1000px;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-dropdown::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 20px;
    background: transparent;
}

.nav-dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(10px) scale(1);
}

.dropdown-content:hover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.dropdown-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 0;
}

.dropdown-column {
    flex: 0 0 calc(33.333% - 1rem);
    max-width: calc(33.333% - 1rem);
    min-width: 0;
}

.dropdown-column h3 {
    font-size: 0.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, #8B5CF6 0%, #F472B6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-column h3::before {
    content: '';
    width: 3px;
    height: 12px;
    background: linear-gradient(180deg, #8B5CF6 0%, #F472B6 100%);
    border-radius: 2px;
}

.dropdown-column a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #94A3B8;
    text-decoration: none;
    padding: 0.625rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 0.625rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.dropdown-column a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, #8B5CF6 0%, #F472B6 100%);
    transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 2px 2px 0;
}

.dropdown-column a svg {
    width: 1rem;
    height: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    opacity: 0.7;
}

.dropdown-column a:hover {
    color: #fff;
    background: linear-gradient(90deg, rgba(139, 92, 246, 0.15), rgba(244, 114, 182, 0.08));
    transform: translateX(6px);
    box-shadow:
        0 4px 12px rgba(139, 92, 246, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.dropdown-column a:hover::before {
    height: 100%;
}

.dropdown-column a:hover svg {
    transform: scale(1.15) rotate(5deg);
    opacity: 1;
    color: #F472B6;
}

/* Remove hover lift and shadow effects from cards */
.group {
    transition: all 0.3s ease !important;
    transform: translateZ(0);
    will-change: auto;
}

.group:hover {
    transform: scale(1) translateY(0) !important;
    box-shadow: none !important;
}

.group:hover .aspect-video {
    transform: scale(1) !important;
    transition: transform 0.3s ease;
}

/* Remove card border glow on hover */
.group .relative {
    transition: border-color 0.3s ease;
}

.group:hover .relative {
    border-color: rgba(148, 163, 184, 0.3) !important;
}

/* Keep only button hover effect */
.group .btn-gradient {
    transition: all 0.3s ease !important;
}

.group:hover .btn-gradient {
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3) !important;
    transform: scale(1.02) !important;
}

/* Platform color from hex (admin color picker) – hover uses CSS variable */
.platform-btn[style*="--platform-color"]:hover {
    border-color: var(--platform-color) !important;
    box-shadow: 0 0 20px color-mix(in srgb, var(--platform-color) 35%, transparent) !important;
}
.product-card[style*="--platform-color"]:hover .relative.border {
    border-color: color-mix(in srgb, var(--platform-color) 60%, transparent) !important;
}

/* Marketplace: ürün alanı wrapper (spinner sabit konumda, navbar altında) */
.marketplace-results-wrapper {
    position: relative;
    min-height: 380px;
}
.marketplace-results-wrapper.is-loading #marketplace-results-content {
    visibility: hidden;
    min-height: 380px;
}
.marketplace-results-wrapper #marketplace-loading {
    display: none;
    position: fixed;
    top: 5rem; /* navbar h-16 sm:h-20 altında */
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    background: rgba(11, 11, 15, 0.92);
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}
.marketplace-results-wrapper #marketplace-loading[aria-hidden="false"],
.marketplace-results-wrapper.is-loading #marketplace-loading {
    display: flex !important;
}
.marketplace-loading-spinner {
    width: 56px;
    height: 56px;
    border: 4px solid rgba(139, 92, 246, 0.25);
    border-top-color: #a78bfa;
    border-radius: 50%;
    animation: marketplace-spin 0.7s linear infinite;
    flex-shrink: 0;
}
@keyframes marketplace-spin {
    to { transform: rotate(360deg); }
}

/* Marketplace: grid/list view toggle buttons */
.marketplace-view-btn {
    background: rgba(51, 65, 85, 0.5);
    border-color: rgb(51, 65, 85);
    color: rgb(148, 163, 184);
}
.marketplace-view-btn:hover {
    color: rgb(255, 255, 255);
    border-color: rgb(71, 85, 105);
}
.marketplace-view-btn.active {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.5);
    color: rgb(167, 139, 250);
}

/* Marketplace: list view layout */
.marketplace-view-list.marketplace-products-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
}
.marketplace-view-list .product-card .relative.bg-dark-card\/90 {
    display: flex;
    flex-direction: row;
    align-items: stretch;
}
.marketplace-view-list .product-card .aspect-square {
    width: 12rem;
    min-width: 12rem;
    aspect-ratio: 1;
    margin-bottom: 0;
    margin-right: 1rem;
}
.marketplace-view-list .product-card .p-5.flex-1 {
    display: flex;
    flex-direction: column;
    text-align: left;
    justify-content: center;
}
.marketplace-view-list .product-card .absolute.top-3.right-3 {
    right: auto;
    left: calc(12rem + 0.5rem);
}
.marketplace-view-list .product-card .mt-auto {
    margin-top: auto;
}
.marketplace-view-list .product-card:hover {
    transform: none;
}
.mob-auth-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mob-auth-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 0;
}

.mob-auth-label-icon {
    width: 1rem;
    text-align: center;
    font-size: 0.8125rem;
    color: #64748b;
    flex-shrink: 0;
}

.mob-auth-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.mob-auth-input {
    width: 100%;
}