/* ==========================================================================
   3OranYeter - Mobile-First Responsive Design System (mobile.css)
   ========================================================================== */

:root {
    --bg-dark: #090c10;
    --card-bg: rgba(16, 22, 32, 0.9);
    --glass-border: rgba(255, 255, 255, 0.12);
    --accent-gold: #ffb703;
    --accent-neon: #00f0ff;
    --accent-green: #00e676;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.75);
    --dock-height: 62px;
    --radius-card: 18px;
}

/* Global Reset for Mobile Stability */
html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(at 10% 10%, rgba(0, 169, 64, 0.12) 0px, transparent 40%),
        radial-gradient(at 90% 90%, rgba(0, 240, 255, 0.1) 0px, transparent 40%);
    background-attachment: fixed;
    font-family: 'Rajdhani', 'Segoe UI', Tahoma, sans-serif;
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: border-box;
}

#app-v-page {
    width: 480px !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    min-height: 100vh !important;
    background: #090c10 !important;
    position: relative !important;
    padding-bottom: 30px !important;
    box-sizing: border-box !important;
}

/* Container & Grid Enforcements (9:16 Mobile View) */
.container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 14px !important;
    box-sizing: border-box !important;
}

.row {
    width: 100% !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    box-sizing: border-box !important;
}

.col {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* ==========================================================================
   PERFECT CENTERED MOBILE HEADER & SOCIAL BUTTONS (IMAGE 1 & 2)
   ========================================================================== */
header {
    height: 72px;
    background: rgba(14, 18, 26, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1000;
    width: 100%;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    padding: 0 14px;
    position: relative;
    box-sizing: border-box;
}

/* Left Social Area: Instagram Large Horizontal Pill Button */
header .social {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    justify-content: flex-start;
}

header .social .instagram-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(145deg, #420e29 0%, #260817 100%);
    border: 2px solid #e1306c;
    padding: 7px 18px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 0 14px rgba(225, 48, 108, 0.45);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
}

header .social .instagram-pill-btn:active {
    transform: scale(0.94);
}

header .social .instagram-pill-btn svg {
    width: 18px;
    height: 18px;
    fill: #ffffff;
}

/* Center Logo Avatar */
header .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

header .logo img {
    height: 48px;
    width: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2.5px solid var(--accent-neon, #00f0ff);
    box-shadow: 0 0 16px rgba(0, 240, 255, 0.45);
    transition: transform 0.3s ease;
}

/* Right Header Action: Large Horizontal Telegram Pill Button */
header .header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
}

header .header-right .telegram-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(145deg, #0e2942 0%, #081726 100%);
    border: 2px solid #0088cc;
    padding: 7px 18px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 0 14px rgba(0, 136, 204, 0.45);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
}

header .header-right .telegram-pill-btn:active {
    transform: scale(0.94);
}

header .header-right .telegram-pill-btn svg {
    width: 18px;
    height: 18px;
    fill: #ffffff;
}

/* Fixed Header State */
div#app-v-page.is-fixed header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 13, 20, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

div#app-v-page.is-fixed header .logo {
    left: 50%;
    transform: translateX(-50%);
}

/* ==========================================================================
   SOHBET & ETKİNLİK KANAL BUTONLARI (IMAGE 3)
   ========================================================================== */
.channel-buttons-wrapper {
    display: flex;
    gap: 12px;
    margin: 15px 0 20px 0;
    width: 100%;
}

.channel-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 16px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 800;
    font-size: 14px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.channel-btn:active {
    transform: scale(0.96);
}

.channel-btn.sohbet-kanali {
    background: linear-gradient(145deg, #1f4a1a 0%, #0d280a 100%);
    border: 1px solid #00A940;
    box-shadow: 0 4px 18px rgba(0, 169, 64, 0.25);
}

.channel-btn.etkinlik-kanali {
    background: linear-gradient(145deg, #4e330d 0%, #291a05 100%);
    border: 1px solid #ffb703;
    box-shadow: 0 4px 18px rgba(255, 183, 3, 0.25);
}

.channel-btn img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
}

.channel-btn span {
    white-space: nowrap;
    letter-spacing: 0.3px;
}

@media (max-width: 480px) {
    .channel-buttons-wrapper {
        gap: 8px;
    }

    .channel-btn {
        padding: 10px 10px;
        font-size: 12px;
        border-radius: 14px;
    }

    .channel-btn img {
        width: 26px;
        height: 26px;
    }
}

/* ==========================================================================
   REFERANS GÖRSELDEKİ KART YAPISI (Full Width Mobile Card)
   ========================================================================== */
.item.banner-item,
.premium-sponsor-item,
.ref-card {
    --site-color: #00A940;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    background: linear-gradient(145deg, rgba(16, 24, 20, 0.94) 0%, rgba(10, 16, 22, 0.96) 100%) !important;
    border: 2px solid var(--site-color) !important;
    border-radius: var(--radius-card) !important;
    padding: 14px 16px !important;
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    margin: 0 0 14px 0 !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), inset 0 0 15px rgba(var(--site-color-rgb, 0, 169, 64), 0.12) !important;
    transition: all 0.25s ease !important;
    text-decoration: none !important;
}

.item.banner-item:active,
.ref-card:active {
    transform: scale(0.98) !important;
}

/* Card Top Section: Logo (Left) + Gold Medal Badge (Right) */
.card-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 10px;
}

