/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  transition: all 0.3s ease;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 84px; /* Reserve space for fixed header */
}

@media (max-width: 600px) {
  body {
    padding-top: 64px; /* Adjust if mobile header is shorter */
  }
}

main, .main-content {
  flex: 1 0 auto;
}

/* Theme Variables */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-muted: #f1f5f9;
  --text-primary: #0f172a;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --border-color: #e2e8f0;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.dark-theme {
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-muted: #334155;
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --border-color: #334155;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.dark-theme .header {
  background: rgba(15, 23, 42, 0.9);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-lg);
}

.dark-theme .header.scrolled {
  background: rgba(15, 23, 42, 0.95);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 0.75rem;
}

.logo-image {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
}

.logo-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo:hover .logo-image {
  transform: scale(1.1) rotate(3deg);
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(45deg, var(--blue-600), var(--blue-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (min-width: 1024px) {
  .logo-image {
    width: 48px;
    height: 48px;
  }
  .logo-text {
    font-size: 1.75rem;
  }
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: var(--blue-500);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--text-primary);
  transform: translateY(-2px);
}

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

.desktop-nav {
  display: none;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }
}

.mobile-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .mobile-nav {
    display: none;
  }
}

.mobile-menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
  background: var(--bg-muted);
}

.hamburger {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  position: relative;
  transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}

.hamburger::before {
  top: -6px;
}

.hamburger::after {
  top: 6px;
}

.mobile-menu-btn.active .hamburger {
  background: transparent;
}

.mobile-menu-btn.active .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.mobile-menu-btn.active .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

.mobile-menu-dropdown {
  display: none;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  padding: 1rem;
}

.mobile-menu-dropdown.active {
  display: block;
  animation: slideDown 0.3s ease;
}

