/* Copyright 2013 The Chromium Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file. */

html, body {
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
}

.icon {
  -webkit-user-select: none;
  user-select: none;
  display: inline-block;
}

.icon-offline {
  content: -webkit-image-set( url(assets/default_100_percent/100-error-offline.png) 1x, url(assets/default_200_percent/200-error-offline.png) 2x);
  position: relative;
}

.hidden {
  display: none;
}


/* Offline page */

.offline .interstitial-wrapper {
  color: #2b2b2b;
  font-size: 1em;
  line-height: 1.55;
  margin: 0 auto;
  max-width: 600px;
  padding-top: 100px;
  width: 100%;
}

.offline .runner-container {
  height: 150px;
  max-width: 600px;
  overflow: hidden;
  position: absolute;
  top: 35px;
  width: 44px;
}

.offline .runner-canvas {
  height: 150px;
  max-width: 600px;
  opacity: 1;
  overflow: hidden;
  position: absolute;
  top: 0;
  z-index: 2;
}

.offline .controller {
  background: rgba(247, 247, 247, .1);
  height: 100vh;
  left: 0;
  position: absolute;
  top: 0;
  width: 100vw;
  z-index: 1;
}

#offline-resources {
  display: none;
}

@media (max-width: 420px) {
  .suggested-left > #control-buttons, .suggested-right > #control-buttons {
    float: none;
  }
  .snackbar {
    left: 0;
    bottom: 0;
    width: 100%;
    border-radius: 0;
  }
}

@media (max-height: 350px) {
  h1 {
    margin: 0 0 15px;
  }
  .icon-offline {
    margin: 0 0 10px;
  }
  .interstitial-wrapper {
    margin-top: 5%;
  }
  .nav-wrapper {
    margin-top: 30px;
  }
}

