:root {
    --rm-bg: #0b0e14;
    --rm-bg-soft: #121824;
    --rm-surface: rgba(30, 41, 59, 0.55);
    --rm-border: rgba(255, 255, 255, 0.08);
    --rm-text: #e2e8f0;
    --rm-muted: #94a3b8;
    --rm-accent: #00d4ff;
    --rm-accent-2: #4facfe;
    --rm-success: #10b981;
}

/* ========== MOBİL UYARI BANNER ========== */
#mobileBanner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    background: linear-gradient(135deg, rgba(251,191,36,0.15) 0%, rgba(245,158,11,0.08) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(251,191,36,0.3);
    padding: 0.75rem 1rem;
    animation: slideUpBanner 0.4s ease-out;
}

#mobileBanner .banner-inner {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    max-width: 600px;
    margin: 0 auto;
}

#mobileBanner .banner-icon {
    font-size: 1.2rem;
    color: #fbbf24;
    flex-shrink: 0;
}

#mobileBanner .banner-text {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.9);
    flex: 1;
    line-height: 1.4;
}

#mobileBanner .banner-text strong {
    color: #fbbf24;
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.1rem;
}

#mobileBanner .banner-close {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.6);
    border-radius: 8px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s;
    font-size: 0.9rem;
    padding: 0;
}

#mobileBanner .banner-close:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

