/**
 * Custom Styles
 * Additional styles for the application
 */

/* ========== Global overflow guards ========== */
html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

/* ========== Anti-FOUC Guards ========== */
/* Tailwind CDN runtime generates CSS; before it's ready SVGs render at intrinsic size
   and layout classes have no effect. These guards neutralize that first paint. */

/* Sensible default for all SVGs so they don't become huge before Tailwind sets w/h */
svg:not([width]):not([height]) {
    width: 1em;
    height: 1em;
    max-width: 100%;
}

/* Size-class SVGs: if the utility class is present, trust it — the rule above only hits un-sized SVGs */
svg.w-3,
svg.w-3\.5 {
    width: 0.875rem;
}

svg.w-4 {
    width: 1rem;
}

svg.w-5 {
    width: 1.25rem;
}

svg.w-6 {
    width: 1.5rem;
}

svg.h-3,
svg.h-3\.5 {
    height: 0.875rem;
}

svg.h-4 {
    height: 1rem;
}

svg.h-5 {
    height: 1.25rem;
}

svg.h-6 {
    height: 1.5rem;
}

/* Prevent the unstyled flash of block-level containers before Tailwind hydrates.
   We hide the body until either Tailwind has applied or a 600ms safety timeout fires. */
html.tw-loading body {
    visibility: hidden;
}

html.tw-ready body {
    visibility: visible;
}

/* Hidden utility fallback (in case Tailwind is late).
   Responsive variants must win over .hidden, so we mirror Tailwind's cascade:
   sm: 640px, md: 768px, lg: 1024px, xl: 1280px. */
.hidden {
    display: none !important;
}

@media (min-width: 640px) {
    .sm\:block:not(.hidden) {
        display: block !important;
    }

    .sm\:inline-block:not(.hidden) {
        display: inline-block !important;
    }

    .sm\:inline-flex {
        display: inline-flex !important;
    }

    .sm\:flex {
        display: flex !important;
    }

    .sm\:grid {
        display: grid !important;
    }
}

@media (min-width: 768px) {
    .md\:block:not(.hidden) {
        display: block !important;
    }

    .md\:inline-block {
        display: inline-block !important;
    }

    .md\:inline-flex {
        display: inline-flex !important;
    }

    .md\:flex {
        display: flex !important;
    }

    .md\:grid {
        display: grid !important;
    }
}

@media (min-width: 1024px) {
    .lg\:block {
        display: block !important;
    }

    .lg\:inline-block {
        display: inline-block !important;
    }

    .lg\:inline-flex {
        display: inline-flex !important;
    }

    .lg\:flex {
        display: flex !important;
    }

    .lg\:grid {
        display: grid !important;
    }

    .lg\:hidden {
        display: none !important;
    }
}

@media (min-width: 1280px) {
    .xl\:block {
        display: block !important;
    }

    .xl\:inline-block {
        display: inline-block !important;
    }

    .xl\:inline-flex {
        display: inline-flex !important;
    }

    .xl\:flex {
        display: flex !important;
    }

    .xl\:grid {
        display: grid !important;
    }

    .xl\:hidden {
        display: none !important;
    }
}

/* Loading Spinner */
.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Skeleton Loader */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
    border-radius: 4px;
}

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

    100% {
        background-position: -200% 0;
    }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 8px;
    max-width: 90%;
    max-height: 90%;
    overflow-y: auto;
    z-index: 1001;
}

/* RGB Frame Animation - Slower and smoother */
@keyframes rgb-border {
    0% {
        border-color: #ff0000;
    }

    16.66% {
        border-color: #ff7f00;
    }

    33.33% {
        border-color: #ffff00;
    }

    50% {
        border-color: #00ff00;
    }

    66.66% {
        border-color: #0000ff;
    }

    83.33% {
        border-color: #4b0082;
    }

    100% {
        border-color: #9400d3;
    }
}

.rgb-frame {
    border: 3px solid;
    animation: rgb-border 5s linear infinite;
}

/* Dynamic Animated Border - Generated via JavaScript/CSS variables */
.ad-animated-gradient_flow,
.ad-animated-pulse,
.ad-animated-rainbow,
.ad-animated-custom {
    border: 4px solid;
    border-radius: 1rem;
    animation-duration: var(--anim-duration, 4s);
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

/* Grid/Flex child overflow fix (safe) */
.grid>* {
    min-width: 0;
}

/* Card Hover Effect */
.card-hover {
    transition: transform 0.2s, box-shadow 0.2s;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Mobile First Adjustments */
@media (max-width: 640px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Focus Styles */
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
    z-index: 10;
    position: relative;
    /* Don't force a white background on focus; individual inputs can style themselves */
}

/* (Removed) hero-search-input overrides: homepage search bar is now a light theme component for readability */

/* Ensure elements stay visible when form is focused */
input:focus~*,
select:focus~*,
input:focus+*,
select:focus+* {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Prevent backdrop-blur from affecting child elements visibility */
input:focus,
select:focus,
textarea:focus {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Ensure header elements stay visible */
#header-main-row,
#header-main-row>*,
#header-main-row a,
#header-main-row button,
#header-main-row img,
#header-main-row svg {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Group cards stay visible */
.group,
.group>*,
.group img,
.group svg,
.group h3,
.group a,
.group div {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Prevent backdrop-blur from causing issues on form focus */
body:has(input:focus) #header-main-row,
body:has(select:focus) #header-main-row,
body:has(textarea:focus) #header-main-row {
    opacity: 1 !important;
    visibility: visible !important;
}

body:has(input:focus) .group,
body:has(select:focus) .group,
body:has(textarea:focus) .group {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Alternative for browsers that don't support :has() */
input:focus,
select:focus,
textarea:focus {
    isolation: isolate;
}

/* Ensure parent containers stay visible */
form:has(input:focus),
form:has(select:focus) {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Custom Scrollbar for category groups */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #6366f1, #8b5cf6);
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #4f46e5, #7c3aed);
}

/* Advertisement Styles */
.ad-rgb-border {
    border: 4px solid;
    animation: rgb-border 5s linear infinite;
    border-radius: 1rem;
}

/* Group card frame ads — reliable native CSS, no Tailwind dependency */
.gc.gc--frame,
.gc-hero.gc--frame {
    border-color: var(--gc-frame-color, #6366f1) !important;
    box-shadow:
        0 0 0 2px var(--gc-frame-color, #6366f1),
        var(--gc-shadow);
}

.gc.gc--frame:hover,
.gc-hero.gc--frame:hover {
    box-shadow:
        0 0 0 2px var(--gc-frame-color, #6366f1),
        var(--gc-shadow-hover);
}

.gc.gc--animated-frame,
.gc-hero.gc--animated-frame {
    /* Animated frame starts as border; JS injects keyframes */
    border-width: 2px;
    border-style: solid;
    border-color: transparent;
}

/* Dynamic animation keyframes will be injected by JavaScript */

/* Featured Badge Animation */
@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
    }

    50% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.8), 0 0 30px rgba(255, 215, 0, 0.6);
    }
}

.ad-featured-badge {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* ============================================
   UTILITY CLASSES - Inline Styles Replacement
   ============================================ */

/* Zero Spacing Utilities */
.reset-spacing,
.reset-spacing * {
    margin: 0 !important;
    padding: 0 !important;
}

.reset-margin {
    margin: 0 !important;
}

.reset-padding {
    padding: 0 !important;
}

.reset-margin-top {
    margin-top: 0 !important;
}

.reset-padding-top {
    padding-top: 0 !important;
}

/* Display Utilities */
.display-block {
    display: block !important;
}

.display-flex {
    display: flex !important;
}

.display-inline-block {
    display: inline-block !important;
}

.display-inline-flex {
    display: inline-flex !important;
}

.display-none {
    display: none !important;
}

/* Text Decoration */
.no-decoration {
    text-decoration: none !important;
}

/* Color Utilities */
.text-white-important {
    color: #ffffff !important;
}

.text-gray-700-important {
    color: #374151 !important;
}

.text-gray-600-important {
    color: #4b5563 !important;
}

.text-indigo-700-important {
    color: #4338ca !important;
}

/* Background Color Utilities */
.bg-gray-600-important {
    background-color: #4b5563 !important;
}

.bg-gray-200-important {
    background-color: #e5e7eb !important;
}

/* Group Card Specific Styles */
.group-card-container {
    margin: 0 !important;
    padding: 0 !important;
}

.group-card-link {
    margin: 0 !important;
    padding: 0 !important;
    text-decoration: none !important;
    display: block !important;
}

.group-card-image-container {
    margin: 0 !important;
    padding: 0 !important;
}

.group-card-image {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.group-card-placeholder {
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
}

.group-card-placeholder-icon {
    display: block !important;
}

.group-card-overlay {
    margin: 0 !important;
    padding: 0 !important;
}

.group-card-badge-container {
    margin: 0 !important;
    padding: 0 !important;
}

.group-card-badge {
    margin: 0 !important;
    padding: 0.25rem 0.75rem !important;
    text-decoration: none !important;
    display: inline-block !important;
}

.group-card-badge-flex {
    margin: 0 !important;
    padding: 0.25rem 0.75rem !important;
    display: inline-flex !important;
}

.group-card-title-overlay {
    margin: 0 !important;
    padding: 1rem !important;
}

.group-card-title {
    margin: 0 !important;
    padding: 0 !important;
    color: #111827 !important;
}

.group-card-content {
    margin: 0 !important;
    padding: 1rem !important;
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(8px) !important;
}

.group-card-stats-row {
    margin: 0 0 0.75rem 0 !important;
    padding: 0 !important;
}

.group-card-stat-item {
    margin: 0 !important;
    padding: 0 !important;
}

.group-card-footer {
    margin-top: auto !important;
    padding-top: 0.75rem !important;
}

.group-card-footer-tag {
    margin: 0 !important;
    padding: 0.375rem 0.75rem !important;
    display: inline-block !important;
    background: linear-gradient(to right, #e0e7ff, #f3e8ff) !important;
    color: #4338ca !important;
}

.group-card-footer-icon {
    margin: 0 !important;
    padding: 0 !important;
}

/* Section Spacing */
.section-compact {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.section-header {
    margin-bottom: 1rem !important;
}

.section-title {
    margin-bottom: 0.5rem !important;
}

.section-description {
    margin-bottom: 0 !important;
}

.section-grid {
    /* Keep Tailwind's mx-auto centering working (don't clobber left/right auto margins) */
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Blog Prose Styles (moved from blog/index.php) */
.prose {
    color: #374151;
}

.prose h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #111827;
}

.prose h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #1f2937;
}

.prose p {
    margin-bottom: 1.25rem;
    line-height: 1.75;
}

.prose ul,
.prose ol {
    margin-bottom: 1.25rem;
    padding-left: 1.625rem;
}

.prose li {
    margin-bottom: 0.5rem;
}

.prose a {
    color: #2563eb;
    text-decoration: underline;
}

.prose a:hover {
    color: #1d4ed8;
}

.prose strong {
    font-weight: 600;
    color: #111827;
}

/* Footer Pattern Background */
.footer-pattern {
    background-image: radial-gradient(circle at 2px 2px, white 1px, transparent 0);
    background-size: 40px 40px;
}

/* User Menu Dropdown */
.user-menu-dropdown {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    z-index: 1000;
}

.user-menu-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.user-menu-item {
    pointer-events: auto !important;
    position: relative;
    z-index: 1001;
}

/* Progress Bar */
.progress-bar {
    width: 0%;
    transition: width 0.3s ease;
}

/* Form Input Styles */
.form-input {
    margin: 0;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
}

.form-textarea {
    min-height: 120px;
    margin: 0;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    resize: vertical;
}

/* Cursor Pointer */
.cursor-pointer {
    cursor: pointer !important;
}

/* Backdrop Blur */
.backdrop-blur-light {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
}

/* Section Spacing Utilities */
.section-mt-compact {
    margin-top: 1rem !important;
}

.section-mb-compact {
    margin-bottom: 1rem !important;
}

.section-title-mb {
    margin-bottom: 0.5rem !important;
}

.section-desc-mb-none {
    margin-bottom: 0 !important;
}

/* Hero Section Grid */
.hero-grid {
    /* Keep Tailwind's mx-auto centering working (don't clobber left/right auto margins) */
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* =========================================================
   Homepage grids: center cards even when item count is low
   (fixed Tailwind column grids align-left by design)
   ========================================================= */

/* Featured hero grid: 6 equal columns on desktop (matches LIMIT 6),
   fall back to 3 on tablet, 2 on mobile. Uses 1fr so cards flex to width. */
.home-hero-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

@media (min-width: 640px) {
    .home-hero-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (min-width: 1024px) {
    .home-hero-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    }
}

/* Section grids (recent/popular): 4 equal columns at md+ (matches LIMIT 8 → 2 rows of 4),
   2 on mobile. No fixed width; cards fill the row. */
.home-section-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

@media (min-width: 768px) {
    .home-section-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}

/* Display None Utility */
.display-none {
    display: none !important;
}

/* Hide scrollbar utility (used by hero chips, admin pills, etc.) */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* =========================================================
   GROUP CARD (v3) — Modern listing card, Telegram blue accent
   - Aspect 5:4 cover image, alt body with category tag, title, meta
   - Hover: glow border + lift + image zoom + CTA reveal
   - Independent of Tailwind hydration
   ========================================================= */
.gc {
    --gc-blue:        #229ED9;
    --gc-blue-2:      #2AABEE;
    --gc-blue-dark:   #1a7fb0;
    --gc-ink:         #0f1623;
    --gc-ink-2:       #51607a;
    --gc-ink-3:       #8a96ad;
    --gc-line:        rgba(15, 22, 35, 0.08);
    --gc-line-soft:   rgba(15, 22, 35, 0.05);
    --gc-radius:      18px;

    position: relative;
    height: 100%;
    background: #fff;
    border: 1px solid var(--gc-line);
    border-radius: var(--gc-radius);
    overflow: hidden;
    transition:
        transform .35s cubic-bezier(.2,.8,.2,1),
        box-shadow .35s ease,
        border-color .35s ease;
    isolation: isolate;
    box-shadow: 0 1px 2px rgba(15, 22, 35, 0.04);
}

/* Animated outline glow on hover (mask trick) */
.gc::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: linear-gradient(135deg, var(--gc-blue) 0%, var(--gc-blue-2) 50%, rgba(34,158,217,0) 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity .35s ease;
    z-index: 3;
    pointer-events: none;
}

.gc:hover {
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow:
        0 18px 40px -16px rgba(34, 158, 217, 0.32),
        0 4px 12px -6px rgba(15, 22, 35, 0.10);
}
.gc:hover::before {
    opacity: 1;
}

.gc__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

/* Media — cover image */
.gc__media {
    position: relative;
    width: 100%;
    aspect-ratio: 5 / 4;
    background: linear-gradient(135deg, #e8f4fb 0%, #cfe1f2 100%);
    overflow: hidden;
    margin: 0;
}

.gc__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .65s cubic-bezier(.2,.8,.2,1), filter .35s ease;
    display: block;
    filter: saturate(1.02);
}

.gc:hover .gc__media img {
    transform: scale(1.07);
    filter: saturate(1.12);
}

/* Subtle bottom gradient on image (helps badges read) */
.gc__gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.55) 100%);
    pointer-events: none;
}

/* Featured star (top-left) — animated */
.gc__badge {
    position: absolute;
    top: 8px;
    left: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 9px 4px 7px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .04em;
    color: #fff;
    background: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);
    box-shadow: 0 4px 12px -2px rgba(245, 158, 11, 0.55), 0 0 0 2px rgba(255,255,255,0.4);
    z-index: 2;
    line-height: 1.2;
}
.gc__badge svg {
    animation: gcStarSpin 6s ease-in-out infinite;
}
@keyframes gcStarSpin {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50%      { transform: rotate(20deg) scale(1.12); }
}

/* Type chip (top-right) */
.gc__type {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    color: var(--gc-blue-dark);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
    z-index: 2;
    letter-spacing: .02em;
}
.gc__type--channel    { color: #0369a1; }
.gc__type--supergroup { color: #1e40af; }
.gc__type--bot        { color: #047857; }

/* Stats overlay (bottom-left of image) */
.gc__stats {
    position: absolute;
    left: 8px;
    bottom: 8px;
    right: 8px;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    z-index: 2;
}
.gc__stat {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 9px 4px 7px;
    font-size: 10.5px;
    font-weight: 700;
    color: #fff;
    background: rgba(15, 22, 35, 0.62);
    backdrop-filter: blur(8px);
    border-radius: 999px;
    line-height: 1;
    letter-spacing: .02em;
}
.gc__stat:first-child {
    background: rgba(34, 158, 217, 0.92);
    box-shadow: 0 3px 8px rgba(34, 158, 217, 0.32);
}
.gc__stat svg { opacity: .95; }

/* Body */
.gc__body {
    padding: 12px 13px 12px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    gap: 8px;
}

.gc__title {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--gc-ink);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .2s ease;
    word-break: break-word;
    letter-spacing: -0.01em;
}
.gc:hover .gc__title {
    color: var(--gc-blue-dark);
}

.gc__foot {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 9px;
    border-top: 1px solid var(--gc-line-soft);
}

.gc__cat {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    color: var(--gc-ink-2);
    max-width: 65%;
    min-width: 0;
    padding: 3px 9px 3px 7px;
    background: rgba(34, 158, 217, 0.08);
    border-radius: 999px;
    transition: background .2s ease, color .2s ease;
}
.gc:hover .gc__cat {
    background: rgba(34, 158, 217, 0.14);
    color: var(--gc-blue-dark);
}
.gc__cat svg {
    flex-shrink: 0;
    color: var(--gc-blue);
    opacity: .85;
}
.gc__cat .truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gc__cta {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--gc-blue);
    white-space: nowrap;
    transition: transform .25s ease, color .2s ease;
    letter-spacing: .02em;
}
.gc:hover .gc__cta {
    color: var(--gc-blue-dark);
    transform: translateX(3px);
}

/* Responsive tweaks */
@media (min-width: 640px) {
    .gc__title    { font-size: 14px; }
    .gc__body     { padding: 14px 14px 14px; }
    .gc__cat      { font-size: 11.5px; }
}
@media (max-width: 480px) {
    .gc__media    { aspect-ratio: 4 / 3; }
    .gc__title    { font-size: 12.5px; line-height: 1.25; }
    .gc__body     { padding: 10px 11px 11px; gap: 6px; }
    .gc__cat      { font-size: 10px; padding: 2px 7px 2px 6px; max-width: 60%; }
    .gc__cta      { font-size: 10.5px; }
    .gc__stat     { font-size: 10px; padding: 3px 7px 3px 6px; }
    .gc__type     { font-size: 9.5px; padding: 2px 7px; top: 6px; right: 6px; }
    .gc__badge    { font-size: 9.5px; padding: 3px 7px 3px 6px; top: 6px; left: 6px; }
}

/* =========================================================
   Hero compact card (homepage featured block)
   ========================================================= */
/* =========================================================
   GC-HERO — Modern, full-bleed image card (Telegram blue accent)
   Used in homepage "Öne Çıkan Gruplar"
   ========================================================= */
.gc-hero {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: 18px;
    overflow: hidden;
    isolation: isolate;
    background: #0f1623;
    transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease;
    box-shadow: 0 6px 18px -6px rgba(15, 22, 35, 0.18);
}

.gc-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(34, 158, 217, 0.4) 0%, rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%, rgba(42, 171, 238, 0.4) 100%);
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity .35s ease;
    z-index: 3;
    pointer-events: none;
}

.gc-hero:hover {
    transform: translateY(-4px) scale(1.012);
    box-shadow:
        0 24px 48px -16px rgba(15, 22, 35, 0.28),
        0 0 0 1px rgba(34, 158, 217, 0.22);
}
.gc-hero:hover::before { opacity: 1; }

.gc-hero__link {
    display: block;
    height: 100%;
    width: 100%;
    text-decoration: none;
    color: #fff;
    position: relative;
}

.gc-hero__media {
    margin: 0;
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #1a7fb0 0%, #229ED9 100%);
}

.gc-hero__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 35%, rgba(15, 22, 35, 0.55) 75%, rgba(15, 22, 35, 0.92) 100%);
    z-index: 1;
    pointer-events: none;
}

.gc-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .65s cubic-bezier(.2, .8, .2, 1), filter .35s ease;
    filter: saturate(1.05) brightness(1);
}

