/* ── Reset & Fonts ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; font-family: 'Rajdhani', sans-serif; color: #fff; overflow-x: hidden; scroll-behavior: smooth; }

/* ── CSS Variablen für das neue Design ── */
:root {
  --bg-dark: #050506;
  --orange: #ff8c00;
  --bg-tile: #121214; /* Hintergrundfarbe der Kacheln */
  --text-primary: #ffffff;
  --text-muted: rgba(255,255,255,0.65);
  --border-radius-tile: 20px;
  --border-radius-btn: 100px;
  --shadow-tile: 0 0 15px rgba(255,140,0,0.3);
  --glow-orange: drop-shadow(0 0 10px rgba(255,140,0,0.85));
}

/* ── Hintergrundbild PERMANENT fixiert & verdunkelt ── */
body {
    margin: 0;
    background: url('https://static0.thegamerimages.com/wordpress/wp-content/uploads/2020/05/GTA-V-Los-Santos.jpg') no-repeat center center fixed;
    background-size: cover;
    font-family: 'Rajdhani', sans-serif;
    color: white;
}

.background-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: -1;
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 64px;
  background: rgba(15,15,17,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 2px solid rgba(255,140,0,0.25);
  border-radius: 0 0 var(--border-radius-tile) var(--border-radius-tile);
  box-shadow: 0 4px 15px rgba(255,140,0,0.1);
  transition: box-shadow 0.3s ease;
}

.navbar:hover { box-shadow: 0 8px 30px rgba(255,140,0,0.2); }

.nav-brand { display: flex; align-items: center; gap: 12px; }

.nav-logo {
  height: 40px;
  filter: var(--glow-orange);
}

.nav-brand-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 4px;
  color: var(--orange);
}

.nav-tabs { display: flex; gap: 4px; }

.nav-tab {
  padding: 8px 24px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: var(--border-radius-btn);
}

.nav-tab:hover {
  background: rgba(255,140,0,0.12);
  color: var(--orange);
  transform: scale(1.03);
}

.nav-tab.active {
  color: #fff;
  background: var(--orange);
  box-shadow: 0 0 15px rgba(255,140,0,0.4);
}

.nav-right { display: flex; align-items: center; gap: 10px; }

/* Login Button als Orange Pill */
.btn-login, .hero-cta, .tile-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 30px;
  background: var(--orange);
  color: #000;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  border-radius: var(--border-radius-btn);
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(255,140,0,0.4);
}

.btn-login:hover, .hero-cta:hover, .tile-btn:hover {
  background: #ffaa33;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 30px rgba(255,140,0,0.6);
}

.discord-icon { width: 18px; height: 18px; fill: #000; flex-shrink: 0; }

/* User Panel */
.user-panel { display: flex; align-items: center; gap: 10px; }

.user-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  object-fit: cover;
  box-shadow: var(--glow-orange);
}

.user-info { display: flex; flex-direction: column; line-height: 1.2; }

.user-nick {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px; letter-spacing: 1px;
  color: var(--orange);
}

.user-name { font-size: 12px; color: var(--text-muted); }

.btn-intern {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 22px;
  background: transparent;
  color: var(--orange);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700; font-size: 14px; letter-spacing: 2px;
  border: 2px solid var(--orange);
  border-radius: var(--border-radius-btn);
  cursor: pointer;
  transition: all 0.25s ease;
  animation: internGlow 2.5s ease-in-out infinite;
}

.btn-intern:hover { background: rgba(255,140,0,0.12); transform: scale(1.03); }

@keyframes internGlow {
  0%,100% { box-shadow: 0 0 8px rgba(255,140,0,0.3); }
  50%      { box-shadow: 0 0 25px rgba(255,140,0,0.6); }
}

.btn-logout {
  padding: 8px 18px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px; letter-spacing: 1px;
  border: 1px solid var(--text-muted);
  border-radius: var(--border-radius-btn);
  cursor: pointer; transition: all 0.25s ease;
}
.btn-logout:hover {
  background: rgba(255,51,68,0.1);
  color: #FF3344;
  border-color: #FF3344;
  transform: scale(1.03);
}

/* ── Hero ── */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-logo { width: 180px; filter: drop-shadow(0 0 20px var(--orange)); }

.status-pill-large {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid #00FF88;
    padding: 15px 40px;
    border-radius: 12px;
    font-weight: 800;
    color: #00FF88;
    letter-spacing: 2px;
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
    transform-origin: center center;
    perspective: 1000px;
}