@keyframes slideUpBanner {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

@media (max-width: 991px) {
    #mobileBanner { display: flex; }
    body { padding-bottom: 75px; }
}

/* ========== MOBİL RESPONSIVE ========== */
@media (max-width: 768px) {
    html { font-size: 14px; }

    .navbar-rm { padding: 0.75rem 0; }
    .navbar-brand { font-size: 1rem !important; max-width: 72vw; }
    .navbar-brand i { font-size: 1.2rem !important; }

    .lang-switch {
        margin-bottom: 0.75rem !important;
        width: 100%;
        justify-content: center;
    }
    .lang-switch .btn { min-width: 3.5rem; font-size: 0.8rem; }

    /* Navbar linkleri mobilde daha tıklanabilir */
    .navbar-nav .nav-link {
        font-size: 0.95rem;
        padding: 0.65rem 0.75rem;
        border-radius: 10px;
        margin-bottom: 0.2rem;
    }
    .navbar-nav .nav-link:hover {
        background: rgba(0,212,255,0.08);
    }

    /* Hero */
    .hero-section { padding: 2.5rem 0 1.5rem; }
    .hero-title { font-size: clamp(2rem, 10vw, 2.85rem); letter-spacing: 0; }
    .hero-subtitle { font-size: 0.95rem; margin-top: 0.75rem; }
    .hero-badge { font-size: 0.78rem; padding: 0.35rem 0.75rem; }

    /* Cards */
    .stat-card { padding: 1rem 0.75rem; }
    .stat-card .stat-value { font-size: 1.5rem; }
    .feature-card { padding: 1.25rem; }
    .glass-card { padding: 1.25rem; }

    .bot-card .card-img-top { height: 175px; }
    .bot-card .card-body { padding: 1rem; }

    /* Galeri */
    .bot-gallery-frame { min-height: 220px; max-height: 280px; }
    .bot-thumbnail { width: 60px; height: 60px; }

    /* Butonlar - mobilde tam genişlik */
    .d-flex.flex-wrap.gap-3 > * { width: 100%; }
    .d-flex.flex-wrap.gap-3 .btn { width: 100%; justify-content: center; display: flex; }

    .btn-gradient, .btn-outline-rm {
        font-size: 0.9rem;
        padding: 0.65rem 1rem;
        min-height: 44px; /* touch hedefi */
    }

    /* Profil */
    .profile-sidebar, .profile-main { padding: 1rem; }

    /* Detay sayfası */
    .detail-panel .table td { padding: 0.65rem 0.75rem; font-size: 0.9rem; }

    /* Section */
    .section-heading { font-size: 1.4rem; }
    .section-subheading { font-size: 0.9rem; }

    .site-footer { padding: 1.25rem 0; font-size: 0.82rem; }
    .site-footer .container { flex-direction: column !important; text-align: center; gap: 0.5rem !important; }

    /* Form */
    .form-control-modern { padding: 0.7rem 0.9rem; font-size: 0.95rem; min-height: 44px; }
    .star-picker-btn { font-size: 1.6rem; }

    /* İnceleme */
    .review-summary { min-width: 100px; }
    .review-score { font-size: 1.6rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .container { padding-left: 1rem; padding-right: 1rem; }
    .glass-card { padding: 1rem; }
    .bot-card .card-img-top { height: 155px; }
}

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 0;
    background: #0b0e14;
    color: var(--rm-text);
    overflow-x: hidden;
}

.navbar-rm {
    background: rgba(10, 15, 28, 0.85) !important;
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.6rem 0;
    position: sticky;
    top: 0;
    z-index: 1020;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar-rm:hover,
.navbar-rm:focus-within {
    background: rgba(14, 20, 35, 0.92) !important;
    border-color: rgba(0, 212, 255, 0.12);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.navbar-rm .navbar-brand {
    font-weight: 800;
    letter-spacing: -0.3px;
    color: #fff !important;
    max-width: min(44vw, 620px);
    line-height: 1.1;
    font-size: clamp(1rem, 1.6vw, 1.35rem);
    white-space: normal;
    position: relative;
    padding: 0.25rem 0;
}

.navbar-rm .navbar-brand .bi-robot {
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.25));
}

.navbar-rm .brand-accent {
    color: var(--rm-accent);
}

.navbar-rm .nav-link {
    color: rgba(255, 255, 255, 0.55) !important;
    font-weight: 600;
    position: relative;
    padding: 0.55rem 0.9rem !important;
    border-radius: 10px;
    transition: all 0.2s ease;
    font-size: 0.88rem;
    letter-spacing: 0.2px;
}

.navbar-rm .nav-link:hover,
.navbar-rm .nav-link.active {
    color: #fff !important;
    background: rgba(0, 212, 255, 0.06);
    transform: translateY(-1px);
}

.rm-menu-toggle {
    min-width: 44px;
    min-height: 44px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.rm-menu-toggle:hover,
.rm-menu-toggle:focus {
    background: rgba(0, 212, 255, 0.1);
    box-shadow: 0 0 0 0.18rem rgba(0, 212, 255, 0.12);
    transform: translateY(-1px);
}

.lang-switch .btn-group {
    gap: 0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.flag-btn {
    border: none !important;
    color: var(--rm-muted);
    font-size: 0.82rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.4rem 0.7rem;
    transition: all 0.2s ease-in-out;
    border-radius: 0 !important;
    cursor: pointer;
}
.flag-btn:hover {
    color: #fff;
    background: rgba(0, 212, 255, 0.06);
}
.flag-btn.active {
    background: rgba(0, 212, 255, 0.1);
    color: var(--rm-accent);
}
.flag-icon {
    width: 24px;
    height: 18px;
    border-radius: 3px;
    object-fit: cover;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

/* Profil linki */
.nav-profile {
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 1rem !important;
    border-radius: 10px;
    background: rgba(0, 212, 255, 0.04) !important;
    border: 1px solid rgba(0, 212, 255, 0.08);
    color: #fff !important;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}
.nav-profile i {
    font-size: 1.3rem;
    color: var(--rm-accent);
}
.nav-profile .profile-name {
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    white-space: nowrap;
}
.nav-profile:hover {
    background: rgba(0, 212, 255, 0.08) !important;
    border-color: rgba(0, 212, 255, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.08);
}

/* Admin linki */
.nav-admin {
    display: flex !important;
    align-items: center;
    gap: 6px;
    padding: 0.5rem 0.85rem !important;
    border-radius: 10px;
    background: rgba(251, 191, 36, 0.06) !important;
    border: 1px solid rgba(251, 191, 36, 0.1);
    color: #fbbf24 !important;
    font-weight: 700;
    font-size: 0.82rem;
    transition: all 0.2s ease;
}
.nav-admin i {
    font-size: 1rem;
}
.nav-admin:hover {
    background: rgba(251, 191, 36, 0.1) !important;
    border-color: rgba(251, 191, 36, 0.2);
    color: #fcd34d !important;
    transform: translateY(-1px);
}

/* Arama kutusu */
.search-form .input-group {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.search-form .input-group:focus-within {
    border-color: rgba(0, 212, 255, 0.2);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.05);
}
.search-form .input-group-text {
    border: none !important;
    padding: 0.35rem 0.5rem 0.35rem 0.75rem;
}

/* Profil linki (eski - silindi) */

.btn-gradient {
    background: linear-gradient(135deg, var(--rm-accent) 0%, var(--rm-accent-2) 100%);
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    padding: 0.5rem 1.2rem;
    box-shadow: 0 4px 18px rgba(79, 172, 254, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.35);
    color: #fff;
}

.btn-outline-rm {
    border: 1px solid rgba(0, 212, 255, 0.35);
    color: #fff;
    background: transparent;
    border-radius: 10px;
    padding: 0.5rem 1.2rem;
    transition: all 0.2s ease;
}

.btn-outline-rm:hover {
    background: rgba(0, 212, 255, 0.08);
    color: #fff;
    border-color: var(--rm-accent);
    transform: translateY(-1px);
}

.hero-section {
    position: relative;
    padding: 5.2rem 0 3.2rem;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: -30% auto auto 50%;
    width: 600px;
    height: 600px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(0, 212, 255, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 212, 255, 0.35);
    background: rgba(0, 212, 255, 0.08);
    color: var(--rm-accent);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.hero-title {
    font-size: clamp(2.35rem, 5vw, 4.25rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: 0;
    color: #fff;
    text-wrap: balance;
    text-shadow: 0 14px 42px rgba(0, 0, 0, 0.48);
}

.hero-title span {
    display: inline-block;
    margin-top: 0.25rem;
    color: var(--rm-accent) !important;
    background: none;
    text-shadow: 0 0 22px rgba(0, 212, 255, 0.32), 0 14px 42px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    max-width: 640px;
    margin: 1.45rem auto 0;
    color: rgba(226, 232, 240, 0.72);
    font-size: 1.1rem;
    line-height: 1.7;
    font-weight: 600;
}

.stat-card,
.feature-card,
.bot-card,
.glass-card {
    background: var(--rm-surface);
    border: 1px solid var(--rm-border);
    backdrop-filter: blur(10px);
    border-radius: 16px;
}

.stat-card {
    padding: 1.25rem 1rem;
    text-align: center;
    height: 100%;
    border-radius: 18px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 212, 255, 0.25);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
}

.stat-card .stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
}

.stat-card .stat-label {
    color: var(--rm-muted);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.feature-card {
    padding: 1.75rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card::before,
.bot-card::before,
.glass-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.08) 45%, transparent 70%);
    opacity: 0;
    transform: translateX(-35%);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.6s ease;
}

.feature-card:hover {
    border-color: rgba(0, 212, 255, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.26);
}

.feature-card:hover::before,
.bot-card:hover::before,
.glass-card:hover::before {
    opacity: 1;
    transform: translateX(35%);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(0, 212, 255, 0.12);
    color: var(--rm-accent);
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.section-heading {
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
}

.section-subheading {
    color: var(--rm-muted);
    max-width: 560px;
}

.bot-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    overflow: hidden;
    position: relative;
}

.bot-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), 0 0 20px rgba(0, 212, 255, 0.12);
}

.badge-price {
    background: rgba(16, 185, 129, 0.18);
    color: var(--rm-success);
    border: 1px solid rgba(16, 185, 129, 0.35);
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    font-size: 0.85rem;
}

.badge-free {
    background: rgba(0, 212, 255, 0.16);
    color: var(--rm-accent);
    border: 1px solid rgba(0, 212, 255, 0.35);
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    font-size: 0.85rem;
}

.glass-card {
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.form-control-modern {
    background: rgba(15, 23, 42, 0.65) !important;
    border: 1px solid var(--rm-border) !important;
    color: #fff !important;
    border-radius: 12px;
    padding: 0.75rem 1rem;
}

.form-control-modern:focus {
    border-color: var(--rm-accent) !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 212, 255, 0.15) !important;
}

.form-control-modern::placeholder {
    color: #64748b;
}

.site-footer {
    margin-top: 4rem;
    padding: 2rem 0;
    border-top: 1px solid var(--rm-border);
    color: var(--rm-muted);
    font-size: 0.9rem;
}

.site-footer a {
    color: var(--rm-accent);
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

.detail-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--rm-border);
    border-radius: 16px;
}

.detail-panel .table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--rm-text);
    margin-bottom: 0;
}

