/* css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
}

/* SHINE BORDER EFEKTİ (SAF CSS) */
.shine-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    padding: 1px; /* Kenarlık kalınlığı */
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
}

.shine-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent, 
        transparent, 
        transparent, 
        #a855f7, /* Mor */
        #ec4899, /* Pembe */
        #3b82f6, /* Mavi */
        transparent, 
        transparent
    );
    animation: shine-spin 4s linear infinite;
    z-index: 0;
}

.shine-content {
    position: relative;
    background: #0a0a0a; /* İçerik arka planı */
    border-radius: 11px;
    z-index: 1;
    height: 100%;
    width: 100%;
}

@keyframes shine-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Gradient Metin Efekti */
.text-gradient {
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Arka plan glow efekti */
.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(168,85,247,0.15) 0%, rgba(0,0,0,0) 70%);
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    pointer-events: none;
}

.marquee-content {
    animation: scroll 20s linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* İçeriğin yarısı kadar kaydır */
}

details > summary {
    list-style: none;
    cursor: pointer;
}
details > summary::-webkit-details-marker {
    display: none;
}
details[open] summary ~ * {
    animation: sweep .3s ease-in-out;
}
@keyframes sweep {
    0%    {opacity: 0; transform: translateY(-10px)}
    100%  {opacity: 1; transform: translateY(0)}
}

#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.toast {
    min-width: 300px;
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(100%);
    animation: slideIn 0.3s forwards, fadeOut 0.5s 3.5s forwards;
    backdrop-filter: blur(10px);
}
.toast.success { border-left: 4px solid #22c55e; }
.toast.error { border-left: 4px solid #ef4444; }

@keyframes slideIn { to { transform: translateX(0); } }
@keyframes fadeOut { to { opacity: 0; pointer-events: none; } }

/* Moving Grid Background */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-size: 50px 50px;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%); /* Alt kısmı yumuşat */
    transform: perspective(500px) rotateX(60deg); /* 3D Efekti */
    animation: gridMove 20s linear infinite;
    transform-origin: top center;
}

@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 0 500px; }
}

body {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}
body.fade-out {
    opacity: 0;
}

.skeleton {
    background: linear-gradient(90deg, #121212 25%, #1a1a1a 50%, #121212 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