.gc-hero:hover .gc-hero__media img {
    transform: scale(1.08);
    filter: saturate(1.15) brightness(1.04);
}

.gc-hero__star {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px -3px rgba(245, 158, 11, .55), 0 0 0 2px rgba(255,255,255,0.5);
    z-index: 4;
    animation: gcHeroStarSpin 6s ease-in-out infinite;
}
@keyframes gcHeroStarSpin {
    0%, 100%   { transform: rotate(0deg)   scale(1); }
    50%        { transform: rotate(15deg)  scale(1.08); }
}
.gc-hero__star svg { width: 13px; height: 13px; }

.gc-hero__title {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 38px;
    margin: 0;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    letter-spacing: -0.01em;
    z-index: 2;
}

.gc-hero__meta {
    position: absolute;
    left: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: rgba(34, 158, 217, 0.92);
    backdrop-filter: blur(6px);
    padding: 3px 9px 3px 7px;
    border-radius: 999px;
    box-shadow: 0 3px 8px rgba(34, 158, 217, 0.35);
    letter-spacing: 0.02em;
    z-index: 2;
}
.gc-hero__meta svg {
    width: 11px;
    height: 11px;
    opacity: 0.95;
}

@media (max-width: 480px) {
    .gc-hero__title { font-size: 12.5px; bottom: 34px; left: 10px; right: 10px; }
    .gc-hero__meta { font-size: 10.5px; bottom: 10px; left: 10px; }
    .gc-hero__star { top: 6px; right: 6px; width: 22px; height: 22px; }
}

/* =========================================================
   Live Search Dropdown (home hero)
   ========================================================= */
.hs-wrap {
    position: relative;
}

.hs-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 24px 48px -20px rgba(17, 24, 39, 0.4), 0 6px 16px -6px rgba(17, 24, 39, 0.12);
    border: 1px solid rgba(17, 24, 39, 0.08);
    overflow: hidden;
    z-index: 60;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}

.hs-results.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hs-results__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #6b7280;
    background: linear-gradient(to right, #eef2ff, #fae8ff);
    border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

.hs-results__body {
    max-height: 60vh;
    overflow-y: auto;
}

.hs-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    color: #111827;
    text-decoration: none;
    transition: background .12s ease;
    border-bottom: 1px solid rgba(17, 24, 39, 0.04);
}

.hs-item:last-child {
    border-bottom: 0;
}

.hs-item:hover,
.hs-item.is-active {
    background: #f5f3ff;
}

.hs-item__avatar {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg, #4f46e5 0%, #ec4899 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 14px;
}

.hs-item__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hs-item__body {
    flex: 1 1 auto;
    min-width: 0;
}

.hs-item__title {
    font-size: 13.5px;
    font-weight: 700;
    color: #111827;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hs-item__meta {
    font-size: 11.5px;
    color: #6b7280;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: 1px;
}

.hs-item__arrow {
    color: #9ca3af;
    flex-shrink: 0;
}

.hs-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    background: #f9fafb;
    font-size: 12px;
    font-weight: 700;
    color: #4f46e5;
    text-decoration: none;
    border-top: 1px solid rgba(17, 24, 39, 0.06);
}

.hs-footer:hover {
    background: #f5f3ff;
}

.hs-empty,
.hs-loading {
    padding: 24px 16px;
    text-align: center;
    font-size: 13px;
    color: #6b7280;
}

.hs-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid #c7d2fe;
    border-top-color: #4f46e5;
    border-radius: 50%;
    display: inline-block;
    animation: hs-spin .7s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes hs-spin {
    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   GROUP DETAIL PAGE (gd-*) — Modern Telegram blue theme
   ========================================================= */
.gd-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #0f1623;
    color: #fff;
    padding-bottom: 28px;
}
.gd-hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: hidden;
}
.gd-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: blur(28px) saturate(1.2) brightness(0.55);
    transform: scale(1.15);
    opacity: 0.7;
}
.gd-hero__scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse at 18% 12%, rgba(34, 158, 217, 0.28) 0%, transparent 55%),
        radial-gradient(ellipse at 82% 88%, rgba(42, 171, 238, 0.22) 0%, transparent 60%),
        linear-gradient(180deg, rgba(15, 22, 35, 0.55) 0%, rgba(15, 22, 35, 0.85) 60%, #0f1623 100%);
}

.gd-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
    margin: 14px 0 18px;
}
.gd-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color .15s ease;
}
.gd-breadcrumb a:hover { color: #fff; }
.gd-breadcrumb span:not(.gd-breadcrumb__current) {
    color: rgba(255, 255, 255, 0.35);
    font-size: 10px;
}
.gd-breadcrumb__current {
    color: #fff;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 240px;
}

.gd-hero__row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    align-items: start;
}
@media (min-width: 1024px) {
    .gd-hero__row {
        grid-template-columns: auto 1fr auto;
        gap: 24px;
        align-items: center;
    }
}

.gd-hero__avatar {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(135deg, #229ED9 0%, #2AABEE 100%);
    flex-shrink: 0;
    box-shadow:
        0 8px 24px -6px rgba(34, 158, 217, 0.55),
        0 0 0 4px rgba(255, 255, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.gd-hero__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Tıklanabilir hale getirilmiş avatar */
button.gd-hero__avatar {
    padding: 0;
    border: 0;
    cursor: zoom-in;
    appearance: none;
    -webkit-appearance: none;
}
button.gd-hero__avatar:hover img,
button.gd-hero__avatar:focus-visible img {
    transform: scale(1.08);
}
button.gd-hero__avatar:focus-visible {
    outline: 3px solid rgba(34, 158, 217, 0.55);
    outline-offset: 3px;
}
.gd-hero__zoom-hint {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.55);
    color: #fff;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}
.gd-hero__zoom-hint svg {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}
button.gd-hero__avatar:hover .gd-hero__zoom-hint,
button.gd-hero__avatar:focus-visible .gd-hero__zoom-hint {
    opacity: 1;
}

/* Photo Lightbox */
.photo-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.2s ease;
    cursor: zoom-out;
}
.photo-lightbox.is-open {
    opacity: 1;
}
.photo-lightbox[hidden] {
    display: none !important;
}
.photo-lightbox__figure {
    position: relative;
    margin: 0;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transform: scale(0.92);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.photo-lightbox.is-open .photo-lightbox__figure {
    transform: scale(1);
}
.photo-lightbox__figure img {
    max-width: min(90vw, 900px);
    max-height: 80vh;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.7);
    background: #1a1a1a;
    cursor: default;
}
.photo-lightbox__caption {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    max-width: 90vw;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}
.photo-lightbox__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    backdrop-filter: blur(8px);
    z-index: 2;
}
.photo-lightbox__close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}
.photo-lightbox__close svg {
    width: 20px;
    height: 20px;
}
.gd-hero__initial {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}
@media (min-width: 768px) {
    .gd-hero__avatar { width: 104px; height: 104px; border-radius: 26px; }
    .gd-hero__initial { font-size: 46px; }
}
@media (min-width: 1024px) {
    .gd-hero__avatar { width: 124px; height: 124px; }
    .gd-hero__initial { font-size: 56px; }
}

.gd-hero__main { min-width: 0; }

.gd-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}
.gd-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 11px;
    font-size: 11.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    text-decoration: none;
    backdrop-filter: blur(8px);
    transition: all .2s ease;
    line-height: 1.4;
}
.gd-chip:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.28);
}
.gd-chip--solid {
    background: linear-gradient(135deg, #229ED9 0%, #1a7fb0 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 12px -3px rgba(34, 158, 217, 0.55);
}
.gd-chip--solid:hover {
    background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
    border-color: transparent;
}
.gd-chip--warn {
    background: rgba(251, 146, 60, 0.18);
    border-color: rgba(251, 146, 60, 0.4);
    color: #fed7aa;
}
.gd-chip--rating {
    background: rgba(251, 191, 36, 0.18);
    border-color: rgba(251, 191, 36, 0.4);
    color: #fde68a;
}
.gd-chip--rating svg {
    width: 12px;
    height: 12px;
    color: #fbbf24;
}

.gd-hero__title {
    font-size: clamp(22px, 4vw, 36px);
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    word-break: break-word;
}

.gd-hero__handle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 14px;
    font-size: 13.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    padding: 4px 6px 4px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.10);
}
.gd-hero__copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.85);
    border: none;
    cursor: pointer;
    transition: background .18s ease, color .18s ease, transform .15s ease;
}
.gd-hero__copy:hover {
    background: #2AABEE;
    color: #fff;
    transform: scale(1.08);
}

.gd-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin: 4px 0 0;
    padding: 0;
}
.gd-stat {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 12px;
    padding: 8px 10px;
    backdrop-filter: blur(8px);
    transition: background .2s ease, border-color .2s ease;
}
.gd-stat:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(34, 158, 217, 0.4);
}
.gd-stat dt {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 2px;
}
.gd-stat dd {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
}
.gd-stat--rank dd {
    background: linear-gradient(120deg, #2AABEE 0%, #b3def0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
@media (min-width: 768px) {
    .gd-stat dd { font-size: 19px; }
    .gd-stat dt { font-size: 11px; }
}

.gd-hero__cta {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-self: stretch;
    align-items: center;
}

.gd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 11px 18px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    line-height: 1.2;
    transition: all .2s ease;
    white-space: nowrap;
}
.gd-btn--primary {
    background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
    color: #fff;
    box-shadow: 0 8px 18px -4px rgba(34, 158, 217, 0.55);
}
.gd-btn--primary:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow: 0 12px 26px -6px rgba(34, 158, 217, 0.65);
}
.gd-btn--ghost {
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
}
.gd-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.28);
}
.gd-btn--disabled {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.45);
    cursor: not-allowed;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.gd-btn--warn {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #fff;
    box-shadow: 0 6px 14px -3px rgba(245, 158, 11, 0.5);
}
.gd-btn--warn:hover { filter: brightness(1.05); transform: translateY(-1px); }
.gd-btn--warn-ghost {
    background: rgba(251, 191, 36, 0.14);
    color: #b45309;
    border: 1px dashed rgba(251, 191, 36, 0.5);
}
.gd-btn--danger-ghost {
    background: transparent;
    color: #b91c1c;
    border: 1px solid rgba(220, 38, 38, 0.3);
}
.gd-btn--danger-ghost:hover {
    background: rgba(220, 38, 38, 0.08);
    border-color: rgba(220, 38, 38, 0.5);
}
.gd-btn--sm {
    padding: 7px 12px;
    font-size: 12.5px;
    border-radius: 9px;
    gap: 5px;
}

.gd-sticky-cta {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: flex;
    gap: 8px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(1.2);
    border: 1px solid rgba(15, 22, 35, 0.08);
    border-radius: 18px;
    box-shadow: 0 14px 40px -8px rgba(15, 22, 35, 0.28);
    z-index: 50;
}
.gd-sticky-cta .gd-btn--primary {
    box-shadow: 0 6px 14px -3px rgba(34, 158, 217, 0.45);
}
.gd-sticky-cta .gd-btn--ghost {
    background: rgba(15, 22, 35, 0.06);
    border-color: rgba(15, 22, 35, 0.10);
    color: #0f1623;
    backdrop-filter: none;
    width: 44px;
    flex-shrink: 0;
    padding: 0;
}
.gd-sticky-cta .gd-btn--ghost:hover {
    background: rgba(34, 158, 217, 0.12);
    color: #1a7fb0;
    border-color: rgba(34, 158, 217, 0.25);
}

.gd-main {
    padding-bottom: 80px;
}
@media (min-width: 768px) {
    .gd-main { padding-bottom: 32px; }
}

.gd-card {
    background: #fff;
    border: 1px solid rgba(15, 22, 35, 0.08);
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: 0 1px 2px rgba(15, 22, 35, 0.03);
    transition: border-color .2s ease;
}
.gd-card:hover {
    border-color: rgba(15, 22, 35, 0.12);
}
.gd-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(15, 22, 35, 0.06);
}
.gd-card__head h2 {
    font-size: 15.5px;
    font-weight: 700;
    color: #0f1623;
    margin: 0;
    letter-spacing: -0.01em;
}
.gd-card__action {
    font-size: 12.5px;
    font-weight: 600;
    color: #229ED9;
    text-decoration: none;
    transition: color .2s ease;
}
.gd-card__action:hover { color: #1a7fb0; }
.gd-card__hint {
    font-size: 11px;
    font-weight: 700;
    color: #1a7fb0;
    background: rgba(34, 158, 217, 0.10);
    padding: 3px 9px;
    border-radius: 999px;
    letter-spacing: 0.02em;
}

.gd-desc {
    font-size: 14.5px;
    line-height: 1.65;
    color: #51607a;
    word-break: break-word;
}
.gd-desc--clip {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    position: relative;
}
.gd-desc--clip::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 60px;
    background: linear-gradient(transparent 0%, #fff 100%);
    pointer-events: none;
}
.gd-desc__toggle {
    margin-top: 8px;
    background: none;
    border: none;
    font-size: 13px;
    font-weight: 600;
    color: #229ED9;
    cursor: pointer;
    padding: 4px 0;
    transition: color .2s ease;
}
.gd-desc__toggle:hover { color: #1a7fb0; }

.gd-ranks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
@media (min-width: 768px) {
    .gd-ranks {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
.gd-rank {
    --rank-c1: #229ED9;
    --rank-c2: #1a7fb0;
    position: relative;
    padding: 14px 14px 14px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--rank-c1) 8%, #fff) 0%, color-mix(in srgb, var(--rank-c1) 4%, #fff) 100%);
    border: 1px solid color-mix(in srgb, var(--rank-c1) 20%, transparent);
    border-radius: 14px;
    overflow: hidden;
    isolation: isolate;
    transition: transform .2s ease, box-shadow .25s ease, border-color .25s ease;
}
.gd-rank::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--rank-c1) 22%, transparent) 0%, transparent 70%);
    z-index: -1;
}
.gd-rank:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--rank-c1) 35%, transparent);
    box-shadow: 0 12px 24px -10px color-mix(in srgb, var(--rank-c1) 35%, transparent);
}
.gd-rank--blue   { --rank-c1: #229ED9; --rank-c2: #1a7fb0; }
.gd-rank--purple { --rank-c1: #2AABEE; --rank-c2: #1a7fb0; }
.gd-rank--green  { --rank-c1: #10b981; --rank-c2: #047857; }
.gd-rank--orange { --rank-c1: #f59e0b; --rank-c2: #d97706; }
.gd-rank__label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--rank-c2);
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.gd-rank__value {
    font-size: 24px;
    font-weight: 800;
    color: #0f1623;
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}
.gd-rank__sub {
    font-size: 11px;
    color: #8a96ad;
    font-weight: 500;
}

.gd-owner {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.08) 0%, rgba(251, 146, 60, 0.06) 100%);
    border: 1px solid rgba(251, 191, 36, 0.32);
    border-radius: 16px;
    flex-wrap: wrap;
}
.gd-owner__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px -3px rgba(245, 158, 11, 0.4);
}
.gd-owner__body { flex: 1; min-width: 0; }
.gd-owner__title {
    font-size: 14.5px;
    font-weight: 700;
    color: #0f1623;
    margin-bottom: 4px;
}
.gd-owner__text {
    font-size: 13px;
    color: #51607a;
    line-height: 1.5;
}
.gd-owner__action { flex-shrink: 0; }

