:root {
  color-scheme: dark;
  --glow-x: 50%;
  --glow-y: 42%;
  --black: #000000;
  --ink: #f8fbff;
  --muted: rgba(235, 244, 255, 0.66);
  --glass: rgba(255, 255, 255, 0.075);
  --glass-strong: rgba(255, 255, 255, 0.13);
  --line: rgba(255, 255, 255, 0.16);
  --cyan: #69f7ff;
  --pink: #ff4fd8;
  --green: #89ffbf;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  background: #000000;
  color: var(--ink);
  font-family: "SF Pro Display", "Inter", "Segoe UI", system-ui, sans-serif;
  letter-spacing: 0;
}

/* Web Navigation Bar Styles */
.web-navbar {
  background: rgba(7, 9, 14, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Enlarged Brand Logo */
.brand-logo .logo-img {
  height: 49px;
  width: auto;
  object-fit: contain;
}


/* Improved Version History Button (No Outer Circle) */
.nav-history-btn {
  background: transparent;
  border: none;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 180ms ease, color 180ms ease;
  padding: 8px;
  cursor: pointer;
}

.nav-history-btn:hover {
  transform: scale(1.08);
  color: #ffffff;
}

.history-icon {
  width: 24px;
  height: 24px;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.donation-icon {
  height: 5.5rem;        
  width: auto;         
  vertical-align: middle; 
  margin-right: 8px;      
  transform: translateY(-2px); 
}

/* Custom Outlined Primary Button - Uniform Edge Fixed */
.primary-btn {
  background: linear-gradient(135deg, #2a92ff 0%, #0056cc 100%);
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 999px;
  font-weight: 700;
  border: 1.5px solid rgba(255, 255, 255, 0.726);
  background-clip: padding-box; /* Fix gradient bleeding to prevent border disparity */
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  box-shadow: 0 4px 14px rgba(21, 62, 107, 0.39);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.primary-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 6px 20px rgba(42, 146, 255, 0.45);
}

.primary-btn:active {
  transform: scale(0.98);
}

.secondary-btn {
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--ink);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.secondary-btn:hover {
  background: var(--glass-strong);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.large-btn {
  padding: 14px 32px;
  font-size: 1.05rem;
}

/* Custom Download Icon Inside Buttons */
.dl-btn-icon {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  stroke-width: 2.5px;
}

/* Beautiful Borderless & Background-free CTA Stack */
.hero-cta-wrapper {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-top: 24px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  width: 100%;
  max-width: 340px;
  box-shadow: none;
  gap: 12px;
}

@media (max-width: 768px) {
  .hero-cta-wrapper {
    align-self: center;
  }
}

.hero-version-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 4px;
}

/* Custom inline Windows logo graphic */
.win-logo-inline {
  height: 14px;
  width: auto;
  vertical-align: middle;
}

.hero-sub-requirement {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: 4px;
}

/* Hero Section Layout - Vertically lower aligned adjacent to PC Mockup */
.web-hero {
  padding: 100px 24px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center; /* Ensures beautiful parallel horizontal flow adjacent to PC mockup */
}

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 20px; /* Gently lowers the message and stack adjacent to the screen */
}

/* Upgraded Headline Color with High-tech White/Cyan/Pink Gradient */
.hero-headline {
  font-size: clamp(2.2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 18px 0;
  letter-spacing: -1.2px;
  background: linear-gradient(135deg, #ffffff 20%,  #e2f0ff 40%, #2a92ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 40px rgba(105, 247, 255, 0.15);
}

.hero-subtext {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 16px 0;
}

/* Upgraded Sleek & Immensely Cooler PC Setup Mockup with dynamic glow effects */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.desk-mockup-wrapper {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.desk-setup {
  position: relative;
  width: 100%;
  height: 310px;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.monitor-frame {
  position: absolute;
  bottom: 30px;
  width: 440px;
  height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
}

/* Screen Bezel with glowing dynamic backshadow halos */
.screen-bezel {
  width: 100%;
  height: 240px;
  background: #0d0f14;
  border-radius: 14px;
  padding: 8px;
  box-shadow: 
    0 0 45px rgba(109, 187, 255, 0.22),
    0 0 100px rgba(255, 79, 216, 0.12),
    0 24px 60px rgba(0, 0, 0, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
}

.virtual-display {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000000;
  border-radius: 8px;
  overflow: hidden;
}

.virtual-display canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.display-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0) 60%);
  pointer-events: none;
}

/* Solid Futuristic Monitor Stand and Plate */
.monitor-stand {
  width: 36px;
  height: 30px;
  background: linear-gradient(180deg, #222633 0%, #0e1017 100%);
  border-left: 1px solid rgba(255,255,255,0.12);
  border-right: 1px solid rgba(255,255,255,0.12);
}

.monitor-base {
  width: 130px;
  height: 6px;
  background: linear-gradient(180deg, #3d455c 0%, #171b26 100%);
  border-radius: 3px 3px 0 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
}

/* Beautiful Solid Wood Desk Surface with realistic shadow mapping */
.wood-desk-surface {
  position: absolute;
  bottom: 14px;
  left: -20px;
  right: -20px;
  height: 14px;
  background: linear-gradient(180deg, #44342a 0%, #221a15 100%);
  border-top: 1px solid #7c604e;
  border-radius: 4px;
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255,255,255,0.06);
  z-index: 5;
}

.mockup-caption {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 14px;
}

/* Original Platform Shell Styles */
.platform-shell {
  position: relative;
  z-index: 2;
  overflow-y: visible;
  padding: 28px clamp(20px, 4vw, 64px) 72px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0 20px;
}

.topbar-actions button,
.saver-actions button,
.settings-panel button,
.form-actions button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.topbar-actions button {
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;     
  align-items: center;       
  justify-content: center; 
  line-height: 1;         
}

.topbar-actions button:hover,
.saver-actions button:hover,
.settings-panel button:hover,
.form-actions button:hover {
  transform: translateY(-1px);
  border-color: rgba(105, 247, 255, 0.52);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 28px rgba(105, 247, 255, 0.18);
  color: #ffffff;
}

.section {
  display: none;
}

.section.active {
  display: block;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0 0 6px 0;
  color: #ffffff;
}

.section-desc {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
}

/* 4-Column Clock Grid Adjustment */
.clock-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  padding-bottom: 48px;
}

.clock-card {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: linear-gradient(135deg, rgb(0, 0, 0), rgb(0, 0, 0)), rgb(0, 0, 0);
  backdrop-filter: blur(24px) saturate(1.25);
  -webkit-backdrop-filter: blur(24px) saturate(1.25);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.34);
  transform: translateY(14px);
  opacity: 0;
  transition: transform 520ms cubic-bezier(.2,.8,.2,1), opacity 520ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.clock-card.revealed {
  transform: translateY(0);
  opacity: 1;
}

.clock-card:hover {
  transform: translateY(-6px) scale(1.018);
  border-color: rgba(105, 247, 255, 0.62);
  box-shadow: 0 22px 85px rgba(0, 0, 0, 0.44), 0 0 46px rgba(105, 247, 255, 0.22);
}

.clock-card.selected {
  border-color: rgba(105, 247, 255, 0.96);
  box-shadow:
    0 22px 85px rgba(0, 0, 0, 0.46),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset,
    0 0 24px rgba(105, 247, 255, 0.62),
    0 0 66px rgba(255, 79, 216, 0.34);
}

.clock-card.selected::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  border-radius: 8px;
  box-shadow: inset 0 0 34px rgba(105, 247, 255, 0.28);
}

.clock-card canvas {
  width: 100%;
  height: 100%;
  display: block;
  background: #000000;
}

.card-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.16) 46%, transparent 62%);
  transform: translateX(-120%);
  transition: transform 600ms ease;
}

.clock-card:hover .card-shine {
  transform: translateX(120%);
}

/* Beautiful Rich Web Page Layout Details (Replacing cramped footer) */
.web-page-details {
  margin-top: 80px;
  padding: 80px 0;
  background: linear-gradient(180deg, rgba(7, 9, 14, 0) 0%, rgba(0, 0, 0, 0) 100%);
}

.web-content-container {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.web-profile-card {
  display: flex;
  align-items: center;
  gap: 40px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px;
}

@media (max-width: 768px) {
  .web-profile-card {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
    gap: 24px;
  }
}

.profile-image-container {
  flex-shrink: 0;
}

/* Profile Avatar image with a beautiful Blue-to-Purple/Pink Gradient border */
.profile-avatar {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 3px solid transparent;
  background-image: linear-gradient(#11151c, #11151c), linear-gradient(135deg, #2a92ff 0%, #ff4fd8 100%);
  background-origin: border-box;
  background-clip: content-box, border-box;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.profile-text-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.web-section-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0;
  color: #ffffff;
}

.web-section-subtitle {
  font-size: 0.9rem;
  color: var(--cyan);
  font-weight: 500;
}

.web-section-text {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--muted);
  margin: 12px 0 0 0;
}

.web-support-card,
.web-feedback-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px;
}

@media (max-width: 768px) {
  .web-support-card,
  .web-feedback-card {
    padding: 30px 20px;
  }
}

.web-payment-info {
  margin-top: 16px;
  background: rgba(255, 255, 255, 0.01);
  border-radius: 8px;
  padding: 16px;
  border-left: 3px solid var(--cyan);
}

.payment-intro {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px 0;
}

.payment-notes {
  margin: 0;
  padding-left: 20px;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

.submit-btn {
  height: 38px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.submit-btn:hover {
  transform: translateY(-1px);
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
}

.history-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.history-version {
  font-weight: 800;
  color: #ffffff;
}

.history-date {
  color: var(--muted);
}

.history-notes {
  margin: 0;
  padding-left: 16px;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--muted);
}

.history-notes li {
  margin-bottom: 4px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
}

.form-group input,
.form-group textarea {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  padding: 10px 14px;
  outline: none;
  font-size: 0.88rem;
  transition: border-color 180ms ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(255, 255, 255, 0.4);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}

.feedback-status {
  font-size: 0.8rem;
  margin-top: 4px;
}

.feedback-status.success { color: var(--green); }
.feedback-status.error { color: var(--pink); }

.support-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.support-card-btn {
  height: 44px;
  border-radius: 6px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease;
}

.support-card-btn:hover {
  transform: translateY(-1px);
}

/* PayPal Button uses specific pure black text color as requested */
.support-card-btn.paypal { background-color: #ffd140; }
.support-card-btn.paypal .support-btn-text { color: #363636 !important; }

/* Stripe Button uses clean standard dark label formatting */
.support-card-btn.stripe { background-color: #ffffff; }
.support-card-btn.stripe .support-btn-text { color: #363636 !important; }

.support-btn-text {
  font-weight: 550;
  margin: 0 6px 0 0;
  font-size: 0.88rem;
}

.web-footer-simple {
  text-align: center;
  padding: 40px 24px;
  border-top: 1px solid var(--line);
  color: rgba(235, 244, 255, 0.35);
  font-size: 0.85rem;
}

/* Customizer side panel styling with spacious gaps between each section card */
.settings-panel {
  position: fixed;
  top: 84px;
  right: 28px;
  z-index: 101;
  width: min(420px, calc(100vw - 32px));
  max-height: calc(100vh - 108px);
  overflow-y: auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 12, 18, 0.72);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.38);
}

.settings-head,
.settings-row,
.settings-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.settings-head {
  margin-bottom: 20px;
}

.settings-head span {
  font-size: 1.05rem;
  font-weight: 750;
}

/* Distinct spacious grid spacing gap between colors */
.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px; /* Separates the color grid from the next individual setting section card */
}

.settings-color,
.settings-row {
  min-height: 58px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.72);
}

/* Added visible margins to create distinct gap spacing between each control section card */
.settings-row {
  margin-bottom: 16px;
}

.settings-row:last-of-type {
  margin-bottom: 0; /* Clear margin space immediately before action button */
}

.settings-color > span {
  display: block;
  margin-bottom: 10px;
}

.color-swatches {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.settings-panel .color-swatch {
  position: relative;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  flex: 0 0 36px;
  aspect-ratio: 1 / 1;
  border: none;
  border-radius: 50%;
  padding: 0;
  background: transparent;
  transition: transform 160ms cubic-bezier(.2,.8,.2,1), box-shadow 160ms ease;
}

.settings-panel .color-swatch::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background-color: var(--swatch, transparent);
  box-shadow:
    inset 0 1px 2px rgba(255,255,255,0.28),
    0 2px 8px rgba(0,0,0,0.35),
    0 0 0 1px rgba(255,255,255,0.14);
}

.settings-panel .color-swatch:hover {
  transform: scale(1.08);
  background: transparent;
}

.settings-panel .color-swatch:hover::before {
  box-shadow:
    inset 0 1px 2px rgba(255,255,255,0.36),
    0 4px 14px rgba(0,0,0,0.42),
    0 0 0 1px rgba(255,255,255,0.28);
}

.settings-panel .color-swatch.active::before {
  box-shadow:
    inset 0 1px 2px rgba(255,255,255,0.42),
    0 4px 16px rgba(0,0,0,0.45),
    0 0 0 2px rgba(255,255,255,0.95),
    0 0 18px rgba(105,247,255,0.35);
}

.settings-panel .color-swatch.active::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.88);
  pointer-events: none;
}

.settings-panel .color-swatch.custom.active::after {
  content: "+";
  inset: 0;
  border: none;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.92);
  font-size: 1.05rem;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0,0,0,0.45);
}

