/* =========================================================MODERN CARD UI SYSTEM========================================================= */
@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-v20-latin_latin-ext-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-v20-latin_latin-ext-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-v20-latin_latin-ext-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-v20-latin_latin-ext-800.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* --- ROOT VARIABLES --- */
:root {
    --bg-dark: #1f2937;
    --white: #fff;
    --unvan-title: #ff3b6e;
    --bg-gradient: linear-gradient(135deg, #1f2937 0%, #111827 100%);
	--accent: #2563EB;
    --middle: #14b8a6;
    --accent-dark: #0f766e;
    --danger: #ef4444;
    --danger-dark: #b91c1c;
    --wa-green: #25d366;
    --wa-green-dark: #1da851;
    --text-main: #111827;
    --text-muted: #6b7280;
    --surface: #f6f6f6;
    --surface-soft: #f8fafc;
    --button-call: #8cbcff;
    --qr-button: #eeffb5;
    --border: #e5e7eb;
    --radius-xl: 28px;
    --radius-lg: 18px;
    --radius-md: 14px;
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 6px 18px rgba(0,0,0,0.08);
    --transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

/* =========================================================RESET========================================================= */
*, *::before, *::after {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 0 40px;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(180deg, #0f172a 0%, #1e3a8a 50%, #334155 100%);
    color: var(--text-main);
    overflow-x: hidden;
    position: relative;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.partners-section {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 2px dashed rgba(0, 0, 0, 0.08);
    background: transparent;
    width: 100%;
}

.section-title-small {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 15px;
    display: block;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 14px;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
}

.partners-grid img {
    background: #ffffff;
    padding: 6px 10px;
    border-radius: var(--radius-md);
    width: 100%;
    height: 65px;
    object-fit: contain;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.partners-grid img:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--accent);
}

@media (max-width: 480px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .partners-grid img {
        height: 55px;
        padding: 5px;
    }
}

/* --- ANIMATED BACKGROUND ELEMENTS --- */
.cloud-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -2;
    overflow: hidden;
}

.cloud {
    position: absolute;
    background: #fff;
    border-radius: 100px;
    opacity: 0.3;
    filter: blur(30px);
    animation: drift linear infinite;
}

.cloud:nth-child(1) { width: 200px; height: 60px; top: 15%; left: -250px; animation-duration: 40s; }
.cloud:nth-child(2) { width: 300px; height: 100px; top: 40%; left: -350px; animation-duration: 55s; animation-delay: -10s; }
.cloud:nth-child(3) { width: 150px; height: 50px; top: 60%; left: -200px; animation-duration: 35s; animation-delay: -5s; }

@keyframes drift {
    from { transform: translateX(-300px); }
    to { transform: translateX(100vw); }
}

#sky-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.dynamic-plane {
    position: absolute;
    color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
    z-index: -1;
    filter: drop-shadow(0 10px 5px rgba(0,0,0,0.1));
    will-change: transform, left, right;
}

@keyframes flyRight {
    from { left: -10vw; transform: translateY(0) rotate(5deg); }
    to { left: 110vw; transform: translateY(-50px) rotate(15deg); }
}

@keyframes flyLeft {
    from { right: -10vw; transform: scaleX(-1) translateY(0) rotate(-5deg); }
    to { right: 110vw; transform: scaleX(-1) translateY(-50px) rotate(-15deg); }
}

#celestial-body {
    position: fixed;
    top: 40px;
    right: 40px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    z-index: -1;
    transition: all 2s ease-in-out;
}

.sun {
    position: relative;
    background: #ffdb4e;
    box-shadow: 0 0 40px #ffdb4e, 0 0 100px rgba(249, 115, 22, 0.5);
    animation: sunGlow 4s ease-in-out infinite;
}

.sun::before {
    content: "";
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    border-radius: 50%;
    background: repeating-conic-gradient(
        from 0deg,
        #ffdb4e 0deg 4deg,
        transparent 4deg 30deg
    );
    z-index: -1;
    animation: sunRayRotate 25s linear infinite;
}

@keyframes sunRayRotate {
    100% { transform: rotate(360deg); }
}

@keyframes sunGlow {
    0%, 100% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.1); filter: brightness(1.2); }
}