.detail-panel .table td {
    border-color: var(--rm-border);
    padding: 0.85rem 1rem;
}

.profile-sidebar,
.profile-main {
    background: var(--rm-surface);
    border: 1px solid var(--rm-border);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.profile-sidebar h4,
.profile-main h4 {
    color: #fff;
}

/* Bootstrap text renk düzeltmeleri (dark tema) */
.text-muted {
    color: var(--rm-muted) !important;
}
.text-dark, .text-body, .text-secondary {
    color: #cbd5e1 !important;
}
.text-info {
    color: var(--rm-accent) !important;
}
a:not(.btn):not(.nav-link):not(.dropdown-item) {
    color: var(--rm-accent);
}
a:not(.btn):not(.nav-link):not(.dropdown-item):hover {
    color: #4facfe;
}
.alert-danger {
    color: #fca5a5 !important;
}
.alert-success {
    color: #6ee7b7 !important;
}
.small.text-muted {
    color: var(--rm-muted) !important;
}

.profile-sidebar .text-muted,
.profile-main .text-muted {
    color: var(--rm-muted) !important;
}

.profile-sidebar .bg-light {
    background: rgba(255, 255, 255, 0.92) !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #0f172a !important;
}
.profile-sidebar .bg-light small {
    color: #475569 !important;
}
.profile-sidebar .bg-light .text-success {
    color: #059669 !important;
}
.profile-sidebar .bg-light .fw-extrabold {
    color: #0f172a !important;
}

.profile-main .table-light {
    --bs-table-bg: rgba(255, 255, 255, 0.08);
    --bs-table-color: #94a3b8;
}
.profile-main .table {
    color: #e2e8f0 !important;
}
.profile-main .table thead th {
    color: #94a3b8 !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--rm-border);
}
.profile-main .table td {
    border-color: var(--rm-border);
    color: #e2e8f0 !important;
    vertical-align: middle;
}
.profile-main .table-hover tbody tr:hover {
    background: rgba(0, 212, 255, 0.06);
}

.btn:focus,
.btn:active:focus,
.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 212, 255, 0.2);
}

