/*********************************************
 * ROLLING BANNER
 *********************************************/
.rolling-banner {
  color: white;
  text-align: center;
  padding: 10px 0;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
  margin-bottom: 4px;
  width: 100%;
}

.rolling-banner-expo {
  color: yellow;
  text-align: center;
  padding: 10px 0;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
  margin-bottom: 4px;
  width: 100%;
  background-color: red;
}

.rolling-banner span {
  display: inline-block;
  animation: scroll-text 10s linear infinite;
  font-family: inherit;
}
@keyframes scroll-text {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/*********************************************
 * ICONS (ACCOUNT & CART)
 *********************************************/
.icon-container {
  position: absolute;
  top: 10px;
  right: 20px;
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Account Icon */
.account-icon,
.cart-icon {
  position: relative;
  width: 50px;
  height: 50px;
  cursor: pointer;
}
.account-icon img {
  width: 100%;
  height: 100%;
}

/* Sparkles */
.sparkle {
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: transparent;
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
  opacity: 0;
  transform: scale(0.5) rotate(0deg);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}
.sparkle1 {
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #b4d855;
}
.sparkle2 {
  bottom: -10px;
  right: 0;
  background-color: #00f2ea;
}
.sparkle3 {
  top: 50%;
  left: -10px;
  transform: translateY(-50%);
  background-color: #ff69b4;
}
.account-icon:hover .sparkle {
  opacity: 1;
  transform: scale(1.2) rotate(45deg);
  animation: sparkle-animation 1s infinite ease-in-out;
}
@keyframes sparkle-animation {
  0%,
  100% {
    transform: scale(0.5) rotate(0deg);
    opacity: 0.5;
  }
  50% {
    transform: scale(2) rotate(45deg);
    opacity: 1;
  }
}

/* Cart Icon & Envelope Flap */
.cart-icon .envelope-base img,
.cart-icon .envelope-flap img {
  width: 100%;
  height: 100%;
}
.cart-icon .envelope-flap {
  position: absolute;
  top: 18px;
  left: 5px;
  width: 80%;
  transform-origin: top center;
  transition: transform 0.3s ease-in-out;
}
.cart-icon:hover .envelope-flap {
  transform: rotateX(-180deg);
}
.cart-count {
  position: absolute;
  top: 28px;
  left: 23px;
  transform: translate(-50%, -50%);
  opacity: 0;
  scale: 80%;
  transition: opacity 0.3s ease-in-out;
}
.cart-count img {
  width: 20px;
  display: block;
}
.cart-number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 10px;
  font-weight: bold;
  font-family: inherit;
  pointer-events: none;
}
.cart-icon:hover .cart-count {
  opacity: 1;
}

/*********************************************
 * MAIN CONTENT AREA
 *********************************************/
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 5px 0 5px;
  padding: 10px;
  max-width: 100%;
  overflow-x: hidden;
  border-radius: 8px;
}

.notification-box-large,
.content-box,
.notification-box-pulse {
  width: 100%;
  max-width: 100%;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.589);
  font-family: inherit;
  position: relative;
  margin: 0 auto 20px;
  border-radius: 8px;
  background-color: #e6e6fa;
  text-align: center;
  display: inline-block;
}
.notification-box-pulse .title-bar,
.notification-box-large .title-bar-large {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  border-radius: 8px 8px 0 0;
  font-weight: bold;
}

/* Notification Boxes */
.notification-box-pulse {
  animation: pulse 1.5s infinite;
  height: 10%;
}
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: var(--pulse-shadow-small);
  }
  50% {
    transform: scale(1.05);
    box-shadow: var(--pulse-shadow-big);
  }
  100% {
    transform: scale(1);
    box-shadow: var(--pulse-shadow-small);
  }
}
.notification-box-pulse .title-bar {
  padding: 5px;
  font-size: 15px;
}
.notification-box-pulse .content {
  padding: 20px;
}
.notification-box-pulse .content h1 {
  font-size: 15px;
  margin: 0 0 10px;
  color: #333;
}
.notification-box-pulse .content p {
  margin: 0 0 20px;
  color: #666;
}
.notification-box-pulse .button-row {
  display: inline-flex;
  justify-content: center !important;
  align-items: center;
  gap: 1rem;
  width: auto;
}
.button-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0.5rem auto 0.75rem;
}
.styled-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  border: 2px solid #333;
  border-radius: 5px;
  font-family: 'Courier New', monospace;
  cursor: pointer;
  box-shadow: 2px 2px 0px #333;
  transition: transform 0.2s, box-shadow 0.2s;
  width: auto;
  min-height: 36px;
  padding: 0.01rem 0.75rem;
  font-size: small;
  text-decoration: none;
}
.styled-button:hover {
  transform: translateY(-2px);
  box-shadow: 1px 1px 0px #333;
}
.styled-button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
a.styled-button,
a.styled-button:link,
a.styled-button:visited {
  color: white;
  text-decoration: none !important;
}
a.styled-button:hover {
  color: white !important;
  text-decoration: none !important;
}

