/* =============================================
   Myihale — Custom CSS
   Tüm özel stiller bu dosyada toplanmıştır.
   ============================================= */

/* ---------- CSS Custom Properties ---------- */
:root {
    --earthy-gold: #C5A059;
    --forest-deep: #1B365D;
    --cream-off-white: #fdfcf3;

    /* Material Design Color Tokens */
    --color-error: #ba1a1a;
    --color-surface-container-highest: #e2e3d8;
    --color-tertiary-fixed: #e8e2d2;
    --color-surface-container-low: #f4f3e9;
    --color-secondary-fixed: #f5e8c7;
    --color-on-secondary-fixed: #2d2300;
    --color-on-primary-fixed: #002204;
    --color-primary-fixed-dim: #8cd794;
    --color-on-error: #ffffff;
    --color-error-container: #ffdad6;
    --color-tertiary: #C5A059;
    --color-primary-fixed: #a7f4af;
    --color-inverse-on-surface: #f2f1e8;
    --color-surface: #fdfcf3;
    --color-background: #fdfcf3;
    --color-surface-container-lowest: #ffffff;
    --color-surface-container: #edede2;
    --color-primary: #1B365D;
    --color-outline: #75786a;
    --color-surface-bright: #fdfcf3;
    --color-inverse-surface: #30312c;
    --color-surface-variant: #e2e4d4;
    --color-primary-container: #0d2d18;
    --color-on-surface-variant: #45483d;
    --color-on-background: #1b1c18;
    --color-on-secondary-container: #4c3d00;
    --color-surface-dim: #dbdbd0;
    --color-tertiary-container: #443d00;
    --color-secondary-container: #C5A059;
    --color-on-primary: #ffffff;
    --color-secondary: #C5A059;
    --color-surface-container-high: #e7e8db;
    --color-on-surface: #1b1c18;
    --color-outline-variant: #c5c8ba;
}

/* ---------- Base Reset & Typography ---------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--color-surface);
    color: var(--color-on-surface);
    line-height: 1.6;
}

::selection {
    background-color: var(--color-secondary-fixed, #f5e8c7);
}

/* ---------- Material Symbols ---------- */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ---------- Glass Header ---------- */
.glass-header {
    background: rgba(253, 252, 243, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* ---------- Active Nav Link ---------- */
.active-nav-link {
    border-bottom: 2px solid var(--forest-deep);
}

/* ============================================================
   Header — Cinematic Premium
============================================================ */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    background:
        linear-gradient(180deg, rgba(253,252,243,0.92) 0%, rgba(253,252,243,0.82) 100%);
    backdrop-filter: blur(28px) saturate(140%);
    -webkit-backdrop-filter: blur(28px) saturate(140%);
    box-shadow:
        0 1px 0 rgba(11,31,61,0.04),
        0 8px 24px rgba(11,31,61,0.06);
    border-bottom: 1px solid rgba(212,175,55,0.12);
}
/* Altın hairline — dinamik parıltı */
.site-header::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(212,175,55,0.2) 15%,
        rgba(245,215,110,0.7) 50%,
        rgba(212,175,55,0.2) 85%,
        transparent 100%);
    background-size: 200% 100%;
    animation: header-hairline 6s ease-in-out infinite;
    pointer-events: none;
}
@keyframes header-hairline {
    0%, 100% { background-position: 0% 50%; opacity: 0.7; }
    50%      { background-position: 100% 50%; opacity: 1; }
}

.site-header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    height: 5rem;
    width: 100%;
    max-width: 1536px;
    margin: 0 auto;
    position: relative;
}

.site-header__brand {
    display: flex;
    align-items: center;
    gap: 2.75rem;
}

/* ---------- Logo — altın gradient, shimmer ---------- */
.site-header__logo {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 1.55rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    font-family: 'Manrope', sans-serif;
    text-decoration: none;
    background: linear-gradient(100deg,
        #1b365d 0%,
        #0b1f3d 25%,
        #1b365d 45%,
        #d4af37 55%,
        #1b365d 65%,
        #0b1f3d 85%,
        #1b365d 100%);
    background-size: 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: logo-shimmer 7s linear infinite;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.site-header__logo:hover { transform: scale(1.03); }
.site-header__logo img {
    animation: logo-shimmer-glow 7s linear infinite;
}
@keyframes logo-shimmer {
    0%   { background-position: 0% 50%; }
    100% { background-position: 250% 50%; }
}
@keyframes logo-shimmer-glow {
    0%, 100% {
        filter: brightness(1) drop-shadow(0 0 0 rgba(212,175,55,0));
    }
    50% {
        filter: brightness(1.18) drop-shadow(0 0 10px rgba(212,175,55,0.85));
    }
}

/* ============================================================
   Navigation — premium pill tabs
============================================================ */
.site-nav {
    display: none;
    align-items: center;
    gap: 0.25rem;
    font-family: 'Manrope', sans-serif;
    letter-spacing: -0.015em;
    padding: 0.35rem;
    background: linear-gradient(180deg, rgba(11,31,61,0.035), rgba(11,31,61,0.02));
    border: 1px solid rgba(11,31,61,0.08);
    border-radius: 9999px;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.4),
        0 2px 10px rgba(11,31,61,0.04);
}

@media (min-width: 768px) {
    .site-nav { display: flex; }
}

.site-nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.05rem;
    border-radius: 9999px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 700;
    color: rgba(11,31,61,0.65);
    transition:
        color 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
        background 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
        box-shadow 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    white-space: nowrap;
    z-index: 1;
}
.site-nav__link::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(212,175,55,0.12), rgba(212,175,55,0.04));
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}
.site-nav__link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0.15rem;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4af37 20%, #f5d76e 50%, #d4af37 80%, transparent);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
    pointer-events: none;
}
.site-nav__link:hover {
    color: #0b1f3d;
    transform: translateY(-1px);
}
.site-nav__link:hover::before { opacity: 1; }
.site-nav__link:hover::after  { width: 55%; }