.settings-panel .color-swatch.custom {
  background: transparent;
}

.settings-panel .color-swatch.custom::before {
  background: conic-gradient(
    #ff375f 0deg,
    #ff9f0a 55deg,
    #ffd60a 110deg,
    #30d158 165deg,
    #64d2ff 220deg,
    #bf5af2 280deg,
    #ff375f 360deg
  );
}

.settings-panel .color-swatch.custom::after {
  content: "+";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.92);
  font-size: 1.05rem;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0,0,0,0.45);
  pointer-events: none;
  border: none;
}

.custom-color-panel {
  display: none;
  margin-top: 10px;
  padding: 0;
  background: transparent;
}

.custom-color-panel.open {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.settings-grid input[type="color"] {
  width: 44px;
  height: 44px;
  display: block;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  overflow: hidden;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.settings-grid input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
  background: transparent;
}

.settings-grid input[type="color"]::-webkit-color-swatch {
  border: 2px solid rgba(255,255,255,0.55);
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.35);
}

.settings-panel select,
.settings-panel input[type="range"] {
  min-width: 150px;
  color: #ffffff;
  accent-color: #0a84ff;
}

.settings-panel input[type="range"] {
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
}

.settings-panel [data-setting].hidden-setting {
  display: none;
}

.settings-panel select {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 36px 3px 16px;   
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
  display: inline-flex;      
  align-items: center;      
  line-height: 1;          
}

