:root {
    /* ASDER Sistem Resmi Renk Paleti */
    --asder-bg: #020617;
    --asder-surface: rgba(15, 23, 42, 0.7);
    --asder-surface-border: rgba(255, 255, 255, 0.08);
    
    /* Mavi Tonları (Logo & Asder Kurumsal) */
    --asder-blue: #1e40af;
    --asder-blue-bright: #3b82f6;
    --asder-blue-glow: rgba(59, 130, 246, 0.28);
    --asder-blue-gradient: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);

    /* Kırmızı Tonları (Logo & Asder Kurumsal) */
    --asder-red: #dc2626;
    --asder-red-bright: #ef4444;
    --asder-red-glow: rgba(239, 68, 68, 0.28);
    --asder-red-gradient: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);

    /* Tipografi & Renkler */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    --radius-xl: 24px;
    --radius-md: 16px;
    --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--asder-bg);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
    padding: 32px 18px;
}

/* Arka Plan Dekorasyonları & Izgara */
.background-decorations {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bg-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.6;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.28;
    animation: ambientPulse 9s ease-in-out infinite alternate;
}

.blob-blue {
    width: 450px;
    height: 450px;
    background: #1e40af;
    top: -100px;
    left: -100px;
}

.blob-red {
    width: 480px;
    height: 480px;
    background: #dc2626;
    bottom: -120px;
    right: -120px;
    animation-delay: -4.5s;
}

@keyframes ambientPulse {
    0% {
        transform: scale(0.9) translate(0, 0);
        opacity: 0.24;
    }
    100% {
        transform: scale(1.15) translate(30px, 30px);
        opacity: 0.36;
    }
}

/* Ana Konteyner */
.container {
    width: 100%;
    max-width: 860px;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Logo & Üst Başlık Alanı */
.brand-header {
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-wrapper {
    position: relative;
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    animation: floatLogo 6s ease-in-out infinite;
}

.brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.6));
}

.logo-glow {
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.35) 0%, rgba(220, 38, 38, 0.3) 50%, transparent 75%);
    filter: blur(20px);
    border-radius: 50%;
    z-index: 1;
}

@keyframes floatLogo {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 7px 18px;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 10px #22c55e;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.title {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin-bottom: 12px;
}

/* Asdersistem.com ile aynı geçişli metin efekti */
.gradient-text {
    background: linear-gradient(90deg, #3b82f6, #ef4444, #3b82f6);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 4s linear infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.subtitle {
    font-size: clamp(0.95rem, 2.5vw, 1.15rem);
    color: var(--text-muted);
    max-width: 500px;
    line-height: 1.6;
}

/* Şubeler Izgarası */
.branches-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    width: 100%;
}

/* Şube Kartları */
.branch-card {
    position: relative;
    background: var(--asder-surface);
    border: 1px solid var(--asder-surface-border);
    border-radius: var(--radius-xl);
    text-decoration: none;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
    display: flex;
}

.card-inner {
    width: 100%;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

/* Üst Vurgu Çizgisi */
.card-header-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    transition: var(--transition);
}

.card-yed .card-header-line {
    background: var(--asder-blue-gradient);
}

.card-kare .card-header-line {
    background: var(--asder-red-gradient);
}

/* Kart Üst Alanı (İkon & Rozet) */
.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.card-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.card-icon {
    width: 30px;
    height: 30px;
}

/* Yed Kurs (Mavi Tema) */
.card-yed .card-icon-wrap {
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.28);
    color: var(--asder-blue-bright);
}

/* Kare Kurs (Kırmızı Tema) */
.card-kare .card-icon-wrap {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.28);
    color: var(--asder-red-bright);
}

.branch-status {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
}

/* Kart İçeriği */
.card-content {
    margin-bottom: 30px;
}

.branch-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.card-yed .branch-tag {
    color: var(--asder-blue-bright);
}

.card-kare .branch-tag {
    color: var(--asder-red-bright);
}

.branch-name {
    font-size: 1.85rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.branch-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* Kart Buton / Aksiyon Alanı */
.card-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.action-text {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    transition: var(--transition);
}

.action-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    transition: var(--transition);
}

.action-arrow svg {
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

/* Hover ve Etkileşim Efektleri */
.branch-card:hover {
    transform: translateY(-6px);
}

.card-yed:hover {
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 20px 45px rgba(30, 64, 175, 0.35);
}

.card-yed:hover .action-arrow {
    background: var(--asder-blue-gradient);
    border-color: transparent;
    box-shadow: 0 0 20px var(--asder-blue-glow);
}

.card-kare:hover {
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 0 20px 45px rgba(220, 38, 38, 0.35);
}

.card-kare:hover .action-arrow {
    background: var(--asder-red-gradient);
    border-color: transparent;
    box-shadow: 0 0 20px var(--asder-red-glow);
}

.branch-card:hover .action-arrow svg {
    transform: translateX(4px);
}

.branch-card:active {
    transform: scale(0.98);
}

/* Footer */
.footer {
    margin-top: 52px;
    font-size: 0.88rem;
    color: var(--text-dim);
    text-align: center;
}

.footer a {
    color: var(--asder-blue-bright);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Mobil Uyumluluk (Responsive) */
@media (max-width: 720px) {
    body {
        padding: 24px 14px;
        align-items: flex-start;
    }

    .container {
        margin-top: 10px;
    }

    .brand-header {
        margin-bottom: 28px;
    }

    .logo-wrapper {
        width: 88px;
        height: 88px;
        margin-bottom: 18px;
    }

    .title {
        font-size: 2.1rem;
    }

    .subtitle {
        font-size: 0.95rem;
    }

    .branches-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .card-inner {
        padding: 24px 20px;
    }

    .card-icon-wrap {
        width: 52px;
        height: 52px;
    }

    .card-icon {
        width: 26px;
        height: 26px;
    }

    .branch-name {
        font-size: 1.6rem;
    }

    .card-content {
        margin-bottom: 20px;
    }

    .action-arrow {
        width: 40px;
        height: 40px;
    }
}
