:root {
  --bg-color: #121212;
  --secondary-bg: #1e1e1e;
  --kodiak-teal: #04e2ca;
  --kodiak-teal-dark: #03c5b0;
  --text-color: #f5f5f5;
  --accent-color: #8358ff;
  --card-bg: #242424;
  --card-hover: #2a2a2a;
  --nav-height: 70px;
  --card-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  --hover-shadow: 0 15px 35px rgba(4, 226, 202, 0.25);
  --border-radius: 12px;
  --transition-standard: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-standard);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

section {
  padding: 80px 0;
  position: relative;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  transition: var(--transition-standard);
  cursor: pointer;
  font-family: 'Chakra Petch', sans-serif;
  border: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 150%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.6s ease;
  z-index: -1;
}

.btn:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

.btn-primary {
  background: var(--kodiak-teal);
  color: #111;
}

.btn-primary:hover {
  background: var(--kodiak-teal-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(4, 226, 202, 0.3);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--kodiak-teal);
  color: var(--kodiak-teal);
}

.btn-secondary:hover {
  background: rgba(4, 226, 202, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(4, 226, 202, 0.15);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--kodiak-teal);
  border-radius: 4px;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header .section-title {
  margin-bottom: 1rem;
}

.section-header .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.8;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

/* Animated Background */
.bg-animation {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.bg-animation span {
  position: absolute;
  display: block;
  width: 10px;
  height: 10px;
  background: rgba(4, 226, 202, 0.2);
  border-radius: 50%;
  animation: animate 15s linear infinite;
}

.bg-animation span:nth-child(1) {
  top: 50%;
  left: 10%;
  animation-delay: 0s;
}

.bg-animation span:nth-child(2) {
  top: 20%;
  left: 20%;
  animation-delay: 2s;
  width: 15px;
  height: 15px;
}

.bg-animation span:nth-child(3) {
  top: 30%;
  left: 80%;
  animation-delay: 4s;
}

.bg-animation span:nth-child(4) {
  top: 80%;
  left: 50%;
  animation-delay: 6s;
  width: 20px;
  height: 20px;
}

.bg-animation span:nth-child(5) {
  top: 10%;
  left: 50%;
  animation-delay: 8s;
}

.bg-animation span:nth-child(6) {
  top: 70%;
  left: 20%;
  animation-delay: 10s;
  width: 18px;
  height: 18px;
}

.bg-animation span:nth-child(7) {
  top: 40%;
  left: 70%;
  animation-delay: 12s;
}

@keyframes animate {
  0% {
    transform: scale(0) translateY(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: scale(1) translateY(-500px) rotate(360deg);
    opacity: 0;
  }
}

/* Glass Card Effect */
.glass-card {
  background: rgba(36, 36, 36, 0.8);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: var(--transition-standard);
  box-shadow: var(--card-shadow);
}

.glass-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--hover-shadow);
  border-color: rgba(4, 226, 202, 0.3);
}

/* Navigation */
header {
  position: fixed;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-standard);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-scrolled {
  background-color: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--nav-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 34px;
  height: 34px;
  fill: var(--kodiak-teal);
  transition: transform 0.4s ease;
}

.logo:hover .logo-icon {
  transform: rotate(-10deg);
}

.logo-text {
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
  font-weight: 500;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--kodiak-teal);
  transition: width 0.3s cubic-bezier(0.65, 0, 0.35, 1);
}

.nav-links a:hover {
  color: var(--kodiak-teal);
}

.nav-links a:hover::after {
  width: 100%;
}

.auth {
  display: flex;
  align-items: center;
}

.auth-btn {
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: var(--text-color);
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition-standard);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-btn:hover {
  color: var(--kodiak-teal);
  background: rgba(4, 226, 202, 0.1);
  transform: translateY(-3px);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--text-color);
  border-radius: 3px;
  transition: var(--transition-standard);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(to bottom, rgba(18, 18, 18, 0.9), rgba(18, 18, 18, 0.8)), url('pics/pexels-lulizler-3165335.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 30%, rgba(4, 226, 202, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(131, 88, 255, 0.15) 0%, transparent 40%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, var(--kodiak-teal), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  /*background-clip: text;*/
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}

.social-icon {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  font-size: 1.2rem;
  transition: var(--transition-standard);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.social-icon:hover {
  background: var(--kodiak-teal);
  color: #111;
  transform: translateY(-5px) rotate(10deg);
  border-color: transparent;
}

.social-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 150%;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.6s ease;
  z-index: -1;
}

.social-icon:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

/* Discord Section */
.discord {
  background-color: var(--secondary-bg);
  position: relative;
  overflow: hidden;
}

.discord::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 90% 10%, rgba(114, 137, 218, 0.15) 0%, transparent 30%),
    radial-gradient(circle at 10% 90%, rgba(4, 226, 202, 0.15) 0%, transparent 30%);
  pointer-events: none;
}

.discord-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.discord-content {
  flex: 1;
}

.discord-content p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  opacity: 0.9;
}

.discord-card {
  flex: 1;
  max-width: 450px;
  background: rgba(54, 57, 63, 0.7);
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: var(--transition-standard);
  box-shadow: var(--card-shadow);
}

.discord-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(88, 101, 242, 0.4);
}

.discord-header {
  background: #5865F2;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.discord-logo {
  font-size: 2rem;
  color: white;
}

.discord-server {
  color: white;
}

