/* General Reset and Font */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Lexend', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Background and Typography */
body {
  background: linear-gradient(to bottom, #d3ecf8 0%, #b9def0 40%, #a1d0e8 70%, #8bc4e0 90%, #76b7d7 100%);
  color: #1e2b3a;
  overflow-x: hidden;
  font-size: 16px;
}

/* Navigation */
nav {
  background: linear-gradient(to bottom, #4a90af 0%, #3b7c9d 100%);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background 0.4s ease;
  font-size: 1.8rem;
  padding: 3rem;
  display: flex;
  gap: 3rem;
  justify-content: center;
  align-items: center;
  height: 90px;
  text-align: center;
}

nav a {
  background: linear-gradient(90deg, #00fff7, #007fff, #a020f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

nav a:hover {
  color: #a020f0;
}

nav.scrolled {
  background: linear-gradient(to bottom, #649fbf 0%, #5493b8 100%);
}

/* Hero Section */
.hero {
  background: url('../images/OceanusMC icon.png') center/cover no-repeat;
  text-align: center;
  padding: 8rem 2rem 10rem;
  animation: waveBG 20s ease-in-out infinite alternate;
}

@keyframes waveBG {
  from { background-position: center 0; }
  to { background-position: center 20px; }
}

.hero-tagline {
  font-size: 2.5rem;
  background: linear-gradient(90deg, #00fff7, #007fff, #a020f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

/* Main Content */
main {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem;
}

h2 {
  font-size: 2.2rem;
  margin-top: 2rem;
  background: linear-gradient(90deg, #00fff7, #007fff, #a020f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

p {
  margin: 1rem 0;
  font-size: 1.1rem;
  line-height: 1.6;
}

ul {
  margin: 1rem 0 2rem;
  padding-left: 2rem;
  text-align: left;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(90deg, #00fff7, #007fff);
  color: white;
  padding: 0.75rem 1.5rem;
  margin: 1rem 0;
  border-radius: 2rem;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn:hover {
  background: linear-gradient(90deg, #007fff, #00fff7);
}

.btn img {
  width: 24px;
  height: 24px;
}

/* Island Grid */
.island-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.island {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  border-radius: 1rem;
  padding: 1rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.island:hover {
  transform: scale(1.05);
}

/* Floating Discord Button */
#floating-discord {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #5865F2, #404EED);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 10000;
}

#floating-discord:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}

#floating-discord img {
  width: 30px;
  height: 30px;
}

/* Footer Styling */
footer {
  text-align: center;
  font-size: 0.95rem;
  color: #1e2b3a;
  padding: 4rem 2rem 2rem;
  background: linear-gradient(to bottom, #76b7d7 0%, #76b7d7 100%);
  border-top: none;
  margin-top: 0;
}

footer::after {
  content: "Copyright  A9 OceanusMC " attr(data-year);
  display: block;
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #1e2b3a;
}

footer img {
  height: 100px;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

/* Mobile Responsive Design */
@media screen and (max-width: 768px) {
  nav {
    background: linear-gradient(to bottom, #4a90af 0%, #3b7c9d 100%);
    flex-direction: column;
    gap: 1.5rem;
    font-size: 1.2rem;
    padding: 1.5rem;
    height: auto;
  }
  .hero-tagline {
    font-size: 1.5rem;
  }
  main {
    padding: 1rem;
    font-size: 0.95rem;
  }
  .btn {
    font-size: 1rem;
    padding: 0.75rem 1.25rem;
  }
  .island-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }
}
  .hero-tagline {
    font-size: 1.5rem;
  }
  main {
    padding: 1rem;
    font-size: 0.95rem;
  }
  .btn {
    font-size: 1rem;
    padding: 0.75rem 1.25rem;
  }
  .island-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }
}
