/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #1e1e1e;
  color: #fff;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: rgba(0, 0, 0, 0.85);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(6px);
}

.logo img {
  height: 40px;
}

nav a {
  color: white;
  margin-left: 1.5rem;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: #ff4c4c;
}

.join-btn {
  background-color: white;
  color: black;
  padding: 0.4rem 0.8rem;
  border-radius: 5px;
  font-weight: bold;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  padding-top: 80px; /* make room for navbar */
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-text {
  position: absolute;
  bottom: 3rem;
  left: 2rem;
  padding: 0;
  background: none;
}

.hero-text h1 {
  font-size: 2.5rem;
  color: #ff4c4c;
  margin-bottom: 0.5rem;
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000;
}

.hero-text p {
  font-size: 1.1rem;
  color: #f0f0f0;
}

.scroll-link {
  display: inline-block;
  margin-top: 1rem;
  color: #ff4c4c;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: color 0.3s;
}

.scroll-link:hover {
  color: #ffffff;
}

/* Divider */
.gradient-divider {
  height: 60px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #121212 100%);
  margin-top: -60px;
  z-index: 1;
  position: relative;
}

/* About Section */
.about-section {
  background-color: #121212;
  color: #f0f0f0;
  padding: 4rem 2rem;
}

.about-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  animation: fadeInUp 1s ease-out;
}

.about-image {
  flex: 1 1 40%;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.about-text {
  flex: 1 1 55%;
  border-left: 4px solid #ff4c4c;
  padding-left: 1.5rem;
}

.about-text h2 {
  font-size: 2rem;
  color: #ff4c4c;
  margin-bottom: 1rem;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
  }

  .about-text {
    border-left: none;
    padding-left: 0;
  }
}

/* Gallery Section */
.gallery-section {
  background-color: #1a1a1a;
  color: #f0f0f0;
  padding: 4rem 1rem;
  text-align: center;
}

.gallery-section h2 {
  font-size: 2rem;
  color: #ff4c4c;
  margin-bottom: 2rem;
}

.gallery-wrapper {
  max-width: 100%;
  overflow: hidden;
  margin: 0 auto;
  padding-bottom: 3rem;
}

.gallery-scroll {
  display: flex;
  gap: 2rem;
  overflow-x: hidden;
  scroll-behavior: smooth;
  padding: 1rem;
}

.gallery-card {
  flex: 0 0 auto;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  background: #222;
  border-radius: 12px;
  overflow: hidden;
  font-size: 0.95rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.gallery-card:hover {
  transform: scale(1.02);
}

.gallery-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.gallery-card p {
  padding: 1rem;
  margin: 0;
  font-size: 1rem;
  color: #ccc;
  text-align: center;
}

/* Gallery buttons */
.gallery-controls {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.arrow-btn {
  background-color: #ff4c4c;
  color: white;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 1.3rem;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(255, 76, 76, 0.4);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.arrow-btn:hover {
  background-color: #e63e3e;
  transform: scale(1.1);
}

/* Floating Discord Button */
.discord-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #5865f2;
  color: white;
  padding: 0.7rem 1.2rem;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
  text-decoration: none;
  z-index: 1000;
  transition: background 0.3s ease;
}

.discord-float:hover {
  background: #4752c4;
}









.links-section {
  background: #121212;
  padding: 4rem 2rem;
  text-align: center;
}

.links-section h2 {
  font-size: 2rem;
  color: #ff4c4c;
  margin-bottom: 2rem;
}

.flip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.flip-card {
  perspective: 1000px;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 180px;
  transform-style: preserve-3d;
  transition: transform 0.8s ease;
  display: block;
  text-decoration: none;
}

.flip-card:hover .flip-inner {
  transform: rotateY(180deg);
}

.flip-front, .flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid #ff4c4c;
  border-radius: 16px;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1e1e1e;
  box-shadow: 0 0 20px rgba(255, 76, 76, 0.2);
}

.flip-front img {
  width: 48px;
  height: 48px;
  filter: invert(1);
}

.flip-back {
  transform: rotateY(180deg);
  flex-direction: column;
  color: white;
  font-weight: bold;
  gap: 0.5rem;
}

.flip-back button {
  background: #ff4c4c;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.flip-back button:hover {
  background: #ff1f1f;
}

