/* --- EDITABLE DEFAULTS --- */
:root {
  --background-gradient-start: #fad961;
  --background-gradient-end: #f76b1c;
  --card-background: rgba(255, 255, 255, 0.5);
  --primary-text-color: #2c2c2c;
  --secondary-text-color: #5a5a5a;
  --accent-color: #000000;
  --shadow-color: rgba(0, 0, 0, 0.15);
  --ripple-color: rgba(0, 0, 0, 0.1);
  --main-font: "Poppins", sans-serif;
}

/* --- BASE & RESET STYLES --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--main-font);
  background: linear-gradient(
    135deg,
    var(--background-gradient-start),
    var(--background-gradient-end)
  );
  color: var(--primary-text-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
  overflow: hidden;
  position: relative;
}

/* --- DYNAMIC & LAYERED BACKGROUND --- */
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background-image: url("./images/food1.png"), url("./images/food2.png"),
    url("./images/food3.png");
  background-repeat: no-repeat;
  background-position: 10% 20%, 90% 80%, 50% 50%;
  background-size: 25%, 30%, 20%;
  opacity: 0.2;
  mix-blend-mode: multiply;
}

.background-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.shape {
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  animation: float 20s infinite linear;
}
.shape:nth-child(1) {
  width: 80px;
  height: 80px;
  top: 15%;
  left: 10%;
  animation-duration: 25s;
}
.shape:nth-child(2) {
  width: 100px;
  height: 100px;
  top: 70%;
  left: 80%;
  animation-duration: 18s;
}
.shape:nth-child(3) {
  width: 50px;
  height: 50px;
  top: 80%;
  left: 20%;
  animation-duration: 22s;
}
.shape:nth-child(4) {
  width: 60px;
  height: 60px;
  top: 20%;
  left: 75%;
  animation-duration: 30s;
  animation-delay: 2s;
}
.shape:nth-child(5) {
  width: 120px;
  height: 120px;
  top: 50%;
  left: 50%;
  animation-duration: 15s;
}
.shape:nth-child(6) {
  width: 40px;
  height: 40px;
  top: 5%;
  left: 40%;
  animation-duration: 28s;
}

/* --- CARD & ELEMENT STYLING --- */
.main-title {
  font-size: 1rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 20px;
  color: rgba(0, 0, 0, 0.6);
  animation: fadeInDown 0.8s 0.2s backwards;
}

.card-container {
  width: 100%;
  max-width: 380px;
  background: var(--card-background);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 30px;
  text-align: center;
  box-shadow: 0 15px 35px var(--shadow-color);
  transform: translateY(40px) scale(0.95);
  opacity: 0;
  animation: fadeInCard 0.8s 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.card-header {
  margin-bottom: 25px;
}
.logo {
  width: 150px;
  height: 150px;
  border-radius: 100%;
  /* border: 3px solid var(--accent-color,.90); */
  object-fit: contain;
  padding:10px ;
  /* margin-bottom: 20px; */
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}
.name {
  font-size: 2rem;
  font-weight: 700;
}
.title {
  font-size: 1rem;
  font-weight: 400;
  color: var(--secondary-text-color);
  margin-top: 5px;
}

.social-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}
.social-icon-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--primary-text-color);
  transition: transform 0.2s ease;
}
.social-icon-wrapper:active {
  transform: scale(0.9);
}
.social-icon-wrapper span {
  font-size: 0.75rem;
  margin-top: 8px;
  font-weight: 600;
}
.social-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
}
.social-icon img {
  width: 28px;
  height: 28px;
}

.info-sections {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.info-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: #ffffff;
  text-decoration: none;
  padding: 15px 20px;
  border-radius: 15px;
  font-size: 1rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.info-button .button-icon {
  width: 20px;
  height: 20px;
  margin-right: 12px;
  filter: invert(1);
}
.info-button:active {
  transform: scale(0.96);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.credits {
  font-size: 0.75rem;
  color: rgba(0, 0, 0, 0.5);
  margin-top: 25px;
  animation: fadeIn 1s 1.5s backwards;
}

/* --- ANIMATIONS --- */
@keyframes fadeInCard {
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes float {
  from {
    transform: translateY(100vh) rotate(0deg);
  }
  to {
    transform: translateY(-100vh) rotate(720deg);
  }
}
.card-header > *,
.social-links > *,
.info-sections > * {
  opacity: 0;
  animation: fadeInUpElement 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
.card-header .logo {
  animation-delay: 0.7s;
}
.card-header .name {
  animation-delay: 0.9s;
}
.card-header .title {
  animation-delay: 1s;
}
.social-links > *:nth-child(1) {
  animation-delay: 1.1s;
}
.social-links > *:nth-child(2) {
  animation-delay: 1.2s;
}
.social-links > *:nth-child(3) {
  animation-delay: 1.3s;
}
.social-links > *:nth-child(4) {
  animation-delay: 1.4s;
}
.info-sections > *:nth-child(1) {
  animation-delay: 1.5s;
}
.info-sections > *:nth-child(2) {
  animation-delay: 1.6s;
}
@keyframes fadeInUpElement {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- RIPPLE EFFECT --- */
.ripple {
  position: relative;
  overflow: hidden;
}
.ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: var(--ripple-color);
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  pointer-events: none;
}
@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}
