/* ── Landing Page Stilleri ──
   Sadece index.html (giriş ekranı) için geçerlidir.
*/

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Outfit', sans-serif;
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; background: #0d0620; position: relative;
}

#bgCanvas { position: fixed; inset: 0; z-index: 0; }

.container {
    position: relative; z-index: 2; text-align: center;
    padding: 30px 20px; animation: fadeInUp 0.9s ease both;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Logo ── */
.logo { margin-bottom: 48px; }
.logo h1 { color: #fff; font-size: 42px; font-weight: 700; letter-spacing: 2px; text-shadow: 0 0 40px rgba(168,100,255,0.65); }
.logo p { color: rgba(255,255,255,0.6); font-size: 14px; margin-top: 8px; letter-spacing: 3px; text-transform: uppercase; font-weight: 300; }

/* ── Kartlar ── */
.cards { display: flex; gap: 36px; justify-content: center; flex-wrap: wrap; }

.card {
    width: 168px; height: 168px; border-radius: 50%;
    background: rgba(255,255,255,0.06); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1.5px solid rgba(255,255,255,0.18);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-decoration: none; color: #fff; cursor: pointer; position: relative;
    transition: transform 0.4s cubic-bezier(.34,1.56,.64,1), box-shadow 0.4s, border-color 0.4s;
    animation: floatCard 4s ease-in-out infinite;
}
.card::before {
    content: ''; position: absolute; inset: -2px; border-radius: 50%;
    background: conic-gradient(transparent 0deg, rgba(255,255,255,0.12) 60deg, transparent 120deg);
    animation: rotateBorder 6s linear infinite; z-index: -1;
}
@keyframes rotateBorder { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.card:nth-child(2) { animation-delay: 0.8s; }
.card:nth-child(2)::before { animation-delay: -2s; }
.card:nth-child(3) { animation-delay: 1.6s; }
.card:nth-child(3)::before { animation-delay: -4s; }
@keyframes floatCard { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.card:hover { transform: translateY(-16px) scale(1.1); animation: none; }
.card-ogrenci:hover { border-color: #4ade80; box-shadow: 0 0 0 6px rgba(74,222,128,0.1), 0 24px 50px rgba(74,222,128,0.25); }
.card-veli:hover    { border-color: #fbbf24; box-shadow: 0 0 0 6px rgba(251,191,36,0.1), 0 24px 50px rgba(251,191,36,0.25); }
.card-ogretmen:hover{ border-color: #60a5fa; box-shadow: 0 0 0 6px rgba(96,165,250,0.1), 0 24px 50px rgba(96,165,250,0.25); }

.card .icon { font-size: 44px; margin-bottom: 10px; }
.card h2 { font-size: 16px; font-weight: 600; }
.card p { color: rgba(255,255,255,0.55); font-size: 10px; margin-top: 5px; padding: 0 16px; line-height: 1.4; font-weight: 300; }

/* ── Footer ── */
.footer { margin-top: 52px; color: rgba(255,255,255,0.3); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; }

/* ── Admin butonu ── */
.admin-btn {
    position: fixed; bottom: 22px; right: 22px; z-index: 10;
    padding: 9px 18px; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.55);
    border: 1px solid rgba(255,255,255,0.15); border-radius: 10px; font-size: 12px;
    font-family: 'Outfit', sans-serif; text-decoration: none; backdrop-filter: blur(8px);
    transition: all 0.3s; letter-spacing: 0.5px;
}
.admin-btn:hover { background: rgba(255,255,255,0.2); color: #fff; border-color: rgba(255,255,255,0.35); }

/* ── Overlay ── */
#overlay {
    position: fixed; inset: 0; z-index: 50;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity 0.4s ease;
}
#overlay.active { opacity: 1; pointer-events: all; }

#overlayCircle {
    position: fixed; width: 0; height: 0; border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s cubic-bezier(.4,0,.2,1), height 0.6s cubic-bezier(.4,0,.2,1), opacity 0.4s;
    opacity: 0; z-index: 51;
}
#overlay.active #overlayCircle {
    width: 200vmax; height: 200vmax; opacity: 0.18;
}

#overlayContent {
    position: relative; z-index: 52;
    background: rgba(255,255,255,0.07); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.18); border-radius: 24px;
    padding: 40px 48px; max-width: 420px; width: 90%;
    text-align: center; color: #fff;
    transform: translateY(20px); transition: transform 0.4s cubic-bezier(.34,1.56,.64,1);
}
#overlay.active #overlayContent { transform: translateY(0); }

#closeBtn {
    position: absolute; top: 16px; right: 20px;
    background: none; border: none; color: rgba(255,255,255,0.5);
    font-size: 26px; cursor: pointer; line-height: 1;
    transition: color 0.2s;
}
#closeBtn:hover { color: #fff; }

#olIcon { font-size: 52px; margin-bottom: 14px; }
#olTitle { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
#olSub { color: rgba(255,255,255,0.55); font-size: 13px; margin-bottom: 24px; }

#olActions {
    list-style: none; text-align: left; display: flex;
    flex-direction: column; gap: 12px; margin-bottom: 28px;
}
#olActions li {
    display: flex; align-items: center; gap: 14px;
    background: rgba(255,255,255,0.06); border-radius: 12px; padding: 12px 16px;
}
#olActions .item-icon { font-size: 22px; flex-shrink: 0; }
#olActions .item-desc { font-size: 11px; color: rgba(255,255,255,0.45); margin-top: 2px; }

#olGoto {
    display: inline-block; padding: 12px 32px; border-radius: 50px;
    font-family: 'Outfit', sans-serif; font-size: 15px; font-weight: 600;
    text-decoration: none; color: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
}
#olGoto:hover { transform: scale(1.05); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }

.color-ogrenci { background: linear-gradient(135deg, #22c55e, #16a34a); }
.color-veli    { background: linear-gradient(135deg, #f59e0b, #d97706); }
.color-ogretmen{ background: linear-gradient(135deg, #60a5fa, #3b82f6); }

/* Kartları soldur */
.cards-dimmed .card { opacity: 0.25; pointer-events: none; transition: opacity 0.4s; }
.logo, .footer { transition: opacity 0.4s; }