.status-pill-large:hover {
  transform: translateY(-10px) rotateY(10deg);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.status-dot-blink {
    height: 10px; width: 10px; background: #00FF88;
    border-radius: 50%; display: inline-block; margin-right: 10px;
    animation: blink 1.5s infinite;
}

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

.btn-animated-border {
    position: relative;
    display: inline-block;
    padding: 12px 35px;
    color: white;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 2px;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(255, 140, 0, 0.1);
    transition: 0.5s;
}

.btn-animated-border:hover {
    background: var(--orange);
    color: black;
    box-shadow: 0 0 30px var(--orange);
}

.btn-animated-border::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--orange));
    transition: 0.5s;
}

.btn-animated-border:hover::before { left: 100%; }

.hero-eyebrow {
  font-family: 'Share Tech Mono', monospace;
  font-size: 13px;
  letter-spacing: 6px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(56px, 10vw, 120px);
  line-height: 0.90;
  letter-spacing: 6px;
  color: #fff;
  text-shadow: 0 4px 30px rgba(0,0,0,0.8);
}

.hero-title .orange { color: var(--orange); }

.hero-scroll {
  margin-top: 48px;
  font-size: 24px;
  color: rgba(255,140,0,0.6);
  animation: bounce 2.2s infinite;
  cursor: pointer;
}

@keyframes bounce {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(10px); }
}

/* ── Info Sektion ── */
.info-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 28px 110px;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
}

.section-bar {
  width: 5px; height: 40px;
  background: var(--orange);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 38px;
  letter-spacing: 6px;
  color: #fff;
}

/* ── Grid für Kacheln ── */
.tiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    padding: 50px;
}

/* Abgerundete Kacheln (Dark Gray, Rounded, Orange Glow) */
.tile {
    padding: 40px;
    border-radius: var(--border-radius-tile);
    position: relative;
    overflow: visible; 
    border: 1px solid rgba(255,255,255,0.05);
    text-align: left; 
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    z-index: 1; /* Damit die ::before/::after pseudoelemente im z-index über dem Hintergrund aber unter dem Inhalt sind */
}

/* Der innere Glanz, der der Maus folgt */
.tile-glow {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--bg-tile);
    border-radius: var(--border-radius-tile);
    z-index: 0;
}

.tile-glow::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255, 140, 0, 0.15) 0%, transparent 50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: var(--border-radius-tile);
}

/* Damit der Text immer ÜBER dem inneren Glanz bleibt */
.tile-icon, .tile-content {
    position: relative;
    z-index: 2;
}

.tile-icon {
  font-size: 32px;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  color: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(255,140,0,0.3);
  margin-bottom: 20px;
}

.tile-content h3 {
    font-family: 'Bebas Neue';
    font-size: 33px;
    color: var(--orange);
    margin-bottom: 15px;
}

.tile-content p, .tile-content li {
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
}

.tile-content p {
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  line-height: 1.65;
  opacity: 0.95;
}

/* Listen mit orangefarbenen Bullets */
.tile-content ul { padding-left: 20px; margin-top: 10px; }

.tile-content li {
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tile-content li::before {
  content: '✦';
  color: var(--orange);
  font-size: 18px;
}


/* ── Footer ── */
.footer {
  border-top: 1px solid rgba(255,140,0,0.15);
  padding: 40px 24px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}

.footer-logo {
  height: 60px;
  opacity: 0.25;
  filter: grayscale(1);
  transition: all 0.3s ease;
}
.footer-logo:hover { opacity: 0.8; filter: none; transform: scale(1.05); }

.footer p { font-size: 14px; color: var(--text-muted); letter-spacing: 1px; }

/* ── Responsive ── */
@media (max-width: 1000px) {
  .tiles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .navbar { padding: 0 16px; }
  .nav-brand-name { display: none; }
  .nav-tabs { display: none; }
  .tiles-grid { grid-template-columns: 1fr; }
  .hero-logo { width: 130px; }
  .info-section { padding: 60px 16px 80px; }
}

/* ─── Animated Spinning Border Effekt (wie im Beispiel) ─── */
@property --angle{
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(255, 140, 0, 0.4);
}

.tile:hover::after, .card:hover::before{
  content: '';
  position: absolute;
  height: 101%;
  width: 101%;
  background-image: conic-gradient(from var(--angle), transparent 50%, orange);
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  z-index: -1;
  padding: 10px;
  border-radius: 20px;
  animation: 3s spin linear infinite;
}
.tile::before{
  filter: blur(1.5rem);
  opacity: 0.5;
}
  
.tile:hover::after {
    opacity: 1;
}

@keyframes spin{
  from{
    --angle: 0deg;
  }
  to{
    --angle: 360deg;
  }
}