.sizden-gelenler-section {
    padding: 1rem 0;
    overflow: hidden;
}

.sg-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 14px;
}

.sg-section-header .section-title {
    margin-bottom: 0;
}

.sg-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.sg-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 1px solid var(--surface-700);
    border-radius: 8px;
    background: var(--surface-900, #070707);
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.sg-nav-btn:hover:not(.swiper-button-disabled) {
    background: var(--surface-800, #0d0d0d);
    border-color: var(--surface-600);
    color: var(--text-on-dark, #f1f5f9);
}

.sg-nav-btn.swiper-button-disabled {
    opacity: 0.35;
    cursor: default;
}

.sizden-gelenler-swiper {
    width: 100%;
    margin: -8px 0 -4px;
    padding: 8px 0 4px;
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
}

.sizden-gelenler-swiper .swiper-wrapper {
    align-items: stretch;
}

.sizden-gelenler-swiper .swiper-slide {
    width: 100%;
    height: auto;
    box-sizing: border-box;
    overflow: visible;
}

@media (min-width: 1025px) {
    .sizden-gelenler-swiper .swiper-slide {
        width: calc((100% - 32px) / 3);
    }
}

/* —— Kart —— */
.sg-card {
    --sg-glow-rgb: 0, 200, 255;
    --sg-glow-opacity: 0.32;
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    height: 110px;
    min-height: 110px;
    max-height: 110px;
    padding: 15px 14px 15px 12px;
    background: var(--surface-800);
    border: 1px solid var(--surface-700);
    border-radius: 12px;
    box-sizing: border-box;
    overflow: hidden;
    cursor: pointer;
    transition: background 0.25s ease, box-shadow 0.35s ease;
}

.sg-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    border-radius: 12px;
    background:
        radial-gradient(ellipse 95% 85% at 0% 0%,
            rgba(var(--sg-glow-rgb), var(--sg-glow-opacity)) 0%,
            rgba(var(--sg-glow-rgb), 0.14) 40%,
            transparent 70%
        );
    transition: opacity 0.35s ease;
}

.sg-card:hover {
    --sg-glow-opacity: 0.52;
    background: var(--card-bg);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
}

/* —— Thumb —— */
.sg-card__thumb {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: visible;
    transform: translateZ(0);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.sg-card:hover .sg-card__thumb {
    z-index: 5;
    transform: scale(1.08) translateY(-3px) translateZ(0);
}

/* glow span artık kullanılmıyor, gizle */
.sg-card__glow {
    display: none;
}

.sg-card__thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: 8px;
    pointer-events: none;
    background:
        radial-gradient(ellipse 70% 50% at 0% 0%, rgba(0, 0, 0, 0.3) 0%, transparent 55%),
        radial-gradient(ellipse 70% 50% at 100% 0%, rgba(0, 0, 0, 0.25) 0%, transparent 55%),
        radial-gradient(ellipse 60% 42% at 0% 100%, rgba(0, 0, 0, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse 60% 42% at 100% 100%, rgba(0, 0, 0, 0.2) 0%, transparent 50%);
}

.sg-card__game-img {
    position: relative;
    z-index: 1;
    display: block;
    width: 80px;
    height: 80px;
    max-width: none;
    border-radius: 8px;
    object-fit: cover;
    object-position: center center;
    border: 1px solid rgba(13, 60, 89, 0.55);
    background: var(--surface-900);
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.03) inset;
    transition: box-shadow 0.4s ease, border-color 0.35s ease;
}

.sg-card:hover .sg-card__game-img {
    border-color: rgba(var(--sg-glow-rgb), 0.45);
    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.45),
        0 0 24px rgba(var(--sg-glow-rgb), 0.28),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.sg-card__multiplier-capsule {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--surface-900, #070707);
    border: 1px solid rgba(var(--sg-glow-rgb), 0.5);
    padding: 2px 10px;
    border-radius: 12px;
    color: var(--text-light);
    font-size: 11px;
    font-weight: 800;
    box-shadow: 0 4px 8px rgba(0,0,0,0.6);
    z-index: 10;
    white-space: nowrap;
}

.sg-card__avatar {
    width: 22px;
    height: 22px;
    max-width: none;
    object-fit: cover;
    display: block;
    border-radius: 50%;
    border: 1.5px solid var(--brand-red);
}

.sg-card__provider {
    width: 56px;
    height: auto;
    max-width: none;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.sg-card__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    min-width: 0;
}

.sg-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 2px;
}

.sg-card__user {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    flex: 1;
}

.sg-card__username {
    color: var(--text-light);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sg-card__game-label {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sg-card__amount {
    margin: 2px 0 2px;
    color: var(--brand-red-hover);
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sg-card__multiplier-text {
    margin: 0;
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: 800;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 1024px) {
    .sg-nav-btn {
        width: 25px;
        height: 25px;
        font-size: 0.85rem;
        border-radius: 6px;
    }

    .sizden-gelenler-section {
        overflow: visible;
        position: relative;
        z-index: 2;
        padding-bottom: 0.75rem;
    }

    .sizden-gelenler-swiper {
        margin: 0;
        padding: 0;
        overflow: visible;
        min-height: 110px;
        height: auto !important;
    }

    .sizden-gelenler-swiper .swiper-wrapper {
        min-height: 110px;
        align-items: stretch;
    }

    .sizden-gelenler-swiper .swiper-slide {
        width: 100%;
        height: auto;
        min-height: 110px;
        display: flex;
        align-items: stretch;
    }

    .sg-card {
        width: 100%;
        max-width: 100%;
        height: 110px;
        min-height: 110px;
        max-height: none;
        padding: 12px;
        gap: 10px;
        box-shadow: none;
    }

    .sg-card:hover {
        box-shadow: none;
    }

    .sg-card:hover .sg-card__thumb {
        transform: none;
    }

    .sg-card__amount {
        font-size: 0.92rem;
    }
}




.sg-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--surface-700, #1a1a1a);
    padding-bottom: 16px;
    flex-wrap: wrap;
    gap: 16px;
}

.sg-page-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-light);
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sg-page-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.sg-share-btn {
    background: rgba(var(--primary), 0.1);
    color: var(--brand-red);
    border: 1px solid rgba(var(--primary), 0.5);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.sg-share-btn:hover {
    background: rgba(var(--primary), 0.2);
    border-color: var(--brand-red);
    box-shadow: 0 0 15px rgba(var(--primary), 0.3);
}

.sg-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
}

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

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

@media (min-width: 1280px) {
    .sg-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Modal Özel Stilleri */
.share-modal-body .cm-form-group {
    margin-bottom: 16px;
}

.share-modal-body label {
    display: block;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 6px;
}

.share-modal-body input, .share-modal-body select {
    width: 100%;
    background: var(--surface-800, #0f0f0f);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 14px;
    color: var(--text-light);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.share-modal-body input:focus, .share-modal-body select:focus {
    border-color: var(--brand-red);
}

.share-flex-row {
    display: flex;
    gap: 12px;
}

.share-flex-row .cm-form-group {
    flex: 1;
}

.currency-input {
    position: relative;
}

.currency-input input {
    padding-left: 30px;
}

.currency-input::before {
    content: "₺";
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-weight: 600;
}

.sg-search-input-wrapper {
    position: relative;
}

.sg-search-input-wrapper i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 16px;
}

.sg-search-input-wrapper input {
    padding-left: 36px !important;
}

.game-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface-800, #0f0f0f);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-top: 4px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.game-dropdown-menu.hidden {
    display: none;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    cursor: pointer;
    transition: background 0.2s;
    border-bottom: 1px solid rgba(255,255,255,0.02);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.dropdown-item-title {
    color: var(--text-light);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 2px;
}

.dropdown-item-provider {
    color: var(--text-secondary);
    font-size: 11px;
}

.share-footer-note {
    text-align: center;
    color: var(--text-secondary);
    font-size: 11px;
    margin-top: 12px;
}

.share-modal-body .cm-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(var(--primary), 0.15);
    color: var(--text-secondary);
    border: none;
}

.share-modal-body .cm-submit-btn:hover {
    background: rgba(var(--primary), 0.25);
    color: var(--text-light);
}

.label-red {
    color: var(--brand-red) !important;
}

.position-relative {
    position: relative;
}

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

.share-flex-row {
    margin-bottom: 16px;
    align-items: flex-end;
}

.selected-item-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--surface-800, #0f0f0f);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 12px;
}
.selected-item-card.hidden {
    display: none !important;
}
.selected-item-card img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    object-fit: cover;
    background: var(--surface-800);
    flex-shrink: 0;
}
.selected-item-info {
    flex: 1;
}
.selected-item-title {
    color: var(--text-light);
    font-size: 13px;
    font-weight: 600;
}
.selected-item-provider {
    color: var(--text-secondary);
    font-size: 11px;
}
.clear-selected-btn {
    background: rgba(255,255,255,0.05);
    border: none;
    color: var(--text-secondary);
    border-radius: 4px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.clear-selected-btn:hover {
    background: rgba(var(--primary), 0.2);
    color: var(--brand-red);
}

.sg-card__watch-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(var(--primary), 0.1);
    color: var(--brand-red);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-top: 8px;
}
.sg-card__watch-btn:hover {
    background: rgba(var(--primary), 0.2);
    color: var(--text-light);
}
 
/* Video Modal CSS */
.vm-content {
    position: relative;
    margin: 5vh auto;
    max-width: 90vw;
    width: 100%;
    height: 90vh;
    background: var(--surface-900, #090909);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

.vm-header {
    background: var(--surface-800, #0c0c0c);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.vm-game-info {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 30%;
}

.vm-game-info img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.vm-game-info span {
    color: var(--text-light);
    font-size: 14px;
    font-weight: 700;
}

.vm-stats {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    flex: 1;
}

.vm-stat-capsule {
    background: var(--surface-900, #070707);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 4px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vm-stat-label {
    color: var(--text-secondary);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.vm-stat-val {
    color: var(--text-light);
    font-size: 13px;
    font-weight: 800;
}

.vm-stat-win { color: #4ade80; }
.vm-stat-mult { color: var(--brand-red-hover); }

.vm-user-info {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 30%;
    justify-content: flex-end;
}

.vm-user-details {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vm-user-details img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--brand-red);
    object-fit: cover;
}

.vm-user-details span {
    color: var(--text-light);
    font-size: 13px;
    font-weight: 700;
}

.vm-close-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    transition: color 0.2s;
    padding: 0;
}

.vm-close-btn:hover {
    color: var(--text-light);
}

.vm-body {
    flex: 1;
    min-height: 0;
    background: var(--surface-900, #000);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vm-body iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Mobile Responsiveness — true fullscreen, safe-area aware */
@media (max-width: 768px) {
    #videoModal.custom-modal-overlay {
        inset: 0;
        width: 100%;
        height: 100%;
        height: 100dvh;
        max-height: 100dvh;
        padding: 0;
        margin: 0;
        align-items: stretch;
        justify-content: flex-start;
        overflow: hidden;
    }

    .vm-content {
        position: relative;
        margin: 0;
        width: 100%;
        max-width: 100%;
        height: 100%;
        height: 100dvh;
        max-height: 100dvh;
        border-radius: 0;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        /* Fullscreen: scale animasyonu üstü kesmesin */
        transform: none !important;
    }

    .vm-header {
        flex-shrink: 0;
        padding: calc(10px + env(safe-area-inset-top, 0px)) 12px 10px;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
        background: var(--surface-800, #0c0c0c);
    }

    .vm-user-info {
        width: 100%;
        order: -1;
        justify-content: space-between;
        align-items: center;
    }

    .vm-close-btn {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.1);
        color: var(--text-light);
        font-size: 22px;
        justify-content: center;
    }

    .vm-game-info {
        width: auto;
        flex: 1 1 auto;
        min-width: 0;
        justify-content: flex-start;
    }

    .vm-game-info span {
        font-size: 13px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .vm-game-info img {
        width: 32px;
        height: 32px;
        flex-shrink: 0;
    }

    .vm-stats {
        width: 100%;
        flex: 1 1 100%;
        flex-wrap: nowrap;
        gap: 6px;
        justify-content: space-between;
    }

    .vm-stat-capsule {
        flex: 1;
        min-width: 0;
        padding: 4px 8px;
    }

    .vm-stat-val {
        font-size: 12px;
    }

    .vm-stat-label {
        font-size: 9px;
    }

    .vm-body {
        flex: 1 1 auto;
        min-height: 0;
        width: 100%;
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }
}