@view-transition {
  navigation: auto;
}

:root {
  --bg-color: #050505;
  --card-bg: rgba(255, 255, 255, 0.15);
  --card-border: rgba(255, 255, 255, 0.3);
  --text-primary: #ffffff;
  --text-secondary: #d8d8d8;
  --accent-1: #ff0055;
  --accent-2: #00f0ff;
  --accent-3: #7000ff;
  --dart-green: #62880D;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

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

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.6;
}

.blob-1 {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: var(--accent-3);
  animation: float1 13s infinite alternate cubic-bezier(0.45, 0.05, 0.55, 0.95);
}

.blob-2 {
  bottom: -10%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: var(--accent-1);
  animation: float2 26s infinite alternate cubic-bezier(0.45, 0.05, 0.55, 0.95);
}

.blob-3 {
  top: 40%;
  left: 40%;
  width: 40vw;
  height: 40vw;
  background: var(--accent-2);
  opacity: 0.4;
  animation: float3 25s infinite alternate cubic-bezier(0.45, 0.05, 0.55, 0.95);
}

@keyframes float1 {
  0% {
    transform: translate(0, 0) scale(1);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    background: var(--accent-3);
  }
  33% {
    transform: translate(20vw, 10vh) scale(1.2);
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    background: var(--accent-1);
  }
  66% {
    transform: translate(10vw, 40vh) scale(0.8);
    border-radius: 70% 30% 50% 50% / 30% 40% 60% 70%;
    background: var(--accent-2);
  }
  100% {
    transform: translate(30vw, 20vh) scale(1.1);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    background: var(--accent-3);
  }
}

@keyframes float2 {
  0% {
    transform: translate(0, 0) scale(1);
    border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
    background: var(--accent-1);
  }
  33% {
    transform: translate(-20vw, -10vh) scale(1.1);
    border-radius: 70% 30% 30% 70% / 50% 60% 30% 60%;
    background: var(--accent-2);
  }
  66% {
    transform: translate(-10vw, -30vh) scale(0.9);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: var(--accent-3);
  }
  100% {
    transform: translate(-30vw, -10vh) scale(1.2);
    border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
    background: var(--accent-1);
  }
}

@keyframes float3 {
  0% {
    transform: translate(0, 0) scale(1);
    border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
    background: var(--accent-2);
  }
  33% {
    transform: translate(15vw, -25vh) scale(1.3);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    background: var(--accent-3);
  }
  66% {
    transform: translate(-15vw, 15vh) scale(0.7);
    border-radius: 70% 30% 30% 70% / 60% 40% 40% 60%;
    background: var(--accent-1);
  }
  100% {
    transform: translate(10vw, -10vh) scale(1);
    border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
    background: var(--accent-2);
  }
}

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 max(2rem, 5vw);
}

header {
  position: sticky;
  top: 0;
  background: rgba(5, 5, 5, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 100;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--card-border);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
}

.logo {
  font-weight: 900;
  font-size: 1.8rem;
  background: linear-gradient(135deg, #fff 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -1px;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 1.1rem;
  position: relative;
}

.nav-links a:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: linear-gradient(90deg, var(--accent-2), var(--accent-3));
  transition: width 0.3s ease;
}

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

.hero {
  padding: 2rem;
  text-align: center;
  position: relative;
}

.hero h1 {
  font-size: 5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -2px;
  background: linear-gradient(to right, #fff, #a5a5a5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInUp 0.8s ease-out;
}

.hero h1 span {
  background: linear-gradient(to right, var(--accent-2), var(--accent-3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .subtitle {
  font-size: 1.8rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  font-weight: 300;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero .bio {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 2rem auto 0;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero .bio strong {
  color: var(--text-primary);
  font-weight: 600;
}




.projects-section h2 {
  font-size: 4rem;
  margin-bottom: 5rem;
  text-align: center;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: transparent;
  background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0.7) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.15));
  position: relative;
}

.projects-section h2::before {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent-1);
  margin: 0 auto 1.5rem;
  border-radius: 2px;
  box-shadow: 0 0 15px var(--accent-1);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.project-card {
  background: var(--card-bg);
  border-radius: 1.5rem;
  padding: 2.5rem;
  border: 1px solid var(--card-border);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transform: translateX(-100%);
  transition: 0.5s;
}

.project-card:hover::before {
  transform: translateX(100%);
}

.project-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5),
              0 0 20px rgba(var(--accent-3), 0.2);
}

.project-type {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.35em;
  font-weight: 800;
  margin-bottom: 1rem;
  text-align: center;
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #fff;
  font-weight: 700;
}

.project-card p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1rem;
  flex-grow: 1;
  line-height: 1.7;
}

