
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, sans-serif;
  background: #080b10;
  color: #ffffff;
}
.package.selected-package {
  border: 2px solid #00c853;
  background: rgba(0, 200, 83, 0.15);
  transform: scale(1.02);
}

.package:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.container {
  width: 92%;
  max-width: 520px;
  margin: 35px auto;
}

.logo {
  text-align: center;
  font-size: 50px;
}

h1 {
  text-align: center;
  margin: 8px 0;
}

.subtitle {
  text-align: center;
  color: #f8c8dc;
  margin-bottom: 25px;
}

.card {
  background: #11161d;
  border: 1px solid #252c36;
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

h2 {
  margin-top: 0;
}

.small {
  color: #999;
  font-size: 13px;
}

.packages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 15px;
}

.package {
  border: 1px solid #00c853;
  background: #0d2116;
  color: white;
  border-radius: 12px;
  padding: 18px 10px;
  cursor: pointer;
}

.package strong,
.package span {
  display: block;
}

.package strong {
  font-size: 21px;
}

.package span {
  margin-top: 5px;
  color: #aaa;
}

.package.active {
  background: #00c853;
  color: white;
}

.package.active span {
  color: white;
}

.selected {
  margin-top: 15px;
  padding: 12px;
  background: #080b10;
  border-radius: 8px;
  text-align: center;
  color: #00c853;
}

label {
  display: block;
  margin-top: 18px;
  margin-bottom: 7px;
}

input,
textarea {
  width: 100%;
  border: 1px solid #333;
  background: #080b10;
  color: white;
  border-radius: 9px;
  padding: 14px;
  font-size: 15px;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: #00c853;
}

textarea {
  height: 160px;
  resize: vertical;
}

input[type="file"] {
  padding: 10px;
}

button {
  font-family: inherit;
}

.pay,
.send {
  width: 100%;
  border: 0;
  border-radius: 9px;
  padding: 14px;
  margin-top: 15px;
  background: #00c853;
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

.pay:hover,
.send:hover {
  opacity: .9;
}

#paymentStatus,
#chatStatus {
  text-align: center;
  margin-top: 14px;
  color: #00c853;
}

.error {
  color: #ff5252 !important;
}

.hidden {
  display: none !important;
}

@media (max-width: 420px) {

  .packages {
    grid-template-columns: 1fr;
  }

}
.hidden {
  display: none !important;
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 25px 0;
  color: #888;
  font-size: 13px;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #ddd;
}

.code-login {
  text-align: center;
  padding-top: 5px;
}

.code-login h3 {
  margin-bottom: 5px;
}

#accessCode {
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 8px;
  font-size: 24px;
  font-weight: bold;
  padding: 14px;
  border: 1px solid #ccc;
  border-radius: 10px;
  margin: 10px 0;
}

.code-button {
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 10px;
  background: #222;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

.code-button:disabled {
  opacity: 0.6;
}

.payment-success {
  margin-top: 15px;
  padding: 18px;
  border-radius: 14px;
  background: #e9fff2;
  border: 1px solid #21c76b;
  color: #087a3d;
  text-align: center;
}

.payment-success .success-icon {
  width: 45px;
  height: 45px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: #21c76b;
  color: white;
  font-size: 30px;
  line-height: 45px;
  font-weight: bold;
}

.payment-success strong,
.payment-success span {
  display: block;
}

.payment-success strong {
  font-size: 18px;
  margin-bottom: 5px;
}

.payment-success span {
  font-size: 13px;
  margin-top: 3px;
}

.access-code-box {
  margin: 15px 0;
  padding: 14px;
  border-radius: 12px;
  background: white;
  border: 2px dashed #21c76b;
}

.access-code-box small {
  display: block;
  font-size: 10px;
  letter-spacing: 1px;
}

.access-code-box b {
  display: block;
  font-size: 34px;
  letter-spacing: 10px;
  margin: 5px 0;
}
/* PAYMENT SUCCESS */

.success-card {
  text-align: center;
  border: 1px solid #d9f2df;
  background: #ffffff;
}

.success-icon {
  width: 65px;
  height: 65px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: #e8f5e9;
  color: #1b8f3a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 35px;
  font-weight: bold;
}

.success-card h2 {
  margin-bottom: 8px;
}

.success-text {
  color: #666;
}

.access-code-box {
  margin: 22px auto 15px;
  padding: 20px;
  max-width: 300px;
  border-radius: 14px;
  background: #f5f5f5;
  border: 1px dashed #bbb;
}

.access-code-box span {
  display: block;
  font-size: 13px;
  color: #777;
  margin-bottom: 8px;
}

.access-code-box strong {
  display: block;
  font-size: 38px;
  letter-spacing: 10px;
  margin-left: 10px;
}

.save-warning {
  font-size: 13px;
  color: #777;
  line-height: 1.5;
  max-width: 400px;
  margin: 0 auto 20px;
}

.success-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 320px;
  margin: auto;
}

