/* css/stadcafe_room.css - Stadcafe 2.0 Özellikleri */

/* =========================================
   1. ODA (MATCH ROOM) FEED KARTLARI
========================================= */
.room-card {
    background: linear-gradient(90deg, rgba(255, 184, 0, 0.03) 0%, rgba(28, 30, 36, 0.94) 15%, rgba(15, 17, 21, 0.97) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 1.5px solid rgba(255, 184, 0, 0.5) !important;
    border-radius: 20px;
    padding: 22px;
    margin-bottom: 0 !important;
    cursor: default !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 10px 0 20px -5px rgba(255, 184, 0, 0.1), 0 8px 24px rgba(0, 0, 0, 0.45) !important;
}

.room-card.hidden-room {
    opacity: 0.6;
    filter: grayscale(80%);
    border-style: dashed;
}

.room-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 100%;
    background: radial-gradient(circle at top left, rgba(255, 184, 0, 0.04), transparent 60%);
    opacity: 1;
    pointer-events: none;
}

.room-card:hover {
    transform: translateY(-3px) scale(1.005);
    border-left: 1.5px solid rgba(255, 200, 32, 0.7) !important;
    box-shadow: inset 14px 0 24px -5px rgba(255, 184, 0, 0.18), 0 14px 36px rgba(0, 0, 0, 0.65) !important;
    border-color: rgba(255, 184, 0, 0.35);
}

/* Team Specific Left Neon Glows */
.room-card.glow-gs { border-left: 1.5px solid rgba(255, 184, 0, 0.5) !important; border-top: 1px solid rgba(255, 255, 255, 0.08) !important; }
.room-card.glow-fb { border-left: 1.5px solid rgba(255, 184, 0, 0.5) !important; border-top: 1px solid rgba(255, 255, 255, 0.08) !important; }
.room-card.glow-bjk { border-left: 1.5px solid rgba(255, 184, 0, 0.5) !important; border-top: 1px solid rgba(255, 255, 255, 0.08) !important; }
.room-card.glow-default { border-left: 1.5px solid rgba(255, 184, 0, 0.5) !important; border-top: 1px solid rgba(255, 255, 255, 0.08) !important; }

.room-card.glow-gs:hover { border-left-color: rgba(255, 200, 32, 0.7) !important; }
.room-card.glow-fb:hover { border-left-color: rgba(255, 200, 32, 0.7) !important; }
.room-card.glow-bjk:hover { border-left-color: rgba(255, 200, 32, 0.7) !important; }

/* Top Row (Date & Active Badge) */
.room-card-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    width: 100%;
}

.room-top-left {
    justify-self: start;
    min-width: 0;
    max-width: 100%;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    overflow: hidden;
}

.room-top-center {
    justify-self: center;
    flex-shrink: 0;
}

.room-top-right {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    max-width: 100%;
    width: 100%;
    justify-content: flex-end;
    overflow: hidden;
}

.room-date-pill {
    background: transparent;
    border: none;
    padding: 0;
    font-size: 0.90rem !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.room-enter-pill {
    background: rgba(18, 18, 18, 0.85) !important;
    color: #FFB800 !important;
    border: 1.5px solid #FFB800 !important;
    padding: 5px 22px !important;
    border-radius: 20px !important;
    font-size: 0.85rem !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    box-shadow: 0 0 12px rgba(255, 184, 0, 0.25) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.room-card:hover .room-enter-pill {
    background: #FFB800 !important;
    color: #000000 !important;
    transform: scale(1.05);
    box-shadow: 0 0 18px rgba(255, 184, 0, 0.55) !important;
}

.room-comp-pill {
    background: transparent;
    border: none;
    color: #E0E0E0;
    font-size: 0.90rem !important;
    font-weight: 400 !important;
    padding: 0;
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: #FFB800;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 184, 0, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(255, 184, 0, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 184, 0, 0); }
}

/* Match Teams & Score Row */
.room-card-body {
    padding: 6px 0;
}

.match-teams-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 14px;
}

.match-teams-row.single-title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.team-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    word-break: break-word;
}

.home-team {
    text-align: right;
}

.away-team {
    text-align: left;
}

.match-score-pill {
    background: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    font-weight: 900 !important;
    font-size: 0.93rem !important;
    padding: 1px 9px !important;
    line-height: 1.3 !important;
    border-radius: 5px !important;
    box-shadow: 0 1px 4px rgba(255, 255, 255, 0.15) !important;
    white-space: nowrap;
    letter-spacing: 0.3px !important;
}

