/* ---------------- Base Styles ---------------- */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: var(--page-bg);
  color: var(--text-color);
}

/* ---------------- Card Container ---------------- */
.card-container {
  max-width: 500px;
  margin: 40px auto;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  color: var(--text-color);
  text-align: center;
  overflow: hidden;
  padding: 20px;

  background: var(--card-bg);
  animation:
    fadeIn 1s ease-out,
    var(--card-animate, none);
}

/* ---------------- Profile Photo ---------------- */
.profile-photo {
  max-width: 120px;
  border-radius: 50%;
  background: var(--card-bg);
  padding: 5px;
  margin-bottom: 10px;
}


.view-btn{
    display:inline-block;
    margin-top:8px;
    padding:8px 16px;
    background:linear-gradient(45deg,#6c63ff,#00c6ff);
    color:#fff;
    text-decoration:none;
    font-weight:bold;
    border-radius:30px;
    transition:0.3s ease;
}

.view-btn:hover{
    opacity:0.9;
    transform:scale(1.05);
}


/* Product Card Layout Fix */
.product-item,
.product-slide {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Push button to bottom */
.product-item .view-btn,
.product-slide .view-btn {
    margin-top: auto;
}

/* Attractive Button Style */
.view-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #6c63ff, #4a44c6);
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    text-align: center;
    transition: 0.3s ease;
}

.view-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.float-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #6c63ff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 9999;
}

.float-btn:hover {
    transform: scale(1.1);
}


/* ---------------- Dividers ---------------- */
.divider {
  border-top: 1px solid rgba(255,255,255,0.4);
  margin: 15px 0;
}

/* ---------------- QR Section ---------------- */
.qr-section {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 25px;
}

.qr-section div {
  background: rgba(255,255,255,0.9);
  border-radius: 15px;
  padding: 15px 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  width: 90%;
  max-width: 320px;
  text-align: center;
}

.qr-section img {
  width: 220px;
  height: 220px;
  object-fit: contain;
  border: 3px solid #ccc;
  border-radius: 12px;
  background: var(--card-bg);
  padding: 5px;
}

.qr-section p {
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-color);
}

/* ---------------- Links ---------------- */
a {
  color: #bbdefb;
  text-decoration: none;
}

a:hover {
  color: var(--text-color);
}

/* ---------------- Floating Buttons ---------------- */
.float-btn {
  position: fixed;
  bottom: 20px;
  z-index: 1000;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-color);
  font-size: 26px;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.25);
  transition: transform 0.2s ease;
}

.float-btn:hover {
  transform: scale(1.1);
}

.call-btn { right: 20px; background-color: #3f51b5; }
.whatsapp-btn { left: 20px; background-color: #25D366; }

/* ---------------- Meta Info ---------------- */
.meta {
  font-size: 0.9em;
  margin-top: 10px;
  color: var(--text-color);
}

/* ---------------- Share Link ---------------- */
.share a {
  display: inline-block;
  background-color: #25D366;
  color: var(--text-color);
  padding: 10px 20px;
  border-radius: 25px;
  margin-top: 15px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.share a:hover {
  background-color: #128C7E;
}

/* ---------------- Fade-in Animation ---------------- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }


}
/* =====================================
   🌌 Dynamic Glow Based On Theme
===================================== */

.card-container {
  position: relative;
  overflow: hidden;
}

/* Glow Layer */
.card-container::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, var(--glow-color), transparent 60%);
  top: var(--x, 50%);
  left: var(--y, 50%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: opacity 0.3s ease;
  opacity: 0;
  filter: blur(20px);
}

.card-container.active::before {
  opacity: 1;
}

/* arrow on slider*/
.slider-wrapper {
  position: relative;
  overflow: hidden;
}

.product-slider {
  display: flex;
  gap: 20px;
  transition: transform 0.3s ease;
}

.product-slider-wrapper {
  position: relative;
  overflow: hidden;
}

/* Arrow Buttons */
/* Product Slider Wrapper */
.product-slider-wrapper {
  position: relative;
  overflow: hidden;
}

/* Neon Glass Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  font-size: 24px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #00f2fe;
  text-shadow: 0 0 8px #00f2fe, 0 0 16px #4facfe;
  box-shadow: 0 0 10px #00f2fe, 0 0 20px #4facfe;
  z-index: 20;
  transition: all 0.3s ease;
}

.slider-arrow:hover {
  color: #00fff0;
  text-shadow: 0 0 12px #00fff0, 0 0 24px #4fffff;
  box-shadow: 0 0 15px #00fff0, 0 0 30px #4fffff;
  transform: translateY(-50%) scale(1.1);
}

.slider-arrow.left {
  left: 8px;
}

.slider-arrow.right {
  right: 8px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .slider-arrow {
    width: 38px;
    height: 38px;
    font-size: 20px;
  }
}