.moon {
    background: #f1f2f6;
    box-shadow: 0 0 20px #f1f2f6, 0 0 60px rgba(148, 163, 184, 0.4);
    transform: scale(0.8);
    transition: all 1s ease;
}

.ocean {
    height: 150px;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: -1;
    overflow: hidden;
    mask-image: linear-gradient(to top, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
}

.ocean::after {
    content: "";
    position: absolute;
    top: 20%;
    left: 50%;
    width: 200px;
    height: 40px;
    background: radial-gradient(ellipse at center, rgba(255,219,78,0.2) 0%, rgba(255,255,255,0) 70%);
    transform: translateX(-50%);
    filter: blur(10px);
    z-index: 2;
    pointer-events: none;
}

.wave {
    background: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/85486/wave.svg') repeat-x;
    position: absolute;
    bottom: 0;
    width: 6400px;
    height: 100%;
    animation: wave 20s cubic-bezier(0.36, 0.45, 0.63, 0.53) infinite;
    opacity: 0.5;
}

.wave:nth-of-type(2) {
    bottom: -10px;
    animation: wave 15s cubic-bezier(0.36, 0.45, 0.63, 0.53) -.125s infinite;
    opacity: 0.8;
}

@keyframes wave {
    0% { transform: translateX(0); }
    100% { transform: translateX(-1600px); }
}

.ocean.ocean-night {
    background-color: #03045e;
    filter: brightness(0.6) contrast(1.1);
}

.ocean.ocean-night::after {
    content: "";
    position: absolute;
    top: 15%;
    left: 50%;
    width: 180px;
    height: 40px;
    background: radial-gradient(ellipse at center, rgba(241, 242, 246, 0.5) 0%, rgba(255, 255, 255, 0) 70%);
    transform: translateX(-50%);
    filter: blur(6px);
    z-index: 2;
    pointer-events: none;
}

/* =========================================================ACCESSIBILITY========================================================= */
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 3px solid rgba(20,184,166,0.35);
    outline-offset: 3px;
}

/* =========================================================CONTAINER========================================================= */
.container {
    position: relative;
    z-index: 10;
    width: 92%;
    max-width: 450px;
    margin: 80px auto 30px;
    padding: 36px 28px;
    background: var(--surface);
    border-radius: var(--radius-xl);
    border-top: 6px solid var(--accent);
    text-align: center;
    box-shadow: var(--shadow-lg);
}
.container.has-profile {
    padding-top: 52px;
}

/* =========================================================PROFILE========================================================= */
.profile-img-wrapper {
    position: absolute;
    top: -58px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: white;
    border-radius: 30px;
    border: 3px solid #cc716a;
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
    z-index: 10;
}
.profile-img-wrapper img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* =========================================================TYPOGRAPHY========================================================= */
h1 {
    margin-bottom: 12px;
    color: var(--unvan-title);
}
.sub-label {
    display: block;
    margin-bottom: 4px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--accent);
}
.sub-content {
    display: block;
    margin-bottom: 14px;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.6;
    color: var(--text-main);
}

/* =========================================================FORM========================================================= */
.contact-form {
    margin-top: 24px;
    text-align: left;
}
.form-group {
    margin-bottom: 18px;
}
.form-control {
    width: 100%;
    padding: 15px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface-soft);
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}
.form-control:focus {
    border-color: var(--accent);
    background: white;
    box-shadow: 0 0 0 4px rgba(20,184,166,0.12);
    outline: none;
}
textarea.form-control {
    resize: none;
    min-height: 110px;
}

/* =========================================================BUTTON SYSTEM========================================================= */
.btn, .action-btn, .grid-item, .btn-contact, .btn-call, .btn-whatsapp, .btn-wa-all, .btn-directions, .btn-qr-small, .btn-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
    transition: var(--transition);
}

.btn:active, .action-btn:active, .grid-item:active, .btn-contact:active, .btn-call:active, .btn-whatsapp:active, .btn-directions:active, .btn-back:active {
    transform: scale(0.96);
}

.btn:hover, .action-btn:hover, .grid-item:hover, .btn-contact:hover, .btn-call:hover, .btn-whatsapp:hover, .btn-directions:hover, .btn-back:hover {
    transform: translateY(-2px);
}