/* === Lucky Modal overlay === */
/* Selector modal must sit above Lucky (Lucky is z-index: 9999) */
.modal { 
  z-index: 10050 !important;     /* higher than .lucky-modal */
  position: fixed;               /* make sure it’s fixed, not static */
}

/* While the selector is open, make Lucky inert (unclickable / dim) */
.lucky-modal.is-inert {
  pointer-events: none;
  filter: blur(1px) brightness(.9);
}



.slot-machine-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 1rem auto;
}

.lucky-modal {
  display: none; /* hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Close button inside lucky modal */
.lucky-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 28px;
  font-weight: bold;
  color: #666;
  cursor: pointer;
  transition: color 0.2s ease;
  z-index: 2000;
}
.lucky-close:hover {
  color: #000;
}

/* Modal content box */
.lucky-content {
  position: relative;
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  width: 90%;
  max-width: 800px;
  border: 30px solid var(--border-start);
  box-shadow: 0 0 20px var(--border);
  text-align: center;
  animation: popIn 0.3s ease;
}
.lucky-content.flash {
  animation: borderFlash 0.3s alternate infinite;
}
@keyframes borderFlash {
  from {
    box-shadow: 0 0 10px var(--border-start);
    border-color: var(--border-start);
  }
  to {
    box-shadow: 0 0 20px var(--border-end);
    border-color: var(--border-end);
  }
}

/* Slot machine layout */
.slot-machine {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1.2rem auto 0.4rem;
}
.reel {
  width: 120px;
  height: 200px;
  background: #eee;
  border-radius: 1rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-size: 200% auto;
  background-position: 20% center;
  transition: background-image 0.3s ease;
}
.reel.spinning {
  animation: spinReel 10s ease-out;
}
.reel.stop {
  animation: glowPulse 10s ease;
}
#reel1 { --reel-size: 220% auto; --reel-x: 25%; }
/* Reels animation */
@keyframes popIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes spinReel {
  0% {
    filter: blur(0px);
    transform: translateY(0) scale(1);
  }
  20% {
    filter: blur(4px);
    transform: translateY(-40px) scale(1.05);
  }
  40% {
    filter: blur(6px);
    transform: translateY(40px) scale(0.95);
  }
  60% {
    filter: blur(14px);
    transform: translateY(-20px) scale(1.03);
  }
  80% {
    filter: blur(2px);
    transform: translateY(10px) scale(0.98);
  }
  100% {
    filter: blur(0px);
    transform: translateY(0) scale(1);
  }
}
@keyframes glowPulse {
  0% {
    box-shadow: 0 0 0px var(--border);
  }
  100% {
    box-shadow: 0 0 20px var(--border);
  }
}

/* Header inside modal */
.slot-machine-header {
  text-align: center;
  margin-bottom: 1rem;
}
.slot-machine-header h2 {
  color: var(--primary);
  font-size: 1.4rem;
  margin: 0.2em 0;
}
.slot-machine-header p {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
}

/* Scale-style labels under slot machine */
.reel-label-scale {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 80%;
  max-width: 600px;
  margin: 0.5rem auto 1.2rem;
  font-size: 0.85rem;
  font-weight: bold;
  color: #444;
  text-transform: capitalize;
}

.reel-label-scale .line {
  flex: 1;
  height: 1px;
  background: #aaa;
  margin: 0 0.5rem;
  position: relative;
}

.reel-label-scale .line::before,
.reel-label-scale .line::after {
  content: '';
  position: absolute;
  top: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #aaa;
}

.reel-label-scale .line::before {
  left: 0;
}
.reel-label-scale .line::after {
  right: 0;
}