/* Bot detail gallery */
.bot-gallery {
    position: relative;
    overflow: hidden;
}

.bot-gallery::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(0, 212, 255, 0.08) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
}

.bot-gallery > * {
    position: relative;
    z-index: 1;
}

.bot-gallery-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.gallery-counter {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--rm-muted);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--rm-border);
    background: rgba(15, 23, 42, 0.55);
}

.bot-carousel {
    border-radius: 14px;
}

.bot-gallery-frame {
    position: relative;
    min-height: 320px;
    max-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid var(--rm-border);
    border-radius: 14px;
    overflow: hidden;
}

.bot-gallery-main {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    transition: transform 0.45s ease, opacity 0.35s ease;
    animation: galleryFadeIn 0.55s ease;
}

.carousel-item.active .bot-gallery-main {
    transform: scale(1);
}

.bot-carousel-control {
    width: 12%;
    opacity: 1;
}

.bot-carousel-control .carousel-control-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.82);
    border: 1px solid rgba(0, 212, 255, 0.35);
    color: #fff;
    font-size: 1.1rem;
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.bot-carousel-control:hover .carousel-control-icon {
    transform: scale(1.08);
    background: rgba(0, 212, 255, 0.18);
    box-shadow: 0 0 18px rgba(0, 212, 255, 0.25);
}

.bot-thumbnails {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scrollbar-width: thin;
}

.bot-thumbnail {
    flex: 0 0 auto;
    width: 78px;
    height: 78px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.55);
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

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

.bot-thumbnail:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 212, 255, 0.35);
}

.bot-thumbnail.active {
    border-color: var(--rm-accent);
    box-shadow: 0 0 16px rgba(0, 212, 255, 0.25);
}

.bot-gallery-placeholder {
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--rm-muted);
    border: 1px dashed var(--rm-border);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.35);
}

.bot-gallery-placeholder i {
    font-size: 2.5rem;
    color: rgba(0, 212, 255, 0.45);
}