.gd-info {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
}
.gd-info > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px dashed rgba(15, 22, 35, 0.06);
    font-size: 13.5px;
}
.gd-info > div:last-child { border-bottom: none; }
.gd-info dt {
    font-weight: 500;
    color: #8a96ad;
    margin: 0;
    font-size: 12.5px;
}
.gd-info dd {
    margin: 0;
    font-weight: 600;
    color: #0f1623;
    text-align: right;
    font-variant-numeric: tabular-nums;
    overflow: hidden;
    text-overflow: ellipsis;
}
.gd-info dd a {
    color: #229ED9 !important;
    text-decoration: none;
}
.gd-info dd a:hover { color: #1a7fb0 !important; text-decoration: underline; }

.gd-info__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(15, 22, 35, 0.06);
}
.gd-info__actions .gd-btn--ghost {
    background: rgba(15, 22, 35, 0.04);
    border: 1px solid rgba(15, 22, 35, 0.08);
    color: #51607a;
    backdrop-filter: none;
}
.gd-info__actions .gd-btn--ghost:hover {
    background: rgba(34, 158, 217, 0.10);
    border-color: rgba(34, 158, 217, 0.3);
    color: #1a7fb0;
}

.gd-notice {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 14px;
    background: rgba(34, 158, 217, 0.06);
    border: 1px solid rgba(34, 158, 217, 0.18);
    border-radius: 12px;
    font-size: 12px;
    color: #51607a;
    line-height: 1.55;
}
.gd-notice svg {
    flex-shrink: 0;
    color: #229ED9;
    margin-top: 2px;
}

/* Comments — modern card */
.gd-comments {
    background: #fff;
    border: 1px solid rgba(15, 22, 35, 0.08);
    border-radius: 16px;
    padding: 22px 22px 24px;
}
.gd-comments-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding-bottom: 16px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(15, 22, 35, 0.06);
}
.gd-comments-head h2 {
    font-size: 18px;
    font-weight: 700;
    color: #0f1623;
    margin: 0;
    letter-spacing: -0.01em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.gd-comments-head h2 svg {
    color: #229ED9;
}
.gd-rating-summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(251, 191, 36, 0.10);
    border: 1px solid rgba(251, 191, 36, 0.28);
    border-radius: 999px;
    font-weight: 600;
}
.gd-rating-summary__stars {
    display: inline-flex;
    gap: 1px;
}
.gd-rating-summary__stars svg {
    width: 14px;
    height: 14px;
}
.gd-rating-summary__num {
    font-size: 13.5px;
    color: #b45309;
    font-variant-numeric: tabular-nums;
}
.gd-rating-summary__count {
    font-size: 12px;
    color: #92400e;
    opacity: 0.75;
}

.gd-pending {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    background: rgba(251, 191, 36, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.32);
    border-radius: 12px;
    font-size: 13px;
    color: #92400e;
    margin-bottom: 18px;
}
.gd-pending svg {
    color: #f59e0b;
    flex-shrink: 0;
}

.gd-cform {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 18px;
    background: linear-gradient(135deg, #f7fafd 0%, #eef5fb 100%);
    border: 1px solid rgba(15, 22, 35, 0.06);
    border-radius: 14px;
    margin-bottom: 22px;
}
.gd-cform__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.gd-cform__input,
.gd-cform__textarea {
    padding: 10px 13px;
    font-size: 14px;
    color: #0f1623;
    background: #fff;
    border: 1px solid rgba(15, 22, 35, 0.10);
    border-radius: 10px;
    transition: border-color .2s ease, box-shadow .2s ease;
    font-family: inherit;
}
.gd-cform__input:focus,
.gd-cform__textarea:focus {
    outline: none;
    border-color: #229ED9;
    box-shadow: 0 0 0 3px rgba(34, 158, 217, 0.15);
}
.gd-cform__textarea {
    resize: vertical;
    min-height: 88px;
    line-height: 1.55;
}
.gd-cform__rate {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
}
.gd-cform__rate-label {
    font-size: 12.5px;
    font-weight: 600;
    color: #51607a;
}
.rating-star {
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: #d1d5db;
    transition: color .15s ease, transform .15s ease;
    padding: 0;
}
.rating-star:hover { color: #fbbf24; transform: scale(1.15); }
.rating-star.is-active { color: #fbbf24; }
.gd-cform__hint {
    font-size: 11.5px;
    color: #8a96ad;
    margin: 0;
}
.gd-cform__submit {
    align-self: flex-start;
    padding: 11px 22px;
    background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
    color: #fff;
    border: none;
    border-radius: 11px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: filter .2s ease, transform .15s ease, box-shadow .25s ease;
    box-shadow: 0 6px 14px -3px rgba(34, 158, 217, 0.4);
}
.gd-cform__submit:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow: 0 10px 20px -6px rgba(34, 158, 217, 0.55);
}

.gd-comments-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.gd-comment {
    padding: 14px 16px;
    background: #fff;
    border: 1px solid rgba(15, 22, 35, 0.08);
    border-radius: 14px;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.gd-comment:hover {
    border-color: rgba(34, 158, 217, 0.3);
    box-shadow: 0 4px 12px -4px rgba(34, 158, 217, 0.12);
}
.gd-comment__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}
.gd-comment__user {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.gd-comment__avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 3px 8px -2px rgba(34, 158, 217, 0.4);
}
.gd-comment__meta { min-width: 0; }
.gd-comment__name {
    font-size: 13.5px;
    font-weight: 600;
    color: #0f1623;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.gd-comment__date {
    font-size: 11.5px;
    color: #8a96ad;
    margin-top: 2px;
}
.gd-comment__rating {
    display: inline-flex;
    gap: 1px;
    flex-shrink: 0;
}
.gd-comment__rating svg { width: 12px; height: 12px; color: #fbbf24; }
.gd-comment__rating svg.is-empty { color: #e5e7eb; }
.gd-comment__body {
    font-size: 13.5px;
    line-height: 1.6;
    color: #51607a;
    white-space: pre-wrap;
    word-break: break-word;
}

.gd-comments-empty {
    text-align: center;
    padding: 40px 20px;
    color: #8a96ad;
    font-size: 13.5px;
}
.gd-comments-empty-ico {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(34, 158, 217, 0.10);
    color: #229ED9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

/* Related groups */
.gd-related-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.gd-related-head h2 {
    font-size: 18px;
    font-weight: 700;
    color: #0f1623;
    margin: 0;
    letter-spacing: -0.01em;
}
.gd-related-head a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 7px 14px;
    background: #fff;
    border: 1px solid rgba(15, 22, 35, 0.08);
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    color: #0f1623;
    text-decoration: none;
    transition: all .2s ease;
}
.gd-related-head a:hover {
    border-color: #229ED9;
    color: #229ED9;
    transform: translateX(2px);
    box-shadow: 0 4px 12px -4px rgba(34, 158, 217, 0.3);
}
.gd-related-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
@media (min-width: 640px) {
    .gd-related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .gd-related-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
}

@media (min-width: 1024px) {
    .gd-card.lg\:sticky { top: 88px; }
}

@media (max-width: 640px) {
    .gd-hero { padding-bottom: 22px; }
    .gd-card { padding: 16px 16px; border-radius: 14px; }
    .gd-card__head { margin-bottom: 12px; padding-bottom: 10px; }
    .gd-card__head h2 { font-size: 14.5px; }
    .gd-rank__value { font-size: 20px; }
    .gd-comments { padding: 16px 16px 20px; }
    .gd-comments-head h2 { font-size: 16px; }
    .gd-cform { padding: 14px; }
    .gd-cform__row { grid-template-columns: 1fr; }
    .gd-info > div { font-size: 13px; }
    .gd-related-head h2 { font-size: 16px; }
    .gd-stats { gap: 5px; }
    .gd-stat { padding: 7px 8px; }
    .gd-stat dd { font-size: 14.5px; }
    .gd-hero__chips { gap: 5px; }
    .gd-chip { font-size: 11px; padding: 3px 9px; }
}


/* =========================================================
   TTG HERO — sol arama + sağ akan kartlar (Telegram mavi tema)
   ========================================================= */
.ttg-hero {
    --ttg-blue:    #229ED9;
    --ttg-blue-2:  #2AABEE;
    --ttg-blue-3:  #1a7fb0;
    --ttg-ink:     #0f1623;
    --ttg-ink-2:   #3f4b62;
    --ttg-ink-3:   #586172;
    --ttg-line:    #e6ebf2;
    --ttg-surface: #f3f7fc;

    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #f3f8fd 60%, #e8f1fa 100%);
    overflow: hidden;
    isolation: isolate;
    padding: 0;
}
.ttg-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse at 10% 15%, rgba(34, 158, 217, 0.14) 0%, transparent 55%),
        radial-gradient(ellipse at 88% 88%, rgba(42, 171, 238, 0.10) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.ttg-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 48px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 48px 24px;
    align-items: center;
    position: relative;
    z-index: 1;
}
@media (min-width: 1024px) {
    .ttg-hero-grid {
        padding: 56px 24px;
    }
}

.ttg-hero-left { position: relative; }

.ttg-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px 7px 12px;
    background: rgba(34, 158, 217, 0.10);
    color: var(--ttg-blue-3);
    border: 1px solid rgba(34, 158, 217, 0.22);
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    margin-bottom: 22px;
}
.ttg-hero-eyebrow-pulse {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
    animation: ttgHeroPulse 2s infinite;
    flex-shrink: 0;
}
@keyframes ttgHeroPulse {
    0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
    70%  { box-shadow: 0 0 0 12px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.ttg-hero-title {
    font-size: clamp(34px, 4.6vw, 56px);
    line-height: 1.06;
    letter-spacing: -0.025em;
    color: var(--ttg-ink);
    margin: 0 0 16px;
    font-weight: 700;
}
.ttg-hero-title em {
    font-style: italic;
    color: var(--ttg-blue);
    font-weight: 700;
    background: linear-gradient(120deg, var(--ttg-blue) 0%, var(--ttg-blue-2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ttg-hero-sub {
    font-size: clamp(15px, 1.15vw, 17px);
    line-height: 1.55;
    color: var(--ttg-ink-2);
    margin: 0 0 26px;
    max-width: 540px;
}

.ttg-hero-search {
    background: #fff;
    border: 1px solid rgba(15, 22, 35, 0.08);
    border-radius: 18px;
    padding: 7px;
    box-shadow:
        0 22px 50px rgba(15, 22, 35, 0.08),
        0 6px 16px rgba(15, 22, 35, 0.04);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0;
    margin-bottom: 18px;
    max-width: 600px;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.ttg-hero-search:focus-within {
    border-color: rgba(34, 158, 217, 0.45);
    box-shadow:
        0 22px 50px rgba(15, 22, 35, 0.12),
        0 6px 18px rgba(34, 158, 217, 0.16);
}

.ttg-hero-search-cell {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 12px;
    min-width: 0;
    background: transparent;
    border: none;
}
.ttg-hero-search-ico {
    color: var(--ttg-blue);
    flex-shrink: 0;
    display: inline-flex;
}
.ttg-hero-search-text {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.ttg-hero-search-l1 {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--ttg-ink-3);
    margin-bottom: 2px;
}
.ttg-hero-search-input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font: inherit;
    font-size: 15px;
    color: var(--ttg-ink);
    padding: 0;
}
.ttg-hero-search-input::placeholder {
    color: var(--ttg-ink-3);
    font-weight: 400;
}

.ttg-hero-search-btn {
    background: linear-gradient(135deg, var(--ttg-blue-2) 0%, var(--ttg-blue) 100%);
    color: #fff;
    border: none;
    width: 56px;
    height: auto;
    border-radius: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: filter 0.18s ease, transform 0.18s ease, box-shadow 0.25s ease;
    box-shadow: 0 8px 18px rgba(34, 158, 217, 0.36);
    align-self: stretch;
    flex-shrink: 0;
}
.ttg-hero-search-btn:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(34, 158, 217, 0.44);
}
.ttg-hero-search-btn:active { transform: translateY(0); }

.ttg-hero-results-wrap {
    position: relative;
    max-width: 600px;
    margin-bottom: 16px;
}

.ttg-hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    max-width: 600px;
}
.ttg-hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(15, 22, 35, 0.08);
    border-radius: 999px;
    color: var(--ttg-ink);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    backdrop-filter: blur(6px);
}
.ttg-hero-chip:hover {
    background: #fff;
    border-color: var(--ttg-blue);
    color: var(--ttg-blue);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(15, 22, 35, 0.06);
}
.ttg-hero-chip-ico {
    font-size: 14px;
    color: var(--ttg-blue);
    display: inline-flex;
    align-items: center;
    line-height: 1;
}
.ttg-hero-chip-prem {
    background: var(--ttg-ink);
    color: #fff;
    border-color: var(--ttg-ink);
}
.ttg-hero-chip-prem:hover {
    background: #1f2937;
    color: #fff;
    border-color: #1f2937;
}
.ttg-hero-chip-prem .ttg-hero-chip-ico { color: #fbbf24; }

.ttg-hero-stats {
    display: flex;
    gap: 36px;
    flex-wrap: wrap;
}
.ttg-hero-stat-num {
    display: block;
    font-size: 26px;
    font-weight: 700;
    color: var(--ttg-ink);
    line-height: 1;
    letter-spacing: -0.01em;
    font-variant-numeric: tabular-nums;
}
.ttg-hero-stat-lab {
    font-size: 12px;
    color: var(--ttg-ink-3);
    margin-top: 5px;
    display: block;
    line-height: 1.3;
}

/* SAĞ — akan kart kolonları */
.ttg-hero-right {
    position: relative;
    height: 600px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
            mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.ttg-hero-right-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    height: 100%;
}
.ttg-hero-track {
    display: flex;
    flex-direction: column;
    gap: 10px;
    will-change: transform;
    animation: ttgHeroScroll 48s linear infinite;
}
/* Çift indeksli sütunlar (0,2,4) yukarı, tek indeksliler (1,3) aşağı */
.ttg-hero-track-down {
    animation-direction: reverse;
}
/* Sadece aynı yöndekiler arasında delay farkı (zıt yöndekilere delay verilmez,
   yoksa animation-direction: reverse + negative delay zıt yönü iptal edebiliyor) */
.ttg-hero-track-0 { animation-delay: 0s; }
.ttg-hero-track-2 { animation-delay: -16s; }
.ttg-hero-track-4 { animation-delay: -32s; }
.ttg-hero-track-1 { animation-delay: 0s; }
.ttg-hero-track-3 { animation-delay: -16s; }
.ttg-hero-right:hover .ttg-hero-track {
    animation-play-state: paused;
}
@keyframes ttgHeroScroll {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(0, -50%, 0); }
}

.ttg-hero-card {
    flex-shrink: 0;
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 6px 16px rgba(15, 22, 35, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ttg-hero-card:hover {
    transform: translateY(-3px) scale(1.012);
    box-shadow: 0 18px 40px rgba(15, 22, 35, 0.18);
}
.ttg-hero-card-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: #cfe1f2;
    transition: transform 0.7s ease;
}
.ttg-hero-card:hover .ttg-hero-card-img {
    transform: scale(1.06);
}
.ttg-hero-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,0) 55%, rgba(0,0,0,0.78) 100%);
}
.ttg-hero-card-rate {
    position: absolute;
    top: 7px;
    left: 7px;
    background: rgba(255,255,255,0.95);
    color: var(--ttg-ink);
    font-size: 10px;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 999px;
    backdrop-filter: blur(6px);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.10);
    line-height: 1.4;
}
.ttg-hero-card-rate svg {
    color: var(--ttg-blue);
}
.ttg-hero-card-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 8px 10px 10px;
    color: #fff;
}
.ttg-hero-card-name {
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 2px;
    letter-spacing: -0.005em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.ttg-hero-card-loc {
    font-size: 10px;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}

/* HERO arama dropdown bg fix (light tema için) */
.ttg-hero .hs-results {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 18px 44px rgba(15, 22, 35, 0.16);
    border: 1px solid rgba(15, 22, 35, 0.06);
}

/* Responsive */
@media (max-width: 1024px) {
    .ttg-hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 0 24px;
    }
    .ttg-hero-right {
        height: 460px;
    }
}
@media (max-width: 640px) {
    .ttg-hero { padding: 0; }
    .ttg-hero-grid { padding: 24px 16px; gap: 28px; }
    .ttg-hero-title { font-size: clamp(28px, 8vw, 40px); }
    .ttg-hero-sub { font-size: 14.5px; }
    .ttg-hero-search { padding: 6px; }
    .ttg-hero-search-cell { padding: 9px 12px; }
    .ttg-hero-stats { gap: 22px; }
    .ttg-hero-stat-num { font-size: 22px; }
    .ttg-hero-right { height: 380px; }
    .ttg-hero-right-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }
    .ttg-hero-track:nth-child(n+4) { display: none; }
    .ttg-hero-track { animation-duration: 90s; }
    .ttg-hero-eyebrow-pulse { animation: none; }
    .ttg-hero-card-name { font-size: 11.5px; }
    .ttg-hero-card-loc { font-size: 9px; }
}

