@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800&family=JetBrains+Mono:wght@500;700;800&display=swap');

:root {
    --bg-color: #020408;
    --card-bg: rgba(10, 14, 26, 0.55);
    --primary-blue: #3b82f6;
    --primary-glow: rgba(59, 130, 246, 0.45);
    --text-main: #ffffff;
    --text-dim: #94a3b8;
    --accent-color: #60a5fa;
    --border-color: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

/* Doğal ve anında tepki veren donanım imleci (SIFIR GECİKME) */
html, body {
    cursor: default;
}

input, textarea {
    cursor: text;
}

button, a, .token-display, [role="button"] {
    cursor: pointer;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    position: relative;
}

/* HAREKETLİ ARKA PLAN CANVAS (60 FPS, SIFIR İŞLEMCİ YÜKÜ) */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -10;
    pointer-events: none;
}

/* ARKA PLAN IŞIKLARI (GPU CSS İLE AKICI DÖNGÜ, FAREYİ KASMAZ) */
.bg-glow {
    position: fixed;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--primary-glow) 0%, rgba(59, 130, 246, 0) 70%);
    filter: blur(100px);
    border-radius: 50%;
    z-index: -7;
    opacity: 0.4;
    pointer-events: none;
    will-change: transform, opacity;
    animation: pulse 8s infinite alternate ease-in-out;
}

@keyframes pulse {
    0% { opacity: 0.25; transform: scale(0.9); }
    100% { opacity: 0.55; transform: scale(1.15); }
}

[v-cloak] {
    display: none !important;
}

/* ANA DÜZEN & YAN PANKARTLAR */
.main-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    max-width: 1650px;
    padding: 2rem 1.5rem;
    perspective: 1000px;
    z-index: 10;
}

/* YAN YOUTUBE PANKARTLARI */
.side-banner {
    width: 340px;
    height: 210px;
    background: rgba(10, 14, 26, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.side-banner iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.side-banner::after {
    content: 'FST SERVICE AD';
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-blue);
    color: white;
    font-size: 0.62rem;
    padding: 3px 8px;
    border-radius: 5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    pointer-events: none;
    z-index: 10;
}

@media (max-width: 1280px) {
    .side-banner {
        display: none;
    }
}

/* SAĞA DOĞRU GENİŞLETİLMİŞ KOD ALANI KONTEYNERİ */
.container {
    width: 100%;
    max-width: 760px;
    padding: 0;
    flex-grow: 1;
}

.brand-header {
    text-align: center;
    margin-bottom: 2rem;
}

.fast-code-logo {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 0.5rem;
    display: block;
    text-shadow: 0 0 12px var(--primary-glow);
}

.title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 30%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

/* HAREKETLİ VE GENİŞLETİLMİŞ KART */
.card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 2.5rem 3rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    transition: transform 0.12s ease-out, box-shadow 0.3s;
    transform-style: preserve-3d;
    will-change: transform;
    width: 100%;
}

/* KARTIN KENARINDAKİ HAREKETLİ NEON IŞIK AKIŞI (NEON FLOW) */
.card::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, var(--primary-blue), transparent, var(--accent-color), transparent, var(--primary-blue));
    border-radius: 30px;
    z-index: -1;
    background-size: 400%;
    animation: neon-flow 12s linear infinite;
    filter: blur(10px);
    opacity: 0.75;
}

@keyframes neon-flow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* KARTIN ÜZERİNDEN AKAN LAZER ÇİZGİSİ */
.card::after {
    content: "";
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(59, 130, 246, 0.05) 45%,
        rgba(59, 130, 246, 0.3) 50%,
        rgba(96, 165, 250, 0.15) 55%,
        transparent
    );
    animation: scan 4s linear infinite;
    pointer-events: none;
    z-index: 5;
}

@keyframes scan {
    0% { top: -100%; }
    100% { top: 100%; }
}

/* STATUS BAR */
.status-bar {
    display: flex;
    gap: 20px;
    margin-bottom: 1.5rem;
}

.status-item {
    font-size: 0.75rem;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.status-dot {
    width: 7px;
    height: 7px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: blink 2s infinite ease-in-out;
}

@keyframes blink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.85); }
}

/* FORM ALANLARI */
.field {
    margin-bottom: 1.5rem;
}

.label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.6rem;
}

.input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1rem 1.25rem;
    color: white;
    font-size: 1.1rem;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 500;
    letter-spacing: 2px;
    transition: all 0.25s ease;
    outline: none;
}

.input:focus {
    border-color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

/* PROGRESS BAR */
.progress-container {
    margin: 1.75rem 0;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-bottom: 0.6rem;
    font-weight: 600;
}

.progress-bar {
    width: 100%;
    height: 7px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-color));
    box-shadow: 0 0 12px var(--primary-glow);
    transition: width 1s linear;
}

/* GENİŞLETİLMİŞ TOKEN DISPLAY ALANI */
.token-display {
    background: rgba(0, 0, 0, 0.35);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    padding: 1.75rem 1.5rem;
    text-align: center;
    margin-bottom: 1.75rem;
    position: relative;
    backdrop-filter: blur(6px);
    transition: all 0.25s ease;
}

.token-display:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 0 28px rgba(59, 130, 246, 0.25);
}

.token-value {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: 12px;
    color: var(--primary-blue);
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.55);
    font-family: 'JetBrains Mono', monospace;
    font-variant-numeric: tabular-nums;
    user-select: all;
    line-height: 1.1;
}

/* KOPYALA BUTONU */
.btn-copy {
    width: 100%;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 14px;
    padding: 1.1rem;
    font-size: 1.05rem;
    font-weight: 700;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 4px 18px rgba(59, 130, 246, 0.4);
}

.btn-copy:hover {
    transform: translateY(-2px);
    background: #2563eb;
    box-shadow: 0 6px 24px rgba(59, 130, 246, 0.65);
}

.btn-copy:active {
    transform: translateY(0);
}

.btn-copy img {
    filter: brightness(0) invert(1);
    width: 22px;
    height: 22px;
}

/* BİLDİRİM TOAST */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(10, 14, 26, 0.9);
    border: 1px solid var(--primary-blue);
    padding: 12px 24px;
    border-radius: 12px;
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 25px var(--primary-glow);
    transform: translateY(100px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
    opacity: 0;
    z-index: 10001;
    pointer-events: none;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* FOOTER */
footer {
    margin-top: 2.5rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-dim);
    line-height: 1.6;
}

footer strong {
    color: #ffffff;
}

/* GLITCH EFEKTİ */
.glitch {
    position: relative;
    display: inline-block;
}

@keyframes glitch-anim {
    0% { clip: rect(24px, 9999px, 90px, 0); transform: skew(0.4deg); }
    5% { clip: rect(85px, 9999px, 10px, 0); transform: skew(0.1deg); }
    10% { clip: rect(0, 9999px, 0, 0); transform: skew(0); }
    15% { clip: rect(0, 9999px, 0, 0); transform: skew(0); }
    100% { clip: rect(0, 9999px, 0, 0); transform: skew(0); }
}

.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.85;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 3s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 #00fff9, 2px 2px #ff00c1;
    animation: glitch-anim 2s infinite linear alternate-reverse;
}

@media (max-width: 800px) {
    body {
        padding: 1rem;
    }
    .card {
        padding: 1.75rem 1.25rem;
    }
    .token-value {
        font-size: 2.75rem;
        letter-spacing: 5px;
    }
    .title {
        font-size: 2rem;
    }
    .toast {
        right: 50%;
        transform: translateX(50%) translateY(100px);
    }
    .toast.show {
        transform: translateX(50%) translateY(0);
    }
}
