html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    color-scheme: dark;
}

* {
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
}

.main-navbar-vertical {
    width: 100%;
    margin: 0 auto;
    height: 64px;
    background: rgba(16, 16, 24, 0.72);
    color: #fff;
    position: fixed;
    top: 0;
    z-index: 9999 !important; /* Her şeyin üstünde olsun */
    padding: 0;
    backdrop-filter: blur(16px) saturate(1.5);
    -webkit-backdrop-filter: blur(16px) saturate(1.5);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
    transform: translateZ(0);
}

.navbar-flex {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    padding: 0 1.5rem;
    height: 100%;
    justify-content: space-between;
}

.navbar-icon {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    min-width: 64px;
    margin-left: 0.5em;
}

.navbar-icon img {
    height: 48px;
    width: 48px;
    object-fit: contain;
    box-shadow: none;
}

.navbar-center {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
}

.navbar-list {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 32px;
    height: 100%;
    white-space: nowrap;
}

.navbar-list li {
    white-space: nowrap;
    margin: 0;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

.navbar-haberler {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 120px;
    margin-right: 1.5em;
    height: 100%;
}

.navbar-haberler a {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(69, 39, 160, 0.2));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(180, 160, 255, 0.25);
    color: #e0e0e0;
    padding: 0.45em 1.6em;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.05em;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    display: inline-block;
    text-decoration: none;
}

.navbar-haberler a:hover {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.4), rgba(69, 39, 160, 0.4));
    border-color: rgba(180, 160, 255, 0.5);
    color: #ffffff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35), 0 0 12px rgba(124, 58, 237, 0.2);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.navbar-haberler a.active {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.55), rgba(69, 39, 160, 0.55));
    border-color: rgba(200, 180, 255, 0.7);
    color: #ffffff;
    box-shadow: 0 0 16px rgba(124, 58, 237, 0.5), 0 4px 16px rgba(0, 0, 0, 0.3);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
    transform: none;
}

.navbar-haberler a:active {
    transform: translateY(0) scale(0.98);
}

.main-navbar-vertical a {
    display: inline-block;
    padding: 0.35em 0.8em;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.08em;
    position: relative;
    background: none;
    transition: none;
    line-height: 1.1;
}

.main-navbar-vertical a::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 5px;
    background: transparent;
    border-radius: 4px;
    transition: background 0.18s;
    width: 100%;
    pointer-events: none;
    z-index: 2;
}

.main-navbar-vertical a.active::after {
    background: #fff;
    height: 5px;
    border-radius: 4px;
    box-shadow: 0 2px 10px 0 #4527a077;
}

.main-navbar-vertical a:hover::after,
.main-navbar-vertical a.active::after {
    background: #fff;
}

.main-navbar-vertical a:hover,
.main-navbar-vertical a.active {
    color: #fff;
    background: none;
    box-shadow: none;
    text-shadow: none;
    transform: none !important;
}

.main-navbar-vertical a[href*="haberler"]::after {
    display: none !important;
}

.main-navbar-vertical a:focus-visible {
    outline: 2px solid #a259f7;
    outline-offset: 2px;
    border-radius: 8px;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    margin: 0 8px;
    z-index: 1201;
}

.navbar-toggle .bar {
    width: 28px;
    height: 4px;
    background: #fff;
    margin: 3px 0;
    border-radius: 2px;
    transition: 0.3s;
}

.navbar-toggle.open .bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.navbar-toggle.open .bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.navbar-toggle.open .bar:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

@media (max-width: 900px) {
    .main-navbar-vertical {
        height: 56px;
    }

    .navbar-icon img {
        height: 38px;
        width: 38px;
    }

    .navbar-list {
        gap: 18px;
    }

    .navbar-haberler {
        min-width: 90px;
        margin-right: 0.5em;
    }
}

@media (max-width: 600px) {
    .main-navbar-vertical {
        height: 54px;
        font-size: 0.98em;
        border-bottom-width: 2px;
    }

    .navbar-list {
        gap: 16px;
        font-size: 0.98em;
    }

    .navbar-icon img {
        height: 32px !important;
        width: 32px !important;
    }
}

@media (max-width: 900px) {
    .navbar-toggle {
        margin-left: 0.5em;
    }
}