.site-nav__link--active {
    color: #0b1f3d;
    font-weight: 800;
    background: linear-gradient(135deg,
        rgba(212,175,55,0.22) 0%,
        rgba(245,215,110,0.1) 50%,
        rgba(212,175,55,0.22) 100%);
    border: 1px solid rgba(212,175,55,0.35);
    box-shadow:
        0 4px 14px rgba(212,175,55,0.25),
        inset 0 1px 0 rgba(255,255,255,0.5);
}
.site-nav__link--active::after {
    width: 60%;
    bottom: 0.2rem;
}
.site-nav__link--active::before { opacity: 0; }

/* ============ Header Mağaza Aç CTA — animasyonlu ============ */
.site-nav__cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-left: 0.5rem;
    padding: 0.45rem 0.9rem 0.45rem 0.75rem;
    border-radius: 9999px;
    overflow: hidden;
    font-size: 0.78rem;
    font-weight: 800;
    color: #0b1f3d !important;
    background: linear-gradient(135deg, #fff5d6 0%, #f5d76e 45%, #d4af37 100%);
    border: 1px solid rgba(245,215,110,0.75);
    box-shadow:
        0 6px 16px rgba(212,175,55,0.35),
        inset 0 1px 0 rgba(255,255,255,0.55);
    animation: navcta-glow 3s ease-in-out infinite;
    white-space: nowrap;
}
.site-nav__cta::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: conic-gradient(from 0deg, transparent 0%, rgba(255,245,214,0.95) 22%, rgba(212,175,55,0.3) 40%, transparent 60%, transparent 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
    animation: navcta-spin 4.5s linear infinite;
    opacity: 0.9;
}
.site-nav__cta:hover {
    color: #0b1f3d !important;
    opacity: 1;
    transform: translateY(-1px) scale(1.03);
    box-shadow:
        0 10px 24px rgba(212,175,55,0.55),
        inset 0 1px 0 rgba(255,255,255,0.6);
    border-bottom: 1px solid rgba(245,215,110,0.75);
}
.site-nav__cta-icon {
    font-variation-settings: 'FILL' 1;
    font-size: 1.1rem !important;
    color: #0b1f3d;
    animation: navcta-bounce 2s ease-in-out infinite;
}
.site-nav__cta-label {
    letter-spacing: 0.02em;
    text-shadow: 0 1px 0 rgba(255,255,255,0.3);
}
.site-nav__cta-badge {
    display: inline-block;
    padding: 0.1rem 0.4rem;
    margin-left: 0.15rem;
    font-size: 0.58rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    color: #fff;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    border-radius: 9999px;
    box-shadow: 0 2px 8px rgba(220,38,38,0.4);
    animation: navcta-pulse 1.6s ease-in-out infinite;
}
.site-nav__cta-shine {
    position: absolute;
    top: 0;
    left: -60%;
    width: 45%;
    height: 100%;
    background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,0.55) 50%, transparent 100%);
    transform: skewX(-20deg);
    pointer-events: none;
    animation: navcta-shine 3.5s ease-in-out infinite;
}
@keyframes navcta-glow {
    0%, 100% {
        box-shadow:
            0 6px 16px rgba(212,175,55,0.35),
            0 0 0 0 rgba(245,215,110,0),
            inset 0 1px 0 rgba(255,255,255,0.55);
    }
    50% {
        box-shadow:
            0 10px 24px rgba(212,175,55,0.5),
            0 0 22px 2px rgba(245,215,110,0.35),
            inset 0 1px 0 rgba(255,255,255,0.6);
    }
}
@keyframes navcta-spin { to { transform: rotate(1turn); } }
@keyframes navcta-bounce {
    0%, 100% { transform: translateY(0) rotate(0); }
    50%      { transform: translateY(-2px) rotate(-8deg); }
}
@keyframes navcta-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 2px 8px rgba(220,38,38,0.4), 0 0 0 0 rgba(239,68,68,0.55); }
    50%      { transform: scale(1.1);  box-shadow: 0 3px 12px rgba(220,38,38,0.6), 0 0 0 6px rgba(239,68,68,0); }
}
@keyframes navcta-shine {
    0%        { left: -60%; opacity: 0; }
    18%       { opacity: 1; }
    55%, 100% { left: 130%; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .site-nav__cta,
    .site-nav__cta::before,
    .site-nav__cta-icon,
    .site-nav__cta-badge,
    .site-nav__cta-shine { animation: none; }
}

/* ---------- Header Actions ---------- */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* ---------- Lang Switcher ---------- */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    padding: 0.25rem;
    background: linear-gradient(180deg, rgba(11,31,61,0.04), rgba(11,31,61,0.02));
    border: 1px solid rgba(11,31,61,0.08);
    border-radius: 9999px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
}
.lang-switcher__btn {
    padding: 0.3rem 0.7rem;
    border-radius: 9999px;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(11,31,61,0.55);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.lang-switcher__btn:hover {
    color: #0b1f3d;
    background: rgba(212,175,55,0.1);
}
.lang-switcher__btn--active {
    color: #0b1f3d;
    background: linear-gradient(135deg, #fff5d6 0%, #f5d76e 100%);
    box-shadow:
        0 2px 8px rgba(212,175,55,0.35),
        inset 0 1px 0 rgba(255,255,255,0.6);
}

.search-wrapper {
    position: relative;
    display: none;
}

@media (min-width: 1024px) {
    .search-wrapper {
        display: block;
    }
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-outline);
    font-size: 1.25rem;
}

.search-input {
    padding: 0.6rem 1rem 0.6rem 2.5rem;
    background: linear-gradient(180deg, rgba(11,31,61,0.04), rgba(11,31,61,0.02));
    border: 1px solid rgba(11,31,61,0.08);
    border-radius: 9999px;
    width: 16rem;
    font-size: 0.875rem;
    font-family: 'Manrope', sans-serif;
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    outline: none;
    color: var(--color-on-surface);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
}

.search-input:focus {
    width: 18rem;
    border-color: rgba(212,175,55,0.55);
    background: #fff;
    box-shadow:
        0 0 0 4px rgba(212,175,55,0.15),
        0 8px 22px rgba(212,175,55,0.12);
}
.search-wrapper:focus-within .search-icon {
    color: #d4af37;
}

.search-input::placeholder {
    color: var(--color-outline);
}

.btn-icon {
    position: relative;
    padding: 0.6rem;
    color: #0b1f3d;
    background: linear-gradient(180deg, rgba(11,31,61,0.03), rgba(11,31,61,0.01));
    border: 1px solid rgba(11,31,61,0.08);
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
}
.btn-icon .material-symbols-outlined {
    font-size: 1.25rem;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.btn-icon:hover {
    border-color: rgba(212,175,55,0.45);
    background: linear-gradient(135deg, rgba(212,175,55,0.14), rgba(245,215,110,0.06));
    transform: translateY(-1px);
    box-shadow:
        0 6px 16px rgba(212,175,55,0.2),
        inset 0 1px 0 rgba(255,255,255,0.55);
    color: #0b1f3d;
}
.btn-icon:hover .material-symbols-outlined {
    transform: scale(1.1) rotate(-4deg);
    color: #d4af37;
}
/* Bildirim ikonu canlı nokta */
#btn-notifications::after {
    content: '';
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: radial-gradient(circle, #ef4444, #dc2626);
    box-shadow: 0 0 0 2px #fdfcf3, 0 0 8px rgba(239,68,68,0.6);
    animation: notif-pulse 2s ease-in-out infinite;
    pointer-events: none;
}
@keyframes notif-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(1.25); opacity: 0.85; }
}

