/* MMORPG ICE/FANTASY MODERN DESIGN - COMPLETE OVERHAUL */

/* Reset & Fonts */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700&family=Montserrat:wght@400;700&display=swap');

body {
  font-family: 'Montserrat', Arial, sans-serif;
  background: linear-gradient(135deg, #e0f7fa 0%, #b3e5fc 100%), url('./img/bg-ice-emberfall.jpg') center/cover no-repeat fixed;
  min-height: 100vh;
  color: #e3f6fd;
  letter-spacing: 0.03em;
}

#container {
  max-width: 1200px;
  margin: 60px auto 0 auto;
  padding: 40px 32px 80px 32px;
  background: rgba(255,255,255,0.13);
  border-radius: 40px;
  box-shadow: 0 12px 48px 0 rgba(31, 140, 230, 0.25), 0 2px 0 0 #b3eaff inset;
  backdrop-filter: blur(12px);
  border: 3px solid #b3eaff;
  position: relative;
}
#container::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 40px;
  border: 2px solid rgba(255,255,255,0.18);
  pointer-events: none;
  box-shadow: 0 0 64px #b3eaff inset;
}

/* NAVIGATION - glassmorphism, horizontal */
#navi {
  width: 100vw;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background: rgba(180, 230, 255, 0.35);
  box-shadow: 0 4px 32px 0 rgba(31, 140, 230, 0.18);
  backdrop-filter: blur(18px);
  border-bottom: 3px solid #b3eaff;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 90px;
  padding: 0 2vw;
}
#navi .logo {
  display: flex;
  align-items: center;
  margin-right: 40px;
}
#navi .logo img {
  height: 70px;
  width: auto;
  margin-right: 18px;
  filter: drop-shadow(0 0 16px #b3eaff) drop-shadow(0 0 8px #fff);
  border-radius: 16px;
  background: rgba(255,255,255,0.10);
}
#navi .logo-title {
  font-family: 'Orbitron', Arial, sans-serif;
  font-size: 2.2em;
  color: #b3eaff;
  text-shadow: 0 4px 24px #fff, 0 2px 0 #1e88e5;
  letter-spacing: 0.13em;
  font-weight: bold;
}
#navi ul {
  display: flex;
  gap: 40px;
  list-style: none;
  align-items: center;
}
#navi ul li {
  display: flex;
  align-items: center;
}
#navi a {
  font-family: 'Orbitron', Arial, sans-serif;
  font-size: 1.2em;
  color: #1e88e5;
  padding: 16px 36px;
  border-radius: 24px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
  text-shadow: 0 2px 12px #b3eaff, 0 1px 0 #fff;
  letter-spacing: 0.12em;
  font-weight: bold;
  background: rgba(255,255,255,0.10);
  border: 2px solid transparent;
  box-shadow: 0 0 12px #b3eaff;
  position: relative;
  overflow: hidden;
}
#navi a:hover, #navi a.active {
  background: linear-gradient(135deg, #b3eaff 0%, #e3f6fd 100%);
  color: #0d47a1;
  box-shadow: 0 0 32px #b3eaff, 0 0 8px #fff inset;
  border: 2px solid #b3eaff;
  transform: scale(1.08) skew(-2deg, 0deg);
  text-shadow: 0 0 16px #fff, 0 1px 0 #b3eaff;
}
#navi a::before {
  content: '';
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0.18) 0%, rgba(179,234,255,0.12) 100%);
  z-index: 0;
  border-radius: 24px;
  pointer-events: none;
}
#navi a span {
  position: relative;
  z-index: 1;
}

/* HEADERS */
h1, h2, h3, h4 {
  font-family: 'Orbitron', Arial, sans-serif;
  color: #b3eaff;
  text-shadow: 0 4px 24px #fff, 0 2px 0 #1e88e5;
  letter-spacing: 0.13em;
}
h1 {
  font-size: 3.2em;
  margin-bottom: 0.7em;
}
h2 {
  font-size: 2.2em;
  margin-bottom: 0.6em;
}
h3 {
  font-size: 1.5em;
  margin-bottom: 0.5em;
}
h4 {
  font-size: 1.2em;
  margin-bottom: 0.4em;
}