.bot-card-image-wrap {
    position: relative;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.55);
}

.bot-card-image-wrap::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 45%;
    background: linear-gradient(to top, rgba(11, 14, 20, 0.65), transparent);
    pointer-events: none;
}

.bot-card .card-img-top {
    height: 210px;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.35s ease;
}

.bot-card:hover .card-img-top {
    transform: scale(1.06);
    filter: brightness(1.05);
}

@keyframes galleryFadeIn {
    from {
        opacity: 0;
        transform: scale(0.97);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.review-summary {
    min-width: 140px;
}

.review-score {
    font-size: 2rem;
    font-weight: 800;
    color: var(--rm-accent);
    line-height: 1;
}

.review-stars {
    color: #fbbf24;
    letter-spacing: 0.1rem;
}

.review-card,
.support-card {
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.review-card:hover,
.support-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-2px);
}

.review-list,
.support-list {
    max-height: 620px;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.form-select.form-control-modern {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid var(--rm-border);
    color: #fff;
    border-radius: 12px;
    padding: 0.75rem 1rem;
}

.form-select.form-control-modern:focus {
    border-color: var(--rm-accent);
    box-shadow: 0 0 0 0.2rem rgba(0, 212, 255, 0.15);
}

.star-rating-picker {
    display: inline-flex;
    gap: 0.4rem;
    padding: 0.65rem 0.85rem;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid var(--rm-border);
}

.star-picker-btn {
    background: transparent;
    border: none;
    padding: 0;
    line-height: 1;
    font-size: 1.85rem;
    color: rgba(148, 163, 184, 0.35);
    transition: transform 0.2s ease, color 0.2s ease, filter 0.2s ease;
    cursor: pointer;
}

.star-picker-btn:hover,
.star-picker-btn.preview {
    transform: scale(1.12);
    color: rgba(251, 191, 36, 0.75);
}

.star-picker-btn.active {
    color: #fbbf24;
    filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.45));
    transform: scale(1.08);
}

.star-picker-btn.active:hover {
    transform: scale(1.16);
}

/* Preloader / Splash Screen */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0b0e14;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.6s;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    text-align: center;
}

/* Candlestick / Stock Chart CSS Animation */
.chart-preloader {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    height: 70px;
    margin-bottom: 25px;
    position: relative;
}

.chart-candle {
    width: 10px;
    background: rgba(0, 212, 255, 0.2);
    position: relative;
    border-radius: 2px;
    animation: candleGrow 1.5s infinite ease-in-out alternate;
}

.chart-candle::before {
    content: "";
    position: absolute;
    left: 4px;
    width: 2px;
    background: inherit;
}

/* Candle 1 (Green) */
.candle-1 {
    height: 30px;
    background: var(--rm-success);
    animation-delay: 0.1s;
}
.candle-1::before {
    top: -10px;
    height: 50px;
    background: var(--rm-success);
}

/* Candle 2 (Red) */
.candle-2 {
    height: 45px;
    background: #ef4444;
    animation-delay: 0.3s;
}
.candle-2::before {
    top: -15px;
    height: 70px;
    background: #ef4444;
}

/* Candle 3 (Green) */
.candle-3 {
    height: 25px;
    background: var(--rm-success);
    animation-delay: 0.5s;
}
.candle-3::before {
    top: -8px;
    height: 40px;
    background: var(--rm-success);
}

/* Candle 4 (Green / Tall) */
.candle-4 {
    height: 55px;
    background: var(--rm-accent);
    animation-delay: 0.7s;
}
.candle-4::before {
    top: -12px;
    height: 80px;
    background: var(--rm-accent);
}

/* Candle 5 (Red) */
.candle-5 {
    height: 35px;
    background: #ef4444;
    animation-delay: 0.9s;
}
.candle-5::before {
    top: -10px;
    height: 55px;
    background: #ef4444;
}

@keyframes candleGrow {
    0% {
        transform: scaleY(0.7);
    }
    100% {
        transform: scaleY(1.1);
    }
}

.preloader-logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 8px;
    animation: pulseLogo 1.5s infinite alternate;
}

.preloader-logo span {
    color: var(--rm-accent);
}