.btn-signin {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem 0.5rem 0.5rem;
    background-color: var(--color-primary);
    color: #ffffff;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: 'Manrope', sans-serif;
    transition: transform 0.15s ease;
    text-decoration: none;
}

.btn-signin:hover {
    background-color: var(--color-primary);
    opacity: 0.92;
}

.btn-signin:active {
    transform: scale(0.95);
}

.btn-register {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
    font-family: 'Manrope', sans-serif;
    text-decoration: none;
    letter-spacing: -0.01em;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.btn-register:hover {
    background-color: var(--color-primary);
    color: #ffffff;
}

.btn-register:active {
    transform: scale(0.95);
}

/* ---------- User Menu (Logged-in Header) ---------- */
.user-menu {
    position: relative;
}

.user-menu__trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.95rem 0.45rem 0.55rem;
    border: 1px solid rgba(11,31,61,0.1);
    border-radius: 9999px;
    background: linear-gradient(180deg, #fff, rgba(253,252,243,0.92));
    color: #0b1f3d;
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
    font-size: 0.8125rem;
    font-weight: 700;
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow:
        0 2px 8px rgba(11,31,61,0.06),
        inset 0 1px 0 rgba(255,255,255,0.6);
}
.user-menu__trigger > .material-symbols-outlined:first-child {
    color: #d4af37;
    font-variation-settings: 'FILL' 1;
    filter: drop-shadow(0 1px 3px rgba(212,175,55,0.35));
}

.user-menu__trigger:hover {
    border-color: rgba(212,175,55,0.55);
    background: linear-gradient(135deg, #fff 0%, rgba(245,215,110,0.08) 100%);
    transform: translateY(-1px);
    box-shadow:
        0 8px 20px rgba(212,175,55,0.2),
        inset 0 1px 0 rgba(255,255,255,0.7);
}

.user-menu__name {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .user-menu__name { display: none; }
}

.user-menu__dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    width: 240px;
    background: var(--color-surface-container-lowest);
    border: 1px solid var(--color-surface-container);
    border-radius: 0.75rem;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    z-index: 100;
    overflow: hidden;
}

.user-menu__dropdown--open {
    display: block;
    animation: menuFadeIn 0.15s ease;
}

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

.user-menu__header {
    padding: 1rem 1rem 0.75rem;
    border-bottom: 1px solid var(--color-surface-container);
}

.user-menu__header strong {
    display: block;
    font-size: 0.875rem;
    color: var(--color-primary);
}

.user-menu__header span {
    font-size: 0.75rem;
    color: var(--color-outline);
}

.user-menu__item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 1rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-on-surface);
    text-decoration: none;
    transition: background 0.15s;
}

.user-menu__item:hover {
    background: var(--color-surface-container-low);
}