.match-vs-pill {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 800;
    font-size: 0.8rem;
    padding: 3px 10px;
    border-radius: 12px;
}

/* Footer Row */
.room-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 14px;
}

.room-stats {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.stat-badge {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 0 11px;
    height: 32px;
    box-sizing: border-box;
    border-radius: 16px;
    font-size: 0.92rem;
    font-weight: 700;
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.3px;
}

.admin-controls {
    margin-left: auto !important;
    display: flex !important;
    gap: 6px !important;
    z-index: 10 !important;
    align-items: center;
}

.admin-controls button {
    height: 32px !important;
    padding: 0 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    border-radius: 8px !important;
}

.stat-badge svg {
    flex-shrink: 0;
}

/* Mobile responsive adjustments */
@media (max-width: 576px) {
    .room-card {
        padding: 12px;
        gap: 8px;
        border-radius: 16px;
    }
    .room-card-top {
        gap: 6px;
    }
    .room-date-pill, .room-comp-pill {
        font-size: 0.90rem !important;
        padding: 3px 8px;
    }
    .room-enter-pill {
        padding: 3px 12px !important;
        font-size: 0.78rem !important;
    }
    .match-teams-row {
        gap: 8px;
    }
    .team-name {
        font-size: 0.95rem;
    }
    .match-score-pill {
        font-size: 0.9rem;
        padding: 3px 10px;
    }
    .room-card-footer {
        padding-top: 12px;
    }
    .room-stats {
        display: flex;
        gap: 6px;
        flex-wrap: wrap;
    }
}

/* =========================================
   2. MAÇ ODASI MODALI (FULL SCREEN)
========================================= */
.stadcafe-room-container {
    background: #121212;
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateZ(0); /* Force GPU layer to prevent background flash on mobile */
    /* Ambient Glow Container */
    box-shadow: inset 0 0 150px rgba(0,0,0,1);
    transition: background 0.5s;
}

/* Dinamik Ambient Glow Efekti (JS üzerinden class ile eklenecek) */
.stadcafe-room-container.glow-gs { background: radial-gradient(circle at 50% 0%, rgba(169, 4, 50, 0.15) 0%, #121212 70%); }
.stadcafe-room-container.glow-fb { background: radial-gradient(circle at 50% 0%, rgba(0, 30, 98, 0.25) 0%, #121212 70%); }
.stadcafe-room-container.glow-bjk { background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.1) 0%, #121212 70%); }
.stadcafe-room-container.glow-default { background: radial-gradient(circle at 50% 0%, rgba(253, 185, 19, 0.1) 0%, #121212 70%); }

.room-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    z-index: 10;
}

.room-title-wrapper {
    text-align: center;
    flex: 1;
}

.room-title-wrapper h2 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
}

.btn-back-room {
    background: none;
    border: none;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.2s;
}

.btn-back-room:hover {
    background: rgba(255,255,255,0.1);
}

.btn-room-upload {
    background: linear-gradient(135deg, #fdb913 0%, #ff8c00 100%);
    color: black;
    border: none;
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(253, 185, 19, 0.3);
}

.room-feed {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    /* Smooth Scroll */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* =========================================
   3.5 READ-ONLY BOTTOM BANNER
========================================= */
.room-readonly-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(20, 20, 20, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1.5px solid rgba(253, 185, 19, 0.4);
    padding: 15px 20px;
    padding-bottom: calc(15px + env(safe-area-inset-bottom, 0px));
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    z-index: 1050;
    box-sizing: border-box;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none; /* Ignore clicks when hidden */
}

.room-readonly-bar.active {
    transform: translateY(0);
    pointer-events: auto; /* Enable clicks when visible */
}

.readonly-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    line-height: 1.4;
    text-align: left;
}

.btn-readonly-unlock {
    background: #fdb913;
    color: black;
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    font-weight: bold;
    font-size: 0.85rem;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.2s, background 0.2s;
}

.btn-readonly-unlock:hover {
    background: #ffc439;
    transform: scale(1.03);
}

.btn-readonly-unlock:disabled {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.3);
    cursor: not-allowed;
    transform: none;
}

/* LEGACY WHATSAPP UI\n/* =========================================\n   4. STADCAFE POST KARTI (TIMELINE DESIGN)\n========================================= */
/* WhatsApp/Telegram Style Chat Bubbles */
.stadcafe-post {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    align-items: flex-end;
}

.stadcafe-post.message-sent {
    flex-direction: row-reverse;
}

.stadcafe-post.message-received {
    flex-direction: row;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #333, #111);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
    border: 2px solid #fdb913;
    flex-shrink: 0;
}

.chat-bubble-wrapper {
    display: flex;
    flex-direction: column;
    max-width: 80%;
}

.message-sent .chat-bubble-wrapper {
    align-items: flex-end;
}

.message-received .chat-bubble-wrapper {
    align-items: flex-start;
}

.chat-sender {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    margin-left: 12px;
}

.sender-name {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    font-weight: 600;
}

/* GAMIFICATION: ROZETLER */
.badge {
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 3px;
}

.chat-bubble {
    background: #252525;
    padding: 10px 14px;
    border-radius: 18px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.message-sent .chat-bubble {
    background: linear-gradient(135deg, #1b3d1f, #224d26);
    border-bottom-right-radius: 4px;
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.message-received .chat-bubble {
    background: #2a2a2a;
    border-bottom-left-radius: 4px;
    border: 1px solid rgba(255,255,255,0.05);
}

.chat-text {
    font-size: 0.95rem;
    line-height: 1.4;
    color: #fff;
    white-space: pre-wrap;
    word-break: break-word;
}

.chat-media {
    margin-bottom: 8px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    border: 1px solid rgba(255,255,255,0.1);
}

.chat-media img {
    max-width: 100%;
    max-height: 300px;
    display: block;
    object-fit: cover;
}

.video-media .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    pointer-events: none;
}

.chat-meta {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.message-sent .chat-meta {
    color: rgba(255,255,255,0.6);
}

.message-received .chat-meta {
    color: rgba(255,255,255,0.4);
}

.chat-time {
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.read-receipt {
    color: #4facfe;
    font-size: 0.7rem;
    letter-spacing: -2px;
}

/* Chat Action Buttons */
.btn-chat-action {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.8rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.btn-chat-action:hover {
    opacity: 1;
}

.btn-delete {
    color: #ff4444;
}

.btn-save {
    color: #fdb913;
}

/* Reactions */
.chat-reactions {
    display: flex;
    gap: 4px;
    margin-top: 4px;
    background: #1a1a1a;
    padding: 4px 8px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.05);
    align-self: flex-start;
}

.message-sent .chat-reactions {
    align-self: flex-end;
}

.reaction-btn {
    background: none;
    border: none;
    padding: 2px 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s;
    filter: grayscale(100%);
    opacity: 0.5;
}

.reaction-btn:hover {
    transform: scale(1.2);
    filter: grayscale(0%);
    opacity: 1;
}

/* =========================================
   5. STICKY CHAT INPUT (HIZLI GİRİŞ)
========================================= */
.room-sticky-input {
    position: sticky;
    bottom: 0;
    width: 100%;
    background: rgba(15,15,15,0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

.chat-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.05);
    border-radius: 25px;
    padding: 8px 15px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: border-color 0.2s;
}

.chat-input-wrapper:focus-within {
    border-color: #fdb913;
}

.chat-input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    font-size: 0.95rem;
    padding: 5px;
    outline: none;
}

.chat-input::placeholder {
    color: rgba(255,255,255,0.4);
}

.btn-chat-attach {
    background: none;
    border: none;
    color: #fdb913;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background 0.2s;
}
.btn-chat-attach:hover {
    background: rgba(253, 185, 19, 0.2);
}

.btn-chat-send {
    background: #fdb913;
    color: black;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.2s;
}
.btn-chat-send:hover {
    transform: scale(1.05);
}

.btn-chat-send:disabled {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.3);
    cursor: not-allowed;
    transform: none;
}
\n*/\n\n/* =========================================\n   4. YENİ TİMELİNE (MEMORY FEED) KARTLARI\n========================================= */\n/* === NEW TIMELINE (MEMORY FEED) STYLES === */
.btn-room-fab {
    position: absolute;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fdb913 0%, #e6a200 100%);
    color: #121212;
    border: none;
    box-shadow: 0 4px 15px rgba(253, 185, 19, 0.4), 0 0 0 2px rgba(253, 185, 19, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s;
}
.btn-room-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(253, 185, 19, 0.6), 0 0 0 2px rgba(253, 185, 19, 0.4);
}
.btn-room-fab:active {
    transform: scale(0.95);
}

.memory-post-card {
    background: rgba(30, 32, 38, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 16px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: background 0.3s, border-color 0.3s;
    position: relative;
}
.memory-post-card:hover {
    background: rgba(35, 38, 45, 0.7);
    border-color: rgba(255, 255, 255, 0.15);
}

/* --- Faz 13: Engellenen Kullanıcı Kartı ve Yorumu için State Architecture (Compact Blocked Banner) --- */
.memory-post-card.is-blocked-card {
    padding: 8px 14px;
    border-radius: 12px;
    gap: 0;
    min-height: auto;
    border-color: rgba(255, 74, 74, 0.22);
    background: rgba(28, 30, 36, 0.45);
}
.memory-post-card.is-blocked-card.is-blocked-revealed {
    padding: 8px 14px 16px 14px;
    border-radius: 16px;
    gap: 12px;
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(30, 32, 38, 0.6);
}

.comment-bubble.is-blocked-comment {
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    margin-bottom: 6px;
}
.comment-bubble.is-blocked-comment.is-blocked-revealed {
    padding: 6px 10px 10px 10px;
    background: rgba(255, 255, 255, 0.04);
}

.memory-post-card.is-blocked-card button,
.comment-bubble.is-blocked-comment button {
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
}

.memory-post-card.is-blocked-card button svg,
.comment-bubble.is-blocked-comment button svg {
    flex-shrink: 0 !important;
    min-width: 16px !important;
    min-height: 16px !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

.post-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.post-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.post-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
}
.post-user-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.post-username {
    font-weight: 700;
    color: #fff;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 6px;
}
.post-time {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}
.post-options-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px;
}
.post-options-btn:hover {
    color: #fff;
}

.post-media {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 4px;
}
.post-media img, .post-media video {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    background: #000;
    display: block;
}

.post-body {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.5;
    word-break: break-word;
    margin-top: 4px;
}

.post-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.post-reactions {
    display: flex;
    gap: 8px;
}
.reaction-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 4px 10px;
    font-size: 0.85rem;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
}
.reaction-pill:hover, .reaction-pill.active {
    background: rgba(253, 185, 19, 0.15);
    border-color: rgba(253, 185, 19, 0.4);
    box-shadow: 0 0 10px rgba(253, 185, 19, 0.2);
}

.post-comments-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}
.post-comments-btn:hover {
    color: #fff;
}

/* Options Menu */
.post-options-menu {
    position: absolute;
    right: 16px;
    top: 45px;
    background: #1e2026;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    padding: 4px 0;
    z-index: 100;
    min-width: 140px;
    display: none;
}
.post-options-menu.active {
    display: block;
}
.post-option-item {
    padding: 10px 16px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.post-option-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}
.post-option-item.danger {
    color: #ff4d4d;
}
.post-option-item.danger:hover {
    background: rgba(255, 77, 77, 0.1);
}

/* Comments Slide-Up Modal */
.comments-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    will-change: opacity;
}
.comments-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.comments-modal-content {
    background: #1e2028;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    height: 75vh;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.1, 0.9, 0.2, 1);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
    will-change: transform;
}
.comments-modal-overlay.active .comments-modal-content {
    transform: translateY(0);
}
.comments-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.comments-modal-header h3 {
    margin: 0; font-size: 1.1rem; color: #fff;
}
.btn-comments-close {
    background: none; border: none; color: #fff; font-size: 1.8rem; cursor: pointer; padding: 0; line-height: 1;
}
.comments-list-feed {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.comments-input-area {
    display: flex;
    padding: 10px 15px;
    background: #15171d;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    gap: 10px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    align-items: flex-end;
}
.btn-attach-photo {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: 40px;
    height: 40px;
    margin-bottom: 1px;
    transition: color 0.2s ease;
}
.btn-attach-photo:hover {
    color: #fff;
}
.comment-image-preview-container {
    padding: 10px 15px;
    background: #15171d;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
#comment-preview-img {
    max-height: 100px;
    border-radius: 8px;
    display: block;
}
.btn-remove-preview {
    position: absolute;
    top: 5px;
    left: 10px;
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.comment-bubble-image {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 5px;
    display: block;
}
.comment-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    border-radius: 20px;
    padding: 10px 15px;
    color: #fff;
    outline: none;
    font-size: 1rem;
    font-family: var(--font-primary);
}
.comment-textarea {
    resize: none;
    overflow-y: auto;
    max-height: 100px;
    line-height: 1.4;
    padding-top: 10px;
    padding-bottom: 10px;
    scrollbar-width: none;
}
.comment-textarea::-webkit-scrollbar {
    display: none;
}
.btn-send-comment {
    background: #fdb913;
    color: #000;
    border: none;
    border-radius: 50%;
    width: 40px; height: 40px;
    display: flex; justify-content: center; align-items: center;
    cursor: pointer;
    font-size: 1.2rem;
    margin-bottom: 1px;
}
.comment-bubble {
    display: flex;
    gap: 10px;
}
.comment-bubble-avatar {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex; justify-content: center; align-items: center;
    font-size: 0.8rem; font-weight: bold; color: #fff; flex-shrink: 0;
}
.comment-bubble-body {
    background: #2a2d36;
    padding: 10px 12px;
    border-radius: 12px;
    border-top-left-radius: 4px;
    max-width: 85%;
}
.comment-bubble-name {
    font-weight: bold; font-size: 0.8rem; color: #ccc; margin-bottom: 3px;
}
.comment-bubble-text {
    font-size: 0.9rem; color: #fff; line-height: 1.3;
}
.comment-bubble-time {
    font-size: 0.7rem; color: rgba(255,255,255,0.4); margin-top: 5px; text-align: right;
}

/* =========================================
   6. PREMIUM UI/UX EKLENTILERI (VIBE CODING)
========================================= */

/* Dairesel Butonlar (Modal Header) */
.btn-circular {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    flex-shrink: 0;
}
.btn-circular:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* Premium Maç Kartı (Header altı) */
.premium-match-card {
    background: linear-gradient(145deg, rgba(30, 32, 40, 0.8), rgba(20, 22, 28, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Modern Compose Box */
.modern-compose-box {
    background: rgba(20, 22, 28, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.compose-textarea {
    width: 100%;
    min-height: 100px;
    background: transparent;
    border: none;
    color: white;
    padding: 15px;
    font-size: 1rem;
    resize: none;
    outline: none;
    font-family: var(--font-primary);
}
.compose-textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}
.compose-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.compose-icons {
    display: flex;
    gap: 10px;
}
.compose-icon-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
}
.compose-icon-btn:hover {
    color: #fdb913;
    transform: scale(1.1);
}

/* Fly-to-cart animasyonu */
@keyframes flyToCart {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 1;
    }
    100% {
        transform: scale(0.2) translate(-50vw, 50vh);
        opacity: 0;
    }
}
.fly-animation {
    position: fixed;
    z-index: 10000;
    pointer-events: none;
    animation: flyToCart 0.8s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

/* Premium Video Play Button */
.play-icon {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.play-icon:hover {
    transform: translate(-50%, -50%) scale(1.15);
}

/* Facade Placeholder Kartları (X, Insta) */
.facade-placeholder {
    background: rgba(30, 32, 40, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}
.facade-placeholder:hover {
    background: rgba(40, 42, 50, 0.9);
}
.facade-icon {
    font-size: 2rem;
    color: white;
}
.facade-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Image constraints */
.chat-media img, .image-media img, .video-media img {
    max-height: 300px !important;
    width: 100% !important;
    object-fit: cover !important;
    border-radius: 8px;
}

/* Long Press Menu (Floating Island) */
#long-press-menu-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
#long-press-menu-overlay.active {
    display: flex;
    opacity: 1;
}

.long-press-menu-content {
    width: 260px;
    background: rgba(30, 32, 40, 0.85);
    backdrop-filter: blur(15px);
    border-radius: 24px;
    padding: 20px 16px 16px 16px;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 45px rgba(0,0,0,0.7);
    border: 1px solid rgba(255,255,255,0.08);
    position: relative;
}
#long-press-menu-overlay.active .long-press-menu-content {
    transform: scale(1);
}

.lp-close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: none;
    color: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    z-index: 10;
    transition: background 0.2s, color 0.2s;
}
.lp-close-btn:hover { 
    background: rgba(255,255,255,0.25); 
    color: white;
}

.reaction-bar-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    background: rgba(255,255,255,0.05);
    border-radius: 30px;
    padding: 8px 16px;
    margin: 10px auto 20px auto;
    width: fit-content;
    border: 1px solid rgba(255,255,255,0.05);
}
.reaction-btn {
    background: none; border: none; font-size: 1.8rem;
    cursor: pointer; transition: transform 0.2s, background 0.2s;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.reaction-btn.active {
    background: rgba(255, 255, 255, 0.15);
    filter: grayscale(0%);
    opacity: 1;
}
.reaction-btn:hover, .reaction-btn:active {
    transform: scale(1.15);
}

.action-list-container {
    display: flex;
    flex-direction: column;
    background: transparent;
    border-radius: 0;
}
.action-list-btn {
    display: flex; align-items: center; gap: 14px;
    background: transparent; border: none;
    color: white; font-size: 1rem; font-weight: 500;
    padding: 12px 10px;
    text-align: left; cursor: pointer;
    border-radius: 12px;
    transition: background 0.2s;
}
.action-list-btn:hover { background: rgba(255,255,255,0.1); }
.action-divider {
    height: 1px; background: rgba(255,255,255,0.06);
    margin: 6px 0;
}
.action-list-btn.destructive {
    color: #ff4a4a;
}

.action-list-btn span.lp-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    font-size: 1.1rem;
}

/* Reaction Badges */
.reaction-badges {
    display: flex;
    gap: 5px;
    margin-top: 5px;
    flex-wrap: wrap;
}
.reaction-badge {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 3px 8px;
    font-size: 0.75rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 4px;
    border: 1px solid rgba(255,255,255,0.05);
}
.reaction-badge.active {
    background: rgba(253, 185, 19, 0.2);
    border-color: rgba(253, 185, 19, 0.5);
}

/* Inline Name/Time for comments */
.comment-bubble-header {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 4px;
}
.comment-bubble-name {
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    color: var(--brand-color, #fdb913) !important;
    margin-bottom: 0 !important;
}
.comment-bubble-time {
    font-size: 0.75rem !important;
    color: rgba(255,255,255,0.5) !important;
    margin-top: 0 !important;
    text-align: left !important;
}
.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Premium Teaser Mode Styles */
.teaser-placeholder {
    background: rgba(20, 20, 20, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    margin-top: 8px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    gap: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    user-select: none;
    -webkit-user-select: none;
    pointer-events: none;
}

.teaser-lock-icon {
    font-size: 2rem;
    color: #ff8c00;
    text-shadow: 0 0 15px rgba(255, 140, 0, 0.5);
    animation: lockPulse 2s infinite ease-in-out;
    flex-shrink: 0;
}

.teaser-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.3;
}

@keyframes lockPulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; text-shadow: 0 0 25px rgba(255, 140, 0, 0.8); }
    100% { transform: scale(1); opacity: 0.8; }
}

 / *   V I R T U A L   I T E M   A N I M A T I O N S   * / 
 . s m o k e - o v e r l a y   { 
         p o s i t i o n :   f i x e d ; 
         t o p :   0 ; 
         l e f t :   0 ; 
         w i d t h :   1 0 0 v w ; 
         h e i g h t :   1 0 0 v h ; 
         b a c k g r o u n d :   r a d i a l - g r a d i e n t ( c i r c l e ,   r g b a ( 1 4 7 , 1 1 2 , 2 1 9 , 0 . 7 )   0 % ,   r g b a ( 7 5 , 0 , 1 3 0 , 0 . 8 )   1 0 0 % ) ; 
         f i l t e r :   b l u r ( 8 p x ) ; 
         p o i n t e r - e v e n t s :   n o n e ; 
         z - i n d e x :   9 9 9 9 ; 
         o p a c i t y :   0 ; 
         a n i m a t i o n :   s m o k e F a d e I n   5 s   e a s e - i n - o u t   f o r w a r d s ; 
         m i x - b l e n d - m o d e :   s c r e e n ; 
 } 
 
 @ k e y f r a m e s   s m o k e F a d e I n   { 
         0 %   {   o p a c i t y :   0 ;   t r a n s f o r m :   s c a l e ( 1 . 1 ) ;   } 
         2 0 %   {   o p a c i t y :   0 . 8 ;   t r a n s f o r m :   s c a l e ( 1 ) ;   } 
         8 0 %   {   o p a c i t y :   0 . 7 ;   t r a n s f o r m :   s c a l e ( 1 . 0 5 ) ;   } 
         1 0 0 %   {   o p a c i t y :   0 ;   t r a n s f o r m :   s c a l e ( 1 . 1 ) ;   } 
 } 
 
 . t o t e m - o v e r l a y   { 
         p o s i t i o n :   f i x e d ; 
         t o p :   5 0 % ; 
         l e f t :   5 0 % ; 
         t r a n s f o r m :   t r a n s l a t e ( - 5 0 % ,   - 5 0 % )   s c a l e ( 0 . 1 ) ; 
         f o n t - s i z e :   1 5 0 p x ; 
         z - i n d e x :   1 0 0 0 0 ; 
         p o i n t e r - e v e n t s :   n o n e ; 
         o p a c i t y :   0 ; 
         a n i m a t i o n :   t o t e m P u l s e   3 . 5 s   c u b i c - b e z i e r ( 0 . 1 7 5 ,   0 . 8 8 5 ,   0 . 3 2 ,   1 . 2 7 5 )   f o r w a r d s ; 
         t e x t - s h a d o w :   0   0   4 0 p x   r g b a ( 1 5 6 ,   3 9 ,   1 7 6 ,   0 . 8 ) ,   0   0   8 0 p x   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 5 ) ; 
 } 
 
 @ k e y f r a m e s   t o t e m P u l s e   { 
         0 %   {   t r a n s f o r m :   t r a n s l a t e ( - 5 0 % ,   - 5 0 % )   s c a l e ( 0 . 1 ) ;   o p a c i t y :   0 ;   } 
         2 0 %   {   t r a n s f o r m :   t r a n s l a t e ( - 5 0 % ,   - 5 0 % )   s c a l e ( 1 . 2 ) ;   o p a c i t y :   1 ;   } 
         4 0 %   {   t r a n s f o r m :   t r a n s l a t e ( - 5 0 % ,   - 5 0 % )   s c a l e ( 0 . 9 ) ;   o p a c i t y :   1 ;   } 
         6 0 %   {   t r a n s f o r m :   t r a n s l a t e ( - 5 0 % ,   - 5 0 % )   s c a l e ( 1 . 1 ) ;   o p a c i t y :   1 ;   } 
         8 0 %   {   t r a n s f o r m :   t r a n s l a t e ( - 5 0 % ,   - 5 0 % )   s c a l e ( 1 ) ;   o p a c i t y :   0 . 8 ;   } 
         1 0 0 %   {   t r a n s f o r m :   t r a n s l a t e ( - 5 0 % ,   - 5 0 % )   s c a l e ( 2 ) ;   o p a c i t y :   0 ;   } 
 } 
 
 . s t a d c a f e - p o s t . p i n n e d - p o s t   { 
         b o r d e r :   2 p x   s o l i d   # F F D 7 0 0 ; 
         b o x - s h a d o w :   0   0   1 5 p x   r g b a ( 2 5 5 ,   2 1 5 ,   0 ,   0 . 3 ) ; 
         o r d e r :   - 1 ;   / *   F l e x   o r d e r   t o   f o r c e   i t   t o   t o p   * / 
         b a c k g r o u n d :   l i n e a r - g r a d i e n t ( 1 4 5 d e g ,   r g b a ( 2 5 5 ,   2 1 5 ,   0 ,   0 . 0 5 ) ,   r g b a ( 0 , 0 , 0 , 0 . 4 ) ) ; 
         p o s i t i o n :   r e l a t i v e ; 
         z - i n d e x :   1 0 ; 
 } 
 
 . p i n n e d - b a d g e   { 
         p o s i t i o n :   a b s o l u t e ; 
         t o p :   - 1 2 p x ; 
         r i g h t :   1 5 p x ; 
         b a c k g r o u n d :   # F F D 7 0 0 ; 
         c o l o r :   # 0 0 0 ; 
         f o n t - s i z e :   1 1 p x ; 
         f o n t - w e i g h t :   8 0 0 ; 
         p a d d i n g :   3 p x   1 0 p x ; 
         b o r d e r - r a d i u s :   1 2 p x ; 
         b o x - s h a d o w :   0   2 p x   1 0 p x   r g b a ( 2 5 5 ,   2 1 5 ,   0 ,   0 . 5 ) ; 
         d i s p l a y :   f l e x ; 
         a l i g n - i t e m s :   c e n t e r ; 
         g a p :   4 p x ; 
 } 
  
 