/* =========================================================
   "ÖNE ÇIKAN" SECTION — modern light blue ambient
   ========================================================= */
.ttg-featured {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #f3f8fd 100%);
    padding: 56px 0 64px;
    isolation: isolate;
    overflow: hidden;
}
.ttg-featured::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse at 50% 0%, rgba(34, 158, 217, 0.06) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}

.ttg-featured-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.ttg-featured-head {
    text-align: center;
    margin-bottom: 32px;
}
.ttg-featured-head-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(251, 191, 36, 0.12);
    color: #b45309;
    border: 1px solid rgba(251, 191, 36, 0.32);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.ttg-featured-head-tag svg {
    color: #f59e0b;
}
.ttg-featured-title {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    color: #0f1623;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}
.ttg-featured-sub {
    font-size: 15px;
    color: #51607a;
    margin: 0;
    line-height: 1.5;
}

.ttg-featured-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
@media (min-width: 640px) {
    .ttg-featured-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }
}
@media (min-width: 1024px) {
    .ttg-featured-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 14px;
    }
}

/* Empty ad slot — subtle dashed call-to-action */
.ttg-featured-empty {
    aspect-ratio: 3 / 4;
    border-radius: 18px;
    border: 2px dashed rgba(34, 158, 217, 0.32);
    background: rgba(34, 158, 217, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px;
    text-decoration: none;
    color: #51607a;
    transition: all 0.25s ease;
}
.ttg-featured-empty:hover {
    border-color: #229ED9;
    background: rgba(34, 158, 217, 0.08);
    color: #1a7fb0;
    transform: translateY(-2px);
}
.ttg-featured-empty-ico {
    color: #229ED9;
    opacity: 0.65;
    transition: opacity 0.2s ease, transform 0.3s ease;
}
.ttg-featured-empty:hover .ttg-featured-empty-ico {
    opacity: 1;
    transform: rotate(-15deg) scale(1.1);
}
.ttg-featured-empty-l1 {
    font-size: 11.5px;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}
.ttg-featured-empty-l2 {
    font-size: 11px;
    font-weight: 700;
    color: #229ED9;
}

/* Mobilde "Bu Alana Reklam Ver" placeholder'larından sadece ilkini göster */
@media (max-width: 1023px) {
    .ttg-featured-empty ~ .ttg-featured-empty {
        display: none;
    }
}

.ttg-featured-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 16px;
    color: #8a96ad;
    font-size: 14px;
}

/* =========================================================
   DESIGN SYSTEM PRIMITIVES
   Used by section blocks: .ttg-sec, .ttg-sec-head, .ttg-sec-grid
   Single source of truth for spacing, color, typography
   ========================================================= */
:root {
    /* Telegram blue palette */
    --ttg-blue:       #229ED9;
    --ttg-blue-2:     #2AABEE;
    --ttg-blue-dark:  #1a7fb0;
    --ttg-blue-soft:  rgba(34, 158, 217, 0.10);

    /* Ink scale */
    --ttg-ink:        #0f1623;
    --ttg-ink-2:      #51607a;
    --ttg-ink-3:      #8a96ad;
    --ttg-ink-4:      #b8c1d1;

    /* Surface */
    --ttg-bg:         #ffffff;
    --ttg-bg-soft:    #f7fafd;
    --ttg-bg-tint:    #eef5fb;
    --ttg-line:       rgba(15, 22, 35, 0.08);
    --ttg-line-soft:  rgba(15, 22, 35, 0.05);

    /* Section spacing */
    --ttg-sec-py:        56px;
    --ttg-sec-py-mobile: 40px;
    --ttg-sec-gap:       14px;
    --ttg-sec-max:       1280px;
    --ttg-sec-pad:       24px;
}

/* Section wrapper */
.ttg-sec {
    position: relative;
    padding: var(--ttg-sec-py) 0;
    background: var(--ttg-bg);
}
.ttg-sec--soft {
    background: var(--ttg-bg-soft);
}
.ttg-sec--tint {
    background: linear-gradient(180deg, #ffffff 0%, var(--ttg-bg-tint) 100%);
}
.ttg-sec__wrap {
    max-width: var(--ttg-sec-max);
    margin: 0 auto;
    padding: 0 var(--ttg-sec-pad);
}

/* Section header — split layout: left (eyebrow + title + sub) + right (link) */
.ttg-sec-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}
.ttg-sec-head__left {
    flex: 1 1 auto;
    min-width: 0;
}
.ttg-sec-head__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px 5px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 12px;
    border: 1px solid currentColor;
    --ttg-eb-bg: rgba(34, 158, 217, 0.10);
    --ttg-eb-c: #1a7fb0;
    color: var(--ttg-eb-c);
    background: var(--ttg-eb-bg);
    border-color: color-mix(in srgb, var(--ttg-eb-c) 25%, transparent);
}
.ttg-sec-head__eyebrow svg { color: currentColor; }
.ttg-sec-head__eyebrow--blue   { --ttg-eb-c: #0d5d85;  --ttg-eb-bg: rgba(34, 158, 217, 0.10); }
.ttg-sec-head__eyebrow--cyan   { --ttg-eb-c: #075866;  --ttg-eb-bg: rgba(6, 182, 212, 0.10); }
.ttg-sec-head__eyebrow--amber  { --ttg-eb-c: #92400e;  --ttg-eb-bg: rgba(251, 146, 60, 0.12); }
.ttg-sec-head__eyebrow--rose   { --ttg-eb-c: #9f1239;  --ttg-eb-bg: rgba(244, 63, 94, 0.10); }
.ttg-sec-head__eyebrow--emerald{ --ttg-eb-c: #065f46;  --ttg-eb-bg: rgba(16, 185, 129, 0.10); }
.ttg-sec-head__eyebrow--violet { --ttg-eb-c: #5b21b6;  --ttg-eb-bg: rgba(139, 92, 246, 0.10); }

.ttg-sec-head__title {
    font-size: clamp(22px, 2.6vw, 30px);
    font-weight: 700;
    color: var(--ttg-ink);
    margin: 0 0 6px;
    letter-spacing: -0.02em;
    line-height: 1.15;
}
.ttg-sec-head__sub {
    font-size: 14.5px;
    color: var(--ttg-ink-2);
    margin: 0;
    line-height: 1.5;
}

.ttg-sec-head__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    background: #fff;
    border: 1px solid var(--ttg-line);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ttg-ink);
    text-decoration: none;
    transition: all .2s ease;
    flex-shrink: 0;
}
.ttg-sec-head__link:hover {
    border-color: var(--ttg-blue);
    color: var(--ttg-blue);
    transform: translateX(2px);
    box-shadow: 0 4px 12px -4px rgba(34, 158, 217, 0.3);
}
.ttg-sec-head__link svg {
    transition: transform .2s ease;
}
.ttg-sec-head__link:hover svg {
    transform: translateX(2px);
}

/* Section grids — stable column counts that ignore Tailwind hydration */
.ttg-sec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--ttg-sec-gap);
    align-items: stretch;
}
@media (min-width: 640px) {
    .ttg-sec-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (min-width: 768px) {
    .ttg-sec-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
@media (min-width: 1024px) {
    .ttg-sec-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}
@media (min-width: 1280px) {
    .ttg-sec-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}
.ttg-sec-grid--6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 640px) {
    .ttg-sec-grid--6 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (min-width: 1024px) {
    .ttg-sec-grid--6 {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

/* Section footer (centered "Tümünü gör" CTA) */
.ttg-sec-foot {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}
.ttg-sec-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--ttg-blue-2) 0%, var(--ttg-blue) 100%);
    color: #fff;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14.5px;
    text-decoration: none;
    transition: filter .2s ease, transform .2s ease, box-shadow .25s ease;
    box-shadow: 0 8px 18px -6px rgba(34, 158, 217, 0.45);
}
.ttg-sec-cta:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow: 0 12px 26px -8px rgba(34, 158, 217, 0.55);
}
.ttg-sec-cta svg { transition: transform .2s ease; }
.ttg-sec-cta:hover svg { transform: translateX(3px); }

/* Mobile section spacing */
@media (max-width: 640px) {
    .ttg-sec {
        padding: var(--ttg-sec-py-mobile) 0;
    }
    .ttg-sec__wrap {
        padding: 0 16px;
    }
    .ttg-sec-head {
        margin-bottom: 20px;
    }
    .ttg-sec-head__title {
        font-size: 22px;
    }
    .ttg-sec-head__sub {
        font-size: 13.5px;
    }
    .ttg-sec-head__link {
        padding: 6px 12px;
        font-size: 12px;
    }
    .ttg-sec-grid {
        gap: 10px;
    }
    .ttg-sec-foot {
        margin-top: 24px;
    }
    .ttg-sec-cta {
        padding: 10px 18px;
        font-size: 13.5px;
    }
}

/* Centered head (no right link) */
.ttg-sec-head--center {
    justify-content: center;
    text-align: center;
}
.ttg-sec-head--center .ttg-sec-head__left {
    flex: 0 1 auto;
    max-width: 640px;
}
.ttg-sec-head--center .ttg-sec-head__eyebrow {
    margin-left: auto;
    margin-right: auto;
}

.ttg-sec__wrap--narrow {
    max-width: 880px;
}

/* =========================================================
   CATEGORY CHIP BAR (.ttg-cat-bar)
   ========================================================= */
.ttg-cat-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 980px;
    margin: 0 auto;
}
.ttg-cat-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px 10px 12px;
    background: #fff;
    border: 1px solid var(--ttg-line);
    border-radius: 999px;
    text-decoration: none;
    color: var(--ttg-ink);
    font-size: 13.5px;
    font-weight: 600;
    transition: all .2s ease;
    box-shadow: 0 1px 2px rgba(15, 22, 35, 0.04);
}
.ttg-cat-chip:hover {
    border-color: var(--ttg-blue);
    color: var(--ttg-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px -8px rgba(34, 158, 217, 0.32);
}
.ttg-cat-chip__ico {
    font-size: 16px;
    line-height: 1;
    flex-shrink: 0;
    transition: transform .2s ease;
}
.ttg-cat-chip:hover .ttg-cat-chip__ico {
    transform: scale(1.15) rotate(-5deg);
}
.ttg-cat-chip__ico--default {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    background: linear-gradient(135deg, var(--ttg-blue) 0%, var(--ttg-blue-2) 100%);
}
.ttg-cat-chip__name {
    line-height: 1;
}
.ttg-cat-chip__count {
    font-size: 11px;
    font-weight: 700;
    color: var(--ttg-ink-3);
    background: rgba(34, 158, 217, 0.08);
    padding: 2px 7px;
    border-radius: 999px;
    line-height: 1.4;
    transition: background .2s ease, color .2s ease;
}
.ttg-cat-chip:hover .ttg-cat-chip__count {
    background: rgba(34, 158, 217, 0.18);
    color: var(--ttg-blue-dark);
}
.ttg-cat-chip--all {
    background: linear-gradient(135deg, var(--ttg-blue-2) 0%, var(--ttg-blue) 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 16px -4px rgba(34, 158, 217, 0.45);
}
.ttg-cat-chip--all:hover {
    color: #fff;
    filter: brightness(1.06);
    box-shadow: 0 10px 22px -6px rgba(34, 158, 217, 0.55);
}
.ttg-cat-chip--all svg {
    transition: transform .2s ease;
}
.ttg-cat-chip--all:hover svg {
    transform: translateX(2px);
}

/* =========================================================
   FEATURES BENTO GRID (.ttg-feat-grid + .ttg-feat)
   ========================================================= */
.ttg-feat-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}
@media (min-width: 640px) {
    .ttg-feat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}
@media (min-width: 1024px) {
    .ttg-feat-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
}

.ttg-feat {
    --ttg-feat-c: var(--ttg-blue);
    --ttg-feat-c2: var(--ttg-blue-dark);

    position: relative;
    background: #fff;
    border: 1px solid var(--ttg-line);
    border-radius: 18px;
    padding: 22px 22px 20px;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    isolation: isolate;
    overflow: hidden;
}
.ttg-feat::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle at top right, color-mix(in srgb, var(--ttg-feat-c) 14%, transparent), transparent 70%);
    z-index: -1;
    transition: opacity .3s ease, transform .3s ease;
}
.ttg-feat:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--ttg-feat-c) 30%, transparent);
    box-shadow: 0 18px 40px -16px color-mix(in srgb, var(--ttg-feat-c) 32%, transparent);
}
.ttg-feat:hover::before {
    transform: scale(1.4);
}
.ttg-feat__ico {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--ttg-feat-c) 0%, var(--ttg-feat-c2) 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    box-shadow: 0 8px 18px -6px color-mix(in srgb, var(--ttg-feat-c) 50%, transparent);
}
.ttg-feat__title {
    font-size: 17px;
    font-weight: 700;
    color: var(--ttg-ink);
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}
.ttg-feat__desc {
    font-size: 14px;
    line-height: 1.55;
    color: var(--ttg-ink-2);
    margin: 0;
}
.ttg-feat__desc strong {
    color: var(--ttg-feat-c2);
    font-weight: 700;
}

/* =========================================================
   HOW IT WORKS (.ttg-how-grid + .ttg-how)
   ========================================================= */
.ttg-how-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 1080px;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .ttg-how-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }
}

.ttg-how {
    --ttg-how-c: var(--ttg-blue);
    --ttg-how-c2: var(--ttg-blue-dark);
    position: relative;
    background: #fff;
    border: 1px solid var(--ttg-line);
    border-radius: 22px;
    padding: 26px 24px 24px;
    overflow: hidden;
    isolation: isolate;
}
.ttg-how::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--ttg-how-c) 18%, transparent) 0%, transparent 70%);
    z-index: -1;
}
.ttg-how--owners {
    --ttg-how-c: #229ED9;
    --ttg-how-c2: #1a7fb0;
}
.ttg-how--users {
    --ttg-how-c: #10b981;
    --ttg-how-c2: #047857;
}
.ttg-how__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}
.ttg-how__num {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--ttg-how-c) 0%, var(--ttg-how-c2) 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    font-weight: 700;
    box-shadow: 0 8px 18px -4px color-mix(in srgb, var(--ttg-how-c) 50%, transparent);
}
.ttg-how__title {
    font-size: 22px;
    font-weight: 700;
    color: var(--ttg-ink);
    margin: 0;
    letter-spacing: -0.015em;
}
.ttg-how__steps {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.ttg-how__steps li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.ttg-how__step-ico {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--ttg-how-c) 12%, transparent);
    color: var(--ttg-how-c2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}
.ttg-how__steps strong {
    display: block;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ttg-ink);
    margin-bottom: 2px;
}
.ttg-how__steps span {
    display: block;
    font-size: 13px;
    color: var(--ttg-ink-2);
    line-height: 1.5;
}
.ttg-how__btn {
    display: block;
    text-align: center;
    padding: 13px 22px;
    background: linear-gradient(135deg, var(--ttg-how-c) 0%, var(--ttg-how-c2) 100%);
    color: #fff;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14.5px;
    text-decoration: none;
    transition: filter .2s ease, transform .2s ease, box-shadow .25s ease;
    box-shadow: 0 8px 18px -6px color-mix(in srgb, var(--ttg-how-c) 50%, transparent);
}
.ttg-how__btn:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow: 0 12px 26px -8px color-mix(in srgb, var(--ttg-how-c) 60%, transparent);
}

/* =========================================================
   FAQ ACCORDION (.ttg-faq + details)
   ========================================================= */