.save-code-button,
.continue-button {
  width: 100%;
  padding: 13px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
  font-size: 15px;
}

.save-code-button {
  background: #111;
  color: white;
}

.continue-button {
  background: #e8f5e9;
  color: #167a31;
}

#saveCodeStatus {
  min-height: 20px;
  font-size: 13px;
  color: #16823a;
}

.current-code {
  font-size: 12px;
  color: #777;
  background: #f5f5f5;
  padding: 7px 9px;
  border-radius: 8px;
}

.current-code strong {
  color: #111;
}


/* PHONE */

@media (max-width: 500px) {

  .access-code-box strong {
    font-size: 32px;
    letter-spacing: 7px;
  }

  .success-actions {
    max-width: none;
  }

  .chat-header {
    gap: 10px;
  }
}
/* =========================================
   ADVERTISING SECTION
   ========================================= */

#advertisingSection {
  margin-top: 25px;
}

.advert-packages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0;
}

.advert-package {
  padding: 15px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 105, 180, .4);
  background: rgba(255, 255, 255, .04);
  color: inherit;
  cursor: pointer;
  font-family: inherit;
}

.advert-package strong {
  display: block;
  font-size: 20px;
  margin-bottom: 5px;
}

.advert-package span {
  display: block;
  font-size: 12px;
  opacity: .75;
}

.advert-package.active {
  border-color: #ff69b4;
  box-shadow: 0 0 15px rgba(255, 105, 180, .25);
}

.advert-selected-package {
  text-align: center;
  padding: 10px;
  margin-bottom: 18px;
  border-radius: 10px;
  background: rgba(255, 105, 180, .08);
  font-size: 14px;
}

.advert-field {
  margin-bottom: 15px;
}

.advert-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
}

.advert-field input,
.advert-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .05);
  color: inherit;
  font-family: inherit;
  outline: none;
}

.advert-field textarea {
  min-height: 120px;
  resize: vertical;
}

.advert-field input:focus,
.advert-field textarea:focus {
  border-color: #ff69b4;
}

.advert-pay-button {
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 10px;
  background: #25d366;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.advert-status {
  text-align: center;
  margin-top: 12px;
  font-size: 14px;
}


/* PUBLIC ADVERTS */

#publicAdvertsSection {
  margin-top: 25px;
}

#publicAdvertsSection h2 {
  text-align: center;
  margin-bottom: 18px;
}

#publicAdvertsList {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.public-advert-card {
  padding: 16px;
  border-radius: 15px;
  border: 1px solid rgba(255, 105, 180, .3);
  background: rgba(255, 255, 255, .04);
}

.public-advert-card h3 {
  margin: 0 0 8px;
}

.public-advert-description {
  font-size: 14px;
  line-height: 1.6;
  opacity: .85;
}

.public-advert-location,
.public-advert-contact {
  margin-top: 10px;
  font-size: 14px;
}

.public-advert-contact a {
  color: #25d366;
  text-decoration: none;
  font-weight: 700;
}

.public-advert-image {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
}


@media (max-width: 500px) {

  .advert-packages {
    grid-template-columns: 1fr;
  }

}
/* ================================
   PREMIUM SERVICES
================================ */

.premium-services {
  width: 100%;
  margin: 35px 0;
  padding: 20px 0;
  box-sizing: border-box;
}

/* Heading */
.premium-heading {
  text-align: center;
  padding: 0 15px;
  margin-bottom: 25px;
}

