/* =========================================================
   PAGE
   ========================================================= */

html {
  scroll-behavior: smooth;
}


body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system,
               BlinkMacSystemFont, "Segoe UI", sans-serif;

  overflow-x: hidden;
}


/* =========================================================
   Background
   ========================================================= */

.page-glow {
  position: fixed;
  inset: 0;

  pointer-events: none;

  background:
    radial-gradient(
      circle at 50% -10%,
      rgba(255, 102, 0, 0.09),
      transparent 35%
    ),
    radial-gradient(
      circle at 100% 100%,
      rgba(255, 102, 0, 0.04),
      transparent 30%
    );

  z-index: 0;
}


/* =========================================================
   Header
   ========================================================= */

.header-line {
  width: 32px;
  height: 2px;

  background: #ff6600;

  box-shadow:
    0 0 8px rgba(255, 102, 0, 0.6);
}


/* =========================================================
   Project Cards
   ========================================================= */

/*
   These classes can also be used by your JS when generating
   the individual projects.
*/

.project-card {
  position: relative;

  background: rgba(31, 41, 55, 0.65);

  border: 1px solid rgba(255, 255, 255, 0.06);

  border-radius: 24px;

  padding: 24px;

  backdrop-filter: blur(10px);

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.2);

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}


.project-card:hover {
  transform: translateY(-5px);

  background: rgba(31, 41, 55, 0.85);

  border-color: rgba(255, 102, 0, 0.4);

  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.3),
    0 0 25px rgba(255, 102, 0, 0.08);
}


/* =========================================================
   Tooltip
   ========================================================= */

.popup-arrow {
  position: absolute;

  top: -8px;
  left: 50%;

  transform: translateX(-50%);

  width: 0;
  height: 0;

  border-left: 8px solid transparent;
  border-right: 8px solid transparent;

  border-bottom: 8px solid rgb(31 41 55);
}


/* =========================================================
   Utility Buttons
   ========================================================= */

.utility-btn {
  position: relative;

  width: 62px;
  height: 62px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: rgba(31, 41, 55, 0.9);

  border: 1px solid rgba(255, 102, 0, 0.4);

  color: #ff6600;

  box-shadow:
    0 0 8px rgba(255, 102, 0, 0.12),
    inset 0 0 12px rgba(255, 102, 0, 0.04);

  backdrop-filter: blur(8px);

  cursor: pointer;

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}


.utility-icon {
  width: 38px;
  height: 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 2px solid currentColor;

  border-radius: 50%;

  font-family: Arial, sans-serif;

  font-size: 25px;
  font-weight: 700;

  line-height: 1;
}


.info-icon {
  font-size: 27px;
}


.utility-btn:hover {
  transform: translateY(-3px);

  background: rgba(255, 102, 0, 0.12);

  border-color: #ff6600;

  color: #ff8533;

  box-shadow:
    0 0 8px rgba(255, 102, 0, 0.55),
    0 0 20px rgba(255, 102, 0, 0.35),
    0 0 40px rgba(255, 102, 0, 0.15),
    inset 0 0 15px rgba(255, 102, 0, 0.08);
}


.utility-btn:active {
  transform: translateY(0) scale(0.95);
}


/* =========================================================
   Utility Tooltips
   ========================================================= */

.utility-tooltip {
  position: absolute;

  top: calc(100% + 10px);
  right: 0;

  padding: 6px 10px;

  background: rgb(31, 41, 55);

  border: 1px solid rgba(255, 255, 255, 0.08);

  border-radius: 8px;

  color: white;

  font-size: 12px;
  font-weight: 500;

  white-space: nowrap;

  opacity: 0;

  pointer-events: none;

  transform: translateY(-4px);

  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.35);

  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
}


.utility-btn:hover .utility-tooltip {
  opacity: 1;

  transform: translateY(0);
}


/* =========================================================
   Login / Register
   ========================================================= */

.auth-btn {
  height: 60px;

  min-width: 145px;

  padding: 0 22px;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 10px;

  border-radius: 16px;

  font-size: 17px;
  font-weight: 700;

  cursor: pointer;

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}


.auth-icon {
  font-size: 22px;

  font-weight: 700;

  line-height: 1;
}


/* Register */

.auth-btn-secondary {
  background: rgba(31, 41, 55, 0.9);

  border: 1px solid rgba(255, 102, 0, 0.45);

  color: #ff6600;

  box-shadow:
    0 0 8px rgba(255, 102, 0, 0.12);
}


.auth-btn-secondary:hover {
  transform: translateY(-3px);

  background: rgba(255, 102, 0, 0.12);

  border-color: #ff6600;

  box-shadow:
    0 0 8px rgba(255, 102, 0, 0.55),
    0 0 20px rgba(255, 102, 0, 0.3),
    0 0 35px rgba(255, 102, 0, 0.15);
}


/* Login */

.auth-btn-primary {
  background: #ff6600;

  border: 1px solid #ff8533;

  color: white;

  box-shadow:
    0 0 6px rgba(255, 102, 0, 0.7),
    0 0 18px rgba(255, 102, 0, 0.45),
    0 0 35px rgba(255, 102, 0, 0.25);
}


.auth-btn-primary:hover {
  transform: translateY(-3px);

  background: #ff751a;

  box-shadow:
    0 0 10px rgba(255, 102, 0, 0.9),
    0 0 25px rgba(255, 102, 0, 0.65),
    0 0 50px rgba(255, 102, 0, 0.4),
    0 0 80px rgba(255, 102, 0, 0.2);
}


.auth-btn:active {
  transform: translateY(0) scale(0.97);
}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 640px) {

  .utility-btn {
    width: 54px;
    height: 54px;
  }


  .utility-icon {
    width: 34px;
    height: 34px;

    font-size: 22px;
  }


  .auth-btn {
    min-width: auto;

    height: 54px;

    padding: 0 16px;

    font-size: 15px;
  }


  .auth-icon {
    font-size: 19px;
  }


  .fixed.bottom-7 {
    right: 16px;
    bottom: 16px;
  }


  .fixed.top-6 {
    right: 16px;
  }

}