.preloader-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(255, 255, 255, 0.05);
    border-top-color: var(--rm-accent);
    border-radius: 50%;
    margin: 15px auto 0;
    animation: spinLoader 0.8s infinite linear;
}

@keyframes spinLoader {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulseLogo {
    0% {
        opacity: 0.7;
        transform: scale(0.98);
    }
    100% {
        opacity: 1;
        transform: scale(1.02);
    }
}

/* Modern Divider for Google Sign-In */
.divider-modern {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--rm-muted);
    font-size: 0.85rem;
    font-weight: 500;
}
.divider-modern::before,
.divider-modern::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--rm-border);
}
.divider-modern:not(:empty)::before {
    margin-right: .75em;
}
.divider-modern:not(:empty)::after {
    margin-left: .75em;
}

/* Auth pages */
.glass-card:has(.auth-form) {
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.auth-form .form-label {
    letter-spacing: 0;
}

.auth-form .btn-gradient {
    min-height: 46px;
}

.g_id_signin {
    max-width: 100%;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.28));
}

.auth-loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background:
        radial-gradient(circle at 50% 35%, rgba(0, 212, 255, 0.16), transparent 34%),
        rgba(5, 8, 14, 0.84);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.24s ease, visibility 0.24s ease;
}

.auth-loading-overlay.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.auth-loading-panel {
    width: min(420px, 100%);
    padding: 2rem;
    text-align: center;
    color: #fff;
    background: rgba(15, 23, 42, 0.78);
    border: 1px solid rgba(0, 212, 255, 0.18);
    border-radius: 18px;
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transform: translateY(8px) scale(0.98);
    transition: transform 0.24s ease;
}

.auth-loading-overlay.show .auth-loading-panel {
    transform: translateY(0) scale(1);
}

.auth-loader-ring {
    width: 58px;
    height: 58px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.08);
    border-top-color: var(--rm-accent);
    border-right-color: rgba(16, 185, 129, 0.85);
    animation: spinLoader 0.78s linear infinite;
    box-shadow: 0 0 28px rgba(0, 212, 255, 0.18);
}

.auth-loading-panel h4 {
    margin: 0 0 0.4rem;
    font-weight: 800;
    font-size: 1.15rem;
}

.auth-loading-panel p {
    margin: 0;
    color: rgba(226, 232, 240, 0.72);
    font-size: 0.92rem;
}

.auth-loading-progress {
    height: 4px;
    margin-top: 1.25rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.auth-loading-progress span {
    display: block;
    width: 45%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--rm-accent), var(--rm-success));
    animation: authProgress 1.2s ease-in-out infinite;
}

@keyframes authProgress {
    0% { transform: translateX(-110%); }
    100% { transform: translateX(230%); }
}

/* ========== COOKIE CONSENT BANNER ========== */
#cookieConsent {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 500px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--rm-border);
    border-radius: 16px;
    padding: 1.25rem;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 212, 255, 0.08);
    display: none;
    animation: slideUpConsent 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#cookieConsent .cookie-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#cookieConsent .cookie-title i {
    color: var(--rm-accent);
}

#cookieConsent .cookie-text {
    font-size: 0.85rem;
    color: var(--rm-muted);
    line-height: 1.5;
    margin-bottom: 1rem;
}

#cookieConsent .cookie-text a {
    color: var(--rm-accent);
    text-decoration: none;
    font-weight: 500;
}

#cookieConsent .cookie-text a:hover {
    text-decoration: underline;
}

#cookieConsent .cookie-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

@keyframes slideUpConsent {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 576px) {
    #cookieConsent {
        left: 16px;
        right: 16px;
        bottom: 92px;
        max-width: 100%;
    }

    body.mobile-banner-hidden #cookieConsent {
        bottom: 16px;
    }
}

.cookie-glow-line {
    position: absolute;
    top: 0;
    left: 18px;
    right: 18px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.85), transparent);
    opacity: 0.75;
}

/* ========== FOOTER RISK WARNING ========== */
.footer-risk-warning {
    border-top: 1px solid var(--rm-border);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    color: rgba(148, 163, 184, 0.55);
    font-size: 0.75rem;
    line-height: 1.6;
    text-align: center;
    position: relative;
}

.footer-risk-warning .risk-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.65rem;
    border-radius: 50%;
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.18);
}