.ttg-faq {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ttg-faq__item {
    background: #fff;
    border: 1px solid var(--ttg-line);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.ttg-faq__item:hover {
    border-color: rgba(34, 158, 217, 0.32);
}
.ttg-faq__item[open] {
    border-color: var(--ttg-blue);
    box-shadow: 0 8px 22px -10px rgba(34, 158, 217, 0.32);
}
.ttg-faq__q {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    font-size: 15.5px;
    font-weight: 600;
    color: var(--ttg-ink);
    user-select: none;
    transition: color .2s ease;
}
.ttg-faq__q::-webkit-details-marker { display: none; }
.ttg-faq__q::after {
    content: '';
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    border-radius: 50%;
    background:
        rgba(34, 158, 217, 0.10)
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23229ED9' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>")
        center/14px no-repeat;
    transition: transform .25s cubic-bezier(.2,.8,.2,1), background-color .2s ease;
}
.ttg-faq__item[open] .ttg-faq__q {
    color: var(--ttg-blue-dark);
}
.ttg-faq__item[open] .ttg-faq__q::after {
    transform: rotate(180deg);
    background-color: rgba(34, 158, 217, 0.20);
}
.ttg-faq__a {
    padding: 0 20px 18px;
    font-size: 14px;
    line-height: 1.65;
    color: var(--ttg-ink-2);
}
.ttg-faq__a strong {
    color: #047857;
    font-weight: 700;
}
.ttg-faq__a code {
    background: rgba(34, 158, 217, 0.10);
    color: var(--ttg-blue-dark);
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    font-family: ui-monospace, SFMono-Regular, monospace;
}

/* Mobile */
@media (max-width: 640px) {
    .ttg-feat { padding: 18px 18px 16px; border-radius: 16px; }
    .ttg-feat__ico { width: 40px; height: 40px; border-radius: 11px; margin-bottom: 12px; }
    .ttg-feat__title { font-size: 15.5px; }
    .ttg-feat__desc { font-size: 13.5px; }

    .ttg-how { padding: 22px 20px 20px; border-radius: 18px; }
    .ttg-how__num { width: 38px; height: 38px; font-size: 17px; border-radius: 11px; }
    .ttg-how__title { font-size: 19px; }
    .ttg-how__steps strong { font-size: 13.5px; }
    .ttg-how__steps span { font-size: 12.5px; }

    .ttg-cat-chip { font-size: 12.5px; padding: 8px 12px 8px 10px; }
    .ttg-cat-chip__ico { font-size: 14px; }
    .ttg-cat-chip__count { font-size: 10px; padding: 2px 6px; }

    .ttg-faq__q { font-size: 14px; padding: 14px 16px; }
    .ttg-faq__a { font-size: 13.5px; padding: 0 16px 14px; }
}

/* =========================================================
   POPULAR PAGES (SEO chips) — .ttg-pop-*
   ========================================================= */
.ttg-pop-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--ttg-ink-3);
    text-align: center;
    margin: 0 0 14px;
    text-transform: uppercase;
}
.ttg-pop-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    max-width: 980px;
    margin: 0 auto;
}
.ttg-pop-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    background: #fff;
    border: 1px solid var(--ttg-line);
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ttg-ink-2);
    text-decoration: none;
    transition: all .2s ease;
}
.ttg-pop-chip span {
    font-size: 14px;
    line-height: 1;
}
.ttg-pop-chip:hover {
    background: rgba(34, 158, 217, 0.06);
    border-color: var(--ttg-blue);
    color: var(--ttg-blue-dark);
    transform: translateY(-1px);
}

/* =========================================================
   CTA SECTION — .ttg-cta — full bleed dark hero panel
   ========================================================= */
.ttg-cta {
    position: relative;
    background: linear-gradient(160deg, #0f1623 0%, #1a2034 60%, #0f1623 100%);
    color: #fff;
    padding: 80px 0 88px;
    isolation: isolate;
    overflow: hidden;
}
.ttg-cta__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}
.ttg-cta__glow {
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.55;
    animation: ttgCtaFloat 18s ease-in-out infinite;
}
.ttg-cta__glow-a {
    top: -160px;
    left: -120px;
    background: radial-gradient(circle, var(--ttg-blue) 0%, transparent 70%);
}
.ttg-cta__glow-b {
    bottom: -180px;
    right: -120px;
    background: radial-gradient(circle, var(--ttg-blue-2) 0%, transparent 70%);
    animation-delay: -9s;
}
@keyframes ttgCtaFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(40px, 30px) scale(1.08); }
}
.ttg-cta__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

.ttg-cta__inner {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}
.ttg-cta__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(34, 158, 217, 0.14);
    border: 1px solid rgba(34, 158, 217, 0.36);
    color: #b3def0;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 20px;
    backdrop-filter: blur(8px);
}
.ttg-cta__eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2AABEE;
    box-shadow: 0 0 10px #2AABEE;
    animation: ttgCtaPulse 2s ease-in-out infinite;
}
@keyframes ttgCtaPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.5; transform: scale(1.4); }
}
.ttg-cta__title {
    font-size: clamp(28px, 4.6vw, 48px);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin: 0 0 14px;
}
.ttg-cta__title em {
    font-style: italic;
    background: linear-gradient(120deg, #2AABEE 0%, #b3def0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.ttg-cta__sub {
    font-size: clamp(15px, 1.3vw, 17px);
    line-height: 1.5;
    color: #a5b4c8;
    margin: 0 auto 30px;
    max-width: 540px;
}
.ttg-cta__btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
.ttg-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: filter .2s ease, transform .2s ease, box-shadow .25s ease;
}
.ttg-cta__btn--primary {
    background: linear-gradient(135deg, var(--ttg-blue-2) 0%, var(--ttg-blue) 100%);
    color: #fff;
    box-shadow: 0 12px 28px -8px rgba(34, 158, 217, 0.55);
}
.ttg-cta__btn--primary:hover {
    filter: brightness(1.06);
    transform: translateY(-2px);
    box-shadow: 0 18px 36px -10px rgba(34, 158, 217, 0.65);
}
.ttg-cta__btn--ghost {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
}
.ttg-cta__btn--ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.32);
    transform: translateY(-2px);
}
.ttg-cta__btn--ghost svg {
    transition: transform .2s ease;
}
.ttg-cta__btn--ghost:hover svg {
    transform: translateX(3px);
}

@media (max-width: 640px) {
    .ttg-cta { padding: 56px 0 64px; }
    .ttg-cta__btn { padding: 12px 18px; font-size: 14px; }
    .ttg-pop-chip { font-size: 11.5px; padding: 6px 11px; }
    .ttg-pop-chip span { font-size: 13px; }
}

/* =========================================================
   GROUPS LISTING (gl-*) — Telegram blue, sticky filter sidebar
   ========================================================= */
.gl-page {
    background: #f7fafd;
    min-height: 100vh;
}
.gl-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}
.gl-wrap--narrow { max-width: 880px; }

/* HERO */
.gl-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f3f8fd 100%);
    padding: 32px 0 36px;
    border-bottom: 1px solid rgba(15, 22, 35, 0.06);
}
.gl-hero__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}
.gl-hero__glow {
    position: absolute;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.32;
}
.gl-hero__glow-a {
    top: -120px;
    left: -100px;
    background: radial-gradient(circle, #229ED9 0%, transparent 70%);
}
.gl-hero__glow-b {
    bottom: -160px;
    right: -100px;
    background: radial-gradient(circle, #2AABEE 0%, transparent 70%);
}
.gl-hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(34, 158, 217, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 158, 217, 0.05) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    opacity: 0.6;
}

.gl-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 12px;
    color: #8a96ad;
    margin-bottom: 16px;
}
.gl-breadcrumb a {
    color: #51607a;
    text-decoration: none;
    transition: color .15s ease;
}
.gl-breadcrumb a:hover { color: #229ED9; }
.gl-breadcrumb span:not(.gl-breadcrumb__current) {
    color: #b8c1d1;
    font-size: 10px;
}
.gl-breadcrumb__current {
    color: #0f1623;
    font-weight: 500;
}

.gl-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 12px;
    background: rgba(34, 158, 217, 0.10);
    color: #1a7fb0;
    border: 1px solid rgba(34, 158, 217, 0.25);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.gl-hero__eyebrow-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
    animation: glHeroPulse 2s infinite;
}
@keyframes glHeroPulse {
    0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
    70%  { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
.gl-hero__title {
    font-size: clamp(26px, 3.6vw, 38px);
    font-weight: 700;
    color: #0f1623;
    margin: 0 0 10px;
    letter-spacing: -0.02em;
    line-height: 1.15;
}
.gl-hero__sub {
    font-size: 15px;
    line-height: 1.55;
    color: #51607a;
    margin: 0 0 20px;
    max-width: 720px;
}
.gl-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.gl-hero__chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px 7px 14px;
    background: #fff;
    border: 1px solid rgba(15, 22, 35, 0.08);
    border-radius: 999px;
    color: #0f1623;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all .2s ease;
}
.gl-hero__chip:hover {
    border-color: #229ED9;
    color: #1a7fb0;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px -6px rgba(34, 158, 217, 0.32);
}
.gl-hero__chip-count {
    font-size: 11px;
    font-weight: 700;
    color: #8a96ad;
    background: rgba(15, 22, 35, 0.05);
    padding: 2px 8px;
    border-radius: 999px;
    transition: all .2s ease;
}
.gl-hero__chip:hover .gl-hero__chip-count {
    background: rgba(34, 158, 217, 0.14);
    color: #1a7fb0;
}

/* BODY */
.gl-body { padding: 28px 24px 64px; }

.gl-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
}
@media (min-width: 1024px) {
    .gl-grid {
        grid-template-columns: 280px 1fr;
        gap: 28px;
    }
}

/* Mobile filter toggle */
.gl-mobile-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    background: #fff;
    border: 1px solid rgba(15, 22, 35, 0.08);
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 600;
    color: #0f1623;
    cursor: pointer;
    align-self: flex-start;
    transition: all .2s ease;
}
.gl-mobile-toggle:hover {
    border-color: #229ED9;
    color: #229ED9;
}
.gl-mobile-toggle svg { color: #229ED9; }
.gl-mobile-toggle__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
    color: #fff;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}
@media (min-width: 1024px) {
    .gl-mobile-toggle { display: none; }
}

/* SIDEBAR */
.gl-sidebar {
    position: relative;
    background: #fff;
    border: 1px solid rgba(15, 22, 35, 0.08);
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 1px 2px rgba(15, 22, 35, 0.03);
}
@media (max-width: 1023px) {
    .gl-sidebar {
        position: fixed;
        inset: 0 auto 0 0;
        width: 320px;
        max-width: 88vw;
        z-index: 60;
        border-radius: 0 18px 18px 0;
        padding: 16px;
        overflow-y: auto;
        transform: translateX(-100%);
        box-shadow: 0 16px 40px rgba(15, 22, 35, 0.18);
    }
}
@media (min-width: 1024px) {
    .gl-sidebar {
        position: sticky;
        top: 88px;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
    }
}
.gl-sidebar__head {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(15, 22, 35, 0.08);
}
.gl-sidebar__head h2 {
    font-size: 15px;
    font-weight: 700;
    color: #0f1623;
    margin: 0;
}
.gl-sidebar__close {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(15, 22, 35, 0.04);
    border: none;
    color: #51607a;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.gl-sidebar__close:hover {
    background: rgba(34, 158, 217, 0.10);
    color: #229ED9;
}
@media (max-width: 1023px) {
    .gl-sidebar__head { display: flex; }
}

.gl-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.gl-field { display: flex; flex-direction: column; gap: 6px; }
.gl-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8a96ad;
}
.gl-input,
.gl-select {
    width: 100%;
    padding: 10px 13px;
    background: #fff;
    border: 1px solid rgba(15, 22, 35, 0.10);
    border-radius: 10px;
    font-size: 13.5px;
    color: #0f1623;
    font-family: inherit;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.gl-input:focus,
.gl-select:focus {
    outline: none;
    border-color: #229ED9;
    box-shadow: 0 0 0 3px rgba(34, 158, 217, 0.14);
}
.gl-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2351607a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
    background-repeat: no-repeat;
    background-position: right 11px center;
    background-size: 14px;
    padding-right: 34px;
    cursor: pointer;
}
.gl-input-wrap {
    position: relative;
}
.gl-input-ico {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: #8a96ad;
    pointer-events: none;
}
.gl-input--icon { padding-left: 36px; }

/* Segmented (sort) */
.gl-segmented {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    background: rgba(15, 22, 35, 0.04);
    padding: 4px;
    border-radius: 11px;
}
.gl-segmented__opt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 7px 8px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #51607a;
    cursor: pointer;
    transition: all .15s ease;
    white-space: nowrap;
}
.gl-segmented__opt input { display: none; }
.gl-segmented__opt:hover { color: #229ED9; }
.gl-segmented__opt.is-active {
    background: #fff;
    color: #229ED9;
    box-shadow: 0 1px 3px rgba(15, 22, 35, 0.08);
}

/* Range */
.gl-range {
    display: flex;
    align-items: center;
    gap: 8px;
}
.gl-range .gl-input { flex: 1; }
.gl-range__sep {
    color: #b8c1d1;
    font-weight: 700;
}
.gl-range__hint {
    font-size: 11px;
    color: #8a96ad;
    margin-top: 2px;
}

/* Checkboxes */
.gl-checks {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.gl-check {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    color: #51607a;
    cursor: pointer;
    user-select: none;
    transition: color .15s ease;
}
.gl-check input { display: none; }
.gl-check__mark {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    border: 1.5px solid rgba(15, 22, 35, 0.16);
    background: #fff;
    flex-shrink: 0;
    transition: all .15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.gl-check__mark::after {
    content: '';
    width: 10px;
    height: 6px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg) translateY(-1px);
    opacity: 0;
    transition: opacity .15s ease;
}
.gl-check input:checked ~ .gl-check__mark {
    background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
    border-color: transparent;
}
.gl-check input:checked ~ .gl-check__mark::after { opacity: 1; }
.gl-check:hover { color: #0f1623; }

.gl-form__actions {
    display: flex;
    gap: 8px;
    padding-top: 6px;
}
.gl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 16px;
    border-radius: 11px;
    font-size: 13.5px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all .2s ease;
    white-space: nowrap;
}
.gl-btn--primary {
    flex: 1;
    background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
    color: #fff;
    box-shadow: 0 6px 14px -3px rgba(34, 158, 217, 0.4);
}
.gl-btn--primary:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow: 0 10px 20px -6px rgba(34, 158, 217, 0.55);
}
.gl-btn--ghost {
    background: rgba(15, 22, 35, 0.04);
    color: #51607a;
    border: 1px solid rgba(15, 22, 35, 0.06);
}
.gl-btn--ghost:hover {
    background: rgba(15, 22, 35, 0.08);
    color: #0f1623;
}

/* MAIN content */
.gl-main { min-width: 0; }

.gl-active-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid rgba(34, 158, 217, 0.20);
    border-radius: 14px;
    margin-bottom: 14px;
}
.gl-active-bar__label {
    font-size: 12px;
    font-weight: 700;
    color: #1a7fb0;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.gl-active-bar__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.gl-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 8px 5px 12px;
    background: rgba(34, 158, 217, 0.10);
    color: #1a7fb0;
    border: 1px solid rgba(34, 158, 217, 0.25);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all .15s ease;
}
.gl-pill:hover {
    background: rgba(34, 158, 217, 0.18);
    color: #155e7e;
}
.gl-pill svg {
    color: currentColor;
    opacity: .65;
    transition: opacity .15s ease;
}
.gl-pill:hover svg { opacity: 1; }
.gl-pill--clear {
    background: rgba(220, 38, 38, 0.08);
    color: #b91c1c;
    border-color: rgba(220, 38, 38, 0.25);
}
.gl-pill--clear:hover {
    background: rgba(220, 38, 38, 0.14);
    color: #991b1b;
}

.gl-result-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0 4px 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(15, 22, 35, 0.06);
}
.gl-result-head__count {
    font-size: 13.5px;
    color: #51607a;
}
.gl-result-head__count strong {
    color: #0f1623;
    font-weight: 700;
    font-size: 15px;
}
.gl-result-head__hint {
    font-size: 11.5px;
    color: #8a96ad;
    margin-left: 4px;
}
.gl-result-head__sort {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.gl-result-head__sort label {
    font-size: 12px;
    font-weight: 600;
    color: #8a96ad;
}
.gl-select--compact {
    padding: 7px 28px 7px 12px;
    font-size: 12.5px;
    font-weight: 600;
}

/* Cards grid */
.gl-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
@media (min-width: 640px) {
    .gl-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
}
@media (min-width: 1024px) {
    .gl-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
}
@media (min-width: 1280px) {
    .gl-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Empty state */
.gl-empty {
    text-align: center;
    padding: 56px 24px;
    background: #fff;
    border: 1px dashed rgba(15, 22, 35, 0.12);
    border-radius: 18px;
}
.gl-empty__ico {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: rgba(34, 158, 217, 0.08);
    color: #229ED9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.gl-empty__title {
    font-size: 18px;
    font-weight: 700;
    color: #0f1623;
    margin: 0 0 6px;
}
.gl-empty__text {
    font-size: 13.5px;
    color: #51607a;
    margin: 0 0 18px;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.55;
}

/* PAGER */
.gl-pager {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 32px;
}
.gl-pager__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid rgba(15, 22, 35, 0.08);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #0f1623;
    text-decoration: none;
    transition: all .15s ease;
}
.gl-pager__btn:hover {
    border-color: #229ED9;
    color: #229ED9;
    transform: translateY(-1px);
}
.gl-pager__btn.is-active {
    background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 14px -3px rgba(34, 158, 217, 0.45);
}
.gl-pager__btn.is-active:hover { transform: translateY(-1px); }
.gl-pager__btn--nav {
    padding: 0 14px;
}
.gl-pager__gap {
    color: #b8c1d1;
    font-weight: 600;
    padding: 0 4px;
}

/* OVERLAY */
.gl-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 22, 35, 0.55);
    backdrop-filter: blur(4px);
    z-index: 55;
}