/* ============ Mağaza Aç CTA — animasyonlu ============ */
.user-menu__item--cta {
    position: relative;
    overflow: hidden;
    margin: 0.4rem 0.5rem;
    padding: 0.7rem 0.95rem;
    border-radius: 0.625rem;
    color: #0b1f3d;
    font-weight: 800;
    background: linear-gradient(135deg, #fff5d6 0%, #f5d76e 45%, #d4af37 100%);
    box-shadow:
        0 6px 18px rgba(212,175,55,0.35),
        inset 0 1px 0 rgba(255,255,255,0.5);
    border: 1px solid rgba(245,215,110,0.7);
    animation: umcta-glow 3s ease-in-out infinite;
}
.user-menu__item--cta::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: conic-gradient(from 0deg, transparent 0%, rgba(255,245,214,0.95) 22%, rgba(212,175,55,0.3) 40%, transparent 60%, transparent 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
    animation: umcta-spin 4.5s linear infinite;
    opacity: 0.85;
}
.user-menu__item--cta:hover {
    background: linear-gradient(135deg, #fff5d6 0%, #f5d76e 40%, #d4af37 100%);
    transform: translateX(2px) scale(1.02);
    box-shadow:
        0 10px 28px rgba(212,175,55,0.55),
        inset 0 1px 0 rgba(255,255,255,0.55);
}
.user-menu__item--cta .user-menu__cta-icon {
    color: #0b1f3d;
    font-variation-settings: 'FILL' 1;
    font-size: 1.25rem;
    animation: umcta-bounce 2s ease-in-out infinite;
}
.user-menu__item--cta .user-menu__cta-label {
    flex: 1;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 0 rgba(255,255,255,0.3);
}
.user-menu__item--cta .user-menu__cta-badge {
    display: inline-block;
    padding: 0.15rem 0.45rem;
    font-size: 0.6rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    color: #fff;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    border-radius: 9999px;
    box-shadow: 0 2px 8px rgba(220,38,38,0.4);
    animation: umcta-pulse 1.6s ease-in-out infinite;
}
.user-menu__item--cta .user-menu__cta-shine {
    position: absolute;
    top: 0;
    left: -60%;
    width: 45%;
    height: 100%;
    background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,0.55) 50%, transparent 100%);
    transform: skewX(-20deg);
    pointer-events: none;
    animation: umcta-shine 3.5s ease-in-out infinite;
}
@keyframes umcta-glow {
    0%, 100% {
        box-shadow:
            0 6px 18px rgba(212,175,55,0.35),
            0 0 0 0 rgba(245,215,110,0),
            inset 0 1px 0 rgba(255,255,255,0.5);
    }
    50% {
        box-shadow:
            0 10px 26px rgba(212,175,55,0.5),
            0 0 22px 2px rgba(245,215,110,0.35),
            inset 0 1px 0 rgba(255,255,255,0.6);
    }
}
@keyframes umcta-spin {
    to { transform: rotate(1turn); }
}
@keyframes umcta-bounce {
    0%, 100% { transform: translateY(0) rotate(0); }
    50%      { transform: translateY(-2px) rotate(-8deg); }
}
@keyframes umcta-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 2px 8px rgba(220,38,38,0.4), 0 0 0 0 rgba(239,68,68,0.55); }
    50%      { transform: scale(1.08); box-shadow: 0 3px 12px rgba(220,38,38,0.6), 0 0 0 6px rgba(239,68,68,0); }
}
@keyframes umcta-shine {
    0%       { left: -60%; opacity: 0; }
    18%      { opacity: 1; }
    55%, 100%{ left: 130%; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .user-menu__item--cta,
    .user-menu__item--cta::before,
    .user-menu__item--cta .user-menu__cta-icon,
    .user-menu__item--cta .user-menu__cta-badge,
    .user-menu__item--cta .user-menu__cta-shine { animation: none; }
}

.user-menu__item .material-symbols-outlined {
    font-size: 1.125rem;
    color: var(--color-outline);
}

.user-menu__item--danger {
    color: var(--color-error);
}

.user-menu__item--danger .material-symbols-outlined {
    color: var(--color-error);
}

.user-menu__divider {
    height: 1px;
    background: var(--color-surface-container);
    margin: 0.25rem 0;
}

/* ---------- Hero Section ---------- */
.hero-section {
    position: relative;
    min-height: 716px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.hero-bg__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--color-primary), rgba(27, 54, 93, 0.6), transparent);
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    background: rgba(197, 160, 89, 0.2);
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 9999px;
    color: var(--color-secondary);
    backdrop-filter: blur(12px);
    width: fit-content;
}

.hero-badge__dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background-color: var(--color-secondary);
    animation: pulse 2s infinite;
}