.discord-server h3 {
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.discord-members {
  font-size: 0.9rem;
  opacity: 0.9;
  display: flex;
  align-items: center;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #43B581;
  border-radius: 50%;
  margin-right: 8px;
  position: relative;
}

.status-dot::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
  border-radius: inherit;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

.discord-body {
  padding: 20px;
}

.discord-join {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px;
  background: #5865F2;
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-standard);
  font-family: 'Chakra Petch', sans-serif;
  text-align: center;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.discord-join::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 200%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.6s ease;
}

.discord-join:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

.discord-join:hover {
  background: #4752C4;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(88, 101, 242, 0.3);
}

/* Games Section */
.games {
  position: relative;
}

.game-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.game-img {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #333;
  position: relative;
  overflow: hidden;
}

.game-img img {
  object-position: top;
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.game-card:hover .game-img img {
  transform: scale(1.05);
}

.game-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  opacity: 0;
  transition: var(--transition-standard);
}

.game-card:hover .game-img::after {
  opacity: 1;
}

.game-status {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(131, 88, 255, 0.8);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
  transform: translateY(-20px);
  opacity: 0;
  transition: var(--transition-standard);
}

.game-card:hover .game-status {
  transform: translateY(0);
  opacity: 1;
}

.game-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.game-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--kodiak-teal);
  position: relative;
  display: inline-block;
}

.game-title::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--kodiak-teal);
  border-radius: 3px;
  transition: var(--transition-standard);
}

.game-card:hover .game-title::after {
  width: 100%;
}

.game-description {
  margin-bottom: 1.5rem;
  opacity: 0.9;
  flex: 1;
}

.game-action {
  margin-top: auto;
}

/* Mobile Section */
.mobile-apps {
  background-color: var(--secondary-bg);
  position: relative;
}

/* Developers Section */
.developers {
  position: relative;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-standard);
  height: 100%;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  border-color: rgba(4, 226, 202, 0.3);
}

.team-img {
  width: 100%;
  height: 300px;
  position: relative;
  overflow: hidden;
}

.team-img img {
  object-position: top;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .team-img img {
  transform: scale(1.05);
}

.team-img::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent 60%);
  opacity: 0;
  transition: var(--transition-standard);
  z-index: 1;
}

.team-card:hover .team-img::before {
  opacity: 1;
}

.team-content {
  padding: 1.5rem;
  position: relative;
  z-index: 2;
}

.team-name {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--kodiak-teal);
  position: relative;
  display: inline-block;
}

.team-name::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--kodiak-teal);
  border-radius: 2px;
  transition: var(--transition-standard);
}

.team-card:hover .team-name::after {
  width: 100%;
}

.team-role {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  opacity: 0.7;
  font-weight: 500;
}

.team-desc {
  opacity: 0.9;
}

/* Streamers Section */
.streamers {
  background-color: var(--secondary-bg);
  position: relative;
}

.streamer-card {
  position: relative;
}

.twitch-icon {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: #9146FF;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 3;
  transition: var(--transition-standard);
  transform: translateY(20px);
  opacity: 0;
}

.streamer-card:hover .twitch-icon {
  transform: translateY(0);
  opacity: 1;
}

.twitch-icon:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 0 15px rgba(145, 70, 255, 0.6);
}

/* Footer */
footer {
  background-color: #0f0f0f;
  padding: 60px 0 30px;
  position: relative;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-desc {
  margin-bottom: 2rem;
  opacity: 0.7;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  transition: var(--transition-standard);
}

.footer-social a:hover {
  background: var(--kodiak-teal);
  color: #111;
  transform: translateY(-5px);
}

.footer-links h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--kodiak-teal);
  position: relative;
  display: inline-block;
}

.footer-links h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--kodiak-teal);
  border-radius: 2px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
  transition: var(--transition-standard);
}

.footer-links li:hover {
  transform: translateX(5px);
}

.footer-links a {
  opacity: 0.7;
  transition: var(--transition-standard);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--kodiak-teal);
}

.footer-links a i {
  font-size: 0.8rem;
  transition: var(--transition-standard);
}

.footer-links a:hover i {
  transform: translateX(5px);
}

.copyright {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  opacity: 0.5;
  font-size: 0.9rem;
}

/* Animations */
.fade-in {
  animation: fadeIn 1s forwards;
  opacity: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-up {
  animation: slideUp 0.8s forwards;
  opacity: 0;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}

/* Accessibility Styles */
.skip-link {
  position: absolute;
  top: -50px;
  left: 0;
  background: var(--kodiak-teal);
  color: #111;
  padding: 10px;
  z-index: 1001;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Responsive */
@media (max-width: 1200px) {
  .section-title {
    font-size: 2.2rem;
  }

  .hero h1 {
    font-size: 3rem;
  }
}

@media (max-width: 1024px) {
  .discord-container {
    flex-direction: column;
  }

  .discord-card {
    max-width: 100%;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    padding: 1.5rem;
    flex-direction: column;
    gap: 1.5rem;
    background: rgba(18, 18, 18, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-standard);
    z-index: 999;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .team-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .section {
    padding: 60px 0;
  }

  .designer-credit {
    margin-top: 10px;
    font-size: 0.8rem;
    opacity: 0.7;
  }
  .designer-credit a {
    color: var(--kodiak-teal);
    transition: var(--transition-standard);
  }
  .designer-credit a:hover {
    color: var(--kodiak-teal-dark);
    text-decoration: underline;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }
}