/* =========================================================PRIMARY BUTTONS========================================================= */
.btn-contact {
    width: 100%;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    background: var(--wa-green);
    color: white;
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: 0 4px 0 var(--wa-green-dark);
}
.btn-contact:hover, .btn-directions:hover {
    filter: brightness(1.04);
}
.btn-directions {
    width: 100%;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    background: #4285F4;
    color: white;
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: 0 4px 0 var(--accent-dark);
}
/* =========================================================SECONDARY BUTTON========================================================= */
.btn-call {
    width: 100%;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    background: var(--button-call);
    border: 1px solid var(--border);
    color: var(--white);
    font-weight: 700;
    box-shadow: 0 4px 0 #dbe2ea;
}

/* =========================================================WHATSAPP BUTTONS========================================================= */
.btn-whatsapp, .btn-wa-all {
    width: 100%;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    background: var(--wa-green);
    color: white;
    font-weight: 700;
    box-shadow: 0 4px 0 var(--wa-green-dark);
}

/* =========================================================BUTTON GROUP========================================================= */
.btn-group {
    display: flex;
    gap: 10px;
    width: 100%;
    margin-top: 15px;
}
.btn-group > * {
    flex: 1;
}

/* =========================================================GRID MENU========================================================= */
.grid-menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 22px;
}
.grid-item {
    flex-direction: column;
    padding: 22px 12px;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid #eef2f7;
    color: var(--text-main);
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}
.grid-item:hover {
    border-color: rgba(20,184,166,0.4);
}

/* =========================================================STATUS CARD========================================================= */
.status-card {
    padding: 40px 20px;
    border-radius: var(--radius-xl);
    animation: slideUp 0.35s ease;
}
.status-card.success {
    background: #ecfdf5;
    border: 2px solid #bbf7d0;
}
.status-card.error {
    background: #fef2f2;
    border: 2px solid #fecaca;
}
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================CARD ITEM========================================================= */
.item {
    margin-bottom: 16px;
    padding: 18px;
    text-align: left;
    background: white;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

/* =========================================================IBAN BOX========================================================= */
.iban-box {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: clip;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface-soft);
    color: var(--text-main);
    letter-spacing: -0.2px;
    font-family: 'Roboto Mono', monospace;
}

/* =========================================================CURRENCY BADGE========================================================= */
.para-birimi {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(20,184,166,0.1);
    border: 1px solid rgba(20,184,166,0.18);
    color: var(--accent-dark);
    font-size: 10px;
    font-weight: 800;
}

/* =========================================================SMALL BUTTONS========================================================= */
.btn-copy {
    padding: 14px;
    border-radius: var(--radius-md);
    background: #95caff;
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 0 #dfe4ea;
}
.btn-qr-small {
    padding: 14px;
    border-radius: var(--radius-md);
    background: var(--qr-button);
    color: black;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 0 var(--accent-dark);
}

/* --- QR MODAL --- */
.qr-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.85);
    align-items: center; justify-content: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    inset: 0;
}
.qr-content {
    background: white;
    padding: 30px;
    border-radius: 24px;
    text-align: center;
    max-width: 85%;
}
.qr-content img {
    width: 100%;
    max-width: 220px;
    border-radius: 10px;
    border: 1px solid #eee;
}
.btn-qr {
    background: var(--qr-button);
    color: #333 !important;
    border: 1px solid #e1e2e6 !important;
    cursor: pointer;
    border-radius: 12px;
    padding: 10px 20px;
    font-weight: 700;
}

/* =========================================================BACK BUTTON========================================================= */
.btn-back {
    margin-top: 24px;
    margin-bottom: 18px;
    padding: 12px 25px;
    border-radius: 999px;
    background: #f1f5f9;
    border: 1px solid #dbe2ea;
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =========================================================TOAST========================================================= */
#toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 25px;
    border-radius: 999px;
    background: rgba(17,24,39,0.95);
    color: white;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 9999;
}
#toast.show {
    opacity: 1;
}

/* =========================================================QR CARD & CLOSE========================================================= */
.qr-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    border-radius: 24px;
    background: white;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}
