.premium-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    animation: slideInFromRight 0.6s ease-out;
}

/* Back button: remove negative shift */
.back-btn {
    position: absolute;
    top: 2rem;
    left: 1rem; /* was -8.5rem */
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.back-btn i {
    font-size: 1.2rem;
}

.back-btn:hover {
    background: rgba(233, 30, 99, 0.2);
    transform: translateX(-5px);
}

/* Mobile full-width flush (override desktop centering) */
@media (max-width: 768px) {
    .premium-content {
        max-width:100% !important;
        width:100% !important;
        margin:0 !important;
        padding:60px 14px 110px !important; /* reduce side padding */
        box-sizing:border-box;
    }
    .back-btn {
        position:fixed;
        top:14px;
        left:14px;
        z-index:1200;
    }
    /* Grid o singură coloană (păstrat de aici, nu duplicat în responsive.css) */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Narrow devices */
@media (max-width: 420px){
    .premium-content { padding:56px 10px 106px !important; }
    .back-btn { left:10px; top:12px; }
}

.premium-header {
    text-align: center;
    margin-bottom: 4rem;
}

.premium-icon {
    font-size: 4rem;
    color: #e91e63;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards,
              rotate 1s ease-out forwards;
    transform-origin: center;
}

.premium-header h1 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
    animation-delay: 0.1s;
}

.premium-price {
    font-size: 2rem;
    color: #e91e63;
    font-weight: 600;
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
    animation-delay: 0.3s;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeIn 0.5s ease-out forwards;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.feature-card i {
    font-size: 2.5rem;
    color: #e91e63;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.feature-card:nth-child(1) { animation-delay: 0.2s; }
.feature-card:nth-child(2) { animation-delay: 0.3s; }
.feature-card:nth-child(3) { animation-delay: 0.4s; }
.feature-card:nth-child(4) { animation-delay: 0.5s; }
.feature-card:nth-child(5) { animation-delay: 0.6s; }
.feature-card:nth-child(6) { animation-delay: 0.7s; }

.premium-cta {
    text-align: center;
}

.subscribe-btn {
    background: linear-gradient(45deg, #e91e63, #ff4081);
    border: none;
    color: white;
    padding: 1rem 3rem;
    font-size: 1.25rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
    animation-delay: 1s;
}

.subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.premium-guarantee {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
    animation-delay: 1.2s;
}

@media (max-width: 768px) {
    .premium-content {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 60px 14px 110px !important;
        box-sizing: border-box;
    }
    .back-btn {
        position: fixed;
        top: 14px;
        left: 14px;
        z-index: 1200;
    }
    /* Grid o singură coloană (păstrat de aici, nu duplicat în responsive.css) */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Narrow devices */
@media (max-width: 420px) {
  .premium-content { padding: 56px 10px 106px !important; }
  .back-btn { left: 10px; top: 12px; }
}

/* REMOVE (ȘTERGE) al doilea bloc mobil de la linia 153–158:
@media (max-width: 768px) {
    .premium-content { padding: 2rem 1rem; }
    .features-grid { grid-template-columns: 1fr; }
}
*/

/* Add these styles for the back button */
.back-btn {
    position: absolute;
    top: 2rem;
    left: 1rem; /* was -8.5rem */
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.back-btn i {
    font-size: 1.2rem;
}

.back-btn:hover {
    background: rgba(233, 30, 99, 0.2);
    transform: translateX(-5px);
}

/* Update main-content to accommodate the back button */
.main-content {
    position: relative;
    width: 100%;
}

/* Add animation keyframes */
@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes rotate {
    from {
        transform: rotate(-180deg) scale(0.5);
    }
    to {
        transform: rotate(0) scale(1);
    }
}

.custom-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.custom-modal .modal-content {
  background: #1c1c1c;
  color: #fff;
  padding: 24px 32px;
  border-radius: 8px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.custom-modal .modal-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}

.btn {
  padding: 10px 20px;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.btn-danger {
  background-color: #e53935;
  color: #fff;
}

.btn-secondary {
  background-color: #555;
  color: #fff;
}

.toast-message {
  position: fixed;
  bottom: 20px;
  right: 20px;
  left: auto;              /* 🔒 Important să nu fie centrat */
  margin: 0;               /* 🔒 Elimină orice centrare */
  transform: none;         /* 🔒 Elimină transformări implicite */
  background-color: #333;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 15px;
  z-index: 9999;
  opacity: 0;
  animation: fadeInOut 4s forwards;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  max-width: 300px;
  width: auto;
  word-wrap: break-word;
}



.toast-message.success {
  background-color: #284aa7;
}

.toast-message.error {
  background-color: #e74c3c;
}

@keyframes fadeInOut {
  0% { opacity: 0; transform: translateY(20px); }
  10%, 90% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(20px); }
}

/* ====== Buttons (same style as your Premium CTA) ====== */
/* Premium buttons (Get, Cancel, Buy More) */
.subscribe-btn {
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:12px 28px;
  border:0;
  border-radius:999px;
  background:#ff2f76;      /* roz intens */
  color:#fff;
  font-weight:800;
  font-size:15px;
  text-decoration:none;
  cursor:pointer;
  box-shadow:0 6px 16px rgba(255,47,118,.35);
  transition: all .2s ease;
}

.subscribe-btn:hover {
  filter:brightness(1.1);
}

.subscribe-btn i {
  font-size:14px;
}



.premium-cta{ margin-top:14px; }
.extra-cta{ text-align:center; } /* center the extra button */

.buy-extra-btn .coin{
  width:18px; height:18px; border-radius:50%;
  display:inline-block; position:relative; top:1px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.35), transparent 55%),
              linear-gradient(145deg, #ffdc7a, #c58a24);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.15), 0 6px 18px rgba(255,194,75,.25);
}

/* ====== Balance card ====== */
.balance-card{
  margin-top:18px; background:rgba(255,255,255,.08); color:#ffffff;
  border:1px solid rgba(255,255,255,.08); border-radius:16px;
  padding:16px 16px 12px; max-width:560px; margin-left:auto; margin-right:auto;
  box-shadow:0 10px 30px rgba(0,0,0,.35);
}

.balance-card h3{
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
  background: linear-gradient(90deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888);
  background-clip: text;            /* standard */
  -webkit-background-clip: text;    /* WebKit */
  color: transparent;               /* înlocuiește -webkit-text-fill-color */
}


.balance-list{
  list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px;
}
.balance-list li{
  display:flex; align-items:center; justify-content:space-between;
  background:#181818; border:1px solid rgba(255,255,255,.06);
  border-radius:12px; padding:10px 12px;
}
.balance-list .label{ color:#cccccc; font-weight:600; }
.balance-list .value{ color:#ffffff; font-weight:800; }

.balance-list .total{
  border-color: rgba(204,35,102,.35);
  box-shadow: 0 0 0 1px rgba(204,35,102,.25) inset;
}
.balance-list .total .value{
  color:#ffffff; font-weight:900;
}

.balance-card .hint{
  margin:10px 2px 0; font-size:12px; color:#cccccc;
  opacity:.9;
}

/* Optional: small responsiveness */
@media (max-width:520px){
  .balance-card{ border-radius:12px; }
  .balance-list li{ padding:10px; }
}
