/* ===== DOKSANLAR.COM - Header & Menü ===== */

:root {
    --text-brown: #4a3728;
}

* {
    box-sizing: border-box;
}

html,
body {
    font-family: 'Comic Neue', 'Comic Sans MS', 'Segoe UI', Tahoma, Arial, sans-serif !important;
    margin: 0;
    min-height: 100vh;
    background-image: url(images/back.png);
    background-repeat: repeat;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: inherit;
}

/* ===== HEADER ===== */
.site-header {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    overflow: visible;
    min-height: 280px;
    background-image: url("images/Doksanlar-Header.jpeg");
    background-size: 100% auto;
    background-position: center;
    background-repeat: no-repeat;
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
    z-index: -1;
    pointer-events: none;
}

.header-content,
.main-nav,
.tunnel-image {
    position: relative;
    z-index: 1;
}

/* Logo */
.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.site-logo {
    margin: 25px 0 0 0;
    line-height: 1;
    text-align: center;
}

.site-logo .logo-link {
    display: inline-block;
    text-decoration: none;
}

.site-logo img {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 140px;
    margin: 0 auto;
}

/* ===== NAVİGASYON - Fotoğraf tabanlı menü ===== */
.main-nav {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: auto;
    overflow: visible;
}

.main-nav a {
    color: white !important;
}

.menu-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-decoration: none;
    padding: 0.35rem 0.6rem;
    transition: opacity 0.2s;
}

.menu-item:hover {
    opacity: 0.9;
}

.menu-item:hover img {
    animation: menu-shake 0.5s ease-in-out infinite;
}

@keyframes menu-shake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-3deg); }
    75% { transform: rotate(3deg); }
}

.menu-item img {
    width: 140px;
    height: 70px;
    object-fit: cover;
    display: block;
}

.menu-item-games img {
    width: 250px;
    height: 65px;
    object-fit: contain;
}

/* Giriş durumuna göre menü: Üye Giriş (misafir) / Hesabım + Çıkış (giriş yapmış) */
.menu-logged {
    display: none !important;
}

body.user-logged-in .menu-guest {
    display: none !important;
}

body.user-logged-in .menu-logged {
    display: flex !important;
}

/* Hesabım dropdown - Çıkış yap altında görünür */
.menu-item-dropdown {
    position: relative;
}

.menu-dropdown-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding-top: 0.5rem;
    display: none;
    z-index: 1000;
}

.menu-item-dropdown:hover .menu-dropdown-content {
    display: block;
}

.menu-dropdown-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0.5rem;
}

.menu-item-dropdown:hover .menu-dropdown-content {
    display: block;
}

.menu-dropdown-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: opacity 0.2s;
}

.menu-dropdown-link:hover {
    opacity: 0.9;
}

.menu-dropdown-link img {
    width: 250px;
    height: 65px;
    object-fit: contain;
    display: block;
}

@media (max-width: 991px) {
    .menu-dropdown-link img {
        width: 200px;
        height: 52px;
    }
}

.menu-item.menu-item-text {
    font-size: 1rem;
    font-weight: 700;
    padding: 0.5rem 0.9rem;
}

/* Tünel görseli - menü altında, ortalanmış */
.tunnel-image {
    text-align: center;
}

.tunnel-image img {
    max-width: 22%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* ===== ZAMAN TÜNELİ - Tam genişlik, eskitme efektli ===== */
.time-tunnel-section {
    padding: 0 0 1.5rem 0;
    position: relative;
}

.time-tunnel-wrapper {
    display: flex;
    align-items: stretch;
    width: 100%;
    position: relative;
    box-shadow: 
        0 4px 15px rgba(0,0,0,0.3),
        0 6px 20px rgba(0,0,0,0.2),
        0 8px 30px rgba(26,37,64,0.25),
        inset 0 0 60px rgba(139,90,43,0.08);
    border: 2px solid #3d3528;
    border-left: none;
    border-right: none;
    border-bottom: 5px solid #1a2540;
}

.time-tunnel-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(139,90,43,0.03) 0%, transparent 50%, rgba(0,0,0,0.05) 100%);
    pointer-events: none;
}

.timeline-viewport {
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    cursor: grab;
}

.timeline-viewport:active {
    cursor: grabbing;
}

/* Koyu mavi ok butonları */
.timeline-arrow {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(180deg, #2a3a5a 0%, #1a2a4a 100%);
    color: white;
    border: 2px solid #3a4a6a;
    padding: 0.75rem 1.2rem;
    font-size: 0.95rem;
    font-weight: bold;
    cursor: pointer;
    clip-path: polygon(0 0, 88% 0, 100% 50%, 88% 100%, 0 100%);
    transition: background 0.2s;
}

.timeline-arrow-next {
    clip-path: polygon(12% 0, 100% 0, 100% 100%, 12% 100%, 0 50%);
}

.timeline-arrow:hover {
    background: linear-gradient(180deg, #3a4a6a 0%, #2a3a5a 100%);
}

.arrow-icon {
    font-family: 'Caveat', 'Comic Neue', 'Comic Sans MS', cursive;
    font-size: 1.15em;
    font-weight: 700;
    opacity: 0.95;
    letter-spacing: -0.02em;
}

/* Gradient bar - gökkuşağı, eskitme overlay */
.timeline-gradient-bar {
    position: relative;
    min-height: 56px;
    background: 
        linear-gradient(90deg, rgba(139,90,43,0.1) 0%, transparent 15%, transparent 85%, rgba(139,90,43,0.1) 100%),
        linear-gradient(90deg,
            #1a3a5a 0%,
            #2d8a4e 6%,
            #5a9a30 14%,
            #c8c030 24%,
            #e89828 34%,
            #e05028 44%,
            #c82858 52%,
            #8828a8 62%,
            #28a888 92%,
            #1a3a5a 100%
        );
    background-size: 100% 100%, 1800px 100%;
    background-repeat: no-repeat, repeat-x;
    box-shadow: 
        inset 0 1px 0 rgba(255,255,255,0.4),
        inset 0 -1px 0 rgba(255,255,255,0.15),
        inset 0 0 80px rgba(0,0,0,0.08);
    filter: sepia(0.08) contrast(1.02);
}

.timeline-inner-line {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: rgba(255,255,255,0.5);
    pointer-events: none;
}

.timeline-inner-line::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 55px;
    height: 1px;
    background: rgba(255,255,255,0.3);
}

/* Yıllar - kaydırılabilir */
.timeline-years {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 2rem;
    min-height: 56px;
}

.year-block {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.timeline-years .year {
    color: rgba(255,255,255,0.95);
    font-family: 'Caveat', 'Comic Neue', 'Comic Sans MS', cursive;
    font-size: 1.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.6), 0 0 1px rgba(139,90,43,0.3);
    flex-shrink: 0;
}

/* Dağınık, el yazısı hissi - yıllar (sağlı sollu dengesiz) */
.timeline-years .year-block:nth-child(4n+1) .year { transform: rotate(-2deg); }
.timeline-years .year-block:nth-child(4n+3) .year { transform: rotate(1.5deg); }
.timeline-years .year-block:nth-child(8n+5) .year { transform: rotate(1deg); }
.timeline-years .year-block:nth-child(8n+7) .year { transform: rotate(-1.5deg); }

.year-clickable {
    cursor: pointer;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    transition: background 0.2s;
}

.year-clickable:hover {
    background: rgba(255,255,255,0.15);
}

/* Aylar - kayarak açılan */
.months-expand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-width 0.5s ease-out, opacity 0.4s ease-out;
}

.year-block.expanded .months-expand {
    max-width: 900px;
    opacity: 1;
}