/* BUTTONS - better contrast, more glow, clear text */
button, .inputButton, .regButton, .rankButton, .login_input_button, .class__button_download, .support-button, ul.menue a {
  font-family: 'Orbitron', Arial, sans-serif;
  font-size: 1.15em;
  padding: 16px 40px;
  border: none;
  border-radius: 32px;
  background: linear-gradient(135deg, #e3f6fd 0%, #b3eaff 100%);
  color: #1565c0;
  box-shadow: 0 0 32px #b3eaff, 0 2px 12px #1e88e5 inset;
  cursor: pointer;
  margin: 14px 0;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
  text-shadow: 0 2px 8px #fff, 0 1px 0 #b3eaff;
  font-weight: bold;
  letter-spacing: 0.09em;
  outline: none;
  border: 2px solid #b3eaff;
}
button:hover, .inputButton:hover, .regButton:hover, .rankButton:hover, .login_input_button:hover, .class__button_download:hover, .support-button:hover, ul.menue a:hover {
  background: linear-gradient(135deg, #b3eaff 0%, #e3f6fd 100%);
  color: #0d47a1;
  box-shadow: 0 0 48px #b3eaff, 0 2px 24px #1e88e5 inset;
  transform: scale(1.07);
  text-shadow: 0 0 16px #fff, 0 1px 0 #b3eaff;
}

/* FORM ELEMENTS */
input, textarea, select {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  border-radius: 18px;
  border: 1.5px solid #b3eaff;
  background: rgba(255,255,255,0.25);
  color: #1e88e5;
  padding: 10px 18px;
  margin: 8px 0;
  outline: none;
  transition: border 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 8px #b3eaff inset;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #1e88e5;
  box-shadow: 0 0 12px #b3eaff;
}

/* PANELS & BOXES - more glass, more shadow */
.boxright, .presentation, .newsblock, #login_box, .ipListBox, .isDesc, .isBuy, .isImg, .regSlot, .rankSlot {
  background: rgba(255,255,255,0.22);
  border-radius: 28px;
  box-shadow: 0 4px 32px 0 rgba(31, 140, 230, 0.18);
  border: 2px solid #b3eaff;
  padding: 24px 32px;
  margin: 24px 0;
  color: #1e88e5;
  backdrop-filter: blur(10px);
}

/* TABLES - more contrast, clearer borders */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
  background: rgba(255,255,255,0.13);
  border-radius: 20px;
  box-shadow: 0 2px 12px #b3eaff inset;
  color: #1e88e5;
}
th, td {
  padding: 14px 20px;
  border-radius: 14px;
  background: rgba(255,255,255,0.22);
  border: 2px solid #b3eaff;
  font-size: 1.08em;
}
th {
  background: linear-gradient(135deg, #b3eaff 0%, #e3f6fd 100%);
  color: #0d47a1;
  font-weight: bold;
  text-shadow: 0 1px 8px #fff;
}

/* LINKS */
a {
  color: #1e88e5;
  text-decoration: none;
  transition: color 0.2s, text-shadow 0.2s;
  text-shadow: 0 1px 8px #b3eaff;
}
a:hover {
  color: #b3eaff;
  text-shadow: 0 0 12px #fff;
}

/* SPECIAL BADGES */
.novinka, .dulezite, .event, .server, .udrzba {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 18px;
  font-family: 'Orbitron', Arial, sans-serif;
  font-size: 1em;
  font-weight: bold;
  color: #fff;
  margin: 0 6px 0 0;
  box-shadow: 0 0 12px #b3eaff;
  background: linear-gradient(90deg, #b3eaff 0%, #1e88e5 100%);
  border: 1.5px solid #fff;
  text-shadow: 0 1px 8px #1e88e5;
}

/* FOOTER */
#footer {
  width: 100vw;
  position: fixed;
  bottom: 0;
  left: 0;
  height: 40px;
  background: rgba(180, 230, 255, 0.25);
  color: #1e88e5;
  font-size: 1.1em;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 2px solid #b3eaff;
  box-shadow: 0 -2px 24px 0 rgba(31, 140, 230, 0.10);
  backdrop-filter: blur(12px);
}

/* FLEX/GRID LAYOUTS */
.splitLeft, .splitRight {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (min-width: 900px) {
  .splitLeft, .splitRight {
    flex-direction: row;
    gap: 48px;
  }
}

/* MENU (vertical for left nav) */
ul.menue {
  display: flex;
  flex-direction: column;
  gap: 18px;
  list-style: none;
  margin: 32px 0;
}
ul.menue a {
  background: linear-gradient(135deg, #b3eaff 0%, #e0f7fa 100%);
  color: #1e88e5;
  border-radius: 18px;
  padding: 14px 0;
  text-align: center;
  font-family: 'Orbitron', Arial, sans-serif;
  font-size: 1.1em;
  box-shadow: 0 0 12px #b3eaff;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
}
ul.menue a:hover {
  background: linear-gradient(135deg, #e0f7fa 0%, #b3eaff 100%);
  color: #1565c0;
  box-shadow: 0 0 24px #b3eaff;
  transform: scale(1.04);
}

/* IMAGE STYLES */
img {
  border-radius: 18px;
  box-shadow: 0 2px 16px #b3eaff;
  max-width: 100%;
  height: auto;
  margin: 12px 0;
}

/* SLIDER */
#slider {
  width: 100%;
  height: 260px;
  border-radius: 24px;
  overflow: hidden;
  margin: 32px 0;
  box-shadow: 0 2px 32px #b3eaff;
  background: rgba(255,255,255,0.10);
}
.slider-content {
  display: flex;
  height: 100%;
  transition: transform 0.5s cubic-bezier(.77,0,.18,1);
}
.slider-item {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ANIMATIONS - more glow */
@keyframes icyGlow {
  0% { box-shadow: 0 0 16px #b3eaff; }
  50% { box-shadow: 0 0 48px #b3eaff, 0 0 12px #fff inset; }
  100% { box-shadow: 0 0 16px #b3eaff; }
}
button, .inputButton, .regButton, .rankButton, .login_input_button, .class__button_download, .support-button, ul.menue a, .pill {
  animation: icyGlow 2.5s infinite;
}

/* SCROLLBAR - more visible */
::-webkit-scrollbar {
  width: 14px;
  background: #e0f7fa;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  background: #b3eaff;
  border-radius: 10px;
  border: 3px solid #e0f7fa;
}

/* UTILITY */
.clear { clear: both; }

/* SUPPORT TEXT - more contrast */
.support-text {
  text-align: center;
  font-size: 1.25em;
  color: #1e88e5;
  margin-top: 22px;
  font-weight: normal;
  line-height: 1.6;
  text-shadow: 0 1px 8px #b3eaff;
}

/* Copyright - more visible */
.copyright {
  color: #b3eaff;
  font-size: 1em;
  text-align: right;
  margin: 0 22px;
  text-shadow: 0 1px 8px #fff;
}

/* Fix for colored pill buttons in tables */
td > .pill, .pill {
  display: inline-block;
  min-width: 48px;
  min-height: 28px;
  padding: 0 18px;
  border-radius: 18px;
  font-size: 1em;
  font-weight: bold;
  color: #fff;
  text-align: center;
  box-shadow: 0 0 12px #b3eaff;
  border: 2px solid #fff;
  background: linear-gradient(135deg, #b3eaff 0%, #1e88e5 100%);
  margin: 0 auto;
  line-height: 28px;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 8px #1e88e5, 0 0 2px #fff;
}
.pill.red { background: linear-gradient(135deg, #e53935 0%, #b71c1c 100%); }
.pill.blue { background: linear-gradient(135deg, #1976d2 0%, #0d47a1 100%); }
.pill.yellow { background: linear-gradient(135deg, #ffe082 0%, #ffb300 100%); color: #0d47a1; text-shadow: 0 1px 8px #fff, 0 0 2px #ffb300; }

/* Responsive */
@media (max-width: 900px) {
  #container {
    padding: 12px 2vw 64px 2vw;
  }
  .boxright, .presentation, .newsblock, #login_box {
    padding: 12px 8px;
  }
  #navi ul {
    gap: 12px;
  }
  #navi a { font-size: 1em; padding: 10px 12px; }
}

/* Example for main logo in content */
.main-logo {
  display: block;
  margin: 40px auto 24px auto;
  max-width: 420px;
  width: 80vw;
  filter: drop-shadow(0 0 32px #b3eaff) drop-shadow(0 0 12px #fff);
  border-radius: 32px;
  background: rgba(255,255,255,0.10);
}

/* Fantasy border for main content */
#container::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 40px;
  border: 2px solid rgba(255,255,255,0.18);
  pointer-events: none;
  box-shadow: 0 0 64px #b3eaff inset;
}

/* Add more fantasy/icy decorations as needed */