/* FAQ section */
.gl-faq-sec {
    padding: 48px 0 64px;
    background: #f7fafd;
}

/* Category-specific hero */
.gl-cat-head {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}
.gl-cat-head__ico {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    line-height: 1;
    flex-shrink: 0;
    box-shadow:
        0 12px 28px -6px rgba(34, 158, 217, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.gl-cat-head__main { flex: 1; min-width: 0; }
@media (max-width: 640px) {
    .gl-cat-head { gap: 14px; }
    .gl-cat-head__ico {
        width: 56px;
        height: 56px;
        border-radius: 16px;
        font-size: 28px;
    }
}

/* Featured groups block (kategori detay) */
.gl-featured {
    margin-bottom: 24px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.06) 0%, rgba(245, 158, 11, 0.04) 100%);
    border: 1px solid rgba(251, 191, 36, 0.22);
    border-radius: 18px;
}
.gl-featured__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.gl-featured__head h2 {
    font-size: 16px;
    font-weight: 700;
    color: #0f1623;
    margin: 0;
    letter-spacing: -0.01em;
}
.gl-featured__tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #fff;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.10em;
    box-shadow: 0 4px 12px -3px rgba(245, 158, 11, 0.45);
}

/* Mobile fine */
@media (max-width: 640px) {
    .gl-wrap { padding: 0 16px; }
    .gl-hero { padding: 24px 0 28px; }
    .gl-body { padding: 20px 16px 56px; }
    .gl-active-bar { padding: 10px 12px; }
    .gl-cards { gap: 10px; }
    .gl-featured { padding: 14px; border-radius: 14px; }
    .gl-featured__head h2 { font-size: 14.5px; }
}

/* =========================================================
   CATEGORIES INDEX (.cat-card / .cat-grid)
   ========================================================= */
.cat-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}
@media (min-width: 640px) {
    .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@media (min-width: 1024px) {
    .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1280px) {
    .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.cat-card {
    --cat-c1: #229ED9;
    --cat-c2: #1a7fb0;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 20px 20px 18px;
    background: #fff;
    border: 1px solid rgba(15, 22, 35, 0.08);
    border-radius: 18px;
    text-decoration: none;
    color: inherit;
    transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease;
    overflow: hidden;
    isolation: isolate;
}
.cat-card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--cat-c1) 18%, transparent) 0%, transparent 70%);
    z-index: -1;
    transition: transform .35s ease, opacity .25s ease;
    opacity: 0.7;
}
.cat-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--cat-c1) 35%, transparent);
    box-shadow: 0 18px 40px -16px color-mix(in srgb, var(--cat-c1) 35%, transparent);
}
.cat-card:hover::before {
    transform: scale(1.4);
    opacity: 1;
}

.cat-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}
.cat-card__ico {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--cat-c1) 0%, var(--cat-c2) 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    line-height: 1;
    box-shadow: 0 8px 18px -6px color-mix(in srgb, var(--cat-c1) 50%, transparent);
    transition: transform .25s ease;
}
.cat-card:hover .cat-card__ico {
    transform: scale(1.06) rotate(-3deg);
}
.cat-card__count {
    font-size: 11px;
    font-weight: 700;
    color: var(--cat-c2);
    background: color-mix(in srgb, var(--cat-c1) 12%, transparent);
    padding: 4px 10px;
    border-radius: 999px;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
}

.cat-card__name {
    font-size: 18px;
    font-weight: 700;
    color: #0f1623;
    margin: 0 0 6px;
    letter-spacing: -0.015em;
    line-height: 1.2;
    transition: color .2s ease;
}
.cat-card:hover .cat-card__name {
    color: var(--cat-c2);
}

.cat-card__desc {
    font-size: 13px;
    line-height: 1.55;
    color: #51607a;
    margin: 0 0 14px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cat-card__desc--empty {
    color: #8a96ad;
    font-style: italic;
}

.cat-card__bar {
    height: 4px;
    background: rgba(15, 22, 35, 0.04);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 12px;
}
.cat-card__bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--cat-c1) 0%, var(--cat-c2) 100%);
    border-radius: 999px;
    transition: width .6s cubic-bezier(.2,.8,.2,1);
}

.cat-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--cat-c1);
    letter-spacing: 0.02em;
    transition: gap .2s ease, color .2s ease;
}
.cat-card:hover .cat-card__cta {
    color: var(--cat-c2);
    gap: 8px;
}
.cat-card__cta svg {
    transition: transform .2s ease;
}
.cat-card:hover .cat-card__cta svg {
    transform: translateX(2px);
}

@media (max-width: 640px) {
    .cat-card { padding: 16px 16px 14px; border-radius: 14px; }
    .cat-card__ico { width: 42px; height: 42px; font-size: 21px; border-radius: 12px; }
    .cat-card__name { font-size: 16px; }
    .cat-card__desc { font-size: 12.5px; }
}

/* =========================================================
   HERO SEARCH BAR (used on arama.php hero)
   ========================================================= */
.gl-hero-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background: #fff;
    border: 1px solid rgba(15, 22, 35, 0.10);
    border-radius: 18px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.5) inset,
        0 18px 40px -12px rgba(15, 22, 35, 0.12),
        0 4px 12px rgba(15, 22, 35, 0.04);
    max-width: 640px;
    margin-top: 8px;
    transition: box-shadow .25s ease, border-color .25s ease;
}
.gl-hero-search:focus-within {
    border-color: rgba(34, 158, 217, 0.45);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.5) inset,
        0 22px 50px -12px rgba(15, 22, 35, 0.16),
        0 0 0 4px rgba(34, 158, 217, 0.12);
}
.gl-hero-search__ico {
    color: #51607a;
    margin-left: 10px;
    flex-shrink: 0;
}
.gl-hero-search__input {
    flex: 1;
    min-width: 0;
    padding: 12px 4px;
    background: transparent;
    border: none;
    outline: none;
    color: #0f1623;
    font-size: 15.5px;
    font-weight: 500;
    font-family: inherit;
}
.gl-hero-search__input::placeholder {
    color: #8a96ad;
    font-weight: 400;
}
.gl-hero-search__btn {
    padding: 11px 22px;
    background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: filter .18s ease, transform .15s ease, box-shadow .25s ease;
    box-shadow: 0 6px 14px -4px rgba(34, 158, 217, 0.5);
}
.gl-hero-search__btn:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow: 0 10px 22px -6px rgba(34, 158, 217, 0.6);
}
@media (max-width: 640px) {
    .gl-hero-search { padding: 6px; border-radius: 14px; }
    .gl-hero-search__input { padding: 10px 4px; font-size: 14.5px; }
    .gl-hero-search__btn { padding: 10px 16px; font-size: 13.5px; }
}

/* =========================================================
   RANDOM PAGE (rg-*) — Shuffle button + loading + info card
   ========================================================= */
.rg-shuffle-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14.5px;
    cursor: pointer;
    transition: filter .2s ease, transform .15s ease, box-shadow .25s ease;
    box-shadow: 0 8px 18px -4px rgba(34, 158, 217, 0.5);
    margin-top: 8px;
}
.rg-shuffle-btn:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow: 0 12px 26px -6px rgba(34, 158, 217, 0.6);
}
.rg-shuffle-btn:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}
.rg-shuffle-btn__ico {
    transition: transform .25s ease;
}
.rg-shuffle-btn:hover .rg-shuffle-btn__ico {
    transform: rotate(180deg);
}
.rg-shuffle-btn--loading .rg-shuffle-btn__ico {
    animation: rgSpin .9s linear infinite;
}
@keyframes rgSpin {
    to { transform: rotate(360deg); }
}

.rg-loading {
    text-align: center;
    padding: 32px 16px;
    color: #51607a;
}
.rg-loading p {
    font-size: 13.5px;
    margin: 12px 0 0;
}
.rg-loading__spinner {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid rgba(34, 158, 217, 0.18);
    border-top-color: #229ED9;
    margin: 0 auto;
    animation: rgSpin .8s linear infinite;
}

.gl-cards.rg-cards--loading {
    opacity: 0.4;
    pointer-events: none;
    transition: opacity .25s ease;
}

.rg-info {
    margin-top: 36px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 22px;
    background: linear-gradient(135deg, #fff 0%, #f3f8fd 100%);
    border: 1px solid rgba(34, 158, 217, 0.18);
    border-radius: 18px;
}
.rg-info__ico {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px -4px rgba(34, 158, 217, 0.4);
}
.rg-info__title {
    font-size: 16px;
    font-weight: 700;
    color: #0f1623;
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}
.rg-info__text {
    font-size: 13.5px;
    line-height: 1.6;
    color: #51607a;
    margin: 0;
}
@media (max-width: 640px) {
    .rg-info { padding: 16px; gap: 12px; border-radius: 14px; }
    .rg-info__ico { width: 38px; height: 38px; }
    .rg-info__title { font-size: 15px; }
    .rg-info__text { font-size: 12.5px; }
}

/* =========================================================
   AUTH PAGES (auth-*) — login / register / forgot-password
   Split layout: left brand panel (Telegram blue) + right form
   ========================================================= */
.auth-body {
    margin: 0;
    background: #f7fafd;
    min-height: 100vh;
    font-family: inherit;
    color: #0f1623;
}
.auth-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
    .auth-shell {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    }
}

/* LEFT: brand side (hidden on mobile) */
.auth-side {
    display: none;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: linear-gradient(160deg, #0f1623 0%, #1a2034 60%, #0f1623 100%);
    color: #fff;
}
@media (min-width: 1024px) {
    .auth-side { display: block; }
}
.auth-side__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}
.auth-side__glow {
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.55;
    animation: authFloat 18s ease-in-out infinite;
}
.auth-side__glow-a {
    top: -160px;
    left: -120px;
    background: radial-gradient(circle, #229ED9 0%, transparent 70%);
}
.auth-side__glow-b {
    bottom: -180px;
    right: -120px;
    background: radial-gradient(circle, #2AABEE 0%, transparent 70%);
    animation-delay: -9s;
}
@keyframes authFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(40px, 30px) scale(1.08); }
}
.auth-side__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.auth-side__inner {
    position: relative;
    height: 100%;
    padding: 44px 48px 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.auth-side__brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    transition: opacity .15s ease;
}
.auth-side__brand:hover { opacity: 0.85; }
.auth-side__brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    box-shadow: 0 8px 18px -4px rgba(34, 158, 217, 0.55);
}
.auth-side__brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.auth-side__brand-text strong {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.auth-side__brand-text small {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 2px;
    font-weight: 400;
}
.auth-side__hero { margin-top: 56px; max-width: 460px; }
.auth-side__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(34, 158, 217, 0.14);
    border: 1px solid rgba(34, 158, 217, 0.36);
    color: #b3def0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 22px;
    backdrop-filter: blur(8px);
}
.auth-side__eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 10px #22c55e;
    animation: authPulse 2s ease-in-out infinite;
}
@keyframes authPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.55; transform: scale(1.4); }
}
.auth-side__title {
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin: 0 0 14px;
}
.auth-side__title em {
    font-style: italic;
    background: linear-gradient(120deg, #2AABEE 0%, #b3def0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.auth-side__sub {
    font-size: 15px;
    line-height: 1.55;
    color: #a5b4c8;
    margin: 0 0 28px;
}
.auth-side__perks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.auth-side__perks li {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #cbd5e1;
}
.auth-side__perks-ico {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: rgba(34, 158, 217, 0.18);
    color: #2AABEE;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 700;
}
.auth-side__foot {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
}

/* RIGHT: form panel */
.auth-main {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding: 32px 20px 40px;
    min-height: 100vh;
    position: relative;
}
@media (min-width: 1024px) {
    .auth-main { padding: 40px 56px; }
}
.auth-main__back {
    position: absolute;
    top: 18px;
    left: 18px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 12px;
    background: rgba(15, 22, 35, 0.04);
    border-radius: 999px;
    color: #51607a;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s ease;
}
.auth-main__back:hover {
    background: rgba(34, 158, 217, 0.1);
    color: #1a7fb0;
}
.auth-main__back svg {
    transition: transform .15s ease;
}
.auth-main__back:hover svg {
    transform: translateX(-2px);
}

.auth-card {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
}
.auth-card__head {
    margin-bottom: 24px;
}
.auth-card__title {
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 700;
    color: #0f1623;
    margin: 0 0 6px;
    letter-spacing: -0.02em;
}
.auth-card__sub {
    font-size: 14px;
    color: #51607a;
    margin: 0;
    line-height: 1.5;
}

.auth-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 500;
    margin-bottom: 18px;
}
.auth-alert--error {
    background: rgba(220, 38, 38, 0.06);
    border: 1px solid rgba(220, 38, 38, 0.22);
    color: #b91c1c;
}
.auth-alert--success {
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.22);
    color: #047857;
}
.auth-alert svg { flex-shrink: 0; margin-top: 1px; }

.auth-oauth {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.auth-oauth__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid rgba(15, 22, 35, 0.10);
    border-radius: 12px;
    color: #0f1623;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s ease;
}
.auth-oauth__btn:hover {
    border-color: #229ED9;
    color: #1a7fb0;
    background: rgba(34, 158, 217, 0.04);
    transform: translateY(-1px);
    box-shadow: 0 6px 14px -6px rgba(34, 158, 217, 0.3);
}
.auth-oauth__btn svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 22px 0;
    color: #8a96ad;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(15, 22, 35, 0.08);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.auth-field { display: flex; flex-direction: column; gap: 6px; }
