/* ───────────────────────────────────────────── 
   GKaZe77 – Minecraft Site Modernized Styles
   Inspired by Claude.ai / OpenRouter.ai aesthetic
────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Manrope', sans-serif;
  background-color: #111;
  color: #f0f0f0;
  line-height: 1.6;
  scroll-behavior: smooth;
  overflow-x: hidden;
  scrollbar-width: none;
  opacity: 0;
  animation: fadeIn 1.2s ease-in forwards;
  height: 100vh;
  overflow: hidden;
  position: relative;
}
body::-webkit-scrollbar {
  display: none;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

a {
  color: #5dd167;
  text-decoration: none;
  transition: all 0.25s ease;
}
a:hover {
  text-decoration: underline;
  color: #8af289;
}

nav {
  background-color: #1a1a1a;
  padding: 1rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  border-bottom: 1px solid #222;
  animation: slideFade 0.8s ease-in-out forwards;
  z-index: 10;
  position: relative;
}
nav a {
  font-weight: 600;
  font-size: 0.95rem;
}

.hero {
  background: url('https://i.imgur.com/ohF9KYY.png') center/cover no-repeat;
  padding: 5rem 2rem;
  text-align: center;
  animation: slideFade 1.2s ease-in-out forwards;
  position: relative;
}
.hero h1 {
  font-size: 2.75rem;
  color: #ffffff;
  text-shadow: 0 2px 5px rgba(0,0,0,0.7);
}
.hero p {
  font-size: 1.1rem;
  color: #ccc;
  margin-top: 1rem;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://i.imgur.com/Vj5i2px.png') repeat;
  opacity: 0.05;
  pointer-events: none;
  z-index: 1;
}

main.grid-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2rem;
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  height: calc(100vh - 300px);
  overflow: hidden;
  position: relative;
}

.left-column {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 2rem;
  z-index: 2;
}

.right-column {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  z-index: 2;
}

.cream-card {
  background-color: #fdf6e3;
  color: #111;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}
.cream-card h2 {
  color: #333;
}
.cream-card p {
  color: #444;
}

.discord-button {
  display: inline-block;
  background-color: #5865F2;
  color: white;
  font-weight: 600;
  padding: 0.65rem 1.4rem;
  border-radius: 6px;
  transition: background-color 0.3s ease;
  font-size: 0.9rem;
  margin-top: 0.8rem;
}
.discord-button:hover {
  background-color: #4752c4;
}

#carousel-container {
  height: 100%;
  display: flex;
  align-items: stretch;
  justify-content: center;
  z-index: 2;
}

iframe.perks-frame {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
  background: #1a1a1a;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transform: translateY(20px);
  opacity: 0;
  animation: cardFade 1s ease forwards;
  animation-delay: 0.4s;
}

footer {
  background-color: #1a1a1a;
  text-align: center;
  padding: 1rem;
  font-size: 0.85rem;
  color: #888;
  border-top: 1px solid #222;
  animation: slideFade 1.8s ease-in-out forwards;
  position: relative;
  z-index: 10;
}

@keyframes cardFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  main.grid-layout {
    display: block;
    height: auto;
    padding: 1rem;
  }
  .left-column, .right-column {
    width: 100%;
    margin-bottom: 2rem;
  }
  iframe.perks-frame {
    height: 500px;
  }
  body {
    overflow-y: auto;
  }
}