@media (min-width: 600px) and (max-width: 736px) and (orientation: landscape) {
  .offline .interstitial-wrapper {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (min-width: 420px) and (max-width: 736px) and (min-height: 240px) and (max-height: 420px) and (orientation:landscape) {
  .interstitial-wrapper {
    margin-bottom: 100px;
  }
}

@media (min-height: 240px) and (orientation: landscape) {
  .offline .interstitial-wrapper {
    margin-bottom: 90px;
  }
  .icon-offline {
    margin-bottom: 20px;
  }
}

@media (max-height: 320px) and (orientation: landscape) {
  .icon-offline {
    margin-bottom: 0;
  }
  .offline .runner-container {
    top: 10px;
  }
}

@media (max-width: 240px) {
  .interstitial-wrapper {
    overflow: inherit;
    padding: 0 8px;
  }
}

.arcade-mode,
.arcade-mode .runner-container,
.arcade-mode .runner-canvas {
  image-rendering: pixelated;
  max-width: 100%;
  overflow: hidden;
}

.arcade-mode #buttons,
.arcade-mode #main-content {
  opacity: 0;
  overflow: hidden;
}

.arcade-mode .interstitial-wrapper {
  height: 100vh;
  max-width: 100%;
  overflow: hidden;
}

.arcade-mode .runner-container {
  left: 0;
  margin: auto;
  right: 0;
  transform-origin: top center;
  transition: transform 250ms cubic-bezier(0.4, 0, 1, 1) 400ms;
  z-index: 2;
}

/* Custom styles for T-Rex themes */

body {
  transition: background 1.5s ease, color 1.5s ease;
  overflow: hidden;
  background-color: #f7f7f7;
}

.offline .interstitial-wrapper {
  position: relative;
  overflow: visible;
  z-index: 5;
}

/* Theme Stage Backgrounds */
body.theme-default {
  background: #f7f7f7;
  color: #535353;
}

body.theme-sunset {
  background: linear-gradient(180deg, #ff7e5f, #feb47b);
  color: #fff;
}

body.theme-night {
  background: linear-gradient(180deg, #0f2027, #203a43, #2c5364);
  color: #fff;
}

body.theme-city {
  background: linear-gradient(180deg, #0d0b18, #181528, #2c1a4d);
  color: #fff;
}

body.theme-desert {
  background: linear-gradient(180deg, #f4a261, #e76f51, #e9c46a);
  color: #2b2b2b;
}

body.theme-space {
  background: linear-gradient(180deg, #000428, #004e92);
  color: #fff;
}

body.theme-rain {
  background: linear-gradient(180deg, #2b3a4a, #1a2230);
  color: #fff;
}

body.theme-snow {
  background: linear-gradient(180deg, #d2dbdb, #a8c0c0, #608890);
  color: #2b2b2b;
}

/* Canvas Inversion for Dark Themes */
body.theme-night .runner-canvas,
body.theme-city .runner-canvas,
body.theme-space .runner-canvas,
body.theme-rain .runner-canvas {
  filter: invert(1) drop-shadow(0 0 4px rgba(255, 255, 255, 0.15));
}

/* Global Overlay Styling */
.theme-overlay {
  position: absolute;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.5s ease;
}

/* Sun Overlay */
.sun {
  top: 127px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: linear-gradient(to bottom, #ff9f43, #ff3f34);
  box-shadow: 0 0 40px rgba(255, 63, 52, 0.6);
  z-index: 1;
  transition: opacity 1.5s ease, transform 1.5s ease;
}
body.theme-sunset .sun {
  opacity: 0.85;
  transform: translate(-50%, -58%);
}

/* Stars Overlay */
.stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  background-image: 
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="150" height="150" viewBox="0 0 150 150"><circle cx="30" cy="30" r="1.5" fill="%23fff"/><circle cx="110" cy="60" r="1" fill="%23fff"/><circle cx="70" cy="110" r="1.2" fill="%23fff"/></svg>'),
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="250" height="250" viewBox="0 0 250 250"><circle cx="50" cy="180" r="1.2" fill="%23fff"/><circle cx="200" cy="100" r="1.5" fill="%23fff"/><circle cx="120" cy="40" r="1" fill="%23fff"/></svg>');
}
.stars::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: inherit;
  animation: twinkle 3s ease-in-out infinite alternate;
}
body.theme-night .stars,
body.theme-space .stars {
  opacity: 0.8;
}

@keyframes twinkle {
  0% { opacity: 0.2; }
  100% { opacity: 0.9; }
}

/* City Skyline Overlay */
.city-skyline {
  top: 60px;
  left: 0;
  width: 100%;
  height: 67px;
  z-index: 1;
  background-image:
    /* Front dark buildings */
    linear-gradient(90deg, transparent 5%, #181528 5%, #181528 15%, transparent 15%, transparent 30%, #181528 30%, #181528 45%, transparent 45%, transparent 60%, #181528 60%, #181528 80%, transparent 80%),
    /* Mid purple buildings */
    linear-gradient(90deg, #241e3a 0%, #241e3a 10%, transparent 10%, transparent 25%, #241e3a 25%, #241e3a 40%, transparent 40%, transparent 55%, #241e3a 55%, #241e3a 70%, transparent 70%, transparent 85%, #241e3a 85%, #241e3a 95%, transparent 95%),
    /* Back faint buildings */
    linear-gradient(90deg, transparent 15%, #392b54 15%, #392b54 25%, transparent 25%, transparent 40%, #392b54 40%, #392b54 50%, transparent 50%, transparent 75%, #392b54 75%, #392b54 90%, transparent 90%);
  background-size: 100% 100%, 100% 85%, 100% 70%;
  background-repeat: repeat-x;
  background-position: bottom;
}
body.theme-city .city-skyline {
  opacity: 0.7;
}

/* Space Nebula Overlay */
.space-nebula {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(156, 39, 176, 0.3) 0%, transparent 60%),
    radial-gradient(circle at 80% 70%, rgba(0, 188, 212, 0.25) 0%, transparent 60%);
}
body.theme-space .space-nebula {
  opacity: 1;
}

/* Rain Overlay */
.rain-drops {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="120" height="120" viewBox="0 0 120 120"><line x1="60" y1="0" x2="50" y2="80" stroke="rgba(255,255,255,0.35)" stroke-width="1.2"/></svg>');
  animation: rain 0.7s linear infinite;
}
body.theme-rain .rain-drops {
  opacity: 0.8;
}

@keyframes rain {
  0% { background-position: 0px 0px; }
  100% { background-position: -100px 800px; }
}

/* Snow Overlay */
.snow-flakes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  background-image: 
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200"><circle cx="20" cy="40" r="2.5" fill="rgba(255,255,255,0.65)"/><circle cx="120" cy="80" r="3.5" fill="rgba(255,255,255,0.75)"/><circle cx="70" cy="150" r="2" fill="rgba(255,255,255,0.55)"/><circle cx="160" cy="180" r="3" fill="rgba(255,255,255,0.7)"/></svg>'),
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="300" height="300" viewBox="0 0 300 300"><circle cx="40" cy="100" r="1.5" fill="rgba(255,255,255,0.45)"/><circle cx="240" cy="50" r="2" fill="rgba(255,255,255,0.55)"/><circle cx="180" cy="220" r="2.2" fill="rgba(255,255,255,0.35)"/><circle cx="100" cy="260" r="1.6" fill="rgba(255,255,255,0.45)"/></svg>');
  animation: snow 12s linear infinite;
}
body.theme-snow .snow-flakes {
  opacity: 0.85;
}

@keyframes snow {
  0% { background-position: 0px 0px, 0px 0px; }
  100% { background-position: 60px 1000px, -60px 1000px; }
}

/* UI Adjustments for Dark Mode Text Visibility */
body.theme-sunset #messageBox h1,
body.theme-night #messageBox h1,
body.theme-city #messageBox h1,
body.theme-space #messageBox h1,
body.theme-rain #messageBox h1 {
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

#messageBox {
  position: absolute;
  top: 180px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  text-align: center;
  transition: opacity 0.5s ease;
  width: 100%;
}

#messageBox h1 {
  font-size: 24px;
  color: #535353;
  margin: 0;
  font-weight: 300;
  letter-spacing: 1px;
}

/* User header bar on logged-in game screen */
.user-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 600px;
  margin: 15px auto 0 auto;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  font-family: 'Open Sans', sans-serif;
  color: inherit; /* respects theme */
  z-index: 8;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.user-info, .user-score-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.user-info .username {
  font-weight: 600;
  font-size: 16px;
}

.user-score-info .score-label {
  font-size: 14px;
  opacity: 0.8;
}

.user-score-info .high-score-val {
  font-weight: 700;
  font-size: 16px;
  color: #ff9f43;
}

body.theme-default .user-score-info .high-score-val {
  color: #e67e22;
}

.logout-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  transition: background 0.3s ease, transform 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.logout-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

/* Portal Layout (Login & Registration Screen) */
body.portal-mode {
  background: radial-gradient(circle at 50% 50%, #1e1b2f 0%, #0c0a14 100%);
  color: #f1f1f1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
  box-sizing: border-box;
}

.portal-container {
  width: 100%;
  max-width: 900px;
  animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.portal-header {
  text-align: center;
  margin-bottom: 30px;
  font-family: 'Open Sans', sans-serif;
}

.portal-logo-icon {
  width: 48px;
  height: 48px;
  color: #ff9f43;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 8px rgba(255, 159, 67, 0.4));
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.portal-header h1 {
  font-size: 32px;
  margin: 0 0 8px 0;
  font-weight: 700;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #ffffff 30%, #ff9f43 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.portal-header p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* Alerts */
.portal-alert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
}

.error-alert {
  background: rgba(234, 84, 85, 0.1);
  border: 1px solid rgba(234, 84, 85, 0.3);
  color: #ff7675;
}

.success-alert {
  background: rgba(40, 199, 111, 0.1);
  border: 1px solid rgba(40, 199, 111, 0.3);
  color: #55efc4;
}

/* Card Grid Layout */
.portal-grid {
  display: flex;
  gap: 30px;
  width: 100%;
}

@media (max-width: 768px) {
  .portal-grid {
    flex-direction: column;
  }
}

/* Card General Styling */
.portal-card {
  flex: 1;
  padding: 35px;
  border-radius: 16px;
  font-family: 'Open Sans', sans-serif;
  box-sizing: border-box;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portal-card:hover {
  transform: translateY(-5px);
}

/* Visually Distinct Theme 1: Login Card (Deep Cyber Indigo) */
.login-card {
  background: rgba(25, 22, 43, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(115, 103, 240, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(115, 103, 240, 0.05);
}

.login-card:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 30px rgba(115, 103, 240, 0.2);
}

.login-card .card-icon {
  color: #7367f0;
}

.login-card .submit-btn {
  background: linear-gradient(135deg, #7367f0 0%, #4839eb 100%);
  box-shadow: 0 4px 15px rgba(115, 103, 240, 0.4);
}

.login-card .submit-btn:hover {
  background: linear-gradient(135deg, #8276f2 0%, #5a4beb 100%);
}

/* Visually Distinct Theme 2: Register Card (Sunset Orange-Pink) */
.register-card {
  background: rgba(35, 20, 25, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 75, 31, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 75, 31, 0.05);
}

.register-card:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 75, 31, 0.2);
}

.register-card .card-icon {
  color: #ff4b1f;
}

.register-card .submit-btn {
  background: linear-gradient(135deg, #ff9f43 0%, #ff4b1f 100%);
  box-shadow: 0 4px 15px rgba(255, 75, 31, 0.4);
}

.register-card .submit-btn:hover {
  background: linear-gradient(135deg, #ffaf5c 0%, #ff5d36 100%);
}

/* Inner Form Styling */
.card-header {
  margin-bottom: 25px;
}

.card-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 8px;
}

.card-header h2 {
  font-size: 24px;
  margin: 0 0 6px 0;
  font-weight: 600;
}

.card-header p {
  font-size: 13px;
  opacity: 0.6;
  margin: 0;
}

.input-group {
  margin-bottom: 20px;
}

.input-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  opacity: 0.8;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrapper i {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.input-wrapper input {
  width: 100%;
  padding: 12px 14px 12px 42px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.input-wrapper input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.input-wrapper input:focus {
  background: rgba(255, 255, 255, 0.08);
}

.login-card .input-wrapper input:focus {
  border-color: rgba(115, 103, 240, 0.6);
}

.register-card .input-wrapper input:focus {
  border-color: rgba(255, 75, 31, 0.6);
}

.input-wrapper input:focus + i {
  opacity: 0.9;
}

.submit-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
  margin-top: 10px;
}

.submit-btn:active {
  transform: scale(0.98);
}

.submit-btn i {
  width: 18px;
  height: 18px;
}

/* Premium Status & Payment Modal Styling */
.premium-user-badge {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 159, 67, 0.15) 100%) !important;
  border: 1px solid rgba(255, 215, 0, 0.35) !important;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.15) !important;
}

.sparkles-icon {
  color: #ffd700;
  filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.6));
}

.premium-alert {
  position: absolute;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 30px;
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  animation: slideDownFade 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  max-width: 90%;
  width: max-content;
}

.premium-alert.success-alert {
  background: rgba(40, 199, 111, 0.95);
  border: 1px solid rgba(40, 199, 111, 0.3);
  color: #fff;
}

.premium-alert.error-alert {
  background: rgba(234, 84, 85, 0.95);
  border: 1px solid rgba(234, 84, 85, 0.3);
  color: #fff;
}

.premium-alert .alert-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

@keyframes slideDownFade {
  from { opacity: 0; transform: translate(-50%, -15px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.premium-lock-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 7, 13, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  font-family: 'Open Sans', sans-serif;
  padding: 20px;
  box-sizing: border-box;
}

.premium-lock-modal.active {
  display: flex;
}

.premium-lock-card {
  background: rgba(20, 18, 33, 0.95);
  border: 1px solid rgba(255, 215, 0, 0.25);
  border-radius: 20px;
  padding: 30px 40px;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 45px rgba(255, 215, 0, 0.08);
  text-align: center;
  box-sizing: border-box;
  color: #fff;
}

.animate-scale-up {
  animation: scaleUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes scaleUp {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.lock-icon-container {
  background: linear-gradient(135deg, rgba(255, 75, 31, 0.12) 0%, rgba(255, 215, 0, 0.12) 100%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  border: 1px solid rgba(255, 215, 0, 0.3);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.15);
}

.premium-lock-icon {
  width: 36px;
  height: 36px;
  color: #ffd700;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5));
  animation: lockPulse 2s infinite ease-in-out;
}

@keyframes lockPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.premium-lock-header h2 {
  font-size: 24px;
  margin: 0 0 10px 0;
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff 40%, #ffd700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.5px;
}

.limit-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 25px 0;
  line-height: 1.5;
}

.limit-text strong {
  color: #ff4b1f;
  font-weight: 700;
}

.premium-benefits {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px;
  text-align: left;
  margin-bottom: 25px;
}

.premium-benefits h3 {
  margin: 0 0 15px 0;
  font-size: 14px;
  font-weight: 600;
  color: #ffd700;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.premium-benefits h3 i {
  width: 16px;
  height: 16px;
}

.premium-benefits ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.premium-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
}

.premium-benefits li:last-child {
  margin-bottom: 0;
}

.benefit-check {
  width: 16px;
  height: 16px;
  color: #28c76f;
  flex-shrink: 0;
  margin-top: 1px;
}

.price-tag {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 75, 31, 0.15) 0%, rgba(255, 215, 0, 0.15) 100%);
  border: 1px dashed rgba(255, 215, 0, 0.35);
  border-radius: 12px;
  padding: 14px 20px;
  margin-bottom: 30px;
}

.price-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
}

.price-val {
  font-size: 24px;
  font-weight: 800;
  color: #ffd700;
  filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.3));
}

.premium-lock-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.premium-pay-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #ffd700 0%, #ff9f43 100%);
  color: #0c0a14;
  border: none;
  border-radius: 10px;
  padding: 14px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 20px rgba(255, 159, 67, 0.25);
  font-family: 'Open Sans', sans-serif;
}

.premium-pay-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 159, 67, 0.35);
}

.premium-pay-btn:active {
  transform: scale(0.98);
}

.premium-pay-btn i {
  width: 18px;
  height: 18px;
}

.premium-restart-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  font-family: 'Open Sans', sans-serif;
}

.premium-restart-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.premium-restart-btn i {
  width: 16px;
  height: 16px;
}

