:root {
  --bg: rgba(0, 0, 0, 0.3);
  --surface: rgba(0, 0, 0, 0.55);
  --text: #ffffff;
  --text-secondary: rgba(255,255,255,0.8);
  --accent: #22c55e;
  --accent-hover: #16a34a;
  --radius: 16px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; width: 100%; max-width: 100%; }
body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  color: var(--text);
  min-height: 100vh;
  background: #0f172a;
}

.bg-image {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background-image: url('../turbolu.png');
  background-size: cover; background-position: center; background-attachment: fixed;
  filter: brightness(0.6) blur(2px); z-index: -1;
}

#app { position: relative; z-index: 1; display: flex; flex-direction: column; min-height: 100vh; }

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.8rem;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(25px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  position: sticky; top: 0; z-index: 100;
  flex-wrap: wrap; gap: 5px;
}

.logo {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 1.2rem; font-weight: bold; color: var(--accent);
  cursor: pointer; white-space: nowrap;
}
.logo-img { width: 28px; height: 28px; object-fit: cover; border-radius: 6px; }

.nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.nav-links a {
  color: var(--text); text-decoration: none;
  padding: 6px 10px; border-radius: 6px; font-size: 0.75rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  transition: all var(--transition); white-space: nowrap;
}
.nav-links a:hover { background: var(--accent); color: white; transform: translateY(-2px); }

.user-area { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.profile-link { display: inline-flex; align-items: center; gap: 6px; color: var(--text); text-decoration: none; }
.profile-link img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); }
.username-label { font-weight: bold; font-size: 0.75rem; }
.logout-btn {
  background: rgba(239, 68, 68, 0.8); color: white; border: none;
  padding: 5px 10px; border-radius: 6px; cursor: pointer; font-size: 0.7rem;
  transition: all var(--transition);
}
.logout-btn:hover { background: rgba(239, 68, 68, 1); }

.btn-green {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: white; text-decoration: none; padding: 6px 12px; border-radius: 6px;
  font-weight: bold; font-size: 0.75rem; transition: all var(--transition);
}
.btn { background: rgba(0,0,0,0.5); color: var(--text); text-decoration: none; padding: 6px 12px; border-radius: 6px; font-size: 0.75rem; }

/* İçerik kartları */
.glass-card {
  background: var(--surface); backdrop-filter: blur(20px);
  border-radius: var(--radius); padding: 1.2rem; margin: 1.2rem auto;
  max-width: 100%; box-shadow: var(--shadow);
  border: 1px solid rgba(34, 197, 94, 0.25);
  width: calc(100% - 1.5rem); box-sizing: border-box;
}
.hero-card {
  text-align: center; background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(22, 163, 74, 0.2));
  border: 1px solid rgba(34, 197, 94, 0.4); position: relative; overflow: hidden;
}
.hero-card::before {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(34, 197, 94, 0.15), transparent 60%);
  animation: spin 6s linear infinite; z-index: 0;
}
.hero-card > * { position: relative; z-index: 1; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.hero-card h1 { font-size: 1.6rem; margin-bottom: 1rem; }
.hero-card p { font-size: 0.9rem; opacity: 0.9; margin-bottom: 1.2rem; }

.ip-box {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0,0,0,0.5); padding: 8px 14px; border-radius: 50px;
  font-family: monospace; font-size: 0.9rem; cursor: pointer;
  transition: all var(--transition); color: white;
}
.copy-btn { background: white; color: var(--accent-hover); border: none; padding: 4px 10px; border-radius: 20px; font-weight: bold; cursor: pointer; font-size: 0.75rem; }
.click-info { margin-top: 0.5rem; font-size: 0.75rem; opacity: 0.8; }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0.8rem; margin-top: 0.8rem; }
.feature-item { background: rgba(0, 0, 0, 0.4); padding: 1rem; border-radius: var(--radius); text-align: center; }
.feature-item i { font-size: 1.5rem; color: var(--accent); margin-bottom: 0.4rem; }
.feature-item h3 { font-size: 0.9rem; margin-bottom: 0.2rem; }
.feature-item p { font-size: 0.8rem; color: var(--text-secondary); }

.status-info p { margin: 0.4rem 0; font-size: 0.85rem; }
.status-info strong { color: var(--accent); }

/* Formlar */
input, textarea, select {
  width: 100%; padding: 8px 12px; margin: 6px 0 10px;
  border: 2px solid rgba(34, 197, 94, 0.5); border-radius: 10px;
  background: rgba(0,0,0,0.5); color: var(--text); font-size: 0.85rem;
  outline: none; transition: all var(--transition);
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent); box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.4);
}

button, .btn, .btn-green { cursor: pointer; }

.footer { text-align: center; padding: 1rem; background: rgba(0,0,0,0.5); color: var(--text); font-size: 0.75rem; }

@media (max-width: 768px) {
  .navbar { padding: 0.4rem 0.6rem; }
  .logo { font-size: 1rem; }
  .logo-img { width: 24px; height: 24px; }
  .nav-links a { padding: 5px 8px; font-size: 0.7rem; }
  .user-area { gap: 4px; }
  .hero-card h1 { font-size: 1.3rem; }
  .glass-card { padding: 0.8rem; margin: 0.8rem auto; width: calc(100% - 1rem); }
  .features-grid { grid-template-columns: 1fr; }
}