.hero-badge__text {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-title {
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 900;
    color: #ffffff;
    line-height: 0.9;
    font-family: 'Manrope', sans-serif;
    letter-spacing: -0.04em;
}

.hero-title__accent {
    color: var(--color-secondary);
}

.hero-description {
    color: var(--color-surface-container-highest);
    font-size: 1.125rem;
    max-width: 28rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary-hero {
    padding: 1rem 2rem;
    background-color: var(--color-secondary);
    color: var(--color-primary);
    border: none;
    border-radius: 9999px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    font-family: 'Manrope', sans-serif;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.btn-primary-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

.btn-secondary-hero {
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-radius: 9999px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
    transition: background-color 0.2s ease;
    text-decoration: none;
}

.btn-secondary-hero:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ---------- Hero Featured Card ---------- */
.hero-card-wrap {
    display: none;
    justify-content: flex-end;
}

@media (min-width: 768px) {
    .hero-card-wrap {
        display: flex;
    }
}

.hero-card {
    width: 20rem;
    height: 24rem;
    background-color: var(--color-surface-container-lowest);
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    transform: rotate(3deg);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-card__image-wrap {
    position: relative;
    height: 16rem;
    background-color: var(--color-surface-container-low);
    border-radius: 0.5rem;
    overflow: hidden;
}

.hero-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-card__lot-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--color-primary);
    color: #ffffff;
    font-size: 0.625rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
}

.hero-card__info {
    flex: 1;
}

.hero-card__bid-label {
    font-size: 0.625rem;
    color: var(--color-outline);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.025em;
}

.hero-card__bid-amount {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-primary);
    font-family: 'Manrope', sans-serif;
}

.hero-card__timer {
    font-size: 0.625rem;
    color: var(--color-secondary);
    font-weight: 700;
}

/* ---------- Breeders Section ---------- */
.breeders-section {
    padding: 6rem 0;
    background-color: var(--color-surface);
}

.breeders-section__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--color-primary);
    font-family: 'Manrope', sans-serif;
    letter-spacing: -0.04em;
}

.section-subtitle {
    color: var(--color-on-surface-variant);
    margin-top: 0.5rem;
}

.btn-view-all {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-secondary);
    font-weight: 700;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
    text-decoration: none;
}

.btn-view-all:hover {
    text-decoration: underline;
}

/* ---------- Breeder Card ---------- */
.breeders-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.breeder-card {
    background-color: var(--color-surface-container-lowest);
    border: 1px solid var(--color-surface-container);
    border-radius: 1.25rem;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    position: relative;
}

.breeder-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), var(--color-primary));
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity 0.4s;
}

.breeder-card:hover {
    box-shadow: 0 20px 60px rgba(27, 54, 93, 0.12), 0 8px 24px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px);
    border-color: transparent;
}

.breeder-card:hover::before {
    opacity: 1;
    animation: shimmer 2s linear infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.breeder-card--featured {
    border: 2px solid transparent;
    background-image: linear-gradient(var(--color-surface-container-lowest), var(--color-surface-container-lowest)),
                      linear-gradient(135deg, var(--color-secondary), var(--color-primary), var(--color-secondary));
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.breeder-card--featured::before {
    opacity: 1;
    animation: shimmer 3s linear infinite;
}

.breeder-card--urgent {
    border-color: rgba(186, 26, 26, 0.3);
}

.breeder-card--urgent::before {
    background: linear-gradient(90deg, var(--color-error), #ff6b6b, var(--color-error));
    background-size: 200% 100%;
    opacity: 1;
    animation: shimmer 1.5s linear infinite;
}

.breeder-card--ended {
    opacity: 0.55;
    filter: grayscale(0.3);
}

.breeder-card__layout {
    display: flex;
    flex-direction: column;
    gap: 0;
}

@media (min-width: 1024px) {
    .breeder-card__layout {
        flex-direction: row;
    }
}

/* Breeder Profile (left) */
.breeder-profile {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    position: relative;
}

@media (min-width: 1024px) {
    .breeder-profile {
        width: 28%;
        border-right: 1px solid var(--color-surface-container);
    }
}

.breeder-avatar {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 9999px;
    border: 3px solid var(--color-surface-container);
    overflow: hidden;
    flex-shrink: 0;
    transition: border-color 0.3s, transform 0.3s;
}

.breeder-card:hover .breeder-avatar {
    border-color: var(--color-secondary);
    transform: scale(1.05);
}

.breeder-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.breeder-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-primary);
    font-family: 'Manrope', sans-serif;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.breeder-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.breeder-name a:hover {
    color: var(--color-secondary);
}

.breeder-location {
    display: flex;
    align-items: center;
    color: var(--color-on-surface-variant);
    font-size: 0.8125rem;
    gap: 0.25rem;
}

.breeder-stars {
    display: flex;
    align-items: center;
    margin-top: 0.75rem;
    color: var(--color-secondary);
}

.breeder-stars__count {
    margin-left: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-on-surface);
}

.breeder-quote {
    font-size: 0.8125rem;
    color: var(--color-on-surface-variant);
    line-height: 1.7;
    font-style: normal;
}

/* Pigeon Lots Grid (right) */
.breeder-lots {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--color-surface-container-low) 0%, transparent 100%);
}

@media (min-width: 1024px) {
    .breeder-lots {
        width: 72%;
        padding: 2rem;
    }
}

.lots-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .lots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .lots-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ---------- Lot Card ---------- */
.lot-card {
    background-color: var(--color-surface-container-lowest);
    border: 1px solid var(--color-surface-container);
    border-radius: 0.875rem;
    padding: 0.625rem;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.lot-card:hover {
    background-color: #ffffff;
    box-shadow: 0 12px 32px rgba(27, 54, 93, 0.1);
    transform: translateY(-6px);
    border-color: var(--color-secondary);
}

.lot-card__image-wrap {
    position: relative;
    height: 13rem;
    border-radius: 0.625rem;
    overflow: hidden;
    margin-bottom: 0.875rem;
}

.lot-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s;
}

.lot-card:hover .lot-card__image {
    transform: scale(1.08);
}

.lot-card__image-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
    opacity: 0;
    transition: opacity 0.35s;
    pointer-events: none;
}

.lot-card:hover .lot-card__image-wrap::after {
    opacity: 1;
}