.project-link {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  margin-top: auto;
  color: #fff;
  gap: 0.5rem;
}

.project-link:hover {
  color: var(--accent-2);
  gap: 0.8rem;
}

.featured-project {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.9), rgba(40, 40, 40, 0.8));
  border: 1px solid rgba(98, 136, 13, 0.3);
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 4rem;
  min-height: 400px;
}

.featured-project::before {
  background: linear-gradient(45deg, transparent, rgba(98, 136, 13, 0.1), transparent);
}

.featured-project:hover {
  border-color: var(--dart-green);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(98, 136, 13, 0.15);
}

.featured-content {
  flex: 1;
  text-align: left;
}

.featured-project h3 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(110deg, #8bcd15 20%, #b0ff00 40%, #b0ff00 60%, #8bcd15 80%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 15px rgba(176, 255, 0, 0.2));
  animation: textShine 4s linear infinite;
}

.featured-project p {
  font-size: 1.2rem;
  max-width: 600px;
}

.featured-action {
  flex-shrink: 0;
}

.featured-project .app-store-badge {
  margin-top: 0;
}

@media (max-width: 900px) {
  .featured-project {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem;
    gap: 2rem;
  }
  
  .featured-content {
    text-align: center;
  }
  
  .featured-project h3 {
    font-size: 2.5rem;
  }
  
  .featured-project p {
    margin: 0 auto 2rem;
  }
}

.contact-section {
  padding: 6rem 0;
  text-align: center;
  position: relative;
}

.contact-grid {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.contact-item:hover {
  color: #fff;
  transform: translateY(-5px);
}

.contact-item img {
  width: 40px;
  height: 40px;
  filter: invert(1) drop-shadow(0 0 5px rgba(255,255,255,0.2));
  transition: all 0.3s ease;
}

.contact-item:hover img {
  filter: invert(1) drop-shadow(0 0 15px var(--accent-2));
  transform: scale(1.1);
}

.retro-links-container {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.retro-link-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.8rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 0.95rem;
}

.retro-link-btn span {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.retro-link-btn i {
  font-size: 1.1rem;
}

.retro-link-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent-2);
  color: #fff;
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.retro-link-btn.highlight {
  background: linear-gradient(90deg, rgba(var(--accent-2), 0.15), rgba(var(--accent-3), 0.15));
  border-color: rgba(var(--accent-2), 0.3);
  color: #fff;
  margin-top: 0.5rem;
}

.retro-link-btn.highlight:hover {
  background: linear-gradient(90deg, rgba(var(--accent-2), 0.25), rgba(var(--accent-3), 0.25));
  border-color: var(--accent-2);
  box-shadow: 0 0 20px rgba(var(--accent-2), 0.2);
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 1rem;
  text-decoration: none;
  gap: 1rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 1.5rem;
}

.app-store-badge i {
  font-size: 2.5rem;
}

.app-store-badge .badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  align-items: flex-start;
}

.app-store-badge .small-text {
  font-size: 0.85rem;
  font-weight: 400;
  opacity: 0.9;
}

.app-store-badge .big-text {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.app-store-badge:hover {
  background: #fff;
  color: #000;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.5), 0 0 20px rgba(255,255,255,0.2);
  border-color: #fff;
}

.chrome-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2rem;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.chrome-store-btn i {
  font-size: 1.4rem;
}

.chrome-store-btn:hover {
  background: #fff;
  color: #333;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.website-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2rem;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin-top: 1rem;
}

.website-btn i {
  font-size: 1.2rem;
}

.website-btn:hover {
  background: #fff;
  color: #000;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2), 0 0 15px rgba(255,255,255,0.1);
  border-color: #fff;
}

footer {
  padding: 3rem 0;
  text-align: center;
  color: var(--text-secondary);
  border-top: 1px solid var(--card-border);
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(10px);
}

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

@keyframes textShine {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero .subtitle {
    font-size: 1.2rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .container {
    padding: 0 1.5rem;
  }
  
  .blob {
    opacity: 0.4;
  }
}