.footer-risk-warning strong {
    color: rgba(255, 255, 255, 0.45);
}

/* ========== LEGAL PRIVACY PAGE STYLES ========== */
.legal-container {
    background: var(--rm-surface);
    border: 1px solid var(--rm-border);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.legal-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(0, 212, 255, 0.08), transparent 32%),
        linear-gradient(240deg, rgba(16, 185, 129, 0.06), transparent 38%);
    pointer-events: none;
}

.legal-container > * {
    position: relative;
    z-index: 1;
}

.legal-nav-pills {
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid var(--rm-border);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.legal-nav-pills::-webkit-scrollbar {
    display: none;
}

.legal-pill {
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid var(--rm-border);
    color: var(--rm-muted);
    padding: 0.65rem 1.25rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s ease-in-out;
    display: inline-flex;
    align-items: center;
}

.legal-pill:hover {
    color: #fff;
    border-color: rgba(0, 212, 255, 0.25);
    background: rgba(0, 212, 255, 0.05);
}

.legal-pill.active {
    background: linear-gradient(135deg, var(--rm-accent) 0%, var(--rm-accent-2) 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.25);
}

.legal-pane {
    display: none;
    animation: fadeInPane 0.4s ease-out;
    padding: 0.25rem;
}

.legal-pane.active {
    display: block;
}

@keyframes fadeInPane {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.legal-section-title {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1.25rem;
    font-size: 1.35rem;
}

.legal-text {
    color: var(--rm-text);
    font-size: 0.92rem;
    line-height: 1.8;
}

.legal-text h5 {
    color: #fff;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    padding-left: 0.85rem;
    border-left: 2px solid rgba(0, 212, 255, 0.45);
}

.legal-text p {
    margin-bottom: 1.25rem;
}

.legal-text ul {
    padding-left: 1.25rem;
    margin-bottom: 1.25rem;
}

.legal-text li {
    margin-bottom: 0.5rem;
}

/* ========== ADVANCED ANIMATIONS ========== */
/* 1. Floating Animation */
.floating-element {
    animation: floatAnim 4s ease-in-out infinite alternate;
}

@keyframes floatAnim {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-10px);
    }
}

/* 2. Shine Button Animation */
.shine-btn {
    position: relative;
    overflow: hidden;
}

.shine-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 30%;
    height: 200%;
    background: rgba(255, 255, 255, 0.15);
    transform: rotate(30deg);
    transition: none;
    animation: shineSweep 4s ease-in-out infinite;
}

@keyframes shineSweep {
    0% {
        left: -60%;
    }
    30%, 100% {
        left: 140%;
    }
}

/* 3. Soft Glowing / Pulse border effect */
.glowing-element {
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.08);
    animation: glowPulse 3s ease-in-out infinite alternate;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

@keyframes glowPulse {
    0% {
        box-shadow: 0 0 12px rgba(0, 212, 255, 0.05);
        border-color: var(--rm-border);
    }
    100% {
        box-shadow: 0 0 22px rgba(0, 212, 255, 0.18), 0 0 8px rgba(79, 172, 254, 0.08);
        border-color: rgba(0, 212, 255, 0.25);
    }
}

/* 4. Smooth collapse drop in mobile */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(11, 14, 20, 0.95);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-radius: 12px;
        padding: 1rem;
        border: 1px solid var(--rm-border);
        margin-top: 0.5rem;
        box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    }

    .navbar-collapse.show .premium-nav .nav-item,
    .navbar-collapse.collapsing .premium-nav .nav-item {
        animation: navItemRise 0.35s ease both;
    }

    .premium-nav .nav-item:nth-child(1) { animation-delay: 0.03s; }
    .premium-nav .nav-item:nth-child(2) { animation-delay: 0.08s; }
    .premium-nav .nav-item:nth-child(3) { animation-delay: 0.13s; }

    .navbar-rm .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .navbar-rm .nav-link:hover {
        transform: translateX(4px);
    }
}

