@import url('https://fonts.googleapis.com/css2?family=Dosis:wght@200..800&display=swap');

/* Base styles */
html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
}

body {
  font-family: 'Dosis', sans-serif;
  background-color: #0f0f0f;
  color: white;
}

/* Scroll container that holds all your sections */
.container {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
}

/* Each section fills the viewport and snaps into place */
.section {
  min-height: 100vh;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem;
  transition: background-color 0.3s ease;
}

/* Optional: Hover effect on each section for a subtle visual touch */
.section:hover {
  background-color: #1a1a1a;
}

/* Typography - responsive using viewport units and clamp */
h1 {
  font-size: clamp(3rem, 15vw, 10rem);
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

p {
  font-size: clamp(1.25rem, 5vw, 2.5rem);
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

/* Footer styles */
.footer-wrapper {
  width: 100%;
  text-align: center;
  padding: 1.5rem 0;
  background-color: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(10px);
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.footer-wrapper p {
  font-size: clamp(0.875rem, 2vw, 1rem);
  margin-top: 1rem;
  opacity: 0.8;
}

/* Final section with footer adjustment */
.final-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Keep content centered vertically */
  padding-bottom: 0;
}

/* Position the footer at the bottom of the section */
.final-section .footer-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin-top: 0;
  margin-bottom: 0;
}

/* Social links styles */
.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.social-icon {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: white;
  z-index: 2;
  transition: transform 0.3s ease;
}

.social-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  transition: all 0.3s ease;
  transform: scale(0);
  border-radius: 50%;
}

.social-icon:hover svg {
  transform: scale(1.2);
}

.social-icon:hover::before {
  transform: scale(1);
}

/* Individual social icon styles */
.bluesky::before {
  background-color: #1DA1F2;
}

.instagram::before {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.discord::before {
  background-color: #5865F2;
}

/* CTA button styles */
.cta {
  margin-top: 2rem;
}

.button {
  display: inline-block;
  background-color: #ffffff;
  color: #0f0f0f;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  text-decoration: none;
  font-size: clamp(1rem, 3vw, 1.25rem);
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #6364FF, #5865F2);
  z-index: -1;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.button:hover {
  color: white;
}

.button:hover::before {
  opacity: 1;
}

/* Media queries for additional responsiveness */
@media (max-width: 768px) {
  .section {
    padding: 0.5rem;
  }
  
  h1 {
    margin-bottom: 1rem;
  }
}

/* Make sure scroll-snapping works well on touch devices */
@media (hover: none) {
  .container {
    scroll-behavior: smooth;
  }
}