.card-top-row .banner-img,
.card-top-row .card-logo-img {
    max-width: 120px;
    height: 38px;
    object-fit: contain;
    object-position: left;
}

/* Gold Medal Badge SVG */
.gold-medal-badge {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    flex-shrink: 0 !important;
    filter: drop-shadow(0 2px 10px rgba(255, 183, 3, 0.6)) !important;
}

/* Card Middle Section: White Main Title + Light Subtitle */
.card-content-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
}

.card-main-title {
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    line-height: 1.3;
}

.card-sub-title {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

/* Card Bottom Section: Right Aligned Pill CTA Button */
.card-bottom-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
}

.item.banner-item .button,
.premium-sponsor-item .button,
.ref-card .button {
    background-color: var(--site-color) !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    padding: 7px 22px !important;
    border-radius: 18px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.2s ease !important;
    margin: 0 !important;
    height: auto !important;
    width: auto !important;
}

/* ==========================================================================
   KATEGORİ FİLTRE ÇİPLERİ (Category Chips Bar)
   ========================================================================== */
.category-chips-wrapper {
    width: 100%;
    overflow-x: auto;
    padding: 12px 0;
    margin-bottom: 10px;
    display: flex;
    gap: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    box-sizing: border-box;
}

.category-chips-wrapper::-webkit-scrollbar {
    display: none;
}

.chip-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: all 0.2s ease;
}

.chip-item.active {
    background: linear-gradient(135deg, rgba(0, 169, 64, 0.35) 0%, rgba(0, 240, 255, 0.35) 100%);
    border-color: var(--accent-neon);
    color: #fff;
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.3);
}

/* Category Title Styling */
.category-title-wrapper {
    margin: 15px 0 15px 0;
    width: 100%;
}

.category-title {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #fff !important;
    letter-spacing: 1px !important;
}

/* ==========================================================================
   MOBILE BOTTOM DOCK & FLOATING TELEGRAM BUTTON
   ========================================================================== */
.mobile-bottom-dock {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--dock-height);
    background: rgba(10, 13, 20, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 9990;
    justify-content: space-around;
    align-items: center;
    padding: 0 5px;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.6);
}

.dock-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 9px;
    font-weight: 700;
    gap: 3px;
    flex: 1;
    height: 100%;
    position: relative;
    transition: all 0.2s ease;
}

.dock-item svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.dock-item.active {
    color: var(--accent-neon);
}

.dock-badge {
    position: absolute;
    top: 4px;
    right: 20%;
    background: #ff2d55;
    color: #fff;
    font-size: 8px;
    font-weight: 800;
    padding: 1px 4px;
    border-radius: 6px;
}

/* Floating Telegram Quick Button */
.floating-telegram-btn {
    position: fixed;
    bottom: calc(var(--dock-height) + 14px);
    right: 14px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0088cc 0%, #00a8ff 100%);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9980;
}

.floating-telegram-btn svg {
    width: 22px;
    height: 22px;
    fill: #fff;
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: calc(var(--dock-height) + 20px);
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(14, 18, 26, 0.95);
    border: 1px solid var(--accent-neon);
    color: #fff;
    padding: 9px 18px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
}

.toast-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