@keyframes navItemRise {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    #preloader {
        transition-duration: 0.35s;
    }

    .preloader-logo {
        font-size: 1.35rem;
    }

    .chart-preloader {
        transform: scale(0.86);
        margin-bottom: 14px;
    }

    .legal-container {
        padding: 1.25rem;
        border-radius: 16px;
    }

    .legal-nav-pills {
        justify-content: flex-start !important;
        padding-bottom: 0.75rem;
        margin-bottom: 1.35rem;
    }

    .legal-pill {
        min-height: 44px;
        padding: 0.62rem 0.95rem;
    }
}

/* Footer social icons */
.footer-social {
    color: var(--rm-muted);
    font-size: 1.1rem;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.footer-social:hover {
    color: var(--rm-accent);
    transform: translateY(-2px);
}

/* Toast notifications */
.rm-toast {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 99999;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.25);
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 500;
    max-width: 360px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Accordion for FAQ */
.accordion-rm .accordion-item {
    background: var(--rm-surface);
    border: 1px solid var(--rm-border);
    border-radius: 12px;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.accordion-rm .accordion-button {
    background: transparent;
    color: #fff;
    font-weight: 600;
    box-shadow: none;
    padding: 1rem 1.25rem;
    border-radius: 12px !important;
}

.accordion-rm .accordion-button:not(.collapsed) {
    color: var(--rm-accent);
    background: rgba(0, 212, 255, 0.06);
}

.accordion-rm .accordion-button::after {
    filter: invert(1) brightness(1.5);
}

.accordion-rm .accordion-body {
    color: var(--rm-muted);
    padding: 0 1.25rem 1rem;
    line-height: 1.7;
}

/* Smooth textarea resize */
textarea.form-control-modern {
    resize: vertical;
    min-height: 120px;
}

/* ========== ARKA PLAN MUM GRAFİĞİ ========== */
#heroChartContainer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    overflow: hidden;
    padding: 0 0 60px 0;
    box-sizing: border-box;
    justify-content: center;
    opacity: 0.65;
    filter: blur(1.5px);
    -webkit-filter: blur(1.5px);
    pointer-events: none;
}

.hcandle {
    position: relative;
    width: 22px;
    margin-left: 7px;
    flex-shrink: 0;
    flex-grow: 0;
}

/* Al/Sat etiketleri */
.htrade {
    position: absolute;
    top: -26px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.5px;
    padding: 3px 10px;
    border-radius: 5px;
    white-space: nowrap;
    transition: opacity 1s ease;
    z-index: 5;
    pointer-events: none;
}
.hbuy {
    background: rgba(0, 180, 255, 0.25);
    color: #00d4ff;
    border: 1px solid rgba(0, 180, 255, 0.4);
    box-shadow: 0 0 12px rgba(0, 180, 255, 0.3);
}
.hsell {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}

/* İşlem çizgisi (mum boyunca) */
.hline {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    bottom: 0;
    z-index: 4;
    transition: opacity 0.5s ease;
    pointer-events: none;
}
.hline-buy {
    background: linear-gradient(to top, rgba(0,180,255,0.6), transparent);
    height: 100%;
    box-shadow: 0 0 6px rgba(0,180,255,0.3);
}
.hline-sell {
    background: linear-gradient(to top, rgba(255,255,255,0.4), transparent);
    height: 100%;
    box-shadow: 0 0 6px rgba(255,255,255,0.15);
}

.hbullish .hbody {
    background: linear-gradient(180deg, #0052ff, #00a2ff);
    border: 1px solid #00d2ff;
    box-shadow: 0 0 8px rgba(0, 162, 255, 0.4);
}

.hbearish .hbody {
    background: linear-gradient(180deg, #e2e8f0, #cbd5e1);
    border: 1px solid #ffffff;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

.hbody {
    width: 100%;
    border-radius: 2px;
    position: absolute;
    bottom: 0;
}

.hwick {
    width: 2px;
    position: absolute;
    left: 6px;
    background-color: #00a2ff;
}

.hbearish .hwick {
    background-color: #ffffff;
}

/* Hero içeriği canvas'ın üstünde */
.hero-section .container {
    position: relative;
    z-index: 1;
}

/* Modern çıkış butonu */
.btn-logout {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0.35rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    letter-spacing: 0.3px;
    line-height: 1;
}
.btn-logout i {
    font-size: 0.95rem;
    transition: transform 0.2s ease;
}
.btn-logout:hover {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}
.btn-logout:hover i {
    transform: translateX(2px);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