.mobile-menu-dropdown a {
  display: block;
  padding: 0.75rem;
  text-decoration: none;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.mobile-menu-dropdown a:hover {
  color: var(--text-primary);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 10;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 4s ease-in-out infinite;
}

.shape-1 {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 128px;
  height: 128px;
  top: 40%;
  right: 20%;
  animation-delay: 1s;
}

.shape-3 {
  width: 64px;
  height: 64px;
  bottom: 40%;
  left: 20%;
  animation-delay: 2s;
}

.shape-4 {
  width: 96px;
  height: 96px;
  bottom: 20%;
  right: 40%;
  animation-delay: 0.5s;
}

.shape-5 {
  width: 70px;
  height: 70px;
  top: 60%;
  left: 5%;
  animation-delay: 1.5s;
}

.shape-6 {
  width: 110px;
  height: 110px;
  top: 10%;
  right: 10%;
  animation-delay: 2.5s;
}

.shape-7 {
  width: 50px;
  height: 50px;
  bottom: 10%;
  left: 40%;
  animation-delay: 0.8s;
}

.shape-8 {
  width: 90px;
  height: 90px;
  top: 70%;
  right: 30%;
  animation-delay: 1.2s;
}

.shape-9 {
  width: 60px;
  height: 60px;
  bottom: 25%;
  right: 10%;
  animation-delay: 2.2s;
}

.shape-10 {
  width: 100px;
  height: 100px;
  top: 25%;
  left: 60%;
  animation-delay: 0.3s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.hero-content {
  position: relative;
  z-index: 20;
  text-align: center;
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1rem;
  animation: fadeInUp 1s ease-out;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-highlight {
  background: linear-gradient(45deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


.hero2-highlight2 {
  background: linear-gradient(45deg, #f7f6f4, #068bff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-description {
  font-size: 1.25rem;
  color: white;
  max-width: 48rem;
  margin: 0 auto 2rem;
  line-height: 1.6;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@media (min-width: 640px) {
  .hero-description {
    font-size: 1.5rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  padding-top: 2rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  animation: bounce 2s infinite;
}

.scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  display: flex;
  justify-content: center;
}

.scroll-wheel {
  width: 4px;
  height: 12px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 2px;
  margin-top: 8px;
  animation: pulse 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.125rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: white;
  color: var(--blue-600);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  background: #f8fafc;
}

.btn-icon {
  transition: transform 0.3s ease;
}

.btn-primary:hover .btn-icon {
  transform: translateX(4px);
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease-out;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  position: relative;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(45deg, var(--blue-600), var(--blue-500));
  border-radius: 2px;
}

.section-header p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 48rem;
  margin: 0 auto;
  line-height: 1.6;
}

@media (min-width: 640px) {
  .section-header h2 {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .section-header h2 {
    font-size: 3rem;
  }
}

/* Photo Gallery */
.photo-gallery {
  padding: 5rem 0;
  background: var(--bg-secondary);
}

.photo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 4rem;
}

@media (min-width: 768px) {
  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .photo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.photo-card {
  background: var(--bg-primary);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid var(--border-color);
  width: 340px; /* Increased width for all cards */
  min-height: 410px; /* Ensures all cards are the same height */
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}

.photo-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.photo-image {
  width: 100%;
  height: 250px; /* Fixed height for image area */
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-muted);
  position: relative;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

.photo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.18);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 2;
}

.photo-card:hover .photo-overlay,
.photo-card:focus-within .photo-overlay {
  opacity: 1;
  pointer-events: auto;
}

.photo-icon {
  font-size: 3rem;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  position: relative;
  z-index: 1;
}

.photo-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.photo-card:hover .gallery-img {
  transform: scale(1.1);
}


.photo-card:hover .photo-overlay {
  opacity: 1;
}

.photo-overlay .photo-icon {
  font-size: 3rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.photo-content {
  padding: 1.5rem;
}

.photo-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.photo-content p {
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Fallback for missing images */
.gallery-img[src*="placeholder"],
.gallery-img:not([src]),
.gallery-img[src="/placeholder.svg"] {
  background: var(--bg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-img[src*="placeholder"]::before,
.gallery-img:not([src])::before,
.gallery-img[src="/placeholder.svg"]::before {
  content: "📸";
  font-size: 3rem;
  opacity: 0.5;
}

/* Features */
.features {
  padding: 5rem 0;
  background: var(--bg-primary);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: var(--bg-primary);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: all 0.4s ease;
  border: 1px solid var(--border-color);
  border-left: 4px solid transparent;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease-out;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(45deg, var(--blue-600), var(--blue-500));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-left-color: var(--blue-500);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(10deg);
  animation: pulse 1s ease infinite;
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.feature-card:hover h3 {
  color: var(--blue-600);
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* About */
.about {
  padding: 5rem 0;
  background: var(--bg-secondary);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-content {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.about-text {
  animation: slideInLeft 1s ease-out;
}

.about-text h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .about-text h2 {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .about-text h2 {
    font-size: 3rem;
  }
}

.about-text p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.about-image {
  animation: slideInRight 1s ease-out;
}

.team-placeholder {
  height: 400px;
  background: var(--bg-muted);
  border-radius: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  border: 3px dashed var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.team-placeholder::before {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent, rgba(59, 130, 246, 0.1), transparent);
  transition: top 2s ease;
}

.team-placeholder:hover::before {
  top: 100%;
}

.team-placeholder:hover {
  transform: scale(1.02);
  border-color: var(--blue-500);
  box-shadow: 0 15px 35px rgba(59, 130, 246, 0.2);
}

.team-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.team-placeholder:hover .team-icon {
  opacity: 1;
  transform: scale(1.1);
}

.team-placeholder h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.team-placeholder:hover h3 {
  color: var(--blue-600);
}

.team-placeholder p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.loading-dots {
  display: flex;
  gap: 0.25rem;
  justify-content: center;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-500);
  animation: pulse 1.5s ease-in-out infinite;
}

.dot:nth-child(2) {
  animation-delay: 0.2s;
}

.dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Testimonials */
.testimonials {
  padding: 5rem 0;
  background: var(--bg-primary);
  position: relative;
}

.testimonials::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.1) 1px, transparent 1px),
    radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.1) 1px, transparent 1px),
    radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1) 1px, transparent 1px),
    radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.1) 1px, transparent 1px);
  background-size: 100px 100px;
  opacity: 0.5;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 4rem;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: var(--bg-primary);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
  position: relative;
  transition: all 0.4s ease;
  border: 1px solid var(--border-color);
  animation: fadeInUp 0.8s ease-out;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-500);
}

.quote-icon {
  font-size: 4rem;
  color: var(--blue-500);
  position: absolute;
  top: -10px;
  left: 20px;
  font-weight: bold;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.testimonial-card:hover .quote-icon {
  transform: scale(1.2);
  opacity: 1;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  padding-top: 1rem;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  transition: all 0.3s ease;
}

.testimonial-card:hover .author-avatar {
  transform: scale(1.1);
  animation: pulse 1s ease infinite;
}

.author-name {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.author-role {
  color: var(--blue-600);
  font-size: 0.9rem;
}

/* Contact */
.contact {
  padding: 5rem 0;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: white;
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
}

.contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 100px 100px;
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
  position: relative;
  z-index: 2;
}

@media (min-width: 1024px) {
  .contact-content {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.contact-info {
  animation: slideInLeft 1s ease-out;
}

.contact-info h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .contact-info h2 {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .contact-info h2 {
    font-size: 3rem;
  }
}

.contact-intro {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.6;
}

.contact-details,
.contact-topics {
  margin-bottom: 2rem;
}

.contact-details h4,
.contact-topics h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.contact-details a {
  color: #60a5fa;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: #93c5fd;
}

.contact-topics ul {
  list-style: none;
  opacity: 0.9;
}

.contact-topics li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-form-container {
  animation: slideInRight 1s ease-out;
}

.contact-form {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 20px;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: white;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: white;
  transition: color 0.3s ease;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.9);
  color: #1a1a1a;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
  transform: translateY(-2px);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.btn-submit {
  background: var(--blue-600);
  color: white;
  padding: 1.5rem 2rem;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  position: relative;
  overflow: hidden;
  font-size: 1.125rem;
}

.btn-submit::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-submit:hover::before {
  left: 100%;
}

.btn-submit:hover {
  transform: translateY(-3px) scale(1.05);
  background: var(--blue-700);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-loading {
  display: none;
}

.btn-submit.loading .btn-text {
  display: none;
}

.btn-submit.loading .btn-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Footer */
.footer {
  background: #1a1a1a;
  color: white;
  padding: 3rem 0 2rem;
  position: relative;
  flex-shrink: 0;
}

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

@media (min-width: 640px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-section {
  animation: fadeInUp 0.8s ease-out;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo .logo-image {
  width: 40px;
  height: 40px;
}

.footer-logo .logo-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-logo .logo-text {
  font-size: 1.25rem;
  font-weight: 700;
}

.footer-section h4 {
  margin-bottom: 1rem;
  color: #60a5fa;
  font-size: 1.125rem;
  font-weight: 600;
}

.footer-section a {
  color: #d1d5db;
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 0;
}

.footer-section a::before {
  content: "→";
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: all 0.3s ease;
}

.footer-section a:hover::before {
  left: -15px;
  opacity: 1;
}

.footer-section a:hover {
  color: white;
  transform: translateX(10px);
}

.footer-section p {
  color: #9ca3af;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  color: #9ca3af;
  text-align: center;
  animation: fadeInUp 1s ease-out;
}

/* Toast Notification */
.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  padding: 1rem;
  transform: translateX(400px);
  transition: transform 0.3s ease;
  border-left: 4px solid #10b981;
}

.dark-theme .toast {
  background: var(--bg-muted);
  color: var(--text-primary);
}

.toast.show {
  transform: translateX(0);
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.toast-icon {
  width: 40px;
  height: 40px;
  background: #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
}

.toast-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.toast-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Scroll Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 767px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1.125rem;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .about-text h2 {
    font-size: 1.75rem;
  }

  .contact-info h2 {
    font-size: 1.75rem;
  }
}

/* Utility Classes */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Team CS2 Page Styles --- */
.pokemon-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  padding: 1rem 2rem 2rem 2rem;
  justify-items: center;
  align-items: stretch;
}

.pokemon-card {
  flex: 0 0 auto;
  scroll-snap-align: center;
  width: 300px;
  border-radius: 20px;
  background: linear-gradient(135deg, #1e293b, #334155);
  border: 4px solid #3b82f6;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
  color: white;
  font-family: "Inter", sans-serif;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.pokemon-card:focus {
  outline: 3px solid #3b82f6;
  outline-offset: 2px;
}

.pokemon-card:active {
  transform: scale(0.98) rotate(-1deg);
}

.pokemon-card * {
  pointer-events: none;
}

.pokemon-header {
  background: rgba(0, 0, 0, 0.2);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
}

.pokemon-header span {
  font-size: 0.9rem;
}

.pokemon-image {
  width: 100%;
  height: 200px;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pokemon-image img {
  max-height: 100%;
  object-fit: cover;
}

.pokemon-content {
  padding: 1rem;
}

.pokemon-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pokemon-details {
  font-size: 0.9rem;
  line-height: 1.4;
}

.pokemon-details b {
  display: inline-block;
  width: 90px;
  color: #93c5fd;
}

.pokemon-footer {
  position: relative;
  text-align: left;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  color: #94a3b8;
  background: rgba(0, 0, 0, 0.2);
}

/* --- Card Pack Style for CS2 Team (Blue/Gray Theme) --- */
.card-pack {
  width: 260px;
  min-height: 420px;
  margin: 0 auto 2rem auto;
  border-radius: 24px 24px 32px 32px;
  background: linear-gradient(135deg, #1e293b 0%, #334155 40%, #3b82f6 80%, #1e293b 100%);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25), 0 1.5px 0 #334155 inset;
  border: 4px solid #3b82f6;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s;
}
.card-pack:hover {
  transform: scale(1.04) rotate(-1deg);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35), 0 1.5px 0 #3b82f6 inset;
}
.card-pack-top {
  width: 100%;
  height: 24px;
  background: linear-gradient(90deg, #334155 0%, #3b82f6 100%);
  position: relative;
}
.card-pack-rip {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}
.card-pack-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  text-align: center;
}
.card-pack-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  border: 2px solid #3b82f6;
  background: #fff;
}
.card-pack-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #3b82f6;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 8px #1e293b, 0 1px 0 #334155;
}
.card-pack-desc {
  color: #f1f5f9;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  opacity: 0.95;
}
.card-pack-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card-pack-link:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}
.card-pack-link:hover,
.card-pack-link:active {
  box-shadow: 0 16px 48px rgba(59,130,246,0.25), 0 1.5px 0 #3b82f6 inset;
  transform: scale(1.04) rotate(-1deg);
}

/* --- Player Trading Card Style --- */
.player-card {
  width: 340px;
  min-width: 280px;
  max-width: 95vw;
  min-height: 440px;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border: 4px solid #3b82f6;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25), 0 1.5px 0 #334155 inset;
  margin: 1.5rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  position: relative;
  font-family: 'Inter', sans-serif;
  transition: transform 0.2s;
  cursor: pointer;
}
.player-card:hover {
  transform: scale(1.04) rotate(-1deg);
  box-shadow: 0 16px 48px rgba(59,130,246,0.25), 0 1.5px 0 #3b82f6 inset;
}
.player-card:focus {
  outline: 3px solid #3b82f6;
  outline-offset: 2px;
}
.player-card:active {
  transform: scale(0.98) rotate(-1deg);
}
.player-card * {
  pointer-events: none;
}
.player-card-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, #334155 60%, #3b82f6 100%);
  padding: 1rem 1.25rem 0.5rem 1.25rem;
  font-weight: bold;
  font-size: 1.15rem;
  color: #f1f5f9;
  border-bottom: 2px solid #3b82f6;
}
.player-card-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #3b82f6;
  text-shadow: 0 2px 8px #1e293b, 0 1px 0 #334155;
}
.player-card-hp {
  font-size: 1rem;
  color: #fbbf24;
  font-weight: 700;
  text-shadow: 0 1px 0 #1e293b;
}
.player-card-image-frame {
  /* Consistent aspect ratio for all player images (4:5, classic card) */
  aspect-ratio: 4/5;
  width: 92%;
  max-width: 320px;
  min-width: 180px;
  margin: 0.5rem auto 0.5rem auto;
  background: linear-gradient(135deg, #233554 60%, #16213a 100%);
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(22,33,58,0.18);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  overflow: hidden;
  position: relative;
}
.player-card-image {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
  background: #16213a;
  border: none;
  box-shadow: none;
  display: block;
  min-width: 100%;
  min-height: 100%;
  max-width: 100%;
  max-height: 100%;
}
.player-card-content {
  width: 92%;
  margin: 0 auto 1.5rem auto;
  background: rgba(22,33,58,0.92);
  color: #f1f5f9;
  box-shadow: 0 1px 4px rgba(22,33,58,0.10);
  border-radius: 10px;
  padding: 1rem 1rem 0.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.player-card-role {
  color: #38bdf8;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}
.player-card-stats {
  font-size: 0.98rem;
  color: #f1f5f9;
  width: 100%;
  text-align: left;
}
.player-card-stats b {
  color: #60a5fa;
  width: 80px;
  display: inline-block;
}
.player-card-index {
  position: absolute;
  right: 18px;
  bottom: 18px;
  color: #94a3b8;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  background: none;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  border: none;
  z-index: 2;
  font-family: 'Inter', monospace, sans-serif;
  opacity: 0.85;
  text-align: right;
}
.player-card-content .player-card-index {
  position: static;
  margin: 0.75rem 0 0 0;
  text-align: left;
}
.player-card {
  position: relative;
  border: 1px solid #2563eb;
  border-radius: 18px;
  box-shadow: 0 4px 32px 0 rgba(22,33,58,0.18), 0 1.5px 0 #233554 inset, 0 0.5px 0 #fff1 inset;
  color: #f1f5f9;
  font-family: 'Inter', sans-serif;
  transition: transform 0.2s, box-shadow 0.2s;
  filter: drop-shadow(0 2px 8px rgba(22,33,58,0.12));
  position: relative;
  overflow: hidden;
  width: 340px;
  min-width: 260px;
  max-width: 95vw;
  min-height: 480px;
  aspect-ratio: 2.5/3.5;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.player-card:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.10;
  background: url('https://www.transparenttextures.com/patterns/paper-fibers.png');
  z-index: 1;
}
.player-card-header {
  background: none;
  color: #60a5fa;
  border-bottom: none;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1.1rem 1.25rem 0.5rem 1.25rem;
  font-weight: bold;
  font-size: 1.15rem;
}
.player-card-name {
  color: #60a5fa;
  text-shadow: 0 1px 0 #16213a, 0 2px 8px #233554;
  font-size: 1.35rem;
  font-weight: 900;
}
.player-card-hp {
  color: #38bdf8;
  text-shadow: 0 1px 0 #16213a;
  font-size: 1.05rem;
  font-weight: 700;
}
.player-card-image-frame {
  /* Consistent aspect ratio for all player images (4:5, classic card) */
  aspect-ratio: 4/5;
  width: 92%;
  max-width: 320px;
  min-width: 180px;
  margin: 0.5rem auto 0.5rem auto;
  background: linear-gradient(135deg, #233554 60%, #16213a 100%);
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(22,33,58,0.18);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  overflow: hidden;
  position: relative;
}
.player-card-image {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
  background: #16213a;
  border: none;
  box-shadow: none;
  display: block;
  min-width: 100%;
  min-height: 100%;
  max-width: 100%;
  max-height: none;
}
.player-card-content {
  width: 92%;
  margin: 0 auto 1.5rem auto;
  background: rgba(22,33,58,0.92);
  color: #f1f5f9;
  box-shadow: 0 1px 4px rgba(22,33,58,0.10);
  border-radius: 10px;
  padding: 1rem 1rem 0.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.player-card-role {
  color: #38bdf8;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}
.player-card-stats {
  font-size: 0.98rem;
  color: #f1f5f9;
  width: 100%;
  text-align: left;
}
.player-card-stats b {
  color: #60a5fa;
  width: 80px;
  display: inline-block;
}
.player-card-index {
  position: absolute;
  right: 18px;
  bottom: 18px;
  color: #94a3b8;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  background: none;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  border: none;
  z-index: 2;
  font-family: 'Inter', monospace, sans-serif;
  opacity: 0.85;
  text-align: right;
}
@media (max-width: 1200px) {
  .player-card {
    width: 320px;
    min-width: 220px;
    max-width: 95vw;
  }
  .player-card-image {
    width: 180px;
    height: 220px;
  }
}
@media (max-width: 900px) {
  .player-card {
    width: 95vw;
    max-width: 340px;
    min-width: 180px;
  }
  .player-card-image {
    width: 140px;
    height: 170px;
  }
}
@media (max-width: 600px) {
  .player-card {
    width: 98vw;
    max-width: 99vw;
    min-width: 120px;
    padding: 0.5rem 0;
  }
  .player-card-image {
    width: 100px;
    height: 120px;
  }
  .player-card-header {
    font-size: 1rem;
    padding: 0.75rem 0.75rem 0.4rem 0.75rem;
  }
  .player-card-content {
    padding: 0.75rem 0.5rem 0.4rem 0.5rem;
  }
}

/* --- Card Animation for Player Cards --- */
@keyframes card-slide-in {
  0% {
    opacity: 0;
    transform: translateX(-120px) rotate(-8deg) scale(0.95);
    filter: blur(6px);
  }
  60% {
    opacity: 1;
    transform: translateX(12px) rotate(2deg) scale(1.03);
    filter: blur(0.5px);
  }
  80% {
    transform: translateX(-4px) rotate(-1deg) scale(1.01);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateX(0) rotate(0deg) scale(1);
    filter: blur(0);
  }
}
.player-card {
  /* ...existing styles... */
  opacity: 0;
  animation: card-slide-in 0.85s cubic-bezier(0.6,0.2,0.2,1) forwards;
}
.pokemon-container .player-card:nth-child(1) { animation-delay: 0.08s; }
.pokemon-container .player-card:nth-child(2) { animation-delay: 0.18s; }
.pokemon-container .player-card:nth-child(3) { animation-delay: 0.28s; }
.pokemon-container .player-card:nth-child(4) { animation-delay: 0.38s; }
.pokemon-container .player-card:nth-child(5) { animation-delay: 0.48s; }

/* --- Card Pack CS2 Special Styles --- */
.card-pack-cs2 {
  position: relative;
  background: linear-gradient(135deg, #1e293b 0%, #334155 40%, #3b82f6 80%, #1e293b 100%);
  border: 4px solid #3b82f6;
  box-shadow: 0 12px 36px rgba(59,130,246,0.25), 0 2px 0 #334155 inset;
  overflow: visible;
}
.card-pack-cs2 .card-pack-top {
  position: relative;
  background: linear-gradient(90deg, #334155 0%, #3b82f6 100%);
  border-radius: 24px 24px 0 0;
  height: 32px;
  z-index: 2;
}
.card-pack-cs2 .card-pack-seal {
  position: absolute;
  right: 18px;
  top: 2px;
  background: linear-gradient(135deg, #fbbf24 60%, #f59e0b 100%);
  color: #1e293b;
  font-weight: 900;
  font-size: 1.1rem;
  padding: 0.25rem 0.85rem;
  border-radius: 12px 12px 16px 16px;
  box-shadow: 0 2px 8px rgba(251,191,36,0.18);
  letter-spacing: 2px;
  border: 2px solid #fffbe7;
  z-index: 3;
  text-shadow: 0 1px 0 #fffbe7;
  font-family: 'Inter', sans-serif;
}
.card-pack-cs2 .card-pack-foil {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  border-radius: 24px;
  background: linear-gradient(120deg, rgba(255,255,255,0.18) 10%, rgba(59,130,246,0.12) 40%, rgba(255,255,255,0.08) 60%, rgba(59,130,246,0.18) 90%);
  opacity: 0.7;
  mix-blend-mode: screen;
  z-index: 2;
  animation: foil-shine 3.5s linear infinite;
}
@keyframes foil-shine {
  0% { opacity: 0.7; filter: blur(0.5px); }
  50% { opacity: 1; filter: blur(1.5px); }
  100% { opacity: 0.7; filter: blur(0.5px); }
}
.card-pack-cs2 .card-pack-img {
  border: 3px solid #fbbf24;
  box-shadow: 0 4px 24px #fbbf2433, 0 1.5px 0 #334155 inset;
  border-radius: 16px;
  background: #fffbe7;
}

/* --- Video Modal Styles --- */
.video-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  align-items: center;
  justify-content: center;
}
.video-modal[style*="display: flex"] {
  display: flex !important;
}
.video-modal-backdrop {
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15,23,42,0.85);
  backdrop-filter: blur(2px);
  z-index: 1;
}
.video-modal-content {
  position: relative;
  z-index: 2;
  background: var(--bg-secondary);
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.45);
  padding: 2rem 2rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 320px;
  max-width: 90vw;
  max-height: 80vh;
}
.video-modal-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  font-weight: 700;
  position: absolute;
  top: 0.5rem;
  right: 1.2rem;
  cursor: pointer;
  z-index: 3;
  transition: color 0.2s;
  line-height: 1;
}
.video-modal-close:hover {
  color: #3b82f6;
}
#player-highlight-video {
  width: 60vw;
  max-width: 700px;
  min-width: 260px;
  max-height: 60vh;
  border-radius: 12px;
  background: #000;
  box-shadow: 0 4px 24px rgba(59,130,246,0.18);
  outline: none;
}
@media (max-width: 700px) {
  .video-modal-content {
    min-width: 0;
    padding: 1rem 0.5rem 1rem 0.5rem;
  }
  #player-highlight-video {
    width: 90vw;
    max-width: 98vw;
    min-width: 0;
    max-height: 40vh;
  }
}

/* CS2 Team Highlight Button Styles */
.team-link-btn.highlight-cs2 {
  display: block;
  max-width: 520px;
  min-width: 260px;
  margin: 2.5rem auto 3rem auto;
  border-radius: 1.7rem;
  box-shadow: 0 8px 36px 0 rgba(0,0,0,0.20), 0 2px 10px 0 rgba(0,0,0,0.12);
  background: linear-gradient(120deg, #1e2a3a 60%, #2e4a7d 100%);
  transition: transform 0.18s cubic-bezier(.4,0,.2,1), box-shadow 0.18s;
  text-decoration: none;
  border: 2.5px solid #3a5ca8;
  overflow: hidden;
  position: relative;
  min-width: 320px;
  max-width: 420px;
  width: 100%;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-shadow: 0 8px 32px rgba(6,139,255,0.15), 0 1.5px 8px rgba(0,0,0,0.10);
  border-radius: 24px;
  background: rgba(6,139,255,0.10);
  margin: 0 auto 2rem auto;
  padding: 2rem 1.5rem 1.5rem 1.5rem;
}
.team-link-btn.highlight-cs2:hover {
  transform: scale(1.04) translateY(-4px);
  box-shadow: 0 16px 48px rgba(6,139,255,0.22), 0 2px 12px rgba(0,0,0,0.13);
}
.team-link-btn-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 1.2rem;
  box-shadow: 0 4px 16px rgba(6,139,255,0.10);
  background: #181a1b;
  max-width: 320px;
  min-width: 220px;
  min-height: 220px;
  max-height: 320px;
  display: block;
}
.team-link-btn.highlight-cs2 .team-link-btn-text h3,
.team-link-btn.highlight-cs2 .team-link-btn-text p {
  color: #068bff;
  text-shadow: 0 2px 8px rgba(6,139,255,0.10);
}
@media (max-width: 600px) {
  .team-link-btn.highlight-cs2 {
    min-width: 90vw;
    max-width: 98vw;
    min-height: 260px;
    padding: 1rem 0.5rem 1rem 0.5rem;
  }
  .team-link-btn-img {
    max-width: 90vw;
    min-width: 120px;
    min-height: 120px;
    max-height: 90vw;
  }
}

/* CS2 Team Page: Animated Photo Cards */
.photo-grid .photo-card {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  animation: photoCardFadeIn 0.7s cubic-bezier(.4,0,.2,1) forwards;
}
.photo-grid .photo-card:nth-child(1) { animation-delay: 0.08s; }
.photo-grid .photo-card:nth-child(2) { animation-delay: 0.18s; }
.photo-grid .photo-card:nth-child(3) { animation-delay: 0.28s; }
.photo-grid .photo-card:nth-child(4) { animation-delay: 0.38s; }
.photo-grid .photo-card:nth-child(5) { animation-delay: 0.48s; }

@keyframes photoCardFadeIn {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    filter: blur(6px);
  }
  60% {
    opacity: 1;
    transform: translateY(-8px) scale(1.03);
    filter: blur(0.5px);
  }
  80% {
    transform: translateY(4px) scale(1.01);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* Full-page floating balls background with dark blue hero color */
.hero-bg-floating {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: linear-gradient(120deg, #0f172a 0%, #1e293b 100%);
}
.hero-shapes {
  position: absolute;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
}
.shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  animation: float 4s ease-in-out infinite;
  pointer-events: none;
  filter: blur(0.5px);
}
.shape-1 { width: 80px; height: 80px; top: 12%; left: 8%; animation-delay: 0s; }
.shape-2 { width: 128px; height: 128px; top: 38%; right: 18%; animation-delay: 1s; }
.shape-3 { width: 64px; height: 64px; bottom: 38%; left: 18%; animation-delay: 2s; }
.shape-4 { width: 96px; height: 96px; bottom: 18%; right: 38%; animation-delay: 0.5s; }
.shape-5 { width: 70px; height: 70px; top: 60%; left: 5%; animation-delay: 1.5s; }
.shape-6 { width: 110px; height: 110px; top: 10%; right: 10%; animation-delay: 2.5s; }
.shape-7 { width: 50px; height: 50px; bottom: 10%; left: 40%; animation-delay: 0.8s; }
.shape-8 { width: 90px; height: 90px; top: 70%; right: 30%; animation-delay: 1.2s; }
.shape-9 { width: 60px; height: 60px; bottom: 25%; right: 10%; animation-delay: 2.2s; }
.shape-10 { width: 100px; height: 100px; top: 25%; left: 60%; animation-delay: 0.3s; }

@media (max-width: 600px) {
  .shape-1, .shape-2, .shape-3, .shape-4, .shape-5, .shape-6, .shape-7, .shape-8, .shape-9, .shape-10 {
    width: 40px !important;
    height: 40px !important;
  }
}

/* Reversed Pyramid Layout for Player Cards */
.photo-grid.reversed-pyramid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
}
.photo-row {
  display: flex;
  flex-direction: row;
  gap: 2.5rem;
  justify-content: center;
  width: 100%;
}
.photo-row-bottom {
  justify-content: center;
  margin-top: 0.5rem;
}
@media (max-width: 900px) {
  .photo-row {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .photo-row-bottom {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
}