.close-qr {
    margin-top: 20px;
    padding: 12px 30px;
    border: none;
    border-radius: 999px;
    background: var(--danger);
    color: white;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 4px 0 var(--danger-dark);
    transition: var(--transition);
}
.close-qr:hover {
    filter: brightness(1.05);
}
.close-qr:active {
    transform: translateY(3px);
    box-shadow: 0 1px 0 var(--danger-dark);
}

/* =========================================================REMOVE IOS AUTO LINK STYLES========================================================= */
.sub-content.no-link, [x-apple-data-detectors], .sub-content a[href^="tel"], .sub-content a[href^="addr"] {
    color: var(--text-main) !important;
    text-decoration: none !important;
    border-bottom: none !important;
    pointer-events: none !important;
    -webkit-text-fill-color: var(--text-main) !important;
}

/* =========================================================MOBILE========================================================= */
@media (max-width: 480px) {
    .container {
        margin-top: 85px;
        padding: 34px 22px;
    }
    .grid-menu {
        gap: 12px;
    }
    .grid-item {
        padding: 18px 10px;
    }
    .btn-directions, .btn-contact, .btn-call, .btn-whatsapp {
        padding: 14px;
    }
    .iban-box {
        font-size: 0.82rem;
        letter-spacing: -0.5px;
        padding-left: 8px;
        padding-right: 8px;
    }
}

/* =========================================================MASAÜSTÜ KATMANI MANTIĞI========================================================= */
.desktop-layout-container {
    width: 100%;
    max-width: 100%;
    display: block;
}
.sidebar-panel {
    display: none;
}

/* Sadece Geniş Ekran Masaüstünde Aktif Olacak Grid Düzeni */
@media (min-width: 1024px) {
    body {
        display: flex !important;
        align-items: flex-start !important;
        justify-content: center !important;
        padding: 80px 20px 50px !important;
    }

    /* 3 Bağımsız Dikey Sütun Alanı (Ana Sayfa İçin) */
    .desktop-layout-container {
        display: grid !important;
        grid-template-columns: 310px 450px 310px !important;
        gap: 30px !important;
        width: 100% !important;
        max-width: 1150px !important;
        margin: 0 auto !important;
        align-items: start !important;
        position: relative !important;
        z-index: 5 !important;
    }
    
    /* EĞER ALT SAYFAYSA: Izgarayı boz, paneller kalktığı için tek sütun yap ve merkezle */
    .desktop-layout-container.alt-sayfa-layout {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        max-width: 450px !important;
    }

    .desktop-layout-container .main-card-column {
        width: 100% !important;
    }

    .desktop-layout-container .main-card-column .container {
        margin: 0 auto !important;
        width: 100% !important;
        max-width: 450px !important;
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
    }

    .original-partners {
        display: none !important;
    }

    .sidebar-panel {
        display: block !important;
        background: rgba(255, 255, 255, 0.9) !important;
        backdrop-filter: blur(15px) !important;
        -webkit-backdrop-filter: blur(15px) !important;
        border-radius: var(--radius-xl) !important;
        padding: 30px 22px !important;
        box-shadow: var(--shadow-lg) !important;
        border: 1px solid rgba(255, 255, 255, 0.5) !important;
    }

    .panel-sticky {
        position: sticky !important;
        top: 40px !important;
    }

    /* [SOL PANEL] */
    .left-panel {
        text-align: center !important;
        border-top: 6px solid var(--unvan-title) !important;
    }
    .sidebar-logo-area {
        width: 90px;
        height: 90px;
        margin: 0 auto 20px;
        background: white;
        padding: 10px;
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-md);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .sidebar-logo-area img { max-width: 100%; max-height: 100%; object-fit: contain; }
    .text-logo { font-weight: 800; color: var(--accent); font-size: 1.5rem; }

    /* [SAĞ PANEL] */
    .right-panel {
        border-top: 6px solid var(--middle) !important;
    }
    .sidebar-title {
        font-size: 0.85rem;
        font-weight: 800;
        text-transform: uppercase;
        color: var(--accent);
        letter-spacing: 1.5px;
        margin-bottom: 20px;
        text-align: center;
    }
    .sidebar-partners-vertical {
        display: flex;
        flex-direction: column;
        gap: 12px;
        max-height: 520px;
        overflow-y: auto;
        padding-right: 4px;
    }
    .sidebar-partners-vertical::-webkit-scrollbar { width: 4px; }
    .sidebar-partners-vertical::-webkit-scrollbar-thumb { background: var(--border); border-radius: 999px; }
    
    .partner-card {
        background: white;
        padding: 12px;
        border-radius: var(--radius-md);
        box-shadow: 0 4px 10px rgba(0,0,0,0.02);
        border: 1px solid rgba(0,0,0,0.04);
        transition: var(--transition);
        display: flex;
        align-items: center;
        justify-content: center;
        height: 70px;
    }
    .partner-card img { max-width: 100%; max-height: 100%; object-fit: contain; }
    .partner-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent); }
}

