:root {
  --bg-color: #FAFAFA;
  --surface: #FFFFFF;
  --text-primary: #1A1A1A;
  --text-secondary: #737373;
  --border-light: #EAEAEC;
  --accent: #111111;
  --danger: #EF4444;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif; /* You can also try 'Inter' or 'Roboto' for a more clinical minimalism */
}

html {
  scroll-behavior: smooth;
}

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

.container {
  max-width: 1100px;
  margin: auto;
  padding: 60px 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 60px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

/* Removed the loud "MY PROFILE" badge */
.card::before {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: center;
}

.profile-wrapper {
  display: flex;
  justify-content: center;
}

.profile {
  width: 240px;
  height: 240px;
  border-radius: 50%; /* Circular profile for minimalism */
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.profile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  background: #F4F4F5;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-text h1 {
  font-size: 48px;
  line-height: 1.1;
  margin-bottom: 12px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -1px;
}

.hero-text h2 {
  color: var(--text-secondary);
  font-size: 20px;
  margin-bottom: 24px;
  font-weight: 400;
}

.hero-text p {
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 650px;
  font-weight: 400;
}

.section-title {
  margin: 80px 0 40px;
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  color: var(--text-primary);
}

.section-title span {
  color: var(--text-secondary);
  font-weight: 400;
}

.info-grid,
.contact-grid {
  display: grid;
  gap: 24px;
}

.info-grid {
  grid-template-columns: repeat(4, 1fr);
}

.contact-grid {
  grid-template-columns: repeat(3, 1fr);
}

.info-box,
.contact-card,
.contact-form,
.admin-box {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 30px;
  transition: all 0.3s ease;
}

.info-box:hover,
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.04);
  border-color: #D4D4D8;
}

.icon,
.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #F4F4F5;
  color: var(--text-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  margin-bottom: 20px;
}

.info-box h3 {
  color: var(--text-primary);
  font-size: 15px;
  margin-bottom: 8px;
  font-weight: 600;
}

.info-box p,
.contact-card p {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 400;
  word-break: break-word;
}

.contact-card {
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-icon {
  margin-bottom: 0;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-card span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 18px;
  transition: 0.3s ease;
}

.contact-card:hover span {
  color: var(--text-primary);
  transform: translateX(4px);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--surface);
}

.contact-form input,
.contact-form textarea,
.admin-box input {
  width: 100%;
  padding: 16px;
  outline: none;
  border-radius: 8px;
  background: var(--bg-color);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 400;
  transition: 0.3s ease;
}

.contact-form textarea {
  resize: none;
  min-height: 120px;
}

.contact-form input:focus,
.contact-form textarea:focus,
.admin-box input:focus {
  border-color: var(--text-secondary);
  background: var(--surface);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder,
.admin-box input::placeholder {
  color: #A1A1AA;
}

.contact-form button,
footer button,
.admin-box button {
  padding: 16px;
  border: none;
  border-radius: 8px;
  background: var(--accent);
  color: var(--surface);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.contact-form button:hover,
footer button:hover,
.admin-box button:hover {
  background: #333333;
}

.contact-form button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.logout-btn {
  background: var(--surface)!important;
  color: var(--danger)!important;
  border: 1px solid var(--border-light)!important;
  margin-bottom: 20px;
}

.logout-btn:hover {
  border-color: var(--danger)!important;
  background: #FEF2F2!important;
}

.message-card {
  background: var(--bg-color);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 20px;
  margin-top: 15px;
}

.message-card h3 {
  color: var(--text-primary);
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 15px;
}

.message-card p {
  line-height: 1.6;
  margin-bottom: 12px;
  color: var(--text-secondary);
  font-size: 14px;
}

.message-card small {
  color: #A1A1AA;
  font-weight: 400;
  font-size: 12px;
}

footer {
  margin-top: 80px;
  padding-top: 30px;
  border-top: 1px solid var(--border-light);
  text-align: center;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 400;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.music-toggle {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 999;
  font-size: 20px;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.music-toggle:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* =========================================
   SIDEBAR & HAMBURGER MENU
========================================= */

.menu-btn {
  position: fixed;
  top: 30px;
  left: 30px;
  width: 48px;
  height: 48px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
  color: var(--text-primary);
}

.menu-btn:hover {
  transform: scale(1.05);
}

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: 0.4s ease;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

.sidebar {
  position: fixed;
  top: 0;
  left: -320px;
  width: 320px;
  height: 100vh;
  background: var(--surface);
  border-right: 1px solid var(--border-light);
  z-index: 1002;
  transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.sidebar.active {
  left: 0;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px;
  border-bottom: 1px solid var(--border-light);
  background: var(--surface);
}

.sidebar-header h3 {
  font-weight: 500;
  font-size: 16px;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.close-btn {
  background: transparent;
  border: none;
  font-size: 24px;
  font-weight: 300;
  cursor: pointer;
  color: var(--text-secondary);
  line-height: 1;
  transition: 0.2s ease;
}

.close-btn:hover {
  color: var(--text-primary);
  transform: rotate(90deg);
}

.sidebar-links {
  list-style: none;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}

.sidebar-links li a {
  display: block;
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 400;
  font-size: 14px;
  padding: 12px 16px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.sidebar-links li a:hover {
  background: var(--bg-color);
  color: var(--text-primary);
}

/* Responsive Adjustments */
@media(max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-text p {
    margin: 0 auto;
  }
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media(max-width: 650px) {
  .container {
    padding: 40px 16px;
  }
  .card {
    padding: 40px 24px;
  }
  .profile {
    width: 180px;
    height: 180px;
  }
  .hero-text h1 {
    font-size: 36px;
  }
  .hero-text h2 {
    font-size: 18px;
  }
  .info-grid {
    grid-template-columns: 1fr;
  }
  .section-title {
    font-size: 24px;
    margin: 60px 0 30px;
  }
  .music-toggle {
    right: 20px;
    bottom: 20px;
  }
  .menu-btn {
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
  }
  .sidebar {
    width: 280px;
  }
}
