* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  background: linear-gradient(135deg, #ffbc39 0%, #ffffff 100%);
  min-height: 100vh;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}


.navbar {
  z-index: 999;
  height: 80px;
  margin: 15px 15px;
  display: flex;
  padding: 0 2rem;
  font-size: 16px;
  position: fixed;
  align-items: center;
  border-radius: 20px;
  border: 1px solid #0000009c;
  background-color: rgba(255, 255, 255, 0.95);
  justify-content: space-between;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  top: 0;
  left: 0;
  right: 0;
  width: auto;
}
.navbar .logo img {
  width: 50px;
  height: auto;
}

.navbar .center-text a {
  text-decoration: none;
  color: #333;
  margin: 0 20px;
  font-weight: 600;
  transition: color 0.3s;
  position: relative;
}

.navbar .center-text a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #ffbc39;
  transition: width 0.3s;
}

.navbar .center-text a:hover::after {
  width: 100%;
}

.navbar .sign-in {
  background-color: #4285f4;
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.navbar .sign-in:hover {
  background-color: #ffbc39;
  transform: translateY(-2px);
}

main {
  max-width: 1200px;
  margin: 0 auto;
}

h1 {
  font-size: 3rem;
  margin-bottom: 2rem;
  color: #333;
  text-align: center;
  font-weight: 700;
}

.tabs {
  display: flex;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.3);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 8px 1rem;
  border-radius: 80px;
  border: 1px solid #00000040;
  width: fit-content;
  margin: 0 auto 3rem;
  backdrop-filter: blur(10px);
  word-break: keep-all;
  box-shadow: 0 0 5px #00000040;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 10rem;
  margin-bottom: 8rem;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.tab {
  padding: 10px 20px;
  border-radius: 80px;
  border: none;
  height: 40px;
  width: fit-content;
  width: auto;
  cursor: pointer;
  display: grid;
  font-weight: 600;
  background: transparent;
  transition: all 0.3s;
  color: #333;
  text-align: center;
  align-items: center;
  align-content: center;
}

.tab.active {
  background: #ff6b6b;
  color: white;
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.tab:hover {
  background: #ff6b6ba2;
  color: #f84040;
  border: 1px solid #ea4235;
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

button.tab {
  font-family: "Open Sans", sans-serif;
}

.cards-wrapper {
  position: relative;
  width: 100%;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
  margin: 2rem auto;
}

.cards-container {
  position: relative;
  width: 300px;
  height: 400px;
  transform-style: preserve-3d;
}

.card {
  position: absolute;
  width: 300px;
  height: 400px;
  background: #ff4425;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  transform-origin: bottom center;
}

/* First card (left) */
.card:nth-child(1) {
  transform: translateX(-50%) rotate(-15deg);
  z-index: 1;
}

/* Middle card */
.card:nth-child(2) {
  transform: translateX(0) rotate(0deg);
  z-index: 3;
}

/* Last card (right) */
.card:nth-child(3) {
  transform: translateX(50%) rotate(15deg);
  z-index: 2;
}

.card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.screen-area {
  margin: 1rem;
  background: #2c2c2c;
  border-radius: 8px;
  padding: 1rem;
  height: calc(100% - 2rem);
  display: flex;
  flex-direction: column;
}

.game-screen {
  flex-grow: 1;
  background: #9bbc0f;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.card-content {
  text-align: center;
}

.card h3 {
  color: #0f380f;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-family: "Press Start 2P", monospace;
}

.card p {
  color: #0f380f;
  font-size: 0.9rem;
  font-family: monospace;
}

.controller-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.button {
  width: 20px;
  height: 20px;
  background: #444;
  border-radius: 50%;
  border: 2px solid #333;
}

.social-text {
  text-align: center;
  margin-top: 8rem;
  margin-bottom: 8rem;
}

.social-text h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

.social-text h6 {
  font-size: 1rem;
  color: #666;
  font-weight: normal;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 1.5rem;
  width: 400px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.social-item {
  background: white;
  border-radius: 24px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: 120px;
  width: 113px;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.589);
}

.social-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 5px 4px #00000040;
}

.social-icon {
  width: 32px;
  height: 32px;
}

.social-item i.fab,
.social-item i.fas {
  font-size: 32px;
}

.social-item:nth-child(1) i {
  color: #ea4335;
} /* Community */
.social-item:nth-child(2) i {
  color: #e4405f;
} /* Instagram */
.social-item:nth-child(3) i {
  color: #0a66c2;
} /* LinkedIn */
.social-item:nth-child(4) i {
  color: #333333;
} /* GitHub */
.social-item:nth-child(5) i {
  color: #5865f2;
} /* Discord */
.social-item:nth-child(6) i {
  color: #000000;
} /* X.com */

.social-name {
  font-weight: 500;
  font-size: 0.9rem;
  color: #333;
}

.join-button {
  background: #4285f4;
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 30px;
  font-size: 1.5rem;
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 2rem;
  box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

.join-button:hover {
  background: #3367d6;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(66, 133, 244, 0.4);
}

.navigation {
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding: 1rem;
  margin-top: 2rem;
}

.nav-button {
  border: 1px solid #00000040;
  background-color: transparent;
  width: 39px;
  height: 39px;
  border-radius: 50%;
  cursor: pointer;
  font-family: "Open Sans", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px #00000040;
}

.footer {
  margin-top: 8rem;
}

.footer-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 8rem;
  margin-top: 8rem;
}

.footer-img {
  width: 66.67px;
  height: auto;
}

.section-heading {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #333;
}

#join-now-btn {
  background: #4285f4;
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 30px;
  font-size: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 8rem;
  transition: all 0.3s ease;
}

#join-now-btn:hover {
  background: #3367d6;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(66, 133, 244, 0.4);
}

.chapter {
  font-family: "Google Sans", "Open Sans", sans-serif;
  color: #5f6367;
  line-height: 1.25rem;
  display: flex;
  flex-direction: column;
}

.community-name {
  font-size: 1rem;
  font-weight: 500;
}

.chapter-name {
  font-size: 0.8rem;
}
.footer {
  margin-top: 4rem;
  padding: 0 10px;
}

.footer-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.footer-color-strip {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(4, 1fr);
  height: 4px;
}

.footer-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
}

.footer-logo {
  height: 37px;
  width: auto;
}

.footer-color-strip div {
  height: 1.5rem;
}

.footer-color-strip div:nth-child(1) {
  background-color: #f74037;
}

.footer-color-strip div:nth-child(2) {
  background-color: #4a90f4;
}

.footer-color-strip div:nth-child(3) {
  background-color: #14b25f;
}

.footer-color-strip div:nth-child(4) {
  background-color: #ffb808;
}