.lot-card__timer-badge {
    position: absolute;
    bottom: 0.625rem;
    left: 0.625rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.lot-card__timer-dot {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 9999px;
    background-color: var(--color-error);
    animation: pulse 2s infinite;
}

.lot-card__timer-text {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--color-on-background);
    font-family: 'Manrope', sans-serif;
}

.lot-card__name {
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--color-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.01em;
    padding: 0 0.125rem;
}

.lot-card__footer {
    margin-top: 0.875rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 0.125rem;
}

.lot-card__bid-label {
    font-size: 0.5625rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-outline);
    font-weight: 700;
}

.lot-card__bid-amount {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--color-secondary);
    font-family: 'Manrope', sans-serif;
    letter-spacing: -0.02em;
}

.btn-bid {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, var(--color-primary), #2a4a7f);
    color: var(--color-secondary);
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(27, 54, 93, 0.25);
}

.btn-bid:hover {
    background: linear-gradient(135deg, var(--color-secondary), #d4b06a);
    color: var(--color-primary);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.35);
}

/* ---------- Bid count badge on lot ---------- */
.lot-card__bid-count {
    position: absolute;
    top: 0.625rem;
    right: 0.625rem;
    background: linear-gradient(135deg, var(--color-primary), #2a4a7f);
    color: #fff;
    font-size: 0.625rem;
    font-weight: 700;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(27, 54, 93, 0.3);
    font-family: 'Manrope', sans-serif;
}

/* ---------- Auction meta chips ---------- */
.auction-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.5rem;
}

.auction-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: 'Manrope', sans-serif;
    transition: all 0.2s;
}

.auction-chip--time {
    background: rgba(27, 54, 93, 0.06);
    color: var(--color-primary);
}

.auction-chip--urgent {
    background: rgba(186, 26, 26, 0.08);
    color: var(--color-error);
    animation: pulse-chip 2s infinite;
}

@keyframes pulse-chip {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* ---------- Countdown Timer ---------- */
.countdown {
    display: flex;
    gap: 0.375rem;
    align-items: center;
}

.countdown__block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 2.25rem;
}

.countdown__value {
    font-size: 1.25rem;
    font-weight: 900;
    font-family: 'Manrope', sans-serif;
    letter-spacing: -0.02em;
    line-height: 1;
    color: var(--color-primary);
    background: rgba(27, 54, 93, 0.06);
    padding: 0.375rem 0.5rem;
    border-radius: 0.5rem;
    min-width: 2.25rem;
    text-align: center;
    transition: color 0.3s, background 0.3s;
}

.countdown__label {
    font-size: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-outline);
    margin-top: 0.2rem;
}

.countdown__sep {
    font-size: 1rem;
    font-weight: 900;
    color: var(--color-outline);
    line-height: 1;
    margin-bottom: 0.75rem;
    opacity: 0.4;
}

/* Urgent countdown */
.countdown--urgent .countdown__value {
    background: rgba(186, 26, 26, 0.08);
    color: var(--color-error);
    animation: countdown-pulse 1s ease-in-out infinite;
}

.countdown--urgent .countdown__sep {
    color: var(--color-error);
    opacity: 0.5;
}

.countdown--urgent .countdown__label {
    color: var(--color-error);
    opacity: 0.7;
}

@keyframes countdown-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

/* Ended countdown */
.countdown--ended .countdown__value {
    background: var(--color-surface-container);
    color: var(--color-outline);
}

/* Lot card timer - enhanced */
.lot-card__timer-badge--live {
    background: rgba(27, 54, 93, 0.92);
    color: #fff;
    box-shadow: 0 2px 12px rgba(27, 54, 93, 0.35);
}

.lot-card__timer-badge--live .lot-card__timer-dot {
    background: var(--color-secondary);
    box-shadow: 0 0 6px var(--color-secondary);
}

.lot-card__timer-badge--live .lot-card__timer-text {
    color: #fff;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
}

.lot-card__timer-badge--urgent {
    background: rgba(186, 26, 26, 0.92);
    box-shadow: 0 2px 12px rgba(186, 26, 26, 0.35);
    animation: timer-urgent-pulse 1.5s ease-in-out infinite;
}

.lot-card__timer-badge--urgent .lot-card__timer-dot {
    background: #fff;
    box-shadow: 0 0 6px #fff;
}

.lot-card__timer-badge--urgent .lot-card__timer-text {
    color: #fff;
}

@keyframes timer-urgent-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.75; }
}

.auction-chip--meta {
    background: var(--color-surface-container-low);
    color: var(--color-on-surface-variant);
    font-weight: 600;
}

/* ---------- Badge styles ---------- */
.auction-badge {
    font-size: 0.5625rem;
    font-weight: 700;
    padding: 0.2rem 0.625rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.auction-badge--featured {
    background: linear-gradient(135deg, var(--color-secondary), #d4b06a);
    color: var(--color-primary);
    box-shadow: 0 2px 8px rgba(197, 160, 89, 0.3);
}

.auction-badge--category {
    background: var(--color-surface-container);
    color: var(--color-on-surface-variant);
    letter-spacing: 0.02em;
    text-transform: none;
}

/* ---------- View all lots link ---------- */
.lots-view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    padding: 0.5rem 1.25rem;
    border: 1.5px solid var(--color-surface-container);
    border-radius: 9999px;
    transition: all 0.25s;
    font-family: 'Manrope', sans-serif;
}

.lots-view-all:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    transform: translateX(4px);
}