/* Button styles */
.lucky-button {
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  border: 2px solid #333;
  cursor: pointer;
  font-weight: bold;
  background-color: var(--primary);
  color: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
  margin-top: 20px;
}
.lucky-button:hover {
  transform: translateY(-2px);
  box-shadow: 2px 2px 0px #333;
}
.lucky-button.add-set {
  background-color: var(--hover);
}
.lucky-button:disabled,
.lucky-button[disabled] {
  background-color: #ccc !important;
  border-color: #aaa !important;
  color: #666 !important;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

  /* // Rotation prompt (comment out, functions seems unnecessary for mobile)//      */
/* .rotate-prompt p {
  display: none; 
} */

/***********************************
 * BUILD YOUR SET GUIDE STRIP
************************************/
.build-guide-strip {
  width: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 18px 24px;
  margin: 0 auto 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 2px 8px var(--shadow-color);
}

.build-guide-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.build-guide-icon {
  width: 58px;
  height: 58px;
  border: 2px dashed var(--primary);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.45);
  opacity: 60%;
}

.build-guide-item h3 {
  margin: 0 0 6px;
  color: var(--primary);
  font-size: 1rem;
  line-height: 1.1;
}

.build-guide-item p {
  margin: 0;
  color: #333;
  font-size: 0.82rem;
  line-height: 1.35;
}

.build-guide-sparkle {
  color: var(--primary);
  font-size: 1.35rem;
  opacity: 0.85;
}
/***********************************
 * REVIEWS / TESTIMONIALS
************************************/
.reviews-section {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  padding: 18px 0 20px 0;
  margin: 24px 0 0;
  background: transparent;
  overflow: hidden;
}

.reviews-title {
  text-align: left;
  max-width: auto;
  margin: 0 auto 12px;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: var(--primary);
  padding-left: 10px;
}

.reviews-carousel {
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden;  
  padding: 0 60px;
}

.reviews-carousel-track {
  align-items: center;
  gap: 1em;
}

.review-bubble {
  flex: 0 0 300px;
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 10px;
  margin: 0;
  max-width: none;
}

.review-img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
  background: #fff;
  flex-shrink: 0;
}

.review-text {
  position: relative;
  background: #fffafc;
  border: 2px solid #333;
  border-radius: 0;
  padding: 10px 12px;
  font-size: 0.72rem;
  color: #333;
  line-height: 1.35;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.35);
}

.reviews-carousel-indicator {
  margin-top: 12px;
}

/* Simple tail from image/avatar to review bubble */
.review-text {
  position: relative;
  overflow: visible;
}

/* border piece */
.review-text::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 34px;
  width: 18px;
  height: 18px;
  background: #333;
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
}

/* inner fill */
.review-text::after {
  content: "";
  position: absolute;
  left: -14px;
  top: 37px;
  width: 14px;
  height: 12px;
  background: #fffafc;
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
}

/* @media (max-width: 650px) {
  .reviews-section {
    padding: 24px 12px 30px;
  }

  .review-bubble {
    flex-basis: 88vw;
    grid-template-columns: 76px 1fr;
    gap: 10px;
  }

  .review-img {
    width: 76px;
    height: 76px;
  }

  .review-text {
    font-size: 0.82rem;
    padding: 12px 14px;
  }
} */



/* Larger Notification Box - WHATS HOTT */
.notification-box-large {
  min-height: 400px;
  height: auto;
}
.notification-box-large .title-bar-large {
  font-size: 20px;
  padding: 10px;
}
.notification-box-large .content {
  overflow-y: visible;
  position: relative;
  height: auto;
  padding: 1.5em 2em 1.5em;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  max-height: calc(100% - 4em);
  margin-top: 10px;
}

