:root {
  --mc-lightBlue: #08e6ff;
  --mc-dark: #121212;
  --mc-card: #1e1e1e;
  --mc-darker: #0a0a0a;
}

html {
  height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background-color: var(--mc-dark);
  color: #fff;
  display: grid;
  grid-template-rows: auto 1fr auto;
}


h1, h2, h3, .navbar-brand {
  font-family: 'Fredoka', sans-serif;
  letter-spacing: 1px;
  font-weight: 600;
}

/* --- NAVIGACE --- */
.navbar {
  background-color: rgba(10, 10, 10, 0.95) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(8, 230, 255, 0.3);
  padding: 1rem 0;
}
.navbar-brand { color: var(--mc-lightBlue) !important; font-size: 1.8rem; }
.nav-link {
  color: #ccc !important;
  font-weight: 600;
  margin: 0 15px;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: 0.3s;
}
.nav-link:hover, .nav-link.active { color: var(--mc-lightBlue) !important; transform: translateY(-2px); }

/* --- HERO SEKCE (Split Layout) --- */
.hero-section {
  min-height: 80vh;
  padding-top: 80px;
  padding-bottom: 150px;

  background: linear-gradient(90deg, rgba(18,18,18,0.95) 0%, rgba(18,18,18,0.7) 50%, rgba(18,18,18,0.4) 100%), url('https://wallpaperaccess.com/full/159822.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  z-index: 2;
  text-align: left;
}

.hero-title {
  font-size: 5rem;
  line-height: 1.1;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 0px #000;
}

.hero-subtitle {
  font-size: 1.8rem;
  color: #ddd;
  margin-bottom: 2.5rem;
  font-weight: 300;
  border-left: 4px solid var(--mc-lightBlue);
  padding-left: 15px;
}

/* Discord Button */
.btn-discord {
  background-color: #5865F2;
  color: white;
  font-weight: bold;
  padding: 15px 30px;
  font-size: 1.1rem;
  border-radius: 8px;
  transition: 0.3s;
  border: 2px solid #5865F2;
  box-shadow: 0 0 15px rgba(88, 101, 242, 0.5);
}
.btn-discord:hover {
  background-color: #4752c4;
  border-color: #4752c4;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(88, 101, 242, 0.8);
}

/* --- IP BOX (Hero Right) --- */
.ip-box-hero {
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(5px);
  border: 2px solid var(--mc-lightBlue);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  transform: rotate(-2deg);
  transition: 0.3s;
  cursor: pointer;
}
.ip-box-hero:hover {
  transform: rotate(0deg) scale(1.05);
  background: rgba(0,0,0,0.8);
  box-shadow: 0 0 30px rgba(8, 230, 255, 0.3);
}
.ip-address {
  font-family: monospace;
  font-size: 2rem;
  color: var(--mc-lightBlue);
  font-weight: bold;
  display: block;
}

/* --- OVERLAP CARDS (Index Features) --- */
.overlap-section {
  margin-top: -100px;
  position: relative;
  z-index: 10;
  margin-bottom: 4rem;
}

.feature-card-modern {
  background: var(--mc-card);
  padding: 2.5rem;
  border-radius: 15px;
  border-bottom: 4px solid var(--mc-lightBlue);
  height: 100%;
  transition: 0.4s;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.feature-card-modern:hover {
  transform: translateY(-15px);
  background: #252525;
}
.feature-icon-modern {
  font-size: 3.5rem;
  color: var(--mc-lightBlue);
  margin-bottom: 1.5rem;
  background: rgba(8, 230, 255, 0.1);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* --- ZIG-ZAG LAYOUT (Server Page) --- */
.server-header {
  height: 50vh;
  background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('https://wallpaperaccess.com/full/159822.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 0;
}

.info-strip {
  padding: 80px 0;
  border-bottom: 1px solid #222;
}
.info-strip:nth-child(even) {
  background-color: var(--mc-darker);
}

.info-icon-large {
  font-size: 8rem;
  color: var(--mc-lightBlue);
  opacity: 0.8;
  text-shadow: 0 0 30px rgba(8, 230, 255, 0.2);
}

/* --- STAFF CARDS --- */
.staff-card-modern {
  background: var(--mc-card);
  border-radius: 15px;
  overflow: hidden;
  transition: 0.3s;
  text-align: center;
  padding-bottom: 1.5rem;
  border: 1px solid #333;
}
.staff-card-modern:hover {
  border-color: var(--mc-lightBlue);
  transform: translateY(-5px);
}
.staff-bg {
  height: 80px;
  background: var(--mc-lightBlue);
  margin-bottom: -40px;
}
.staff-img-modern {
  width: 90px;
  border-radius: 50%;
  border: 4px solid var(--mc-card);
  position: relative;
  background: #000;
}

/* --- PATIČKA --- */
footer {
  background-color: #050505;
  border-top: 1px solid #222;
  padding: 3rem 0;
  margin-top: auto;
}
.social-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #222;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 10px;
  font-size: 1.2rem;
  transition: 0.3s;
  text-decoration: none;
}

/* Specifické barvy pro sociální sítě */
.social-discord:hover {
  background: #5865F2;
  color: #fff;
  transform: rotate(360deg);
  box-shadow: 0 0 15px #5865F2;
}

.social-instagram:hover {
  background: #E1306C;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: #fff;
  transform: rotate(360deg);
  box-shadow: 0 0 15px #E1306C;
}

.social-tiktok:hover {
  background: #000;
  color: #fff;
  transform: rotate(360deg);
  box-shadow: 0 0 10px #fff, 2px 2px 0px #00f2ea, -2px -2px 0px #ff0050;
  border: 1px solid #333;
}

/* Mobilní úpravy */
@media (max-width: 991px) {
  .hero-title { font-size: 3.5rem; }
  .hero-section { text-align: center; padding-bottom: 120px; }
  .overlap-section { margin-top: -80px; }
  .ip-box-hero { transform: rotate(0deg); margin-top: 2rem; }
  .info-strip { text-align: center; }
  .info-icon-large { font-size: 5rem; margin-bottom: 1rem; }
  .order-md-2 { order: 1; }
  .order-md-1 { order: 2; }
}