/* ---------- CTA / Newsletter Section ---------- */
.cta-section {
    padding: 6rem 0;
    background-color: var(--color-surface-container-low);
    overflow: hidden;
}

.cta-section__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .cta-grid {
        grid-template-columns: 2fr 1fr;
    }
}

/* Newsletter card */
.cta-newsletter {
    background: linear-gradient(135deg, #0f2340 0%, var(--color-primary) 45%, #162d4d 100%);
    background-size: 200% 200%;
    border-radius: 1rem;
    padding: 3rem;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    animation: cta-news-bg-shift 16s ease-in-out infinite;
}

/* Floating gold orbs (decorative, no HTML change) */
.cta-newsletter::before,
.cta-newsletter::after {
    content: '';
    position: absolute;
    border-radius: 9999px;
    pointer-events: none;
    z-index: 0;
}

.cta-newsletter::before {
    width: 22rem;
    height: 22rem;
    top: -8rem;
    left: -6rem;
    background: radial-gradient(circle, rgba(255, 215, 100, 0.22), transparent 60%);
    animation: cta-news-orb-1 14s ease-in-out infinite;
}

.cta-newsletter::after {
    width: 18rem;
    height: 18rem;
    bottom: -6rem;
    right: 30%;
    background: radial-gradient(circle, rgba(255, 215, 100, 0.16), transparent 60%);
    animation: cta-news-orb-2 18s ease-in-out infinite;
}

.cta-newsletter__content {
    position: relative;
    z-index: 10;
}

.cta-newsletter__title {
    font-size: 2.25rem;
    font-weight: 700;
    font-family: 'Manrope', sans-serif;
    margin-bottom: 1rem;
    background: linear-gradient(100deg, #ffffff 0%, var(--color-secondary) 45%, #ffffff 80%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: cta-news-shimmer 5s linear infinite;
}

.cta-newsletter__text {
    color: var(--color-surface-container-highest);
    max-width: 28rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(8px);
    animation: cta-news-fade-in 0.7s 0.15s ease-out forwards;
}

.cta-newsletter__form {
    display: flex;
    gap: 1rem;
    max-width: 24rem;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(8px);
    animation: cta-news-fade-in 0.7s 0.3s ease-out forwards;
}

.cta-newsletter__input {
    flex: 1;
    min-width: 10rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    padding: 0.75rem 1.5rem;
    color: #ffffff;
    font-family: 'Manrope', sans-serif;
    outline: none;
    transition: box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.cta-newsletter__input:focus {
    box-shadow: 0 0 0 3px rgba(255, 215, 100, 0.35), 0 0 24px rgba(255, 215, 100, 0.25);
    border-color: var(--color-secondary);
    background: rgba(255, 255, 255, 0.14);
}

.cta-newsletter__input::placeholder {
    color: var(--color-surface-container-highest);
    opacity: 0.7;
}

.btn-join {
    position: relative;
    overflow: hidden;
    background-color: var(--color-secondary);
    color: var(--color-primary);
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 9999px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 6px 18px -8px rgba(255, 215, 100, 0.6);
}

.btn-join::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    transform: skewX(-20deg);
    animation: cta-news-shine 3.6s ease-in-out infinite;
}

.btn-join:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -10px rgba(255, 215, 100, 0.75);
}

.btn-join:active {
    transform: translateY(0);
}

.cta-newsletter__bg-icon {
    position: absolute;
    right: -5rem;
    bottom: -5rem;
    opacity: 0.12;
    z-index: 1;
    animation: cta-news-icon-float 7s ease-in-out infinite;
    transform-origin: center;
}

.cta-newsletter:hover .cta-newsletter__bg-icon {
    opacity: 0.18;
}

.cta-newsletter__bg-icon .material-symbols-outlined {
    font-size: 18.75rem;
    color: var(--color-secondary);
    filter: drop-shadow(0 0 30px rgba(255, 215, 100, 0.45));
}

/* ---------- Animations ---------- */
@keyframes cta-news-bg-shift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

@keyframes cta-news-orb-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(40px, 30px) scale(1.1); }
}

@keyframes cta-news-orb-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(-30px, -20px) scale(1.08); }
}

@keyframes cta-news-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes cta-news-fade-in {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes cta-news-shine {
    0%, 60%, 100% { left: -120%; }
    75%           { left: 130%; }
}

@keyframes cta-news-icon-float {
    0%, 100% { transform: translate(0, 0) rotate(-6deg); }
    50%      { transform: translate(-12px, -10px) rotate(6deg); }
}

@media (prefers-reduced-motion: reduce) {
    .cta-newsletter,
    .cta-newsletter::before,
    .cta-newsletter::after,
    .cta-newsletter__title,
    .cta-newsletter__text,
    .cta-newsletter__form,
    .btn-join::before,
    .cta-newsletter__bg-icon {
        animation: none !important;
    }
    .cta-newsletter__text,
    .cta-newsletter__form { opacity: 1; transform: none; }
}

/* DNA card */
.cta-dna {
    background-color: var(--color-secondary);
    border-radius: 1rem;
    padding: 3rem;
    color: var(--color-primary);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cta-dna__top {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cta-dna__icon {
    font-size: 3rem;
    color: var(--color-primary);
}

.cta-dna__title {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Manrope', sans-serif;
}

.cta-dna__text {
    color: rgba(27, 54, 93, 0.8);
    font-size: 0.875rem;
    line-height: 1.7;
}

/* ---------- Sağ kolon stack (DNA + Komisyon Yok) ---------- */
.cta-side {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    min-width: 0;
}

.cta-side .cta-dna {
    padding: 2rem 2rem 1.75rem;
}

.cta-side .cta-dna__icon {
    font-size: 2.25rem;
}

.cta-side .cta-dna__title {
    font-size: 1.25rem;
}

/* ---------- Komisyon Yok Kartı ---------- */
.cta-commission {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-primary) 0%, #0f2340 60%, #162d4d 100%);
    border-radius: 1rem;
    padding: 2rem 2rem 1.75rem;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 12px 32px -16px rgba(15, 35, 64, 0.55);
}

.cta-commission::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px circle at 20% -10%, rgba(255, 215, 100, 0.18), transparent 45%),
        radial-gradient(400px circle at 110% 110%, rgba(255, 215, 100, 0.10), transparent 50%);
    pointer-events: none;
}