@media (max-width: 1000px) {
    .navbar-toggle {
        display: flex;
        position: static;
        margin-left: 0.5em;
        margin-top: 0;
        order: 2;
        z-index: auto;
    }

    .navbar-icon {
        order: 1;
    }

    .navbar-center {
        display: none !important;
    }

    .navbar-haberler {
        position: static;
        order: 3;
        margin-left: auto;
        margin-right: 0.75em;
        min-width: auto;
        padding: 0;
        height: 100%;
        display: flex;
        align-items: center;
    }

    .navbar-flex {
        justify-content: flex-start;
        padding: 0 0.5rem;
    }
}

.fullscreen-navbar-menu {
    pointer-events: none;
    opacity: 0;
    transform: translateY(-100%); /* Yukarı gizle */
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: flex;
    position: fixed;
    top: 54px; /* Navbar'ın hemen altından başlasın */
    left: 0;
    width: 100%;
    height: auto; /* İçerik kadar yükseklik */
    background: rgba(16, 16, 24, 0.98);
    z-index: 2000;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 20px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); /* Altına gölge */
}

.fullscreen-navbar-menu.open {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0); /* Aşağı kayarak açılsın */
}

.fullscreen-navbar-menu .navbar-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 0.5em;
    margin: 0;
    padding: 0;
}

.fullscreen-navbar-menu .navbar-list li {
    width: auto;
    display: flex;
    justify-content: center;
    border: none;
    margin: 0;
    padding: 0;
}

.fullscreen-navbar-menu .navbar-list li a {
    min-width: 120px;
    max-width: 220px;
    display: block;
    padding: 10px 24px 8px 24px;
    font-size: 1.08em;
    text-align: center;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    background: none;
    border-radius: 12px;
    margin: 0 auto;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}

.fullscreen-navbar-menu .navbar-list li a:hover {
    background: linear-gradient(90deg, #23263a 0%, #4527a0 100%);
    color: #fffde7;
    box-shadow: 0 2px 12px 0 #4527a088;
}

@media (prefers-reduced-motion: reduce) {
    .navbar-toggle .bar {
        transition: none;
    }

    .fullscreen-navbar-menu {
        transition: none;
    }

    .main-navbar-vertical a::after {
        transition: none;
    }
}

/* Fullscreen panel close button */
.fullscreen-close-btn {
    position: absolute;
    top: 14px;
    right: 18px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
    z-index: 2100;
}

.fullscreen-close-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1) rotate(90deg);
}

.fullscreen-close-btn::before,
.fullscreen-close-btn::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2.5px;
    background: #fff;
    border-radius: 2px;
}

.fullscreen-close-btn::before {
    transform: rotate(45deg);
}

.fullscreen-close-btn::after {
    transform: rotate(-45deg);
}

/* Scrollbar'ı navbar'ın altında başlatan kapsayıcı */
.custom-scroll-wrapper {
    height: calc(100vh - 64px);
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    margin-top: 64px;
    scrollbar-gutter: stable;
}

/* --- Support Us Styles --- */
.floating-support-btn {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 10000;
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.8), rgba(255, 107, 129, 0.8));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.05em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 24px rgba(255, 71, 87, 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
}

.floating-support-btn i {
    font-size: 1.1em;
}

.floating-support-btn:hover {
    background: linear-gradient(135deg, rgba(255, 71, 87, 1), rgba(255, 107, 129, 1));
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 28px rgba(255, 71, 87, 0.5);
}

.support-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.support-modal.show {
    opacity: 1;
}

.support-modal-content {
    background: #1e1e28;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.support-modal.show .support-modal-content {
    transform: translateY(0) scale(1);
}

.support-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 15px;
}

.support-modal-header h3 {
    margin: 0;
    font-size: 1.4em;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-support-btn {
    background: none;
    border: none;
    color: #aaa;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.close-support-btn:hover {
    color: #fff;
}

.support-modal-body p {
    color: #ccc;
    font-size: 1.05em;
    line-height: 1.6;
    margin-bottom: 30px;
}

.support-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.support-method {
    background: rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    text-align: center;
}

.papara-btn {
    display: inline-block;
    background: #fff;
    color: #1e1e28;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1em;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
}

.papara-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255,255,255,0.2);
}

.iban-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0,0,0,0.3);
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px dashed rgba(255,255,255,0.2);
}

.iban-text {
    font-family: monospace;
    font-size: 1.1em;
    color: #4fc3f7;
    letter-spacing: 1px;
}

.copy-btn {
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9em;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.copy-btn:hover {
    background: rgba(255,255,255,0.2);
}

.copy-btn.copied {
    background: #4caf50;
    color: #fff;
}

@media (max-width: 900px) {
    .floating-support-btn {
        bottom: 15px;
        left: 15px;
        padding: 10px 18px;
        font-size: 0.95em;
    }
}