.settings-row[data-setting="font"] {
  position: relative;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.settings-row[data-setting="font"]::after {
  content: "";
  position: absolute;
  right: 27px;
  top: 50%;
  width: 8px;
  height: 8px;
  pointer-events: none;
  border-right: 2px solid rgba(255, 255, 255, 0.88);
  border-bottom: 2px solid rgba(255, 255, 255, 0.88);
  transform: translateY(-70%) rotate(45deg);
}

.settings-row[data-setting="font"] > span {
  color: rgba(248, 251, 255, 0.86);
  font-weight: 700;
}

.settings-panel select:hover,
.settings-panel select:focus {
  transform: translateY(-1px);
  border-color: rgba(105, 247, 255, 0.52);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 28px rgba(105, 247, 255, 0.18);
  color: #ffffff;
}

.settings-panel select option {
  color: #f8fbff;
  background: #11151c;
}

.settings-actions {
  margin-top: 16px;
}

.settings-panel button {
  height: 38px;
  padding: 0 14px 2px 14px;  
  border-radius: 999px;
  display: inline-flex;      
  align-items: center;      
  justify-content: center;  
  line-height: 1;           
}

/* Fullscreen Mode Canvas */
.saver {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #000000;
}

#clockCanvas {
  width: 100vw;
  height: 100vh;
  display: block;
}