.month-item {
    flex-shrink: 0;
    color: rgba(255,255,255,0.95);
    font-family: 'Caveat', 'Comic Neue', 'Comic Sans MS', cursive;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    padding: 0.25rem 0.4rem;
    border-radius: 4px;
    cursor: default;
}

/* Dağınık, el yazısı hissi - aylar (sağlı sollu dengesiz) */
.month-item:nth-child(odd) { transform: rotate(-1.5deg) translateY(1px); }
.month-item:nth-child(even) { transform: rotate(1deg) translateY(-1px); }
.month-item:nth-child(3n) { transform: rotate(2deg) translateY(2px); }
.month-item:nth-child(5n) { transform: rotate(-2deg) translateY(-1px); }

.month-item:hover {
    animation: menu-shake 0.5s ease-in-out infinite;
}

.timeline-years .year-sep {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.9);
    text-shadow: 0 1px 1px rgba(0,0,0,0.3);
    flex-shrink: 0;
}

/* ===== ANA İÇERİK - Main + Sidebar ===== */
.content-wrapper {
    display: flex;
    gap: 1.5rem;
    max-width: 1600px;
    margin: 0 auto;
    padding: 1.5rem 1rem 2rem;
}

.main-content {
    flex: 1;
    min-width: 0;
}

.section-title {
    font-family: 'Caveat', 'Comic Neue', 'Comic Sans MS', cursive;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-brown);
    margin: 0 0 1rem 0;
    text-align: center;
    text-shadow: 1px 1px 0 rgba(255,255,255,0.5);
}

.posts-feed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    grid-auto-rows: minmax(120px, auto);
    grid-auto-flow: dense;
}

/* Asimetrik boyutlar - simetrik olmasın */
.post-w-2 { grid-column: span 2; }
.post-w-1 { grid-column: span 1; }
.post-h-2 { grid-row: span 2; }
.post-h-1 { grid-row: span 1; }

.post-w-2 .post-placeholder { min-height: 100px; }
.post-h-2 .post-placeholder { min-height: 120px; }
.post-w-2.post-h-2 .post-placeholder { min-height: 160px; }

.post-card {
    background: linear-gradient(180deg, #faf6f0 0%, #f0e8dc 100%);
    border: 2px solid #c4a574;
    border-radius: 6px;
    padding: 1rem;
    box-shadow: 
        2px 2px 0 rgba(0,0,0,0.08),
        inset 0 1px 0 rgba(255,255,255,0.8);
    position: relative;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    box-shadow: 3px 3px 8px rgba(0,0,0,0.12);
}

/* Facebook tarzı header - profil fotoğrafı, kullanıcı adı, takip et */
.post-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.post-user {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 1px rgba(0,0,0,0.3);
    flex-shrink: 0;
}

.post-username {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-brown);
}

