@font-face {
  font-family: 'Barlow';
  src: url('./fonts/BarlowCondensed-Bold.ttf') format('ttf');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Sora';
  src: url('./fonts/Sora-Regular.ttf') format('ttf');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

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

body {
  font-family: 'Sora', Arial, sans-serif;
  background: #000;
  color: #fff;
  overflow: hidden;
  cursor: none;
  position: fixed;
  width: 100%;
  height: 100%;
}

/* Custom Tennis Ball Cursor */
.custom-cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  background: #0ae448;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition:
    transform 0.1s ease,
    opacity 0.2s ease;
}

a {
  text-decoration: none;
  color: #000;
}

/* Hide custom cursor over links, show default pointer */
a:hover {
  cursor: pointer;
}

body:has(a:hover) .custom-cursor {
  opacity: 0;
}

.ticker {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #000000;
  color: #ffffff;
  overflow: hidden;
  z-index: 999;
  font-family: 'Sora', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
}

.ticker-track {
  display: flex;
  white-space: nowrap;
  will-change: transform;
}

.ticker span {
  padding-right: 3rem;
}

/* #top-logo {
  position: fixed;
  top: 00px;
  left: 00px;
  z-index: 10;
  background: #0ae448;
  width: 100%;
  padding: 0.5rem 0.5rem 0.2rem 0.5rem;
} */

/* #top-logo img {
  width: 60px;
  height: auto;
  -webkit-user-drag: none;
} */

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 2rem;
}

/* Background Diamond Grid */
.diamond-grid {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 600px;
  height: 600px;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 29px,
      rgba(255, 255, 255, 0.3) 29px,
      rgba(255, 255, 255, 0.3) 30px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 29px,
      rgba(255, 255, 255, 0.3) 29px,
      rgba(255, 255, 255, 0.3) 30px
    );
  z-index: 1;
  transition: transform 0.1s ease-out;
  transform-style: preserve-3d;
}

/* Lightning Bolts */
.lightning-top {
  position: absolute;
  top: 15%;
  right: 25%;
  z-index: 2;
}

.lightning-bottom {
  position: absolute;
  bottom: 20%;
  left: 20%;
  z-index: 2;
}

.logo-element {
  width: 80px;
  height: auto;
  opacity: 0.8;
}

/* Logo Container */
.logo-container {
  position: relative;
  z-index: 3;
  text-align: center;
}

.racket-logo {
  font-size: clamp(16rem, 24vw, 30rem);
  font-weight: 600;
  color: #0ae448;
  line-height: 0.9;
  letter-spacing: 0em;
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-family: 'Barlow', sans-serif;
}

.tagline-box {
  background: #0ae448;
  color: #000;
  padding: 0.8rem 2rem;
  display: inline-block;
  margin-top: -14rem;
}

.tagline {
  font-size: clamp(0.9rem, 2.5vw, 1.3rem);
  font-weight: normal;
  font-family: 'Sora', Arial, sans-serif;
}

/* About Section */
.about-section {
  padding: 6rem 2rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about-section h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 2rem;
  color: #0ae448;
  font-family: 'Barlow', sans-serif;
}

.about-section p {
  font-size: clamp(1rem, 2vw, 1.3rem);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #e0e0e0;
}

/* Social Icons */
.social-icons {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 2rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  transition:
    transform 0.2s ease,
    opacity 0.3s ease;
  opacity: 0.9;
}

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

.social-icon svg {
  width: 100%;
  height: 100%;
  fill: #0ae448;
}

/* Bouncing Tennis Ball */
.tennis-ball {
  position: fixed;
  width: 20px;
  height: 20px;
  background: #0ae448;
  border-radius: 50%;
  z-index: 5;
  box-shadow: 0 4px 8px rgba(204, 255, 0, 0.3);
  left: 0;
  bottom: 100px;
}

/* Footer */
footer {
  padding: 3rem 2rem;
  text-align: center;
  background: #111;
  border-top: 1px solid #333;
}

footer p {
  color: #8b8b8b;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  body {
    overflow: hidden;
    touch-action: none;
  }

  .diamond-grid {
    width: 400px;
    height: 400px;
  }

  .lightning-top,
  .lightning-bottom {
    display: none;
  }

  .about-section,
  .services-preview,
  .cta-section {
    padding: 4rem 1.5rem;
  }

  .custom-cursor {
    display: none;
  }
}