/* =========================================================PREMIUM PREMIUM ANIMATIONS========================================================= */
@keyframes panelFadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 1024px) {
    .sidebar-panel {
        animation: panelFadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
    }
    .right-panel {
        animation-delay: 0.15s;
    }
}

@keyframes greenLightPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.left-panel span[style*="#25d366"] {
    animation: greenLightPulse 2s infinite !important;
}

.left-panel div[style*="display: flex; flex-direction: column;"] > div {
    transition: transform 0.3s ease, color 0.3s ease;
    cursor: default;
}

.left-panel div[style*="display: flex; flex-direction: column;"] > div:hover {
    transform: translateX(4px);
}

.left-panel div[style*="display: flex; flex-direction: column;"] > div:hover i {
    transform: scale(1.15) rotate(-5deg);
    color: var(--unvan-title) !important;
}

.left-panel div[style*="display: flex; flex-direction: column;"] > div i {
    transition: transform 0.3s ease, color 0.3s ease;
}

.left-panel div[style*="font-weight: 700;"] {
    position: relative;
    background: rgba(20, 184, 166, 0.04);
    padding: 2px 6px;
    border-radius: 6px;
    margin: 0 -6px;
}

/* ========================================================= FLIP BOARD ========================================================= */
.flap-wrapper { display: flex; justify-content: center; margin: 40px 0; }
.splitflap-board { display: flex; gap: 6px; perspective: 1200px; }

.splitflap {
    position: relative;
    width: 58px;
    height: 74px;
    transform-style: preserve-3d;
}

/* Tüm kutu parçaları için ortak ayarlar */
.splitflap .top, .splitflap .bottom, .flip-top, .flip-bottom {
    position: absolute; left: 0; width: 100%; height: 50%;
    overflow: hidden; background: #1b1b1b; color: #fff;
    text-align: center; font-family: 'Courier New', monospace;
    font-weight: 900; border: 1px solid #000;
    box-shadow: inset 0 1px 2px rgba(255,255,255,.08), inset 0 -2px 6px rgba(0,0,0,.7), 0 4px 8px rgba(0,0,0,.4);
    
    /* Yazı hizalama */
    display: flex; justify-content: center; align-items: center;
}

/* Üst Kısım */
.splitflap .top, .flip-top {
    top: 0; border-radius: 6px 6px 0 0;
    transform-origin: bottom;
    background: linear-gradient(to bottom, #2e2e2e, #181818);
    align-items: flex-end; /* Yazının alt kısmını keser */
}

/* Alt Kısım */
.splitflap .bottom, .flip-bottom {
    bottom: 0; border-radius: 0 0 6px 6px;
    transform-origin: top;
    background: linear-gradient(to bottom, #111, #222);
    align-items: flex-start; /* Yazının üst kısmını keser */
}

.splitflap span, .flip-top span, .flip-bottom span {
    font-size: 42px;
    line-height: 0; /* Hizalamayı bozmaması için sıfırlandı */
}

/* Çizgi */
.splitflap::after {
    content: ""; position: absolute; top: 50%; left: 0;
    width: 100%; height: 2px; background: #000; z-index: 100;
}

/* Animasyon */
.flip-top { z-index: 50; backface-visibility: hidden; animation: flipTop .3s ease-in forwards; }
.flip-bottom { z-index: 40; backface-visibility: hidden; transform: rotateX(90deg); animation: flipBottom .3s ease-out forwards; }

@keyframes flipTop { 0% { transform: rotateX(0deg); } 100% { transform: rotateX(-90deg); } }
@keyframes flipBottom { 0% { transform: rotateX(90deg); } 100% { transform: rotateX(0deg); } }