.auth-label {
    font-size: 12.5px;
    font-weight: 600;
    color: #0f1623;
}
.auth-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.auth-label-link {
    font-size: 12px;
    color: #229ED9;
    text-decoration: none;
    font-weight: 500;
    transition: color .15s ease;
}
.auth-label-link:hover { color: #1a7fb0; text-decoration: underline; }

.auth-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.auth-input-ico {
    position: absolute;
    left: 14px;
    color: #8a96ad;
    pointer-events: none;
}
.auth-input {
    width: 100%;
    padding: 12px 14px 12px 44px;
    background: #fff;
    border: 1px solid rgba(15, 22, 35, 0.10);
    border-radius: 12px;
    font-size: 14.5px;
    color: #0f1623;
    font-family: inherit;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.auth-input::placeholder {
    color: #b8c1d1;
    font-weight: 400;
}
.auth-input:focus {
    outline: none;
    border-color: #229ED9;
    box-shadow: 0 0 0 3px rgba(34, 158, 217, 0.14);
}
.auth-input-toggle {
    position: absolute;
    right: 8px;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: transparent;
    border: none;
    color: #8a96ad;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .15s ease, color .15s ease;
}
.auth-input-toggle:hover {
    background: rgba(34, 158, 217, 0.08);
    color: #229ED9;
}

.auth-hint {
    margin: 4px 0 0;
    font-size: 11.5px;
    color: #8a96ad;
}

.auth-submit {
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14.5px;
    cursor: pointer;
    transition: filter .2s ease, transform .15s ease, box-shadow .25s ease;
    box-shadow: 0 8px 18px -4px rgba(34, 158, 217, 0.5);
}
.auth-submit:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow: 0 12px 26px -6px rgba(34, 158, 217, 0.6);
}
.auth-submit:active { transform: translateY(0); }
.auth-submit svg {
    transition: transform .2s ease;
}
.auth-submit:hover svg { transform: translateX(2px); }

.auth-card__foot {
    margin-top: 24px;
    text-align: center;
    font-size: 13px;
    color: #51607a;
}
.auth-card__foot--small {
    font-size: 11.5px;
    color: #8a96ad;
    line-height: 1.5;
    margin-top: 18px;
}
.auth-card__foot-link {
    color: #229ED9;
    text-decoration: none;
    font-weight: 600;
    margin-left: 4px;
    transition: color .15s ease;
}
.auth-card__foot-link:hover { color: #1a7fb0; text-decoration: underline; }

@media (max-width: 640px) {
    .auth-main { padding: 64px 18px 32px; }
    .auth-main__back { top: 14px; left: 14px; }
    .auth-card__title { font-size: 22px; }
    .auth-card__sub { font-size: 13px; }
    .auth-input { font-size: 14px; padding: 11px 12px 11px 40px; }
    .auth-input-ico { left: 12px; }
    .auth-submit { padding: 12px 18px; font-size: 14px; }
}

/* =========================================================
   GRUP EKLE PAGE (ge-*)
   ========================================================= */
.ge-page {
    background: #f7fafd;
    min-height: 100vh;
}

.ge-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: linear-gradient(160deg, #0f1623 0%, #1a2034 60%, #0f1623 100%);
    color: #fff;
    padding: 56px 0 64px;
}
.ge-hero__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}
.ge-hero__glow {
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.55;
    animation: authFloat 18s ease-in-out infinite;
}
.ge-hero__glow-a { top: -150px; left: -110px; background: radial-gradient(circle, #229ED9 0%, transparent 70%); }
.ge-hero__glow-b { bottom: -170px; right: -110px; background: radial-gradient(circle, #2AABEE 0%, transparent 70%); animation-delay: -9s; }
.ge-hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

.ge-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(34, 197, 94, 0.18);
    border: 1px solid rgba(34, 197, 94, 0.36);
    color: #86efac;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.ge-hero__eyebrow svg { color: #86efac; }
.ge-hero__title {
    font-size: clamp(28px, 4.4vw, 44px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin: 0 0 14px;
}
.ge-hero__title em {
    font-style: italic;
    background: linear-gradient(120deg, #2AABEE 0%, #b3def0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.ge-hero__sub {
    font-size: 15px;
    line-height: 1.6;
    color: #a5b4c8;
    margin: 0 0 28px;
    max-width: 620px;
}

.ge-stepper {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    counter-reset: step;
}
.ge-stepper__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px 7px 7px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    transition: all .25s ease;
}
.ge-stepper__item.is-active {
    background: rgba(34, 158, 217, 0.18);
    border-color: rgba(34, 158, 217, 0.45);
    color: #fff;
}
.ge-stepper__num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.65);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}
.ge-stepper__item.is-active .ge-stepper__num {
    background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
    color: #fff;
    box-shadow: 0 4px 10px -2px rgba(34, 158, 217, 0.55);
}

/* BODY */
.ge-body {
    padding: 28px 24px 64px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 760px;
}

.ge-card {
    background: #fff;
    border: 1px solid rgba(15, 22, 35, 0.08);
    border-radius: 18px;
    padding: 22px 24px 24px;
    box-shadow: 0 1px 2px rgba(15, 22, 35, 0.03);
}
.ge-card__head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(15, 22, 35, 0.06);
}
.ge-card__head-num {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px -2px rgba(34, 158, 217, 0.45);
}
.ge-card__head-num--success {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    box-shadow: 0 4px 10px -2px rgba(16, 185, 129, 0.45);
}
.ge-card__head-num--warn {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    box-shadow: 0 4px 10px -2px rgba(245, 158, 11, 0.45);
}
.ge-card__title {
    font-size: 18px;
    font-weight: 700;
    color: #0f1623;
    margin: 0 0 4px;
    letter-spacing: -0.01em;
}
.ge-card__sub {
    font-size: 13px;
    color: #51607a;
    margin: 0;
    line-height: 1.5;
}

.ge-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.ge-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ge-label {
    font-size: 13px;
    font-weight: 600;
    color: #0f1623;
}
.ge-label-req { color: #ef4444; }

.ge-input-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.ge-input-wrap {
    position: relative;
    flex: 1;
    min-width: 220px;
}
.ge-input-ico {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #229ED9;
    pointer-events: none;
}
.ge-input,
.ge-select {
    width: 100%;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid rgba(15, 22, 35, 0.10);
    border-radius: 12px;
    font-size: 14.5px;
    color: #0f1623;
    font-family: inherit;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.ge-input { padding-left: 44px; }
.ge-input::placeholder { color: #b8c1d1; font-weight: 400; }
.ge-input:focus,
.ge-select:focus {
    outline: none;
    border-color: #229ED9;
    box-shadow: 0 0 0 3px rgba(34, 158, 217, 0.14);
}
.ge-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2351607a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px;
    padding-right: 40px;
    cursor: pointer;
}

.ge-hint {
    font-size: 12px;
    color: #8a96ad;
    margin: 4px 0 0;
    line-height: 1.5;
}
.ge-hint code {
    background: rgba(34, 158, 217, 0.10);
    color: #1a7fb0;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.92em;
    font-family: ui-monospace, SFMono-Regular, monospace;
}

.ge-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    transition: all .2s ease;
    white-space: nowrap;
}
.ge-btn--primary {
    background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
    color: #fff;
    box-shadow: 0 6px 14px -3px rgba(34, 158, 217, 0.45);
}
.ge-btn--primary:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow: 0 10px 22px -6px rgba(34, 158, 217, 0.55);
}
.ge-btn--ghost {
    background: rgba(15, 22, 35, 0.04);
    color: #0f1623;
    border: 1px solid rgba(15, 22, 35, 0.10);
}
.ge-btn--ghost:hover {
    border-color: #229ED9;
    color: #1a7fb0;
    background: rgba(34, 158, 217, 0.06);
}
.ge-btn--xl {
    padding: 14px 24px;
    font-size: 15px;
    width: 100%;
}
.ge-btn--locked {
    opacity: 0.48;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none !important;
    transform: none !important;
}

.ge-loading {
    text-align: center;
    padding: 28px 16px 16px;
    color: #51607a;
}
.ge-loading p {
    font-size: 13px;
    margin: 12px 0 0;
}
.ge-loading__spinner {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid rgba(34, 158, 217, 0.18);
    border-top-color: #229ED9;
    margin: 0 auto;
    animation: rgSpin .8s linear infinite;
}

.ge-error {
    margin-top: 14px;
    padding: 12px 14px;
    background: rgba(220, 38, 38, 0.06);
    border: 1px solid rgba(220, 38, 38, 0.22);
    border-radius: 12px;
    color: #b91c1c;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 500;
}

/* PREVIEW card */
.ge-card--preview {
    border-color: rgba(16, 185, 129, 0.24);
}
.ge-preview {
    display: flex;
    gap: 16px;
    padding: 18px;
    background: linear-gradient(135deg, #f3f8fd 0%, #eef5fb 100%);
    border: 1px solid rgba(34, 158, 217, 0.18);
    border-radius: 14px;
    margin-bottom: 18px;
}
.ge-preview__photo {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
    color: rgba(255, 255, 255, 0.7);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 6px 14px -4px rgba(34, 158, 217, 0.4);
}
.ge-preview__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ge-preview__body { flex: 1; min-width: 0; }
.ge-preview__title {
    font-size: 17px;
    font-weight: 700;
    color: #0f1623;
    margin: 0 0 6px;
    letter-spacing: -0.01em;
    word-break: break-word;
}
.ge-preview__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 12.5px;
}
.ge-preview__handle {
    color: #1a7fb0;
    font-weight: 600;
}
.ge-preview__type {
    padding: 2px 9px;
    background: rgba(34, 158, 217, 0.10);
    color: #1a7fb0;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.ge-preview__members {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #51607a;
    font-weight: 500;
}
.ge-preview__members span {
    color: #0f1623;
    font-weight: 700;
}
.ge-preview__desc {
    font-size: 13px;
    line-height: 1.55;
    color: #51607a;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* DISCLAIMER checkbox */
.ge-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: #f7fafd;
    border: 1px solid rgba(15, 22, 35, 0.06);
    border-radius: 12px;
    cursor: pointer;
    margin-bottom: 16px;
    user-select: none;
}
.ge-disclaimer input[type="checkbox"] {
    display: none;
}
.ge-disclaimer__mark {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 1.5px solid rgba(15, 22, 35, 0.18);
    background: #fff;
    flex-shrink: 0;
    margin-top: 1px;
    transition: all .15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.ge-disclaimer__mark::after {
    content: '';
    width: 10px;
    height: 6px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg) translateY(-1px);
    opacity: 0;
    transition: opacity .15s ease;
}
.ge-disclaimer input:checked ~ .ge-disclaimer__mark {
    background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
    border-color: transparent;
}
.ge-disclaimer input:checked ~ .ge-disclaimer__mark::after { opacity: 1; }
.ge-disclaimer__text {
    font-size: 12.5px;
    line-height: 1.6;
    color: #51607a;
}
.ge-disclaimer__text strong { color: #0f1623; }
.ge-disclaimer__text a {
    color: #229ED9;
    text-decoration: none;
    font-weight: 600;
}
.ge-disclaimer__text a:hover { color: #1a7fb0; text-decoration: underline; }

.ge-cta-area {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ge-auth-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(251, 191, 36, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.32);
    border-radius: 12px;
    font-size: 12.5px;
    line-height: 1.5;
    color: #92400e;
}
.ge-auth-notice svg {
    flex-shrink: 0;
    margin-top: 1px;
    color: #f59e0b;
}
.ge-auth-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}
@media (min-width: 480px) {
    .ge-auth-grid { grid-template-columns: 1fr 1fr; }
}
.ge-link-btn {
    background: none;
    border: none;
    color: #51607a;
    font-size: 12.5px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 0;
    transition: color .15s ease;
}
.ge-link-btn:hover { color: #229ED9; }

/* TRUST strip */
.ge-trust {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 8px;
}
@media (min-width: 768px) {
    .ge-trust { grid-template-columns: repeat(3, 1fr); }
}
.ge-trust__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid rgba(15, 22, 35, 0.06);
    border-radius: 14px;
    transition: border-color .2s ease, transform .2s ease;
}
.ge-trust__item:hover {
    border-color: rgba(34, 158, 217, 0.32);
    transform: translateY(-2px);
}
.ge-trust__ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: rgba(34, 158, 217, 0.10);
    color: #229ED9;
    margin-bottom: 6px;
}
.ge-trust__item strong {
    font-size: 14px;
    color: #0f1623;
    font-weight: 700;
}
.ge-trust__item span {
    font-size: 12px;
    color: #8a96ad;
}

@media (max-width: 640px) {
    .ge-hero { padding: 36px 0 44px; }
    .ge-card { padding: 18px 18px 20px; border-radius: 14px; }
    .ge-card__head { gap: 12px; }
    .ge-card__head-num { width: 32px; height: 32px; font-size: 14px; }
    .ge-card__title { font-size: 16px; }
    .ge-input-row { flex-direction: column; }
    .ge-preview__photo { width: 64px; height: 64px; border-radius: 14px; }
    .ge-preview__title { font-size: 15.5px; }
    .ge-trust__item { padding: 14px 16px; }
}

/* =========================================================
   BLOG CARD (.bc) — modern listing card with cover image
   ========================================================= */
.bc {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(15, 22, 35, 0.08);
    border-radius: 18px;
    overflow: hidden;
    transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, border-color .3s ease;
    isolation: isolate;
}
.bc::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: linear-gradient(135deg, #229ED9 0%, #2AABEE 50%, transparent 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity .3s ease;
    z-index: 3;
    pointer-events: none;
}
.bc:hover {
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: 0 18px 40px -16px rgba(34, 158, 217, 0.32);
}
.bc:hover::before { opacity: 1; }

.bc__media {
    display: block;
    position: relative;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #e8f4fb 0%, #cfe1f2 100%);
    overflow: hidden;
    text-decoration: none;
}
.bc__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .65s cubic-bezier(.2,.8,.2,1);
}
.bc:hover .bc__media img { transform: scale(1.06); }
.bc__media-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #229ED9;
    opacity: 0.5;
}
.bc__featured {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px 4px 8px;
    background: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);
    color: #fff;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    box-shadow: 0 4px 12px -2px rgba(245, 158, 11, 0.5);
}

.bc__body {
    padding: 16px 18px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
}
.bc__cat {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: rgba(34, 158, 217, 0.08);
    color: #1a7fb0;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 600;
    text-decoration: none;
    width: fit-content;
    transition: all .15s ease;
}
.bc__cat:hover {
    background: rgba(34, 158, 217, 0.18);
    color: #155e7e;
}
.bc__cat-ico { font-size: 13px; line-height: 1; }
.bc__title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    color: #0f1623;
    margin: 0;
    letter-spacing: -0.015em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.bc__title a {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease;
}
.bc:hover .bc__title a { color: #1a7fb0; }
.bc__excerpt {
    font-size: 13.5px;
    line-height: 1.55;
    color: #51607a;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.bc__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid rgba(15, 22, 35, 0.05);
}
.bc__meta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.bc__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11.5px;
    color: #8a96ad;
    font-weight: 500;
}
.bc__meta-item svg { opacity: 0.7; }
.bc__cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
    color: #229ED9;
    text-decoration: none;
    transition: gap .2s ease, color .2s ease;
}
.bc:hover .bc__cta {
    gap: 8px;
    color: #1a7fb0;
}

@media (max-width: 640px) {
    .bc__body { padding: 14px 14px 14px; }
    .bc__title { font-size: 14.5px; }
    .bc__excerpt { font-size: 12.5px; }
}

/* =========================================================
   BLOG INDEX PAGE (.bl-*)
   ========================================================= */
.bl-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}
.bl-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 13px 7px 12px;
    background: #fff;
    border: 1px solid rgba(15, 22, 35, 0.08);
    border-radius: 999px;
    color: #0f1623;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all .2s ease;
}
.bl-chip:hover {
    border-color: #229ED9;
    color: #1a7fb0;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px -6px rgba(34, 158, 217, 0.32);
}
.bl-chip.is-active {
    background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 14px -3px rgba(34, 158, 217, 0.45);
}
.bl-chip__ico {
    font-size: 14px;
    line-height: 1;
}
.bl-chip__count {
    font-size: 11px;
    font-weight: 700;
    color: #8a96ad;
    background: rgba(15, 22, 35, 0.05);
    padding: 2px 7px;
    border-radius: 999px;
    line-height: 1.4;
}
.bl-chip.is-active .bl-chip__count {
    background: rgba(255, 255, 255, 0.20);
    color: #fff;
}

.bl-section {
    margin-bottom: 40px;
}
.bl-section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.bl-section__title {
    font-size: 22px;
    font-weight: 700;
    color: #0f1623;
    margin: 0;
    letter-spacing: -0.02em;
}
.bl-section__tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #fff;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.10em;
    margin-right: auto;
}
.bl-section__count {
    font-size: 13px;
    color: #8a96ad;
    font-weight: 500;
}
.bl-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 640px) {
    .bl-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (min-width: 1024px) {
    .bl-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

@media (max-width: 640px) {
    .bl-section { margin-bottom: 28px; }
    .bl-section__title { font-size: 18px; }
    .bl-grid { gap: 14px; }
}

/* =========================================================
   BLOG POST DETAIL (.bp-*)
   ========================================================= */
.bp-page {
    background: #fff;
}
.bp-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 56px 0 48px;
    color: #0f1623;
}
.bp-hero--image {
    color: #fff;
    padding: 96px 0 64px;
    min-height: 420px;
}
.bp-hero__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}
.bp-hero--image .bp-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: blur(2px) saturate(1.1);
    transform: scale(1.05);
}
.bp-hero__scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(15, 22, 35, 0.35) 0%, rgba(15, 22, 35, 0.55) 50%, rgba(15, 22, 35, 0.85) 100%),
        radial-gradient(ellipse at 18% 12%, rgba(34, 158, 217, 0.32) 0%, transparent 55%);
}
.bp-hero__glow {
    position: absolute;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.32;
}
.bp-hero__glow-a { top: -120px; left: -100px; background: radial-gradient(circle, #229ED9 0%, transparent 70%); }
.bp-hero__glow-b { bottom: -160px; right: -100px; background: radial-gradient(circle, #2AABEE 0%, transparent 70%); }
.bp-hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(34, 158, 217, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 158, 217, 0.05) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    opacity: 0.6;
}
.bp-hero__inner {
    max-width: 880px;
    margin: 0 auto;
}

.bp-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 12px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.55);
}
.bp-hero:not(.bp-hero--image) .bp-breadcrumb {
    color: #8a96ad;
}
.bp-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}
.bp-hero:not(.bp-hero--image) .bp-breadcrumb a {
    color: #51607a;
}
.bp-breadcrumb a:hover {
    color: #fff;
}
.bp-hero:not(.bp-hero--image) .bp-breadcrumb a:hover {
    color: #229ED9;
}
.bp-breadcrumb span {
    color: rgba(255, 255, 255, 0.4);
    font-size: 10px;
}
.bp-hero:not(.bp-hero--image) .bp-breadcrumb span {
    color: #b8c1d1;
}

.bp-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px 5px 10px;
    background: rgba(34, 158, 217, 0.18);
    border: 1px solid rgba(34, 158, 217, 0.32);
    color: #b3def0;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 16px;
    backdrop-filter: blur(8px);
    transition: all .15s ease;
}
.bp-hero:not(.bp-hero--image) .bp-cat-pill {
    background: rgba(34, 158, 217, 0.10);
    color: #1a7fb0;
}
.bp-cat-pill:hover {
    background: rgba(34, 158, 217, 0.30);
    color: #fff;
}
.bp-cat-pill__ico { font-size: 13px; line-height: 1; }

.bp-hero__title {
    font-size: clamp(28px, 4.4vw, 44px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin: 0 0 14px;
}
.bp-hero__excerpt {
    font-size: clamp(15px, 1.4vw, 18px);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.78);
    margin: 0 0 26px;
    max-width: 720px;
    font-weight: 400;
}
.bp-hero:not(.bp-hero--image) .bp-hero__excerpt {
    color: #51607a;
}

