:root {
  --background: #ffffff;
  --foreground: #0f172a;
  --muted: #f1f5f9;
  --muted-foreground: #64748b;
  --card: #ffffff;
  --card-foreground: #0f172a;
  --border: #e2e8f0;
  --input: #e2e8f0;
  --primary: #8b5cf6;
  --primary-foreground: #f8fafc;
  --secondary: #a855f7;
  --secondary-foreground: #f8fafc;
  --accent: #06b6d4;
  --accent-foreground: #f8fafc;
  --destructive: #ef4444;
  --destructive-foreground: #fafafa;
  --dark: #0f172a;
  --medium: #1e293b;
  --light: #fafafa;
  --success: #10b981;
}

.dark {
  --background: #0f172a;
  --foreground: #fafafa;
  --muted: #1e293b;
  --muted-foreground: #94a3b8;
  --card: #0f172a;
  --card-foreground: #fafafa;
  --border: #1e293b;
  --input: #1e293b;
}

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

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, var(--background) 0%, var(--muted) 50%, var(--background) 100%);
  color: var(--foreground);
  min-height: 100vh;
  line-height: 1.6;
  transition: all 0.3s ease;
}

.dark body {
  background: linear-gradient(135deg, var(--dark) 0%, var(--medium) 50%, var(--dark) 100%);
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid var(--border);
}

.dark .nav {
  background: rgba(15, 23, 42, 0.8);
}

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

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-link {
  font-size: 1.25rem;
  font-weight: bold;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
}

.accent {
  color: var(--accent);
}

.theme-toggle {
  background: none;
  border: none;
  color: var(--foreground);
  padding: 0.5rem;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.theme-toggle:hover {
  color: var(--primary);
}

.nav-desktop {
  display: none;
  gap: 2rem;
}

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

.nav-link {
  color: var(--foreground);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary);
}

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  color: var(--foreground);
  font-size: 1.25rem;
  cursor: pointer;
}

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

.mobile-menu {
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid var(--border);
  padding: 1rem;
  opacity: 0.5;
  font-weight: bold;
}

.dark .mobile-menu {
  background: rgba(15, 23, 42, 0.95);
}

.mobile-nav-link {
  display: block;
  color: var(--foreground);
  text-decoration: none;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.mobile-nav-link:hover {
  color: var(--primary);
}

.hidden {
  display: none;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 1rem 2rem;
}

.hero-container {
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
}

.hero-image {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.profile-container {
  position: relative;
  cursor: pointer;
}

.profile-image {
  width: 13rem;
  height: 13rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
  padding: 0.25rem;
  animation: glow 2s ease-in-out infinite alternate;
  transition: all 0.5s ease;
}

.profile-image:hover {
  transform: scale(1.05);
}

.profile-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: var(--background);
  padding: 0.5rem;
}

.dark .profile-img {
  background: var(--dark);
}

.floating-icon {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 6s ease-in-out infinite;
}

.floating-text {
  color: white;
  font-family: 'JetBrains Mono', monospace;
  font-weight: bold;
  font-size: 1.125rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  background: linear-gradient(to right, var(--primary), var(--secondary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--muted-foreground);
  font-family: 'JetBrains Mono', monospace;
}

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

.bracket {
  color: var(--primary);
}

.hero-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  line-height: 1.7;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

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

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 50%;
  color: var(--foreground);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.125rem;
}

.social-link:hover {
  transform: scale(1.1);
}

.social-link.youtube:hover {
  background: #ef4444;
  color: white;
}

.social-link.twitter:hover {
  background: #3b82f6;
  color: white;
}

.social-link.instagram:hover {
  background: linear-gradient(45deg, #8b5cf6, #ec4899);
  color: white;
}

.social-link.threads:hover {
  background: #374151;
  color: white;
}

.threads-icon {
  font-weight: bold;
  font-size: 1.125rem;
}

.social-tooltip {
  position: absolute;
  top: -2.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--card);
  color: var(--foreground);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  border: 1px solid var(--border);
  white-space: nowrap;
}

.social-link:hover .social-tooltip {
  opacity: 1;
}

.footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 2rem 1rem;
  text-align: center;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-text {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.copyright {
  color: var(--primary);
  font-family: 'JetBrains Mono', monospace;
}

.footer-text i {
  color: var(--destructive);
  margin: 0 0.25rem;
}

.footer-quote {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* utility classes */
.hidden {
  display: none !important;
}

.konami-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.konami-content {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 2rem;
  max-width: 32rem;
  margin: 1rem;
  text-align: center;
  position: relative;
  animation: bounce-once 0.6s ease-out;
}

.konami-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--muted-foreground);
  cursor: pointer;
  font-size: 1.125rem;
  transition: color 0.3s ease;
}

.konami-close:hover {
  color: var(--foreground);
}

.konami-emoji {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.konami-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 1rem;
}

.konami-text {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.konami-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 0.5rem;
  overflow: hidden;
  margin-bottom: 1rem;
}

.video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
  padding: 1rem;
}

.video-title {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.video-subtitle {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-bottom: 1rem;
}

.watch-button {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.watch-button:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}


/* animations */
@keyframes float {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg); 
  }
  33% { 
    transform: translateY(-20px) rotate(1deg); 
  }
  66% { 
    transform: translateY(-10px) rotate(-1deg); 
  }
}

@keyframes glow {
  from { 
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.5); 
  }
  to { 
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.8); 
  }
}

@keyframes bounce-once {
  0% {
    transform: translate3d(0,0,0);
  }
  50% {
    transform: translate3d(0,-20px,0);
  }
  100% {
    transform: translate3d(0,0,0);
  }
}

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

@keyframes bounce {
  0%, 20%, 53%, 80%, 100% {
    transform: translate3d(0,0,0);
  }
  40%, 43% {
    transform: translate3d(0,-30px,0);
  }
  70% {
    transform: translate3d(0,-15px,0);
  }
  90% {
    transform: translate3d(0,-4px,0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.animate-bounce {
  animation: bounce 1s infinite;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

.animate-spin {
  animation: spin 1s linear infinite;
}