/* Flash Animations */
.flash-1 {
  animation: flash-1 3s infinite;
}
.flash-2 {
  animation: flash-2 2s infinite;
}
.flash-3 {
  animation: flash-3 1.5s infinite;
}
@keyframes flash-1 {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes flash-2 {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes flash-3 {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/*********************************************
 * NAIL TIPS SECTION (CAROUSEL)
 *********************************************/
 .nail-tips-section {
  text-align: center;
  padding: 1em;
  background-color: #e6e6fa;
  max-width: 100%;
  overflow-x: hidden;
}
.nail-tips-title {
  font-size: 2em;
  margin-bottom: 1em;
  font-weight: bold;
  text-align: center;
}
.carousel-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  box-sizing: border-box;
}
.carousel {
  display: flex;
  gap: 1em;
  transition: transform 0.3s ease-in-out;
  box-sizing: border-box;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  padding-bottom: 1em;

}
.carousel img,
.carousel a,
.carousel button {
  -webkit-user-drag: none;
}

.carousel a,
.carousel button {
  touch-action: manipulation;
}

.tip-card {
  flex: 0 0 300px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.445);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.tip-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-bottom: 2px solid #ff69b437;
}
.card-content {
  padding: 1em;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex-grow: 1;
}
.tip-title {
  font-size: 1em;
  color: #333;
  margin-bottom: 0.5em;
}
.tip-preview {
  font-size: 0.8em;
  color: #666;
  flex-grow: 1;
}
.read-more-btn {
  color: #fff;
  border: none;
  padding: 0.5em 1em;
  border-radius: 5px;
  margin-top: auto;
  cursor: pointer;
  transition: background-color 0.2s;
}
.logo-overlay {
  position: absolute;
  bottom: 10px;
  right: 10px;
  opacity: 0.2;
  width: 50px;
  height: auto;
}
.semi-transparent-logo {
  width: 100%;
}
.share-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #fff;
  border: none;
  padding: 0.3em 0.6em;
  font-size: 0.8em;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.2s;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.8);
  border: none;
  font-size: 2em;
  cursor: pointer;
  padding: 0.5em;
  z-index: 10;
}
.left-btn {
  left: 0;
}
.right-btn {
  right: 0;
}
.carousel-indicator {
  margin-top: 1em;
  display: flex;
  justify-content: center;
  gap: 0.5em;
}

/* What’s Hot carousel card sizing */
.hot-carousel-track {
  gap: 1rem;
  align-items: stretch;
}

.hot-carousel-track .product-card {
  flex: 0 0 190px;
  width: 190px;
  min-height: 360px;
  padding: 12px;
  margin-bottom: 0;
}

.hot-carousel-track .product-card img {
  width: 100%;
  height: 210px;
  aspect-ratio: auto;
  object-fit: contain;
}

.hot-carousel-track .product-card-tag {
  font-size: 0.95rem;
  line-height: 1.3;
}
/* What’s Hot — reset dot buttons so they render as true circles */
.hot-carousel-indicator .dot,
.carousel-indicator .dot {
  appearance: none;
  -webkit-appearance: none;
  display: inline-block;
  box-sizing: content-box;
  padding: 0;
  margin: 0;
  border: 1px solid var(--shadow-color, rgba(0,0,0,.25));
  background: var(--surface, #fff);
  width: 10px;
  height: 10px;
  line-height: 0;         /* kill text metrics expansion */
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.15s;
}
.hot-carousel-indicator .dot.active,
.carousel-indicator .dot.active {
  background-color: var(--shadow-color, #333);
  transform: scale(1.1);
}

/* keep the indicator row tidy */
.hot-carousel-indicator, .carousel-indicator {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  margin-top: 1rem;
  padding-bottom: 1rem;

}

/* What’s Hot carousel: visually disable arrows at ends */
.carousel-btn[disabled] {
  opacity: 0.35;
  pointer-events: none;
  cursor: default;
}


/*********************************************
 *FORM: contact and log in
 *********************************************/
#input-form {
  width: 90%;
  margin: 5px auto;
  padding: 20px;
  background: #e6e6fa;
  text-align: center;
}
#input-form h2 {
  font-size: 2em;
  margin-bottom: 15px;
  font-weight: bold;
}
form button {
  color: white;
  border: none;
  padding: 12px;
  font-size: 1.1em;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 20%;
  margin-top: 1em;
}
#contact-form,
#login-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
#input-form label {
  font-size: 1em;
  font-weight: bold;
  color: #333;
  text-align: center;
  display: block;
}
#input-form input,
#input-form select,
#input-form textarea {
  width: 90%;
  padding: 10px;
  border: 2px solid #ccc;
  border-radius: 5px;
  font-size: 1em;
  transition: border-color 0.3s;
}
#input-form input:focus,
#input-form select:focus,
#input-form textarea:focus {
  outline: none;
}

/*********************************************
 * CONTACT US SECTION
 *********************************************/

.contact-row {
  display: flex;
  justify-content: space-between;
  gap: 50px;
}
.contact-field {
  width: 50%;
}

#message {
  width: 80%;
  margin: 0 auto;
  display: block;
}
#char-counter {
  font-size: 0.9em;
  color: #666;
  text-align: right;
  width: 80%;
  margin: 0 auto;
}