.bp-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 24px;
}
.bp-meta__author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.bp-meta__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 17px;
    box-shadow: 0 6px 14px -4px rgba(34, 158, 217, 0.45);
}
.bp-meta__name {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.95);
}
.bp-hero:not(.bp-hero--image) .bp-meta__name {
    color: #0f1623;
}
.bp-meta__date {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 2px;
    display: block;
}
.bp-hero:not(.bp-hero--image) .bp-meta__date {
    color: #8a96ad;
}
.bp-meta__inline {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}
.bp-hero:not(.bp-hero--image) .bp-meta__inline {
    color: #51607a;
}

/* BODY */
.bp-body {
    padding: 48px 24px 64px;
    max-width: 880px;
    margin: 0 auto;
}
.bp-article {
    max-width: 720px;
    margin: 0 auto;
}
.bp-content {
    font-size: 16px;
    line-height: 1.75;
    color: #1f2937;
}
.bp-content h1,
.bp-content h2,
.bp-content h3 {
    font-weight: 700;
    color: #0f1623;
    letter-spacing: -0.015em;
    margin: 1.6em 0 0.6em;
    line-height: 1.25;
}
.bp-content h2 { font-size: 1.5em; }
.bp-content h3 { font-size: 1.25em; }
.bp-content p { margin: 0 0 1.1em; }
.bp-content a {
    color: #229ED9;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color .15s ease;
}
.bp-content a:hover { color: #1a7fb0; }
.bp-content ul, .bp-content ol {
    margin: 0 0 1.2em;
    padding-left: 1.5em;
}
.bp-content li { margin: 0 0 .5em; }
.bp-content img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    margin: 1.5em 0;
    box-shadow: 0 14px 32px -12px rgba(15, 22, 35, 0.18);
}
.bp-content blockquote {
    margin: 1.6em 0;
    padding: 14px 20px;
    border-left: 4px solid #229ED9;
    background: rgba(34, 158, 217, 0.06);
    border-radius: 0 12px 12px 0;
    color: #51607a;
    font-style: italic;
}
.bp-content code {
    background: rgba(15, 22, 35, 0.06);
    color: #1a7fb0;
    padding: 2px 7px;
    border-radius: 5px;
    font-size: 0.9em;
    font-family: ui-monospace, SFMono-Regular, monospace;
}
.bp-content pre {
    background: #0f1623;
    color: #e8f4fb;
    padding: 16px 18px;
    border-radius: 12px;
    overflow-x: auto;
    margin: 1.4em 0;
    font-size: 13.5px;
    line-height: 1.55;
}
.bp-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

/* SHARE */
.bp-share {
    margin-top: 40px;
    padding: 20px 22px;
    background: linear-gradient(135deg, #f7fafd 0%, #eef5fb 100%);
    border: 1px solid rgba(34, 158, 217, 0.18);
    border-radius: 16px;
}
.bp-share__head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #0f1623;
    font-size: 14px;
}
.bp-share__head svg { color: #229ED9; }
.bp-share__btns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.bp-share__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(15, 22, 35, 0.10);
    color: #51607a;
    text-decoration: none;
    cursor: pointer;
    transition: all .2s ease;
}
.bp-share__btn:hover {
    transform: translateY(-2px);
    color: #fff;
    border-color: transparent;
}
.bp-share__btn--x:hover { background: #0f1623; }
.bp-share__btn--fb:hover { background: #1877f2; }
.bp-share__btn--in:hover { background: #0a66c2; }
.bp-share__btn--wa:hover { background: #25d366; }
.bp-share__btn--copy:hover { background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%); }
.bp-share__btn.is-copied {
    background: #10b981 !important;
    color: #fff;
    border-color: transparent;
}

/* RELATED */
.bp-related {
    margin-top: 64px;
    padding-top: 40px;
    border-top: 1px solid rgba(15, 22, 35, 0.08);
}

@media (max-width: 640px) {
    .bp-hero { padding: 36px 0 32px; }
    .bp-hero--image { padding: 64px 0 44px; min-height: 320px; }
    .bp-body { padding: 32px 16px 48px; }
    .bp-content { font-size: 15px; }
    .bp-meta { gap: 16px; }
    .bp-meta__avatar { width: 38px; height: 38px; font-size: 15px; }
    .bp-share { padding: 16px; }
}

/* =========================================================
   CATEGORY PAGE SEO INTRO BLOCK (.gd-seo-intro)
   Adds rich SEO content above the listing on page 1.
   ========================================================= */
.gd-seo-intro {
    padding: 36px 0 8px;
    background: #fff;
    border-bottom: 1px solid rgba(15, 22, 35, 0.06);
}
.gd-seo-intro__lead {
    font-size: 16px;
    line-height: 1.7;
    color: #1f2937;
    max-width: 880px;
    margin: 0 auto 28px;
}
.gd-seo-intro__lead strong {
    color: #0f1623;
    font-weight: 700;
}
.gd-seo-intro__sections {
    max-width: 880px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.gd-seo-intro__sec {
    background: #fff;
    padding: 0;
}
.gd-seo-intro__sec h2 {
    font-size: 20px;
    font-weight: 700;
    color: #0f1623;
    margin: 0 0 12px;
    letter-spacing: -0.015em;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 10px;
}
.gd-seo-intro__sec h2::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 22px;
    border-radius: 2px;
    background: linear-gradient(180deg, #2AABEE 0%, #229ED9 100%);
    flex-shrink: 0;
}
.gd-seo-intro__sec div {
    font-size: 14.5px;
    line-height: 1.7;
    color: #51607a;
}
.gd-seo-intro__sec strong {
    color: #0f1623;
    font-weight: 600;
}
.gd-seo-intro__sec a {
    color: #229ED9;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dashed rgba(34, 158, 217, 0.4);
    transition: border-color .15s ease, color .15s ease;
}
.gd-seo-intro__sec a:hover {
    color: #1a7fb0;
    border-bottom-color: #1a7fb0;
}
.gd-seo-intro__sec em {
    color: #1a7fb0;
    font-style: italic;
    font-weight: 500;
}
.gd-seo-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.gd-seo-list li {
    position: relative;
    padding: 8px 14px 8px 36px;
    background: rgba(34, 158, 217, 0.04);
    border-left: 3px solid #229ED9;
    border-radius: 0 8px 8px 0;
    font-size: 14px;
    line-height: 1.55;
    color: #1f2937;
}
.gd-seo-list li::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 14px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
    box-shadow: 0 2px 5px -1px rgba(34, 158, 217, 0.4);
}

@media (max-width: 640px) {
    .gd-seo-intro { padding: 28px 0 4px; }
    .gd-seo-intro__lead { font-size: 14.5px; margin-bottom: 22px; }
    .gd-seo-intro__sec h2 { font-size: 17px; }
    .gd-seo-intro__sec div { font-size: 13.5px; }
    .gd-seo-list li { font-size: 13px; padding: 7px 12px 7px 32px; }
    .gd-seo-list li::before { left: 12px; top: 11px; width: 12px; height: 12px; }
}

/* =========================================================
   LEGAL/SÖZLEŞME PAGES (lg-*) — sticky TOC + article layout
   ========================================================= */
.lg-page {
    background: #fff;
    min-height: 100vh;
}

.lg-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: linear-gradient(180deg, #f7fafd 0%, #eef5fb 100%);
    padding: 32px 0 36px;
    border-bottom: 1px solid rgba(15, 22, 35, 0.06);
}
.lg-hero__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}
.lg-hero__updated {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: #51607a;
    margin: 14px 0 0;
    background: #fff;
    padding: 6px 12px 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(15, 22, 35, 0.08);
}
.lg-hero__updated svg {
    color: #229ED9;
}
.lg-hero__updated strong {
    color: #0f1623;
    font-weight: 600;
}

/* BODY: 2-col on desktop */
.lg-body {
    padding: 36px 24px 64px;
}
.lg-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
}
@media (min-width: 1024px) {
    .lg-grid {
        grid-template-columns: 240px 1fr;
        gap: 48px;
    }
}

/* Sticky TOC */
.lg-toc {
    background: #fff;
    border: 1px solid rgba(15, 22, 35, 0.08);
    border-radius: 16px;
    padding: 18px 18px 14px;
    box-shadow: 0 1px 2px rgba(15, 22, 35, 0.03);
}
@media (min-width: 1024px) {
    .lg-toc {
        position: sticky;
        top: 88px;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
    }
}
.lg-toc__title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    color: #8a96ad;
    margin: 0 0 10px;
}
.lg-toc__list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: toc;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.lg-toc__list li {
    counter-increment: toc;
}
.lg-toc__list a {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    color: #51607a;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    transition: all .15s ease;
}
.lg-toc__list a::before {
    content: counter(toc, decimal);
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: rgba(15, 22, 35, 0.04);
    color: #8a96ad;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    transition: all .15s ease;
}
.lg-toc__list a:hover {
    background: rgba(34, 158, 217, 0.06);
    color: #1a7fb0;
}
.lg-toc__list a:hover::before {
    background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
    color: #fff;
}

/* Article */
.lg-article {
    max-width: 760px;
    min-width: 0;
}
.lg-lead {
    font-size: 16px;
    line-height: 1.7;
    color: #1f2937;
    margin: 0 0 32px;
    padding: 18px 22px;
    background: linear-gradient(135deg, rgba(34, 158, 217, 0.04) 0%, rgba(42, 171, 238, 0.02) 100%);
    border: 1px solid rgba(34, 158, 217, 0.16);
    border-radius: 14px;
}
.lg-lead p {
    margin: 0;
}
.lg-lead p + p {
    margin-top: 10px;
}

.lg-section {
    margin-bottom: 36px;
    scroll-margin-top: 80px;
}
.lg-section h2 {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: #0f1623;
    margin: 0 0 14px;
    letter-spacing: -0.015em;
    line-height: 1.3;
}
.lg-section__num {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 4px 10px -3px rgba(34, 158, 217, 0.45);
    margin-top: 1px;
}
.lg-section__body {
    font-size: 14.5px;
    line-height: 1.7;
    color: #51607a;
    padding-left: 42px;
}
.lg-section__body p {
    margin: 0 0 12px;
}
.lg-section__body strong {
    color: #0f1623;
    font-weight: 600;
}
.lg-section__body ul,
.lg-section__body ol {
    padding-left: 20px;
    margin: 12px 0;
}
.lg-section__body ul li,
.lg-section__body ol li {
    margin-bottom: 6px;
}
.lg-section__body a {
    color: #229ED9;
    text-decoration: none;
    border-bottom: 1px dashed rgba(34, 158, 217, 0.4);
    transition: border-color .15s ease, color .15s ease;
}
.lg-section__body a:hover {
    color: #1a7fb0;
    border-bottom-color: #1a7fb0;
}
.lg-section__body code {
    background: rgba(15, 22, 35, 0.06);
    color: #1a7fb0;
    padding: 2px 7px;
    border-radius: 5px;
    font-size: 0.9em;
    font-family: ui-monospace, SFMono-Regular, monospace;
}

/* Contact box */
.lg-contact-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 40px;
    padding: 20px 22px;
    background: linear-gradient(135deg, #f7fafd 0%, #eef5fb 100%);
    border: 1px solid rgba(34, 158, 217, 0.18);
    border-radius: 16px;
}
.lg-contact-box__ico {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px -3px rgba(34, 158, 217, 0.4);
}
.lg-contact-box h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0f1623;
    margin: 0 0 4px;
}
.lg-contact-box p {
    font-size: 13.5px;
    color: #51607a;
    margin: 0 0 12px;
    line-height: 1.5;
}
.lg-contact-box__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #fff;
    border: 1px solid rgba(34, 158, 217, 0.3);
    border-radius: 10px;
    color: #229ED9;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s ease;
}
.lg-contact-box__btn:hover {
    background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 14px -3px rgba(34, 158, 217, 0.4);
}
.lg-contact-box__btn svg {
    transition: transform .2s ease;
}
.lg-contact-box__btn:hover svg {
    transform: translateX(2px);
}

/* Related */
.lg-related {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(15, 22, 35, 0.06);
}
.lg-related__title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    color: #8a96ad;
    margin: 0 0 12px;
}
.lg-related__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

@media (max-width: 640px) {
    .lg-hero { padding: 24px 0 28px; }
    .lg-body { padding: 24px 16px 48px; }
    .lg-section h2 { font-size: 17px; }
    .lg-section__num { width: 26px; height: 26px; font-size: 12px; }
    .lg-section__body { padding-left: 0; font-size: 13.5px; }
    .lg-lead { font-size: 14.5px; padding: 16px; }
    .lg-contact-box { flex-direction: column; gap: 12px; padding: 16px; }
}

/* =========================================================
   ERROR PAGES (er-*) — 404, 500
   ========================================================= */
.er-page {
    min-height: 100vh;
    background: linear-gradient(180deg, #ffffff 0%, #f3f8fd 100%);
    display: flex;
    flex-direction: column;
    isolation: isolate;
    position: relative;
    overflow: hidden;
}
.er-page::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        radial-gradient(ellipse at 20% 30%, rgba(34, 158, 217, 0.10) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 70%, rgba(42, 171, 238, 0.08) 0%, transparent 55%);
    pointer-events: none;
}

.er-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 64px 24px;
    text-align: center;
}
.er-code {
    font-size: clamp(80px, 14vw, 180px);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.05em;
    background: linear-gradient(120deg, #2AABEE 0%, #229ED9 50%, #1a7fb0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 0 8px;
}
.er-emoji {
    font-size: 72px;
    line-height: 1;
    margin-bottom: 16px;
    animation: erEmojiBounce 2.4s ease-in-out infinite;
}
@keyframes erEmojiBounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25%      { transform: translateY(-12px) rotate(-6deg); }
    75%      { transform: translateY(-6px) rotate(6deg); }
}
.er-title {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 700;
    color: #0f1623;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}
.er-text {
    font-size: 16px;
    line-height: 1.6;
    color: #51607a;
    margin: 0 0 32px;
    max-width: 520px;
}
.er-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}
.er-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s ease;
}
.er-btn--primary {
    background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
    color: #fff;
    box-shadow: 0 8px 18px -4px rgba(34, 158, 217, 0.5);
}
.er-btn--primary:hover {
    filter: brightness(1.06);
    transform: translateY(-2px);
    box-shadow: 0 12px 26px -6px rgba(34, 158, 217, 0.6);
}
.er-btn--ghost {
    background: #fff;
    color: #0f1623;
    border: 1px solid rgba(15, 22, 35, 0.10);
}
.er-btn--ghost:hover {
    border-color: #229ED9;
    color: #229ED9;
    transform: translateY(-2px);
}

.er-suggestions {
    width: 100%;
    max-width: 720px;
    margin-top: 8px;
}
.er-suggestions__title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    color: #8a96ad;
    margin: 0 0 14px;
}
.er-suggestions__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
@media (min-width: 640px) {
    .er-suggestions__grid {
        grid-template-columns: 1fr 1fr;
    }
}
.er-sug-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid rgba(15, 22, 35, 0.08);
    border-radius: 14px;
    text-decoration: none;
    transition: all .2s ease;
    text-align: left;
}
.er-sug-card:hover {
    border-color: #229ED9;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px -8px rgba(34, 158, 217, 0.32);
}
.er-sug-card__ico {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: rgba(34, 158, 217, 0.10);
    color: #229ED9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
}
.er-sug-card:hover .er-sug-card__ico {
    background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
    color: #fff;
}
.er-sug-card__body {
    flex: 1;
    min-width: 0;
}
.er-sug-card__title {
    font-size: 14px;
    font-weight: 600;
    color: #0f1623;
    line-height: 1.3;
    margin: 0 0 2px;
}
.er-sug-card__desc {
    font-size: 12px;
    color: #8a96ad;
    line-height: 1.4;
    margin: 0;
}
.er-sug-card__arrow {
    color: #b8c1d1;
    flex-shrink: 0;
    transition: transform .2s ease, color .2s ease;
}
.er-sug-card:hover .er-sug-card__arrow {
    color: #229ED9;
    transform: translateX(2px);
}

/* Search box on 404 */
.er-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px;
    max-width: 480px;
    width: 100%;
    margin: 24px auto 0;
    background: #fff;
    border: 1px solid rgba(15, 22, 35, 0.10);
    border-radius: 14px;
    box-shadow: 0 8px 18px -8px rgba(15, 22, 35, 0.10);
}
.er-search:focus-within {
    border-color: #229ED9;
    box-shadow: 0 0 0 3px rgba(34, 158, 217, 0.14);
}
.er-search__ico {
    color: #8a96ad;
    margin-left: 8px;
    flex-shrink: 0;
}
.er-search__input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 8px 4px;
    font-size: 14.5px;
    color: #0f1623;
    font-family: inherit;
    min-width: 0;
}
.er-search__input::placeholder {
    color: #b8c1d1;
}
.er-search__btn {
    padding: 9px 18px;
    background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13.5px;
    cursor: pointer;
    transition: filter .15s ease;
}
.er-search__btn:hover {
    filter: brightness(1.06);
}