.saver-actions {
  position: fixed;
  top: 24px;
  right: 28px;
  z-index: 102;
  display: flex;
  gap: 10px;
}

.saver-actions button {
  height: 42px;
  min-width: 42px;
  padding: 0 18px 2px 18px;  
  border-radius: 999px;
  display: inline-flex;     
  align-items: center;      
  justify-content: center; 
  line-height: 1;         
}

#home-btn {
  width: 42px;
  height: 42px;
  padding: 0;       
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#home-btn:hover {
  transform: rotate(90deg) !important;
}

/* Modals Overlay layer */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 1;
  transition: opacity 180ms ease;
}

.modal-overlay.hidden {
  display: none !important;
  opacity: 0;
}

.modal-content {
  background: #090c10;
  border: 1px solid var(--line);
  border-radius: 16px;
  width: min(480px, 100%);
  max-height: 85vh;
  overflow-y: auto;
  padding: 28px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65);
  position: relative;
  animation: modalSlideUp 240ms cubic-bezier(.16,1,.3,1);
}

@keyframes modalSlideUp {
  from { transform: translateY(12px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Modal Close Cross Icon - Fully centered vertically and horizontally */
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
  font-size: 1.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
  padding: 0; 
  line-height: 0;
}

.modal-close:hover {
  transform: rotate(90deg);
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.modal-title {
  font-size: 1.35rem;
  font-weight: 750;
  margin: 0 0 14px;
  color: #ffffff;
}

.modal-subtitle {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.45;
  margin: 0 0 14px;
}

.modal-divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 18px 0;
}

.accent-solid-btn-modal {
  height: 36px;
  border-radius: 999px;
  padding: 0 20px 2px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--line);
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease;
}

.accent-solid-btn-modal:hover {
  transform: translateY(-1px);
  background-color: rgba(255,255,255,0.15);
}

.hidden {
  display: none !important;
}



/* --- Responsive Media Queries --- */

/* Tablets & Small Desktops */
@media (max-width: 1024px) {
  .clock-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

/* Mobile Devices & Tablets (Portrait) */
@media (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-left {
    align-items: center;
  }

  .hero-headline {
    font-size: clamp(2rem, 6vw, 2.8rem);
  }

  .clock-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .desk-mockup-wrapper {
    max-width: 100%;
  }

  .monitor-frame {
    width: 100%;
    max-width: 440px;
  }

  .web-profile-card {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  .settings-panel {
    right: 16px;
    left: 16px;
    width: auto;
    bottom: 16px;
    max-height: calc(100vh - 120px);
  }
}

/* Very Small Mobile Screens */
@media (max-width: 480px) {
  .clock-grid {
    grid-template-columns: 1fr;
  }

  .brand-logo .logo-img {
    height: 38px;
  }

  .web-navbar .navbar-container {
    padding: 12px 16px;
  }

  .navbar-actions .primary-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .large-btn {
    padding: 12px 24px;
    font-size: 0.95rem;
  }

  .support-options {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .web-support-card, .web-feedback-card, .web-profile-card {
    padding: 24px 16px;
  }

  .web-section-title {
    font-size: 1.35rem;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .topbar-actions {
    width: 100%;
    display: flex;
    justify-content: flex-end;
  }
}