.cta-commission > * { position: relative; z-index: 1; }

/* Animated badge */
.cta-commission__badge {
    position: relative;
    width: 7.5rem;
    height: 7.5rem;
    align-self: center;
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}

.cta-commission__ring {
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    border: 2px dashed var(--color-secondary);
    opacity: 0.7;
}

.cta-commission__ring--outer {
    animation: cta-commission-spin 18s linear infinite;
}

.cta-commission__ring--inner {
    inset: 12px;
    border-style: solid;
    border-color: rgba(255, 215, 100, 0.35);
    border-top-color: var(--color-secondary);
    animation: cta-commission-spin 6s linear infinite reverse;
}

.cta-commission__pulse {
    position: absolute;
    inset: 18px;
    border-radius: 9999px;
    background: radial-gradient(circle at 50% 50%, rgba(255, 215, 100, 0.35), transparent 70%);
    animation: cta-commission-pulse 2.4s ease-in-out infinite;
}

.cta-commission__center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
}

.cta-commission__percent {
    font-family: 'Manrope', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-secondary);
    letter-spacing: -0.04em;
    text-shadow: 0 0 18px rgba(255, 215, 100, 0.55);
    animation: cta-commission-glow 2.4s ease-in-out infinite;
}

.cta-commission__sub {
    font-size: 0.625rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 0.25rem;
}

/* Title */
.cta-commission__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    font-family: 'Manrope', sans-serif;
    font-size: 1.375rem;
    font-weight: 800;
    color: #fff;
    text-align: center;
    justify-content: center;
}

.cta-commission__title-icon {
    font-size: 1.5rem;
    color: var(--color-secondary);
}

/* Body text */
.cta-commission__text {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
    text-align: center;
}

.cta-commission__text strong {
    color: var(--color-secondary);
    font-weight: 800;
}

/* Bullet list */
.cta-commission__list {
    list-style: none;
    padding: 0.75rem 0 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 0.875rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.12);
}

.cta-commission__list li {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

.cta-commission__list .material-symbols-outlined {
    font-size: 0.95rem;
    color: var(--color-secondary);
    flex-shrink: 0;
}

@media (max-width: 520px) {
    .cta-commission__list { grid-template-columns: 1fr; }
}

/* ---------- Animations ---------- */
@keyframes cta-commission-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes cta-commission-pulse {
    0%, 100% { transform: scale(0.92); opacity: 0.55; }
    50%      { transform: scale(1.08); opacity: 1; }
}

@keyframes cta-commission-glow {
    0%, 100% { text-shadow: 0 0 18px rgba(255, 215, 100, 0.55); transform: scale(1); }
    50%      { text-shadow: 0 0 28px rgba(255, 215, 100, 0.95); transform: scale(1.04); }
}

@media (prefers-reduced-motion: reduce) {
    .cta-commission__ring,
    .cta-commission__pulse,
    .cta-commission__percent { animation: none !important; }
}

/* ---------- Footer ---------- */
/* ---------- Minimal Footer ---------- */
.site-footer {
    background: var(--color-primary);
    color: rgba(255, 255, 255, 0.7);
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Top row: logo | nav | social */
.footer-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.25rem;
    padding: 1rem 0;
}

.footer-logo {
    font-size: 0.9375rem;
    font-weight: 800;
    font-family: 'Manrope', sans-serif;
    letter-spacing: -0.03em;
    text-transform: none;
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-logo:hover { color: var(--color-secondary); }

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1rem;
    flex: 1;
    justify-content: center;
    min-width: 0;
}

.footer-nav a {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-family: 'Manrope', sans-serif;
    transition: color 0.15s;
    white-space: nowrap;
}

.footer-nav a:hover { color: #fff; }

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

.social-link {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.375rem;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    text-decoration: none;
}

.social-link:hover {
    background: var(--color-secondary);
    color: var(--color-primary);
}

/* Bottom bar */
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    align-items: center;
    justify-content: space-between;
    padding: 0.625rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-copy {
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.3);
    font-family: 'Manrope', sans-serif;
    margin: 0;
}

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

.footer-bottom-links a {
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    font-family: 'Manrope', sans-serif;
    transition: color 0.15s;
}

.footer-bottom-links a:hover { color: var(--color-secondary); }

@media (max-width: 640px) {
    .footer-row { justify-content: center; text-align: center; }
    .footer-nav { justify-content: center; }
    .footer-bottom { justify-content: center; text-align: center; }
}

/* ---------- Animations ---------- */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ---------- Extra Page Padding ---------- */
main {
    padding-top: 5rem; /* header height */
}
