:root {
  --bg-color: #050505;
  --card-bg: rgba(20, 20, 20, 0.7);
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --accent-rust: #f74c00;
  --accent-arch: #1793d1;
  --accent-godot: #478cbf;
  --accent-neon: #00ffcc;
  --glass-border: rgba(255, 255, 255, 0.1);
  --font-main: 'Outfit', sans-serif;
}

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

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

/* Background Animation */
.bg-gradient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: radial-gradient(circle at 50% 50%, #1a1a1a 0%, #050505 100%);
}

.blob {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(23, 147, 209, 0.1) 0%, transparent 70%);
  filter: blur(50px);
  z-index: -1;
  animation: move 20s infinite alternate;
}

.blob-2 {
  bottom: -100px;
  right: -100px;
  background: radial-gradient(circle, rgba(247, 76, 0, 0.08) 0%, transparent 70%);
  animation-delay: -10s;
}

@keyframes move {
  from { transform: translate(-10%, -10%); }
  to { transform: translate(10%, 10%); }
}

/* Main Layout */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Hero Section */
.hero {
  text-align: center;
  margin-bottom: 40px;
  animation: fadeInDown 1s ease-out;
}

.profile-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid var(--accent-arch);
  margin-bottom: 20px;
  box-shadow: 0 0 30px rgba(23, 147, 209, 0.3);
  object-fit: cover;
}

h1 {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(90deg, #fff, var(--accent-arch), var(--accent-rust));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  font-weight: 300;
}

/* Glass Card Style */
.card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px;
  transition: transform 0.3s ease, border-color 0.3s ease;
  animation: fadeInUp 1s ease-out both;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.section-title {
  font-size: 1.5rem;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Tech Grid */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 15px;
}

.tech-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  padding: 15px;
  border-radius: 12px;
  text-align: center;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.tech-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--accent-arch);
  color: var(--accent-arch);
  box-shadow: 0 0 15px rgba(23, 147, 209, 0.2);
  transform: translateY(-2px);
}

/* Project Links */
.links-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.link-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.link-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.02);
}

.link-btn.primary {
  background: linear-gradient(135deg, var(--accent-arch), #005f8d);
  border: none;
  box-shadow: 0 4px 15px rgba(23, 147, 209, 0.3);
}

.link-btn.primary:hover {
  box-shadow: 0 8px 25px rgba(23, 147, 209, 0.5);
  filter: brightness(1.1);
  transform: scale(1.03);
}

/* Skill Icons */
.skills-box img {
  max-width: 100%;
  filter: grayscale(0.2) contrast(1.1);
  transition: filter 0.3s ease;
}

.skills-box img:hover {
  filter: grayscale(0) contrast(1.2);
}

/* Social Links */
.social-footer {
  text-align: center;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

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

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

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

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  .links-container { grid-template-columns: 1fr; }
  .container { padding: 40px 15px; }
}