.premium-badge {
  display: inline-block;
  padding: 7px 15px;
  border-radius: 30px;
  background: rgba(255, 105, 180, 0.12);
  border: 1px solid rgba(255, 105, 180, 0.45);
  color: #ff69b4;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
}

.premium-heading h2 {
  margin: 12px 0 8px;
  font-size: 25px;
}

.premium-heading p {
  margin: 0;
  font-size: 14px;
  opacity: 0.75;
}

/* Service list */
.premium-services-list {
  width: 100%;
}

/* Service card */
.premium-service-card {
  width: 100%;
  margin-bottom: 35px;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(255, 105, 180, 0.35);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);

  animation: premiumFloat 4s ease-in-out infinite;
}

.premium-service-card:nth-child(2) {
  animation-delay: 0.8s;
}

.premium-service-card:nth-child(3) {
  animation-delay: 1.6s;
}

/* Premium Services - mobile friendly */
.premium-full-image {
  width: 100%;
  max-width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 12px;
}

.premium-full-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Phones */
@media (max-width: 600px) {
  .premium-full-image {
    width: 100%;
    height: 240px;
  }

  .premium-full-image img {
    width: 100%;
    max-width: 100%;
  }


}

/* Floating animation */
@keyframes premiumFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* Service information */
.premium-service-content {
  padding: 22px 18px 20px;
}

.premium-service-content h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.premium-service-content p {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.8;
}

/* Contact button */
.premium-contact-btn {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 14px;
  border-radius: 12px;
  background: #25d366;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;

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

.premium-contact-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.premium-contact-btn:active {
  transform: scale(0.97);
}

/* ================================
   MOBILE
================================ */

@media (max-width: 600px) {

  .premium-services {
    margin: 25px 0;
    padding: 15px 0;
  }

  .premium-heading h2 {
    font-size: 22px;
  }

  .premium-heading p {
    font-size: 13px;
  }

  .premium-service-card {
    margin-bottom: 28px;
    border-radius: 16px;
  }

  /* Smaller image on phones */
  .premium-full-image {
    height: 300px;
  }

  .premium-service-content {
    padding: 18px 15px;
  }

  .premium-service-content h3 {
    font-size: 20px;
  }

  .premium-service-content p {
    font-size: 14px;
  }
}

/* ================================
   TABLETS / DESKTOP
================================ */

@media (min-width: 601px) {
  .premium-full-image {
    height: 340px;
  }
}

/* ================================
   FULL-SCREEN RESPONSIVE IMAGES
   ================================ */

img,
video,
svg,
canvas {
  display: block;
  max-width: 100%;
}

.premium-full-image,
.premium-full-image img,
.public-advert-image {
  max-width: 100%;
  box-sizing: border-box;
}

.premium-full-image {
  width: 100%;
  height: min(100svh, 760px);
  min-height: 280px;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
}

.premium-full-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: fullScreenImageMotion 7s ease-in-out infinite alternate;
  transform-origin: center;
  will-change: transform;
}

.public-advert-image {
  width: 100%;
  height: min(75svh, 620px);
  min-height: 220px;
  object-fit: cover;
  object-position: center;
  animation: fullScreenImageMotion 8s ease-in-out infinite alternate;
  transform-origin: center;
  will-change: transform;
}

/* Supports image elements inside premium cards even if the HTML uses
   .premium-image-wrap instead of .premium-full-image. */
.premium-image-wrap {
  width: 100%;
  height: min(100svh, 760px);
  min-height: 280px;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
}

.premium-image-wrap img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
  animation: fullScreenImageMotion 7s ease-in-out infinite alternate;
  transform-origin: center;
  will-change: transform;
}

@keyframes fullScreenImageMotion {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.06);
  }
}

@media (max-width: 600px) {
  .premium-full-image,
  .premium-image-wrap {
    width: 100%;
    height: 100svh;
    min-height: 280px;
    max-height: 100svh;
  }

  .public-advert-image {
    width: 100%;
    height: 75svh;
    max-height: 75svh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .premium-full-image img,
  .premium-image-wrap img,
  .public-advert-image {
    animation: none;
  }
}