.post-follow-btn {
    padding: 0.25rem 0.6rem;
    font-size: 0.75rem;
    font-family: inherit;
    background: linear-gradient(180deg, #2a3a5a 0%, #1a2a4a 100%);
    color: white;
    border: 1px solid #3a4a6a;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.post-follow-btn:hover {
    background: linear-gradient(180deg, #3a4a6a 0%, #2a3a5a 100%);
}

.post-badge {
    display: inline-block;
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    background: linear-gradient(180deg, #2a3a5a 0%, #1a2a4a 100%);
    color: white;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.post-preview {
    margin-bottom: 0.5rem;
}

.post-placeholder {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139,90,43,0.08);
    border: 1px dashed #a08050;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #6b5344;
}

.post-meta {
    font-size: 0.8rem;
    color: #6b5344;
    margin-bottom: 0.25rem;
}

.post-excerpt {
    font-size: 0.9rem;
    color: var(--text-brown);
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
}

.post-actions {
    display: flex;
    gap: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(139,90,43,0.2);
    margin-top: auto;
}

.post-action-btn {
    flex: 1;
    padding: 0.35rem 0.5rem;
    font-size: 0.8rem;
    font-family: inherit;
    background: linear-gradient(180deg, #e8dcc8 0%, #d4c4a8 100%);
    border: 1px solid #b8a078;
    border-radius: 4px;
    color: var(--text-brown);
    cursor: pointer;
    transition: background 0.2s;
}

.post-action-btn:hover {
    background: linear-gradient(180deg, #d4c4a8 0%, #c4b498 100%);
}

.heart-icon {
    color: #c71585;
}

/* Daha fazla yükle butonu */
.load-more-wrap {
    text-align: center;
    padding: 2rem 0 1rem;
}

.load-more-btn {
    padding: 0.6rem 2rem;
    font-size: 1rem;
    font-family: inherit;
    background: linear-gradient(180deg, #2a3a5a 0%, #1a2a4a 100%);
    color: white;
    border: 2px solid #3a4a6a;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.load-more-btn:hover {
    background: linear-gradient(180deg, #3a4a6a 0%, #2a3a5a 100%);
}

/* Reklam alanları - belirgin */
.promo-slot {
    position: relative;
    background: linear-gradient(180deg, #f0e8dc 0%, #e6dcd0 100%);
    border: 2px solid #a08050;
    border-radius: 6px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 90px;
    box-shadow: inset 0 0 0 1px rgba(160,128,80,0.3), 0 2px 4px rgba(0,0,0,0.06);
}

.promo-slot::before {
    content: "Reklam";
    position: absolute;
    top: 0.35rem;
    left: 0.5rem;
    font-size: 0.65rem;
    color: #8b7355;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.promo-slot-infeed {
    grid-column: 1 / -1;
    min-height: 100px;
}

.sidebar-promo-block {
    display: block !important;
    padding: 0;
    overflow: visible;
}

.sidebar-promo-block .promo-slot {
    margin: 0;
}

.promo-slot-sidebar {
    display: flex !important;
    min-height: 250px;
    flex-shrink: 0;
    /* İçerik arası reklamlarla aynı stil */
}

@media (max-width: 991px) {
    .promo-slot-infeed { grid-column: 1 / -1; }
}

.promo-placeholder {
    display: block !important;
    font-size: 0.9rem;
    color: #3a2a1a;
    text-align: center;
    padding: 1rem;
    font-weight: 600;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.promo-slot-sidebar .promo-placeholder {
    padding: 2rem 1rem;
    font-size: 1rem;
    /* İçerik arası reklamlarla aynı placeholder stili */
}

.promo-placeholder small {
    display: block !important;
    font-size: 0.85rem;
    color: #4a3a2a;
    margin-top: 0.25rem;
}

/* Sidebar */
.sidebar {
    flex-shrink: 0;
    width: 380px;
    display: flex;
    flex-direction: column;
}

.sidebar-block {
    background: linear-gradient(180deg, #faf6f0 0%, #f0e8dc 100%);
    border: 2px solid #c4a574;
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 
        2px 2px 0 rgba(0,0,0,0.08),
        inset 0 1px 0 rgba(255,255,255,0.8);
}

.sidebar-block:last-child {
    margin-bottom: 0;
}

/* Nostaljik Media Player */
.media-player-inline {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 1rem;
}

.media-player-inline .media-player-controls {
    display: flex;
    align-items: stretch;
    gap: 0.4rem;
    width: 100%;
}

.media-btn {
    flex: 0 0 auto;
    min-height: 2.75rem;
    min-width: 2.75rem;
    padding: 0.5rem 0.85rem;
    font-family: inherit;
    font-size: 0.85rem;
    border: 2px solid #6b4a3a;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Önceki / Sonraki */
.media-btn-prev,
.media-btn-next {
    background: linear-gradient(180deg, #6b5a4a 0%, #5a4a3a 100%);
    color: white;
}

.media-btn-prev:hover,
.media-btn-next:hover {
    background: linear-gradient(180deg, #7b6a5a 0%, #6a5a4a 100%);
}

/* Oynat/Durdur */
.media-btn-play-pause {
    font-size: 1.1rem;
    width: 3rem;
    min-width: 3rem;
    max-width: 3rem;
}

.media-btn-icon {
    display: inline-block;
    width: 1em;
    text-align: center;
}

/* Müzik çalarken pause ikonu dönsün */
.media-btn-play-pause.playing .media-btn-icon {
    animation: media-icon-spin 2s linear infinite;
}

@keyframes media-icon-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Oynat durumu - kırmızı */
.media-btn-play-pause.playing {
    background: linear-gradient(180deg, #c44 0%, #a22 100%);
    color: white;
}

.media-btn-play-pause.playing:hover {
    background: linear-gradient(180deg, #d55 0%, #b33 100%);
}

/* Duraklat durumu - yeşil (varsayılan) */
.media-btn-play-pause:not(.playing) {
    background: linear-gradient(180deg, #4a6a4a 0%, #3a5a3a 100%);
    color: white;
}

.media-btn-play-pause:not(.playing):hover {
    background: linear-gradient(180deg, #5a7a5a 0%, #4a6a4a 100%);
}

.media-btn-share {
    flex: 1;
    min-width: 0;
    background: linear-gradient(135deg, #e85a2a 0%, #c73a0a 50%, #a82d08 100%);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    box-shadow: 0 2px 4px rgba(200,60,10,0.3);
}

.media-btn-share:hover {
    background: linear-gradient(135deg, #f06a3a 0%, #d74a1a 50%, #b83d10 100%);
    box-shadow: 0 3px 6px rgba(200,60,10,0.4);
}

.sidebar-popular-header {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 0.5rem;
}

.sidebar-popular-header img {
    max-width: 160px;
    height: auto;
    display: block;
}

.sidebar-title {
    font-family: 'Caveat', 'Comic Neue', 'Comic Sans MS', cursive;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-brown);
    margin: 0 0 0.75rem 0;
    text-align: center;
}

.popular-list {
    margin: 0;
    padding-left: 1.25rem;
}

.popular-list li {
    margin-bottom: 0.4rem;
}

.popular-list a {
    font-size: 0.9rem;
    color: var(--text-brown);
}

.popular-list a:hover {
    text-decoration: underline;
}

.popular-nick {
    font-size: 0.8rem;
    color: #6b5344;
    margin-left: 0.25rem;
}

.popular-nick::before {
    content: "— ";
    color: #8b7355;
}

.popular-nick:hover {
    color: #2a3a5a;
}

/* Efsaneler - popüler gönderiler gibi satır satır */
.legends-list {
    margin: 0;
    padding-left: 1.25rem;
}

.legends-list li {
    margin-bottom: 0.5rem;
}

.legends-list a {
    font-size: 0.9rem;
    color: var(--text-brown);
}

.legends-list a:hover {
    text-decoration: underline;
}


.contribute-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contribute-btn {
    display: block;
    padding: 0.5rem 0.75rem;
    background: linear-gradient(180deg, #e8dcc8 0%, #d4c4a8 100%);
    border: 1px solid #b8a078;
    border-radius: 4px;
    font-size: 0.9rem;
    color: var(--text-brown);
    text-align: center;
    transition: background 0.2s;
}

.contribute-btn:hover {
    background: linear-gradient(180deg, #d4c4a8 0%, #c4b498 100%);
}

/* Bağış / Destek bölümü */
.donate-block {
    background: linear-gradient(180deg, #f5efe8 0%, #ebe4dc 100%);
    border-color: #a08050;
}

.donate-desc {
    font-size: 0.85rem;
    color: var(--text-brown);
    line-height: 1.5;
    margin: 0 0 1rem 0;
}

.donate-btn {
    display: block;
    padding: 0.6rem 1rem;
    background: linear-gradient(180deg, #2a3a5a 0%, #1a2a4a 100%);
    color: white !important;
    border: 2px solid #3a4a6a;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    transition: background 0.2s;
}

.donate-btn:hover {
    background: linear-gradient(180deg, #3a4a6a 0%, #2a3a5a 100%);
}

/* ===== MÜZİK SAYFASI - Winamp Temalı ===== */
.winamp-placeholder {
    background: linear-gradient(135deg, #2a2a3a 0%, #1a1a2a 100%) !important;
    border-color: #4a4a6a !important;
    color: #88aa88 !important;
    font-family: 'Courier New', monospace;
}

.video-placeholder {
    background: linear-gradient(135deg, #2a2a3a 0%, #1a1a2a 100%) !important;
    border-color: #5a4a6a !important;
    color: #aa88aa !important;
    font-family: 'Courier New', monospace;
}

.dizi-placeholder {
    background: linear-gradient(135deg, #2a2a3a 0%, #1a1a2a 100%) !important;
    border-color: #4a5a6a !important;
    color: #88aacc !important;
    font-family: 'Courier New', monospace;
}

.moda-placeholder {
    background: linear-gradient(135deg, #3a2a2a 0%, #2a1a1a 100%) !important;
    border-color: #6a4a5a !important;
    color: #cc88aa !important;
    font-family: 'Courier New', monospace;
}

.teknoloji-placeholder {
    background: linear-gradient(135deg, #1a2a2a 0%, #0a1a1a 100%) !important;
    border-color: #3a5a5a !important;
    color: #66ccaa !important;
    font-family: 'Courier New', monospace;
}

/* Winamp Player Skin - Klasik Winamp Görünümü */
.winamp-player {
    background: linear-gradient(180deg, #4a4a6a 0%, #3a3a5a 20%, #2a2a4a 50%, #1a1a3a 100%);
    border: 2px solid #5a5a7a;
    border-radius: 4px;
    padding: 0;
    margin-bottom: 1rem;
    box-shadow: 
        inset 0 1px 0 rgba(255,255,255,0.15),
        inset 0 -1px 0 rgba(0,0,0,0.3),
        0 2px 6px rgba(0,0,0,0.4);
}

.winamp-titlebar {
    background: linear-gradient(180deg, #2a2a4a 0%, #1a1a3a 100%);
    color: white;
    padding: 0.2rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 2px 2px 0 0;
    border-bottom: 1px solid #3a3a5a;
}

.winamp-logo {
    font-family: 'Courier New', monospace;
    letter-spacing: 0.08em;
}

.winamp-window-btn {
    font-size: 0.6rem;
    opacity: 0.8;
}

.winamp-body {
    padding: 0.35rem;
}

.winamp-display {
    background: #0a0a0a;
    padding: 0.5rem 0.6rem;
    border: 1px solid #252535;
    margin-bottom: 0.35rem;
    border-radius: 2px;
}

.winamp-time {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: bold;
    color: #00ff00;
    margin-bottom: 0.25rem;
    text-shadow: 0 0 4px #00ff00;
}

.winamp-spectrum {
    display: flex;
    gap: 2px;
    align-items: flex-end;
    height: 18px;
    margin-bottom: 0.3rem;
}

.winamp-eq-bar {
    flex: 1;
    min-width: 3px;
    background: linear-gradient(180deg, #00dd00 0%, #008800 100%);
    border-radius: 1px;
    animation: winamp-eq-pulse 0.4s ease-in-out infinite alternate;
}

.winamp-eq-bar:nth-child(1) { height: 55%; animation-delay: 0s; }
.winamp-eq-bar:nth-child(2) { height: 75%; animation-delay: 0.03s; }
.winamp-eq-bar:nth-child(3) { height: 95%; animation-delay: 0.06s; }
.winamp-eq-bar:nth-child(4) { height: 65%; animation-delay: 0.09s; }
.winamp-eq-bar:nth-child(5) { height: 85%; animation-delay: 0.12s; }
.winamp-eq-bar:nth-child(6) { height: 45%; animation-delay: 0.15s; }
.winamp-eq-bar:nth-child(7) { height: 70%; animation-delay: 0.18s; }
.winamp-eq-bar:nth-child(8) { height: 80%; animation-delay: 0.21s; }
.winamp-eq-bar:nth-child(9) { height: 60%; animation-delay: 0.24s; }
.winamp-eq-bar:nth-child(10) { height: 50%; animation-delay: 0.27s; }

@keyframes winamp-eq-pulse {
    from { opacity: 0.6; }
    to { opacity: 1; }
}

.winamp-track {
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    color: #00cc00;
    margin-bottom: 0.15rem;
}

.winamp-bitrate {
    font-family: 'Courier New', monospace;
    font-size: 0.6rem;
    color: #00aa00;
}

.winamp-stereo {
    color: #00ff00;
}

.winamp-sliders {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
    align-items: center;
}

.winamp-slider-wrap {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.winamp-slider-wrap label {
    font-size: 0.6rem;
    color: #aaa;
    width: 22px;
}

.winamp-slider {
    width: 60px;
    height: 8px;
    background: linear-gradient(180deg, #505060 0%, #353545 100%);
    border: 1px solid #454555;
    border-radius: 2px;
    position: relative;
}

.winamp-slider-wrap:last-child .winamp-slider { width: 40px; }

.winamp-slider-knob {
    position: absolute;
    left: 60%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 14px;
    background: linear-gradient(180deg, #e8c040 0%, #c0a020 50%, #a08010 100%);
    border: 1px solid #806020;
    border-radius: 2px;
    box-shadow: 0 0 2px rgba(0,0,0,0.5);
}

.winamp-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem;
    padding: 0.35rem 0;
    align-items: center;
    justify-content: center;
}

.winamp-btn {
    width: 24px;
    height: 20px;
    padding: 0;
    font-size: 0.7rem;
    background: linear-gradient(180deg, #d8d8e0 0%, #a8a8b0 50%, #888890 100%);
    border: 1px solid #606068;
    border-radius: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    color: #222;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
}

.winamp-btn:hover {
    background: linear-gradient(180deg, #e8e8f0 0%, #c0c0c8 100%);
}

.winamp-btn.winamp-small {
    width: 22px;
    height: 18px;
    font-size: 0.6rem;
}

.winamp-shuffle,
.winamp-repeat {
    font-size: 0.55rem;
    color: #999;
    padding: 0 0.2rem;
}

.winamp-repeat {
    font-size: 0.7rem;
}

.winamp-tagline {
    font-size: 0.6rem;
    color: #6a6a7a;
    text-align: center;
    padding: 0.2rem;
    font-style: italic;
}

/* ===== FOOTER ===== */
.site-footer {
    margin-top: 2rem;
    padding: 1.5rem 1rem;
    background: linear-gradient(180deg, #2a2530 0%, #1a1520 100%);
    border-top: 3px solid #3d3528;
}

.footer-inner {
    max-width: 1600px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.5rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: #c4b498;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #e8dcc8;
}

.footer-copyright {
    margin: 0;
    font-size: 0.85rem;
    color: #8b7a6a;
}

/* 2000'ler tarzı ziyaretçi sayacı */
.visitor-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(180deg, #1a1520 0%, #0d0a10 100%);
    border-top: 1px solid #3d3528;
    font-size: 0.9rem;
}

.visitor-counter-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00ff00;
    box-shadow: 0 0 8px #00ff00;
    animation: visitor-dot-blink 1.5s ease-in-out infinite;
}

@keyframes visitor-dot-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.visitor-counter-label {
    color: #8b7a6a;
}

.visitor-counter-number {
    font-family: 'Courier New', 'Consolas', monospace;
    font-weight: 700;
    font-size: 1.1rem;
    color: #00cc66;
    text-shadow: 0 0 6px rgba(0, 204, 102, 0.6);
    min-width: 2ch;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .site-logo img { max-height: 110px; }
    .main-nav { gap: 0.5rem; padding: 0.75rem; }
    .menu-item img { width: 105px; height: 52px; }
    .menu-item-games img { width: 200px; height: 52px; }
    .time-tunnel-wrapper { flex-direction: column; }
    .timeline-arrow { clip-path: none; border-radius: 4px; }
    .timeline-years .year { font-size: 0.95rem; }
    .content-wrapper { flex-direction: column; }
    .sidebar { width: 100%; }
    .posts-feed { grid-template-columns: repeat(2, 1fr); }
    .post-w-2 { grid-column: span 2; }
    .post-h-2 { grid-row: span 1; }
    .post-w-2 .post-placeholder,
    .post-h-2 .post-placeholder,
    .post-w-2.post-h-2 .post-placeholder { min-height: 60px; }
}

@media (max-width: 576px) {
    .main-nav { flex-direction: row; justify-content: center; }
    .content-wrapper { padding: 1rem 0.75rem; }
    .posts-feed { grid-template-columns: 1fr; }
    .post-w-2 { grid-column: span 1; }
}

/* ===== SOHBET SAYFASI - MIRC/ICQ Retro Tasarım ===== */
/* Kayan yazı - Sohbet kuralları */
.chat-marquee-wrap {
    overflow: hidden;
    background: #0a0a0f;
    border-bottom: 2px solid #2a4a2a;
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
}

.chat-marquee {
    display: flex;
    width: max-content;
    animation: chat-marquee-scroll 28s linear infinite;
    will-change: transform;
}

.chat-marquee:hover {
    animation-play-state: paused;
}

@keyframes chat-marquee-scroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-33.333%, 0, 0); }
}

.marquee-rule {
    display: inline-block;
    padding: 0.5rem 2rem;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Zıt (kontrast) renkler */
.rule-1 { background: #0a0a5c; color: #ffff00; }
.rule-2 { background: #5c0a0a; color: #00ff88; }
.rule-3 { background: #0a5c0a; color: #ff00ff; }
.rule-4 { background: #3a0a5c; color: #00ffff; }
.rule-5 { background: #1a1a1a; color: #ffffff; }

/* Sohbet - Index ile aynı genişlik */
.chat-full-wrapper {
    padding: 1.5rem 1rem 2rem;
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.chat-layout {
    display: flex;
    gap: 0;
    min-height: 480px;
    max-height: 70vh;
    border: 2px solid #2a4a2a;
    background: #0a0a0f;
}

/* Sol: Kanal listesi */
.chat-channels {
    width: 220px;
    min-width: 180px;
    border-right: 2px solid #2a4a2a;
    padding: 0.75rem 0;
    overflow-y: auto;
}

.chat-channels-title {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    font-weight: 700;
    color: #00aa00;
    padding: 0 1rem 0.5rem;
    border-bottom: 1px solid #2a4a2a;
    margin-bottom: 0.5rem;
}

.chat-channel-group {
    margin-bottom: 1rem;
}

.channel-group-label {
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    color: #668866;
    padding: 0.25rem 1rem;
}

.chat-channel {
    display: block;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: #88aa88;
    padding: 0.35rem 1rem;
    text-decoration: none;
    transition: all 0.2s;
}

.chat-channel:not(.locked):hover {
    background: #0f150f;
    color: #00cc00;
}

.chat-channel.active {
    background: #1a2a1a;
    color: #00ff00;
    border-left: 3px solid #00aa00;
}

.chat-channel.locked {
    color: #555555;
    opacity: 0.8;
    cursor: not-allowed;
}

.chat-channel.locked::after {
    content: " 🔒";
    font-size: 0.7rem;
}

/* Sohbet penceresi */
.chat-window {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.chat-window-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    background: #1a2a1a;
    border-bottom: 1px solid #2a4a2a;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.chat-header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chat-playpause-btn {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    width: 2rem;
    height: 2rem;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f150f;
    color: #00aa00;
    border: 1px solid #2a4a2a;
    cursor: pointer;
    transition: all 0.2s;
}

.chat-playpause-btn:hover {
    background: #1a2a1a;
    color: #00ff00;
    border-color: #00aa00;
}

.chat-fullscreen-btn {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
    background: #0f150f;
    color: #00aa00;
    border: 1px solid #2a4a2a;
    cursor: pointer;
    transition: all 0.2s;
}

.chat-fullscreen-btn:hover {
    background: #1a2a1a;
    color: #00ff00;
    border-color: #00aa00;
}

/* Tam ekran modu */
body.chat-fullscreen .site-header,
body.chat-fullscreen .site-footer,
body.chat-fullscreen .visitor-counter {
    display: none !important;
}

body.chat-fullscreen .chat-full-wrapper {
    position: fixed;
    inset: 0;
    z-index: 9999;
    max-width: none;
    margin: 0;
    padding: 1rem;
    background: #0a0a0f;
    overflow: auto;
}

body.chat-fullscreen .chat-full-wrapper {
    display: flex;
    flex-direction: column;
}

body.chat-fullscreen .chat-marquee-wrap {
    flex-shrink: 0;
}

body.chat-fullscreen .chat-layout {
    flex: 1;
    min-height: 0;
    max-height: none;
}

.chat-current-channel {
    color: #00ff00;
    font-weight: 700;
}

.chat-status {
    color: #88aa88;
    font-size: 0.8rem;
}

.chat-status #anonNick {
    color: #00cc00;
}

.chat-messages {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.chat-msg {
    padding: 0.2rem 0;
    color: #88aa88;
    line-height: 1.5;
}

.chat-msg.system {
    color: #668866;
    font-style: italic;
}

.msg-time {
    color: #556655;
    margin-right: 0.5rem;
}

.msg-nick {
    font-weight: 700;
    margin-right: 0.35rem;
}

.msg-nick.nick-1 { color: #00cc00; }
.msg-nick.nick-2 { color: #00ff88; }
.msg-nick.nick-3 { color: #88ff00; }
.msg-nick.nick-4 { color: #00aaff; }
.msg-nick.nick-5 { color: #ffaa00; }

.chat-input-area {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-top: 2px solid #2a4a2a;
    background: #0f0f15;
}

.chat-input {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    padding: 0.5rem 0.75rem;
    background: #0a0a0f;
    color: #00cc00;
    border: 1px solid #2a4a2a;
    outline: none;
}

.chat-input::placeholder {
    color: #446644;
}

.chat-input:focus {
    border-color: #00aa00;
}

.chat-send-btn {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    background: #1a3a1a;
    color: #00ff00;
    border: 1px solid #00aa00;
    cursor: pointer;
    transition: all 0.2s;
}

.chat-send-btn:hover {
    background: #00aa00;
    color: #0a0a0f;
}

@media (max-width: 768px) {
    .chat-layout {
        flex-direction: column;
    }
    .chat-channels {
        width: 100%;
        border-right: none;
        border-bottom: 2px solid #2a4a2a;
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0.5rem;
    }
    .chat-channel-group {
        margin-bottom: 0;
        flex: 1;
        min-width: 120px;
    }
}

/* ===== ÜYE KAYIT & GİRİŞ SAYFALARI ===== */
.auth-wrapper {
    max-width: 520px;
    margin: 0 auto;
    padding: 2rem 1rem 3rem;
}

.auth-card {
    background: linear-gradient(180deg, #faf6f0 0%, #f0e8dc 100%);
    border: 2px solid #c4a574;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 3px 3px 12px rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.9);
}

.auth-card-login {
    max-width: 400px;
    margin: 0 auto;
}

.auth-title {
    font-family: 'Caveat', cursive;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-brown);
    text-align: center;
    margin: 0 0 0.5rem 0;
    text-shadow: 1px 1px 0 rgba(255,255,255,0.8);
}

.auth-subtitle {
    font-size: 0.95rem;
    color: #6b5344;
    text-align: center;
    margin: 0 0 1.5rem 0;
}

.auth-closed-msg {
    text-align: center;
    padding: 2rem 1rem;
    background: linear-gradient(180deg, #e8e0d8 0%, #ddd4c8 100%);
    border: 2px dashed #a08050;
    border-radius: 6px;
}

.auth-closed-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.auth-closed-msg p {
    margin: 0.5rem 0;
    color: var(--text-brown);
}

.auth-closed-msg a {
    color: #2a3a5a;
    font-weight: 700;
    text-decoration: underline;
}

.auth-closed-hint {
    margin-top: 1rem !important;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.auth-field label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-brown);
}

.auth-field input[type="text"],
.auth-field input[type="email"],
.auth-field input[type="password"] {
    padding: 0.6rem 0.9rem;
    font-family: inherit;
    font-size: 1rem;
    border: 2px solid #b8a078;
    border-radius: 6px;
    background: #fff;
    color: var(--text-brown);
    transition: border-color 0.2s;
}

.auth-field input:focus {
    outline: none;
    border-color: #2a3a5a;
}

.auth-membership .membership-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.membership-option {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #fff;
    border: 2px solid #b8a078;
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.membership-option:hover,
.membership-option:has(input:checked) {
    border-color: #2a3a5a;
    background: rgba(42,58,90,0.06);
}

.membership-option input {
    margin-top: 0.25rem;
}

.membership-label {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.membership-name {
    font-weight: 700;
    color: var(--text-brown);
}

.membership-desc {
    font-size: 0.85rem;
    color: #6b5344;
}

.membership-paid .membership-name {
    color: #2a3a5a;
}

.auth-remember {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-brown);
    cursor: pointer;
}

.auth-info-block {
    padding: 1rem 1.25rem;
    background: rgba(139,90,43,0.08);
    border: 1px dashed #a08050;
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--text-brown);
    line-height: 1.5;
}

.auth-info-block p {
    margin: 0 0 0.5rem 0;
}

.auth-info-block p:last-child {
    margin-bottom: 0;
}

.auth-submit-btn {
    padding: 0.75rem 1.5rem;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(180deg, #2a3a5a 0%, #1a2a4a 100%);
    color: white;
    border: 2px solid #3a4a6a;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 0.5rem;
}

.auth-submit-btn:hover {
    background: linear-gradient(180deg, #3a4a6a 0%, #2a3a5a 100%);
}

.auth-switch {
    text-align: center;
    font-size: 0.9rem;
    color: #6b5344;
    margin: 1rem 0 0 0;
}

.auth-switch a {
    color: #2a3a5a;
    font-weight: 700;
    text-decoration: underline;
}

/* ===== PROFİL SAYFASI - Facebook tarzı, nostaljik ===== */
.profile-wrapper {
    max-width: 1600px;
    margin: 0 auto;
    padding: 1.5rem 1rem 2rem;
}

.profile-info-bar {
    position: relative;
    display: flex;
    gap: 2rem;
    padding: 1.5rem;
    background: linear-gradient(180deg, #faf6f0 0%, #f0e8dc 100%);
    border: 2px solid #c4a574;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.profile-actions-top {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
}

.profile-icon-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    background: linear-gradient(180deg, #e8dcc8 0%, #d4c4a8 100%);
    border: 1px solid #b8a078;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s;
    cursor: pointer;
}
button.profile-icon-btn {
    font-family: inherit;
    padding: 0;
}

.profile-icon-btn:hover {
    background: linear-gradient(180deg, #d4c4a8 0%, #c4b498 100%);
}

.profile-own .profile-actions-top {
    display: flex;
}

.profile-wrapper:not(.profile-own) .profile-actions-top {
    display: none;
}

.profile-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.profile-avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
    border: 4px solid #faf6f0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    overflow: hidden;
}
.profile-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-verified-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(180deg, #2a3a5a 0%, #1a2a4a 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    border: 2px solid #faf6f0;
}

.profile-identity {
    flex: 1;
    min-width: 0;
    padding-top: 1rem;
}

.profile-name-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.25rem;
}

.profile-name {
    font-family: 'Caveat', cursive;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-brown);
    margin: 0;
}

.profile-username {
    font-size: 1rem;
    color: #6b5344;
    margin: 0 0 0.5rem 0;
}

.profile-bio {
    font-size: 0.95rem;
    color: var(--text-brown);
    line-height: 1.5;
    margin: 0 0 0.75rem 0;
}

.profile-follow-stats {
    display: flex;
    gap: 1.5rem 2rem;
    margin-bottom: 1rem;
}

.profile-stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
    text-decoration: none;
    color: var(--text-brown);
    transition: color 0.2s;
}

.profile-stat-item:hover {
    color: #2a3a5a;
}

.profile-stat-num {
    font-size: 1.25rem;
    font-weight: 700;
}

.profile-stat-label {
    font-size: 0.85rem;
    color: #6b5344;
}

.profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    margin-bottom: 1rem;
}

.profile-meta-item {
    font-size: 0.9rem;
    color: #6b5344;
}

.profile-badge-paid {
    background: linear-gradient(180deg, #2a3a5a 0%, #1a2a4a 100%);
    color: white !important;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
}

.profile-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Kendi profilinde Takip Et butonu ve boş actions gizli */
.profile-own .profile-btn-follow,
.profile-own .profile-actions {
    display: none;
}

.profile-btn-follow {
    background: linear-gradient(180deg, #2a3a5a 0%, #1a2a4a 100%);
    color: white;
    border: 2px solid #3a4a6a;
}

.profile-btn-follow:hover {
    background: linear-gradient(180deg, #3a4a6a 0%, #2a3a5a 100%);
}

.profile-btn-follow.following {
    background: linear-gradient(180deg, #e8dcc8 0%, #d4c4a8 100%);
    color: var(--text-brown);
    border-color: #b8a078;
}

.profile-btn-follow.friend {
    background: linear-gradient(180deg, #2a5a3a 0%, #1a4a2a 100%);
    border-color: #3a6a4a;
}

.profile-btn {
    padding: 0.5rem 1rem;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.profile-btn-primary {
    background: linear-gradient(180deg, #2a3a5a 0%, #1a2a4a 100%);
    color: white;
    border: 2px solid #3a4a6a;
}

.profile-btn-primary:hover {
    background: linear-gradient(180deg, #3a4a6a 0%, #2a3a5a 100%);
}

.profile-btn-secondary {
    background: linear-gradient(180deg, #e8dcc8 0%, #d4c4a8 100%);
    color: var(--text-brown);
    border: 2px solid #b8a078;
}

.profile-btn-secondary:hover {
    background: linear-gradient(180deg, #d4c4a8 0%, #c4b498 100%);
}

.profile-tabs {
    display: flex;
    gap: 0;
    background: linear-gradient(180deg, #f0e8dc 0%, #e8dcc8 100%);
    border: 2px solid #c4a574;
    border-radius: 8px;
    padding: 0 1rem;
    margin-top: 1rem;
}

.profile-tab {
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-brown);
    text-decoration: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: color 0.2s, border-color 0.2s;
}

.profile-tab:hover {
    color: #2a3a5a;
}

.profile-tab.active {
    color: #2a3a5a;
    border-bottom-color: #2a3a5a;
}

.profile-content {
    padding-top: 1.5rem;
}

.profile-sidebar {
    width: 320px;
}

/* Paylaşım kutusu - Profil sayfası */
.post-compose-card {
    background: linear-gradient(180deg, #faf6f0 0%, #f0e8dc 100%);
    border: 2px solid #c4a574;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 2px 2px 0 rgba(0,0,0,0.08);
}

.post-compose-header {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1rem;
}

.post-compose-input-wrap {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.post-compose-emojis {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.post-compose-emoji-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: linear-gradient(180deg, #e8dcc8 0%, #d4c4a8 100%);
    border: 1px solid #b8a078;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.15s, background 0.15s;
}

.post-compose-emoji-btn:hover {
    background: linear-gradient(180deg, #d4c4a8 0%, #c4b498 100%);
    transform: scale(1.1);
}

.post-compose-input-wrap textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    font-family: inherit;
    font-size: 1.1rem;
    line-height: 1.5;
    border: 2px solid #b8a078;
    border-radius: 8px;
    resize: vertical;
    min-height: 120px;
}

.post-compose-input-wrap textarea:focus {
    outline: none;
    border-color: #2a3a5a;
}

.post-compose-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    padding-top: 0.5rem;
    border-top: 1px dashed rgba(184,160,120,0.5);
}

.post-compose-btn {
    padding: 0.4rem 0.8rem;
    font-family: inherit;
    font-size: 0.9rem;
    background: linear-gradient(180deg, #e8dcc8 0%, #d4c4a8 100%);
    border: 1px solid #b8a078;
    border-radius: 4px;
    color: var(--text-brown);
    cursor: pointer;
    transition: background 0.2s;
}

.post-compose-btn:hover {
    background: linear-gradient(180deg, #d4c4a8 0%, #c4b498 100%);
}

.post-compose-submit {
    margin-left: auto;
    padding: 0.5rem 1.25rem;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    background: linear-gradient(180deg, #2a3a5a 0%, #1a2a4a 100%);
    color: white;
    border: 2px solid #3a4a6a;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.post-compose-submit:hover {
    background: linear-gradient(180deg, #3a4a6a 0%, #2a3a5a 100%);
}

.profile-score-block {
    text-align: center;
    padding: 1.25rem 1rem;
}

.profile-score-value {
    font-family: 'Caveat', cursive;
    font-size: 3.5rem;
    font-weight: 700;
    color: #2a3a5a;
    line-height: 1;
    margin-top: 0.5rem;
}

.profile-about-info p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--text-brown);
}

.profile-list-desc {
    font-size: 0.8rem;
    color: #6b5344;
    margin: -0.25rem 0 0.5rem 0;
    line-height: 1.3;
}

.profile-friends-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.friend-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 1px rgba(0,0,0,0.3);
    transition: transform 0.2s;
}

.friend-avatar:hover {
    transform: scale(1.1);
}

.profile-photos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.profile-photo-thumb {
    aspect-ratio: 1;
    background: rgba(139,90,43,0.12);
    border: 1px dashed #a08050;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.profile-link-more {
    font-size: 0.9rem;
    color: #2a3a5a;
    font-weight: 700;
}

.profile-link-more:hover {
    text-decoration: underline;
}

@media (max-width: 991px) {
    .profile-info-bar {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .profile-actions-top {
        top: 0.75rem;
        right: 0.75rem;
    }
    .profile-name-row {
        justify-content: center;
    }
    .profile-avatar {
        width: 120px;
        height: 120px;
        font-size: 1.8rem;
    }
    .profile-verified-badge {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }
    .profile-actions {
        justify-content: center;
    }
    .profile-tabs {
        overflow-x: auto;
    }
    .profile-sidebar {
        width: 100%;
    }
}

/* ===== SABİT MESAJLAŞMA BUTONU - Tüm sayfalarda ===== */
.msg-fab {
    position: fixed;
    bottom: 4rem;
    right: 1.5rem;
    z-index: 9998;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #2a3a5a 0%, #1a2a4a 100%);
    color: white;
    border: 2px solid #3a4a6a;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    transition: transform 0.2s, box-shadow 0.2s;
}

.msg-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.msg-fab-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: #c71585;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.msg-fab-badge.empty,
.msg-fab-badge:empty {
    display: none;
}

/* Mesajlar sayfasında FAB gizli */
body.messages-page .msg-fab {
    display: none !important;
}

/* ===== MESAJLAR SAYFASI ===== */
.messages-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 1rem 2rem;
}

.messages-layout {
    display: flex;
    gap: 0;
    min-height: 560px;
    background: linear-gradient(180deg, #faf6f0 0%, #f0e8dc 100%);
    border: 2px solid #c4a574;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.messages-sidebar {
    width: 280px;
    min-width: 240px;
    border-right: 2px solid #c4a574;
    display: flex;
    flex-direction: column;
}

.messages-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(184,165,116,0.5);
}

.messages-title {
    font-family: 'Caveat', cursive;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-brown);
    margin: 0;
}

.messages-new-btn {
    padding: 0.35rem 0.75rem;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    background: linear-gradient(180deg, #2a3a5a 0%, #1a2a4a 100%);
    color: white;
    border: 1px solid #3a4a6a;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.messages-new-btn:hover {
    background: linear-gradient(180deg, #3a4a6a 0%, #2a3a5a 100%);
}

.messages-search {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(184,165,116,0.5);
}

.messages-search-input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-family: inherit;
    font-size: 0.9rem;
    border: 2px solid #b8a078;
    border-radius: 6px;
    background: #fff;
}

.messages-search-input:focus {
    outline: none;
    border-color: #2a3a5a;
}

.messages-conversation-list {
    flex: 1;
    overflow-y: auto;
}

.messages-conv {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid rgba(184,165,116,0.3);
    transition: background 0.2s;
}

.messages-conv:hover {
    background: rgba(139,90,43,0.06);
}

.messages-conv.active {
    background: rgba(42,58,90,0.12);
}

.messages-conv-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 1px rgba(0,0,0,0.3);
    flex-shrink: 0;
}

.messages-conv-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.messages-conv-name {
    font-weight: 700;
    color: var(--text-brown);
    font-size: 0.95rem;
}

.messages-conv-preview {
    font-size: 0.82rem;
    color: #6b5344;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.messages-conv-time {
    font-size: 0.75rem;
    color: #8b7355;
    flex-shrink: 0;
}

.messages-conv-badge {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: #c71585;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.messages-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.messages-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: linear-gradient(180deg, #e8dcc8 0%, #d4c4a8 100%);
    border-bottom: 2px solid #c4a574;
}

.messages-chat-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.messages-chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 1px rgba(0,0,0,0.3);
}

.messages-chat-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-brown);
    margin: 0 0 0.1rem 0;
}

.messages-chat-status {
    font-size: 0.8rem;
    color: #6b5344;
}

.messages-chat-actions {
    display: flex;
    gap: 0.5rem;
}

.messages-header-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    background: linear-gradient(180deg, #e8dcc8 0%, #d4c4a8 100%);
    border: 1px solid #b8a078;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.messages-header-btn:hover {
    background: linear-gradient(180deg, #d4c4a8 0%, #c4b498 100%);
}

.messages-chat-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.messages-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.msg-bubble {
    max-width: 75%;
    padding: 0.6rem 1rem;
}

.msg-bubble.msg-sent {
    align-self: flex-end;
    background: linear-gradient(180deg, #2a3a5a 0%, #1a2a4a 100%);
    color: white;
    border-radius: 12px 12px 4px 12px;
}

.msg-bubble.msg-received {
    align-self: flex-start;
    background: linear-gradient(180deg, #e8dcc8 0%, #d4c4a8 100%);
    color: var(--text-brown);
    border: 1px solid #b8a078;
    border-radius: 12px 12px 12px 4px;
}

.msg-bubble-text {
    display: block;
    font-size: 0.95rem;
    line-height: 1.4;
}

.msg-bubble-time {
    display: block;
    font-size: 0.7rem;
    opacity: 0.8;
    margin-top: 0.25rem;
}

.messages-chat-input-area {
    display: flex;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    border-top: 2px solid #c4a574;
    background: rgba(139,90,43,0.04);
}

.messages-chat-input {
    flex: 1;
    padding: 0.65rem 1rem;
    font-family: inherit;
    font-size: 1rem;
    border: 2px solid #b8a078;
    border-radius: 8px;
}

.messages-chat-input:focus {
    outline: none;
    border-color: #2a3a5a;
}

.messages-chat-send {
    padding: 0.65rem 1.25rem;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    background: linear-gradient(180deg, #2a3a5a 0%, #1a2a4a 100%);
    color: white;
    border: 2px solid #3a4a6a;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.messages-chat-send:hover {
    background: linear-gradient(180deg, #3a4a6a 0%, #2a3a5a 100%);
}

.messages-friends {
    width: 200px;
    min-width: 180px;
    border-left: 2px solid #c4a574;
    padding: 1rem;
}

.messages-friends-title {
    font-family: 'Caveat', cursive;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-brown);
    margin: 0 0 0.75rem 0;
}

.messages-friends-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.messages-friend {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    text-decoration: none;
    color: inherit;
    border-radius: 6px;
    transition: background 0.2s;
}

.messages-friend:hover {
    background: rgba(139,90,43,0.08);
}

.messages-friend-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 1px rgba(0,0,0,0.3);
    flex-shrink: 0;
}

.messages-friend-name {
    flex: 1;
    font-size: 0.9rem;
    color: var(--text-brown);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.messages-friend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #999;
    flex-shrink: 0;
}

.messages-friend-dot.online {
    background: #00aa00;
    box-shadow: 0 0 6px rgba(0,170,0,0.5);
}

@media (max-width: 991px) {
    .messages-friends {
        display: none;
    }
}

@media (max-width: 768px) {
    .messages-sidebar {
        width: 100%;
    }
    .messages-layout {
        flex-direction: column;
    }
    .messages-main {
        min-height: 400px;
    }
}

/* Oyunlar sayfası */
html.games-page, body.games-page { overflow-x: hidden; }
.games-marquee-wrap {
    overflow: hidden;
    background: #0a0a0f;
    border: 2px solid #2a3a5a;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}
.games-marquee {
    display: flex;
    width: max-content;
    animation: games-marquee-scroll 25s linear infinite;
    will-change: transform;
}
.games-marquee:hover { animation-play-state: paused; }
@keyframes games-marquee-scroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}
.games-marquee-item {
    display: inline-block;
    padding: 0.6rem 2rem;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}
.games-marquee-item.item-1 { background: #0a0a5c; color: #ffff00; }
.games-marquee-item.item-2 { background: #5c0a0a; color: #00ff88; }
.games-marquee-item.item-3 { background: #0a5c0a; color: #ff00ff; }
.games-marquee-item.item-4 { background: #3a0a5c; color: #00ffff; }
.games-marquee-item.item-5 { background: #1a1a1a; color: #ffffff; }
.games-sidebar-title {
    display: none;
    font-size: 1.1rem;
    font-weight: 700;
    color: #e8dcc8;
    margin: 0 0 1rem 0;
}
.games-layout.has-panel .games-sidebar-title { display: block; }
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}
.game-card {
    aspect-ratio: 1;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15), 0 1px 3px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
}
.game-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.2), 0 4px 12px rgba(0,0,0,0.15);
}
.game-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,0.1) 70%, transparent 100%);
    z-index: 1;
}
.game-card:hover::before {
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 35%, rgba(0,0,0,0.15) 65%, transparent 100%);
}
.game-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.25rem 1rem;
    z-index: 2;
}
.game-card-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    background: rgba(42,58,90,0.95);
    color: #e8dcc8;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    letter-spacing: 0.03em;
}
.game-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.4rem 0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    line-height: 1.2;
}
.game-card-desc {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.9);
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.chat-full-wrapper.games-page {
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}
.games-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.games-top-row {
    display: none;
    gap: 1rem;
    align-items: flex-start;
}
.games-layout.has-panel .games-top-row { display: flex; }
.games-layout.has-panel .games-panel-wrap {
    display: block;
    flex: 0 0 78%;
    max-width: 78%;
}
.games-layout.has-panel .games-sidebar {
    flex: 1;
    min-width: 0;
}
.games-sidebar-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.games-sidebar-row .game-card {
    width: 100%;
    aspect-ratio: 1;
    min-width: 180px;
}
.games-panel-wrap { display: none; }
.games-panel-wrap.active { display: block; }
.games-panel {
    width: 100%;
    aspect-ratio: 1;
    height: auto;
    margin: 0;
    background: #0a0f1a;
    border: 3px solid #3a4a6a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
}
.games-panel-wrap.fullscreen .games-panel {
    width: 100vw;
    max-width: none;
    height: 100vh;
    max-height: none;
    min-height: 0;
    border-radius: 0;
}
.games-panel-header {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: linear-gradient(180deg, #2a3a5a 0%, #1a2a4a 100%);
    border-bottom: 2px solid #3a4a6a;
}
.games-panel-title {
    color: #e8dcc8;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    flex: 1;
}
.games-panel-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.games-panel-btn, .games-panel-close {
    padding: 0.4rem 0.9rem;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    background: rgba(255,255,255,0.15);
    color: #e8dcc8;
    border: 2px solid #6a7a9a;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}
.games-panel-btn:hover, .games-panel-close:hover {
    background: rgba(255,255,255,0.25);
}
.games-panel-frame {
    flex: 1;
    min-height: 0;
    width: 100%;
    border: none;
}
.games-grid-below { display: none; }
.games-layout.has-panel .games-grid-below {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}
.games-grid-initial { display: none; }
.games-layout:not(.has-panel) .games-grid-initial {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

/* Profil düzenleme modalı */
.profile-edit-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.profile-edit-modal[hidden] {
    display: none !important;
}
.profile-edit-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    cursor: pointer;
}
.profile-edit-modal-content {
    position: relative;
    background: linear-gradient(180deg, #faf6f0 0%, #f0e8dc 100%);
    border: 2px solid #c4a574;
    border-radius: 12px;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.profile-edit-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 2px solid #c4a574;
}
.profile-edit-modal-title {
    font-family: 'Caveat', cursive;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-brown);
}
.profile-edit-modal-close {
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(0,0,0,0.08);
    border-radius: 6px;
    font-size: 1.2rem;
    cursor: pointer;
    color: #6b5344;
    transition: background 0.2s;
}
.profile-edit-modal-close:hover {
    background: rgba(0,0,0,0.15);
}
.profile-edit-form {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.profile-edit-avatar-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.profile-edit-avatar-preview {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5a7a9a 0%, #3a5a7a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.profile-edit-avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.profile-edit-avatar-initials {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.profile-edit-avatar-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.profile-edit-avatar-label {
    font-size: 0.9rem;
    color: #2a3a5a;
    cursor: pointer;
    text-decoration: underline;
}
.profile-edit-avatar-label input {
    display: none;
}
.profile-edit-avatar-remove {
    font-size: 0.85rem;
    background: none;
    border: none;
    color: #6b5344;
    cursor: pointer;
    text-align: left;
}
.profile-edit-avatar-remove:hover {
    color: #c0392b;
}
.profile-edit-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.profile-edit-field label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-brown);
}
.profile-edit-field input,
.profile-edit-field textarea {
    padding: 0.6rem 0.8rem;
    border: 2px solid #c4a574;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    background: #fff;
}
.profile-edit-field input:focus,
.profile-edit-field textarea:focus {
    outline: none;
    border-color: #2a3a5a;
}
.profile-edit-hint {
    font-size: 0.8rem;
    color: #6b5344;
}
.profile-edit-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 0.5rem;
}
.profile-edit-btn {
    padding: 0.6rem 1.25rem;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}
.profile-edit-btn-cancel {
    background: rgba(0,0,0,0.08);
    border: 2px solid #c4a574;
    color: #6b5344;
}
.profile-edit-btn-cancel:hover {
    background: rgba(0,0,0,0.12);
}
.profile-edit-btn-save {
    background: linear-gradient(180deg, #2a3a5a 0%, #1a2a4a 100%);
    border: 2px solid #3a4a6a;
    color: #faf6f0;
}
.profile-edit-btn-save:hover {
    background: linear-gradient(180deg, #3a4a6a 0%, #2a3a5a 100%);
}
.profile-edit-btn-save:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Profil ayarlar modalı */
.profile-settings-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.profile-settings-modal[hidden] {
    display: none !important;
}
.profile-settings-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    cursor: pointer;
}
.profile-settings-modal-content {
    position: relative;
    background: linear-gradient(180deg, #faf6f0 0%, #f0e8dc 100%);
    border: 2px solid #c4a574;
    border-radius: 12px;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.profile-settings-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 2px solid #c4a574;
}
.profile-settings-modal-title {
    font-family: 'Caveat', cursive;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-brown);
}
.profile-settings-modal-close {
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(0,0,0,0.08);
    border-radius: 6px;
    font-size: 1.2rem;
    cursor: pointer;
    color: #6b5344;
    transition: background 0.2s;
}
.profile-settings-modal-close:hover {
    background: rgba(0,0,0,0.15);
}
.profile-settings-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.profile-settings-section {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(196,165,116,0.5);
}
.profile-settings-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}
.profile-settings-section-danger {
    border-bottom: none;
}
.profile-settings-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-brown);
    margin: 0 0 0.75rem 0;
}
.profile-settings-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.profile-settings-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.profile-settings-field label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-brown);
}
.profile-settings-field input,
.profile-settings-field select {
    padding: 0.6rem 0.8rem;
    border: 2px solid #c4a574;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    background: #fff;
}
.profile-settings-field input:focus,
.profile-settings-field select:focus {
    outline: none;
    border-color: #2a3a5a;
}
.profile-settings-hint {
    font-size: 0.85rem;
    color: #6b5344;
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
}
.profile-settings-btn {
    padding: 0.6rem 1.25rem;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
    border: 2px solid transparent;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}
.profile-settings-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.profile-settings-btn-primary {
    background: linear-gradient(180deg, #2a3a5a 0%, #1a2a4a 100%);
    border-color: #3a4a6a;
    color: #faf6f0;
}
.profile-settings-btn-primary:hover:not(:disabled) {
    background: linear-gradient(180deg, #3a4a6a 0%, #2a3a5a 100%);
}
.profile-settings-btn-cancel {
    background: rgba(0,0,0,0.08);
    border-color: #c4a574;
    color: #6b5344;
}
.profile-settings-btn-cancel:hover {
    background: rgba(0,0,0,0.12);
}
.profile-settings-btn-danger {
    background: linear-gradient(180deg, #c0392b 0%, #a93226 100%);
    border-color: #a93226;
    color: #fff;
}
.profile-settings-btn-danger:hover:not(:disabled) {
    background: linear-gradient(180deg, #a93226 0%, #922b21 100%);
}
.profile-settings-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1rem;
}
.profile-settings-confirm .profile-settings-modal-content {
    max-width: 420px;
}
.profile-settings-confirm-content {
    padding: 1.5rem;
}
