/* Base Reset & Variables */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  scrollbar-color: #2f2f2f transparent;
  scrollbar-width: auto;
}

::-webkit-scrollbar,
*::-webkit-scrollbar {
  width: 20px;
  height: 20px;
}

::-webkit-scrollbar-track,
*::-webkit-scrollbar-track {
  border: 0;
  background: transparent;
  box-shadow: none;
}

::-webkit-scrollbar-thumb,
*::-webkit-scrollbar-thumb {
  border: 0;
  border-radius: 999px;
  background: #2f2f2f;
  box-shadow: none;
}

::-webkit-scrollbar-corner,
*::-webkit-scrollbar-corner {
  background: transparent;
}

:root {
  --bg-main: #060606;
  --bg-card: #080c12;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --primary: #00cbca;
  --primary-light: rgba(129, 140, 248, 0.1);
  --border-color: #202020b5;
}

body {
  background-image: radial-gradient(rgba(62, 62, 62, 0.6) 1px, transparent 1px);
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background-size: 25px 25px;
  background-color: var(--bg-main);
  user-select: none;
}

.demo-brand-text {
  display: inline-flex;
  align-items: baseline;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.demo-brand-text:hover {
  text-decoration: underline;
}

.demo-brand-text span {
  color: #fff;
}

.demo-brand-text strong {
  font-weight: 800;
  color: #08aaa9;
}

/* Container Layout */
.profile-card {
  max-width: 768px;
  width: 100%;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 48px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

/* Header / Profile Section */
.profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  margin-bottom: 40px;
}

/* Avatar Placeholder */
.avatar-placeholder {
  width: 160px;
  height: 160px;
  border: 4px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  background-image: url("/assets/images/profile/joumaico.jpg");
  background-size: 100%;
}

/* Bio Typography */
.bio-container {
  text-align: center;
}

.badge {
  display: inline-block;
  background-color: var(--primary-light);
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 9999px;
  border: 1px solid rgba(129, 140, 248, 0.2);
  margin-bottom: 12px;
}

h1 {
  font-size: 36px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

h2.role-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

.bio-text {
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 540px;
  font-size: 19px;
}

hr {
  border: 0;
  border-top: 1px solid var(--border-color);
  margin-bottom: 40px;
}

/* Tech Stack Grid */
.tech-section-title {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #d1d5db;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tech-section-title i {
  color: var(--primary);
  width: 20px;
  height: 20px;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tech-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 16px;
  border-radius: 12px;
  transition: border-color 0.2s ease;
}

.tech-card:hover {
  border-color: var(--primary);
}

.tech-card span {
  font-weight: 500;
  color: #e5e7eb;
}

/* Icon Container Custom Colors */
.icon-box {
  padding: 8px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.python i {
  color: #eab308;
}

.python .icon-box {
  background: rgba(234, 179, 8, 0.1);
}

.postgres i {
  color: #3b82f6;
}

.postgres .icon-box {
  background: rgba(59, 130, 246, 0.1);
}

.supabase i {
  color: #10b981;
}

.supabase .icon-box {
  background: rgba(16, 185, 129, 0.1);
}

.api i {
  color: #a855f7;
}

.api .icon-box {
  background: rgba(168, 85, 247, 0.1);
}

.azure i {
  color: #0ea5e9;
}

.azure .icon-box {
  background: rgba(14, 165, 233, 0.1);
}

.github i {
  color: #d1d5db;
}

.github .icon-box {
  background: rgba(209, 213, 219, 0.1);
}

/* Footer */
.footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(55, 65, 81, 0.5);
  text-align: center;
}

.footer a {
  font-size: 15px;
  color: #00fba9;
  font-weight: 500;
}

.footer a:hover {
  color: #fff;
}

/* Responsive Layout Overrides */
@media (max-width: 500px) {
  body {
    padding: 24px 16px;
  }

  h1 {
    font-size: 26px;
  }

  .profile-card {
    padding: 48px 14px;
  }

  .bio-text {
    letter-spacing: -0.05rem;
    font-size: 16px;
  }

  .tech-grid {
    grid-template-columns: 1fr;
  }

  .tech-card {
    gap: 18px;
    padding-left: 24px;
  }

  .tech-section-title {
    gap: 14px;
    padding-left: 7px;
  }
}
