/* Tailwind CSS */
@import 'https://cdn.tailwindcss.com';

/* Custom cursor and layout styles */
:root {
  /* Custom cursor styling variables */
  --cursor-size: 12px;
  --cursor-color: rgba(255, 255, 255, 0.8);
  --glow-color: rgba(80, 120, 200, 0.6);
  
  /* Main font stack - Helvetica only */
  --font-stack: system-ui, -apple-system, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  
  /* vh fix */
  --vh: 1vh;
  
  /* Background color */
  --background-color: #0c0f17;
}

/* Reset and basic styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: var(--font-stack);
  background-color: var(--background-color);
  color: white;
  margin: 0;
  padding: 0;
  overflow: hidden;
  height: 100%;
  cursor: none;
  min-height: -webkit-fill-available;
}

/* Background texture */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(rgba(40, 50, 80, 0.15) 1px, transparent 1px), 
    radial-gradient(rgba(40, 50, 80, 0.1) 1px, transparent 1px);
  background-size: 40px 40px, 20px 20px;
  background-position: 0 0, 10px 10px;
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
}

/* Noise overlay for added texture */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.015;
  z-index: 0;
  pointer-events: none;
}

/* Fix for 100vh issue on mobile */
.h-screen {
  height: 100vh; /* Fallback */
  height: calc(var(--vh, 1vh) * 100);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
}

a, a * {
  cursor: none !important;
}

/* Custom font styling */
.name-title {
  font-family: var(--font-stack);
  font-size: 4vw;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 0;
  line-height: 1;
  text-align: center;
  width: 100%;
  white-space: nowrap;
}

/* Custom cursor styling with improved cross-browser compatibility */
.cursor-dot {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  width: var(--cursor-size);
  height: var(--cursor-size);
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.95);
  transform: translate(calc(var(--x) - 50%), calc(var(--y) - 50%));
  transition: transform 0.1s ease-out, opacity 0.3s ease, width 0.2s ease, height 0.2s ease;
  z-index: 9999;
  will-change: transform;
  box-shadow: 0 0 12px 4px rgba(200, 220, 255, 0.8);
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -webkit-transform: translate(calc(var(--x) - 50%), calc(var(--y) - 50%));
  -moz-transform: translate(calc(var(--x) - 50%), calc(var(--y) - 50%));
  -webkit-transition: transform 0.1s ease-out, opacity 0.3s ease, width 0.2s ease, height 0.2s ease;
  -moz-transition: transform 0.1s ease-out, opacity 0.3s ease, width 0.2s ease, height 0.2s ease;
}

.cursor-dot-inner {
  display: none;
}

/* Cursor light with improved cross-browser compatibility */
.cursor-light {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: transparent;
  will-change: background;
  mix-blend-mode: screen;
  opacity: 1;
  transition: opacity 0.2s ease, background 0.2s ease;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden;
  filter: blur(8px);
  -webkit-filter: blur(8px);
}

/* Social links styles - removing padding while keeping spacing */
.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  gap: 45px;
  padding: 0; /* Explicitly remove any padding */
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0; /* Remove padding from individual links */
}

/* Social icon hover styles */
.social-icon {
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.85;
}

.social-links a:hover .social-icon {
  opacity: 1;
  transform: scale(1.1);
}

/* Hide cursor elements on mobile and tablets */
@media (max-width: 768px) {
  .cursor-dot, .cursor-light {
    display: none;
  }
  
  body {
    cursor: auto;
  }
  
  .name-title {
    font-size: 7vw;
  }
}

/* Limit name size on large screens */
@media (min-width: 1920px) {
  .name-title {
    font-size: 76px;
  }
}

/* Ensure content is centered */
.content-wrapper {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.name-container {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 100%;
}

/* Tailwind utilities maintained as custom CSS */
.bg-black {
  background-color: black;
}

.text-white {
  color: white;
}

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

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.min-h-screen {
  min-height: 100vh;
  min-height: -webkit-fill-available;
  min-height: calc(var(--vh, 1vh) * 100);
}

.w-full {
  width: 100%;
}

.max-w-\[95\%\] {
  max-width: 95%;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.mt-3 {
  margin-top: 0.75rem;
}

.gap-1 {
  gap: 0.25rem;
}

.p-2 {
  padding: 0.5rem;
}

.mx-1 {
  margin-left: 0.25rem;
  margin-right: 0.25rem;
}

.w-5 {
  width: 1.25rem;
}

.h-5 {
  height: 1.25rem;
}

.filter {
  filter: brightness(150%) contrast(125%);
}

.relative {
  position: relative;
}

.z-10 {
  z-index: 10;
}

.tracking-widest {
  letter-spacing: 0.1em;
}

/* Media query utilities */
@media (min-width: 768px) {
  .md\:max-w-\[85\%\] {
    max-width: 85%;
  }
  
  .md\:px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .md\:w-6 {
    width: 1.5rem;
  }
  
  .md\:h-6 {
    height: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .lg\:max-w-\[896px\] {
    max-width: 896px;
  }
}

.subtitle {
  font-family: var(--font-stack);
  font-size: 1.2rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.01em;
}

.particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
} 