/* ==========================================================================
   VipFile app.css - central shell stylesheet
   Round 1: global shell only (head reset, anti-jump, header, footer).
   Built from the inline styles that were duplicated across main.html and
   header.html. Dark theme preserved pixel for pixel. No visual change.
   Per-page styles (download, splash, news, login, etc.) move here in later rounds.
   ========================================================================== */

/* ---- Design tokens (dark, default) ---------------------------------------- */
:root {
  --vf-body-bg: #0a0a0a;
  --vf-bg: #0f0f12;
  --vf-card: rgba(30, 30, 35, 0.6);
  --vf-blue: #0078d7;
  --vf-blue-light: #1a73e8;
  --vf-gold: #ffb700;
  --vf-orange: #ff8c00;
  --vf-red: #dc3545;
  --vf-red-soft: #ff6b6b;
  --vf-green: #28a745;
  --vf-text: #ffffff;
  --vf-text-muted: #a0a0b0;
  --vf-text-dim: #5a5f69;
  --vf-border: rgba(255, 255, 255, 0.06);
  --vf-border-strong: rgba(255, 255, 255, 0.08);
  --vf-glass: rgba(255, 255, 255, 0.03);
  --vf-radius: 12px;
  --vf-radius-sm: 8px;
  --vf-btn-height: 44px;
}

/* ---- Base ----------------------------------------------------------------- */
html, body {
  background-color: var(--vf-body-bg);
  color: var(--vf-text);
  margin: 0;
  padding: 0;
}
html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
html.fonts-loaded {
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
main {
  background-color: var(--vf-body-bg);
  min-height: calc(100vh - 300px);
}

/* ---- Anti-jump / CLS guards (single source, was duplicated x2) ------------- */
/* Reserve touch-target size so buttons do not jump before CSS/icons load. */
.vf-btn-premium,
.vf-btn-user,
.vf-btn-outline,
.vf-btn-primary,
.vf-hamburger,
.vf-lang-btn,
.vf-icon-btn {
  min-height: var(--vf-btn-height);
  box-sizing: border-box;
  flex-shrink: 0;
}
.vf-btn-user   { min-width: 120px; max-width: 220px; }
.vf-btn-outline{ min-width: 90px; }
.vf-btn-primary{ min-width: 80px; }
.vf-lang-btn   { min-width: 100px; height: var(--vf-btn-height); }
.vf-hamburger  { width: 44px; height: 44px; }

/* Font Awesome icons keep a fixed box so layout does not collapse pre-load. */
.fas, .fab, .far {
  display: inline-block;
  width: 1em;
  height: 1em;
  text-align: center;
  font-size: 16px;
  line-height: 1;
}

.vf-user-name { min-width: 40px; display: inline-block; }
.vf-header-actions { min-height: var(--vf-btn-height); display: flex; align-items: center; }
.vf-lang-btn img,
.vf-footer-lang img { width: 24px; height: 16px; object-fit: cover; flex-shrink: 0; }

/* Hide without layout shift (visibility, not display) */
@media (max-width: 991px) {
  .vf-hide-mobile {
    position: absolute !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
    display: flex !important;
  }
}
@media (min-width: 992px) {
  .vf-hide-desktop {
    position: absolute !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
    display: flex !important;
  }
}

/* ==========================================================================
   HEADER (public) - was inline in header.html
   ========================================================================== */
.vf-header {
  min-height: 70px;
  contain: layout;
  background: rgba(15, 15, 18, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--vf-border);
  position: sticky;
  top: 0;
  z-index: 1002;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.vf-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.vf-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 20px;
}

.vf-logo {
  flex-shrink: 0;
  height: 40px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1004;
}
.vf-logo-img {
  height: 75px;
  width: auto;
  display: block;
  filter: brightness(1.1);
}

/* Desktop nav */
.vf-nav-desktop {
  display: none;
  align-items: center;
  gap: 8px;
}
@media (min-width: 992px) {
  .vf-nav-desktop { display: flex; }
}
.vf-nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--vf-text-muted);
  text-decoration: none;
  padding: 10px 16px;
  border-radius: var(--vf-radius-sm);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
  height: var(--vf-btn-height);
}
.vf-nav-link:hover {
  color: var(--vf-text);
  background: var(--vf-glass);
}

/* Right actions */
.vf-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  height: var(--vf-btn-height);
}

/* Premium button */
.vf-btn-premium {
  min-width: 44px;
  height: var(--vf-btn-height);
  padding: 0 20px;
  background: linear-gradient(135deg, var(--vf-gold), #ff8c00);
  color: #000;
  border-radius: var(--vf-radius-sm);
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  gap: 8px;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(255, 183, 0, 0.3);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 991px) {
  .vf-btn-premium { width: 44px; padding: 0; }
  .vf-btn-premium span { display: none; }
}

/* User button */
.vf-btn-user {
  height: var(--vf-btn-height);
  padding: 0 16px;
  background: var(--vf-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--vf-border);
  color: var(--vf-text);
  border-radius: var(--vf-radius-sm);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  gap: 10px;
  min-width: 120px;
  max-width: 220px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s;
}
.vf-btn-user:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}
.vf-btn-user .fas.fa-user { font-size: 18px; }
.vf-user-premium { color: var(--vf-gold) !important; filter: drop-shadow(0 0 8px rgba(255, 183, 0, 0.4)); }
.vf-user-free { color: var(--vf-red) !important; }

.vf-user-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--vf-gold);
  color: #000;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.vf-user-name {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vf-menu-icon { font-size: 16px; color: var(--vf-text-muted); margin-left: 5px; }

/* Guest buttons */
.vf-guest { display: flex; align-items: center; gap: 10px; }
.vf-btn-outline {
  height: var(--vf-btn-height);
  padding: 0 20px;
  background: transparent;
  border: 1px solid var(--vf-border);
  color: var(--vf-text);
  border-radius: var(--vf-radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  gap: 8px;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.vf-btn-outline:hover {
  border-color: var(--vf-blue);
  color: var(--vf-blue);
  background: rgba(0, 120, 215, 0.1);
}
.vf-btn-primary {
  height: var(--vf-btn-height);
  padding: 0 20px;
  background: linear-gradient(135deg, var(--vf-blue), var(--vf-blue-light));
  color: #fff;
  border-radius: var(--vf-radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  gap: 8px;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0, 120, 215, 0.3);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Hamburger */
.vf-hamburger {
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--vf-border);
  border-radius: var(--vf-radius-sm);
  cursor: pointer;
  padding: 0 10px;
  display: flex;
}
.vf-hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--vf-text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* User slide-over panel */
.vf-user-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.vf-user-overlay.active { opacity: 1; visibility: visible; }
.vf-user-panel {
  position: fixed;
  top: 0;
  right: -360px;
  width: 360px;
  max-width: 90vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(20, 20, 25, 0.98);
  backdrop-filter: blur(20px);
  border-left: 1px solid var(--vf-border);
  z-index: 1005;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
}
.vf-user-panel.active { right: 0; }
.vf-user-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  background: linear-gradient(135deg, rgba(30, 30, 35, 0.8), rgba(20, 20, 25, 0.6));
  border-bottom: 1px solid var(--vf-border);
  flex-shrink: 0;
}
.vf-user-info { display: flex; align-items: center; gap: 15px; }
.vf-user-avatar-premium { font-size: 48px; color: var(--vf-gold); filter: drop-shadow(0 0 10px rgba(255, 183, 0, 0.3)); }
.vf-user-avatar-free { font-size: 48px; color: var(--vf-red); }
.vf-user-panel-name { display: block; color: #fff; font-weight: 700; font-size: 18px; margin-bottom: 4px; }
.vf-user-panel-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.vf-status-premium {
  background: linear-gradient(135deg, var(--vf-gold), #ff8c00);
  color: #000;
  box-shadow: 0 2px 8px rgba(255, 183, 0, 0.3);
}
.vf-status-free {
  background: rgba(220, 53, 69, 0.15);
  color: var(--vf-red-soft);
  border: 1px solid rgba(220, 53, 69, 0.3);
}
.vf-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--vf-text-muted);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  flex-shrink: 0;
}
.vf-close-btn:hover {
  background: rgba(220, 53, 69, 0.2);
  color: var(--vf-red-soft);
  border-color: rgba(220, 53, 69, 0.3);
  transform: rotate(90deg);
}
.vf-user-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  padding: 20px 24px;
  background: rgba(0, 0, 0, 0.2);
}
.vf-stat-item { text-align: center; }
.vf-stat-value { display: block; color: var(--vf-gold); font-weight: 800; font-size: 20px; }
.vf-stat-label { color: var(--vf-text-muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.vf-user-content { flex: 1; overflow-y: auto; padding: 15px 0; }
.vf-user-section { padding: 0 15px; margin-bottom: 15px; }
.vf-user-section-upgrade {
  background: linear-gradient(135deg, rgba(255, 183, 0, 0.08), rgba(255, 183, 0, 0.02));
  border: 1px solid rgba(255, 183, 0, 0.15);
  border-radius: 12px;
  padding: 15px;
  margin: 0 15px 15px 15px;
}
.vf-user-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--vf-text-muted);
  margin-bottom: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
}
.vf-user-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 14px;
  color: var(--vf-text);
  text-decoration: none;
  border-radius: var(--vf-radius);
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s;
  border: 1px solid transparent;
  margin-bottom: 4px;
}
.vf-user-item:hover { background: var(--vf-glass); border-color: var(--vf-border); }
.vf-user-item i { width: 24px; text-align: center; color: var(--vf-blue); font-size: 18px; }
.vf-user-premium-card { border: 1px solid rgba(255, 183, 0, 0.3); background: rgba(255, 183, 0, 0.05); position: relative; }
.vf-user-premium-card:hover { background: rgba(255, 183, 0, 0.1); border-color: rgba(255, 183, 0, 0.5); }
.vf-user-arrow { margin-left: auto; color: var(--vf-gold); }
.vf-user-highlight-hub {
  background: linear-gradient(135deg, rgba(255, 140, 0, 0.05), rgba(255, 140, 0, 0.02));
  border-bottom: 1px solid rgba(255, 140, 0, 0.1);
  border-top: 1px solid rgba(255, 140, 0, 0.1);
  padding: 20px 15px;
  margin: 15px 0;
}
.vf-user-hub { border: 1px solid rgba(255, 140, 0, 0.2); background: rgba(255, 140, 0, 0.03); }
.vf-user-hub strong { color: #fff; }
.vf-user-hub b { color: var(--vf-orange); font-weight: 900; }
.vf-icon-hub {
  background: linear-gradient(135deg, #ff8c00, #ffb700) !important;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(255, 140, 0, 0.3);
}
.vf-icon-gold {
  background: linear-gradient(135deg, var(--vf-gold), #ff8c00);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(255, 183, 0, 0.3);
}
.vf-user-text { display: flex; flex-direction: column; }
.vf-user-text strong { font-size: 16px; margin-bottom: 2px; }
.vf-user-text small { color: var(--vf-text-muted); font-size: 12px; }
.vf-user-admin { color: var(--vf-red-soft); }
.vf-user-admin i { color: var(--vf-red-soft); }
.vf-user-logout { color: var(--vf-red-soft); border: 1px solid rgba(255, 71, 87, 0.2); background: rgba(255, 71, 87, 0.05); }
.vf-user-logout i { color: var(--vf-red-soft); }
.vf-divider { height: 1px; background: var(--vf-border); margin: 15px 0; }
.vf-user-spacer { height: 40px; flex-shrink: 0; }
.vf-text-gold { color: var(--vf-gold); }

/* Mobile nav (guests) */
.vf-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.vf-mobile-overlay.active { opacity: 1; visibility: visible; }
.vf-mobile-nav {
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  height: 100vh;
  height: 100dvh;
  background: rgba(20, 20, 25, 0.98);
  backdrop-filter: blur(20px);
  border-left: 1px solid var(--vf-border);
  z-index: 1005;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
}
.vf-mobile-nav.active { right: 0; }
.vf-mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid var(--vf-border);
  background: rgba(30, 30, 35, 0.6);
}
.vf-menu-title { font-size: 20px; font-weight: 800; color: var(--vf-gold); text-transform: uppercase; letter-spacing: 1px; }
.vf-mobile-content { flex: 1; overflow-y: auto; padding: 20px 0; }
.vf-mobile-section { padding: 0 20px; margin-bottom: 20px; }
.vf-mobile-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--vf-text-muted);
  margin-bottom: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.vf-mobile-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 14px;
  color: var(--vf-text);
  text-decoration: none;
  border-radius: var(--vf-radius);
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s;
  border: 1px solid transparent;
}
.vf-mobile-item:hover { background: var(--vf-glass); border-color: var(--vf-border); }
.vf-mobile-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  border-radius: var(--vf-radius-sm);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.3s;
  margin-bottom: 10px;
}
.vf-mobile-btn-login { background: transparent; border: 2px solid var(--vf-blue); color: var(--vf-blue); }
.vf-mobile-btn-register { background: linear-gradient(135deg, var(--vf-blue), var(--vf-blue-light)); color: #fff; border: 2px solid var(--vf-blue); }

@media (max-width: 991px) {
  .vf-container { padding: 0 16px; }
  .vf-header-inner { height: 60px; }
  .vf-logo-img { height: 65px; }
}
@media (max-width: 480px) {
  .vf-container { padding: 0 12px; }
  .vf-user-panel { width: 100%; right: -100%; }
}

/* ==========================================================================
   FOOTER - was fully inline in main.html, now class based
   ========================================================================== */
.vf-footer {
  background-color: var(--vf-body-bg);
  border-top: 1px solid var(--vf-border);
  padding: 50px 24px 30px;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--vf-text);
  margin-top: auto;
}
.vf-footer-inner { max-width: 1400px; margin: 0 auto; }
.vf-footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-bottom: 30px;
}
.vf-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.vf-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--vf-text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
}
.vf-footer-link i { width: 18px; }
.vf-footer-link:hover { color: var(--vf-text); }
.vf-footer-link--gold { color: var(--vf-gold); font-weight: 700; }
.vf-footer-link--gold:hover { color: var(--vf-gold); filter: brightness(1.15); }

.vf-footer-lang-wrap { width: auto; position: relative; }
.vf-footer-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--vf-glass);
  border: 1px solid var(--vf-border-strong);
  border-radius: 10px;
  color: var(--vf-text);
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  height: var(--vf-btn-height);
  min-width: 100px;
}
.vf-footer-lang-btn img { border-radius: 3px; object-fit: cover; }
.vf-footer-lang-btn .vf-footer-lang-code { text-transform: uppercase; min-width: 24px; }
.vf-footer-lang-btn .fa-chevron-down { font-size: 12px; color: var(--vf-text-muted); transition: transform 0.3s; }
.vf-footer-lang-menu {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(10px) scale(0.95);
  background: rgba(20, 20, 25, 0.98);
  border: 1px solid var(--vf-border-strong);
  border-radius: 12px;
  padding: 8px;
  min-width: 220px;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 1000;
  max-height: 320px;
  overflow-y: auto;
}
.vf-footer-lang-title {
  padding: 10px 12px;
  color: var(--vf-text-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--vf-border);
  margin-bottom: 6px;
}
.vf-footer-lang-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--vf-text);
  font-size: 14px;
  transition: all 0.2s;
}
.vf-footer-lang-item img { border-radius: 3px; object-fit: cover; }
.vf-footer-lang-item:hover { background: var(--vf-glass); }
.vf-footer-lang-item.is-active { background: rgba(0, 120, 215, 0.15); color: var(--vf-blue); font-weight: 600; }
.vf-footer-lang-item .fa-check { margin-left: auto; font-size: 12px; }

.vf-footer-sep {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  margin: 30px 0;
}
.vf-footer-bottom { text-align: center; color: var(--vf-text-muted); }
.vf-footer-copy {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  font-size: 14px;
}
.vf-footer-brand { color: var(--vf-text); font-weight: 700; }
.vf-footer-dot { color: rgba(255, 255, 255, 0.2); }
.vf-footer-18 { color: var(--vf-red-soft); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.vf-footer-18 i { width: 16px; }
.vf-footer-note { font-size: 12px; color: var(--vf-text-dim); max-width: 600px; margin: 0 auto; line-height: 1.5; }

/* ==========================================================================
   DOWNLOAD PAGE (download1) - restyled to match site shell
   Standalone page that links this app.css. Manrope, dark glass, gold/blue.
   ========================================================================== */
.vf-dl-body {
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--vf-body-bg);
  color: var(--vf-text);
  line-height: 1.6;
  overflow-x: hidden;
  margin: 0;
}
.vf-dl-body * { box-sizing: border-box; }
.vf-dl-body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 120, 215, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 120, 215, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: -1;
}

/* Slim brand bar (cohesion with main site) */
.vf-dl-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 15, 18, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--vf-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
.vf-dl-bar-inner {
  max-width: 1400px;
  margin: 0 auto;
  height: 64px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.vf-dl-bar-logo { display: flex; align-items: center; }
.vf-dl-bar-logo img { height: 60px; width: auto; display: block; filter: brightness(1.1); }
.vf-dl-bar-actions { display: flex; align-items: center; gap: 10px; }

/* Toast */
.vf-toast {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: rgba(20, 20, 25, 0.98);
  border: 1px solid var(--vf-border-strong);
  color: var(--vf-text);
  padding: 14px 22px;
  border-radius: var(--vf-radius);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 2000;
}
.vf-toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.vf-toast i { color: var(--vf-green); font-size: 18px; }

/* Layout */
.vf-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
}
.vf-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.vf-sidebar { display: flex; flex-direction: column; gap: 16px; }

/* Generic glass box */
.vf-box,
.vf-file-info-box,
.vf-player-box,
.vf-tabs-container,
.vf-comments,
.vf-categories-box,
.vf-stats-box {
  background: var(--vf-card);
  border: 1px solid var(--vf-border);
  border-radius: var(--vf-radius);
  padding: 18px;
}
.vf-box-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 14px;
  color: var(--vf-text);
}
.vf-box-title i { color: var(--vf-blue); }

/* File info header */
.vf-file-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.vf-file-title-wrap { display: flex; align-items: center; gap: 14px; min-width: 0; }
.vf-file-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: var(--vf-radius-sm);
  background: rgba(0, 120, 215, 0.15);
  color: var(--vf-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.vf-file-name {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  word-break: break-word;
  line-height: 1.3;
}
.vf-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--vf-border);
}
.vf-meta-item { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--vf-text-muted); }
.vf-meta-item i { color: var(--vf-blue); }
.vf-meta-item a { color: var(--vf-blue); text-decoration: none; }
.vf-meta-item a:hover { text-decoration: underline; }

/* Download button (green CTA) */
.vf-btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--vf-btn-height);
  padding: 0 24px;
  border: none;
  border-radius: var(--vf-radius-sm);
  font-family: inherit;
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s;
  white-space: nowrap;
}
.vf-btn-download:disabled { opacity: 0.6; cursor: not-allowed; }
.vf-btn-green { background: linear-gradient(135deg, #2fb344, #1e7e34); box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3); }
.vf-btn-green:hover:not(:disabled) { filter: brightness(1.08); transform: translateY(-1px); }
.vf-btn-blue { background: linear-gradient(135deg, var(--vf-blue), var(--vf-blue-light)); box-shadow: 0 4px 15px rgba(0, 120, 215, 0.3); }
.vf-btn-blue:hover:not(:disabled) { filter: brightness(1.08); transform: translateY(-1px); }

/* Secondary buttons */
.vf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: var(--vf-radius-sm);
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s;
}
.vf-btn-outline { background: transparent; border: 1px solid var(--vf-border-strong); color: var(--vf-text); }
.vf-btn-outline:hover { border-color: rgba(255, 255, 255, 0.2); background: var(--vf-glass); }
.vf-btn-danger { color: var(--vf-red) !important; border-color: rgba(220, 53, 69, 0.3) !important; }
.vf-btn-danger:hover { background: rgba(220, 53, 69, 0.12); }

/* Player */
.vf-player-wrapper { position: relative; width: 100%; border-radius: var(--vf-radius-sm); overflow: hidden; background: #000; }
.vf-player-content { position: relative; width: 100%; aspect-ratio: 16 / 9; }
.vf-player-content > * { width: 100%; height: 100%; }
.vf-player-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--vf-text-muted);
  flex-direction: column;
  gap: 10px;
}
.vf-player-empty i { font-size: 2.5rem; opacity: 0.5; }
.vf-password-box { margin-top: 14px; }
.vf-password-input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border-radius: var(--vf-radius-sm);
  border: 1px solid var(--vf-border-strong);
  background: var(--vf-glass);
  color: var(--vf-text);
  font-size: 14px;
}
.vf-password-input:focus { outline: none; border-color: var(--vf-blue); }

/* Actions row */
.vf-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.vf-dropdown { position: relative; }
.vf-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: rgba(20, 20, 25, 0.98);
  border: 1px solid var(--vf-border-strong);
  border-radius: var(--vf-radius);
  padding: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s;
  z-index: 50;
}
.vf-dropdown.active .vf-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.vf-share-grid { display: flex; gap: 10px; }
.vf-share-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  transition: transform 0.2s;
}
.vf-share-btn:hover { transform: scale(1.1); }
.vf-share-tg { background: #229ed9; }
.vf-share-vb { background: #7360f2; }
.vf-share-wa { background: #25d366; }
.vf-share-x  { background: #1da1f2; }

/* Countdown alert */
.vf-alert {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--vf-radius-sm);
  background: rgba(255, 183, 0, 0.08);
  border: 1px solid rgba(255, 183, 0, 0.2);
  color: var(--vf-gold);
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.vf-alert span { font-weight: 800; }

/* Categories */
.vf-category-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.vf-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 15px 8px;
  border-radius: var(--vf-radius);
  background: var(--vf-glass);
  border: 1px solid var(--vf-border);
  text-decoration: none;
  text-align: center;
  transition: all 0.25s;
}
.vf-cat-card:hover { border-color: rgba(255, 255, 255, 0.15); transform: translateY(-2px); }
.vf-cat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.vf-cat-name { font-size: 0.8rem; font-weight: 600; color: var(--vf-text); }

/* Stats */
.vf-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; text-align: center; }
.vf-stat-value { font-size: 26px; font-weight: 900; color: var(--vf-text); line-height: 1; }
.vf-stat-value.gold { color: var(--vf-gold); }
.vf-stat-label { font-size: 12px; color: var(--vf-text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 4px; }

/* Tabs */
.vf-tabs-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.vf-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border-radius: var(--vf-radius-sm);
  border: 1px solid var(--vf-border);
  background: var(--vf-glass);
  color: var(--vf-text-muted);
  font-family: inherit;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.25s;
}
.vf-tab-btn.active { background: rgba(0, 120, 215, 0.15); border-color: var(--vf-blue); color: var(--vf-blue); }
.vf-tab-content { display: none; }
.vf-tab-content.active { display: block; }
.vf-textarea {
  width: 100%;
  min-height: 70px;
  padding: 12px 14px;
  border-radius: var(--vf-radius-sm);
  border: 1px solid var(--vf-border-strong);
  background: var(--vf-glass);
  color: var(--vf-text);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px;
  resize: vertical;
}
.vf-textarea:focus { outline: none; border-color: var(--vf-blue); }
.vf-copy-btn {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: var(--vf-radius-sm);
  border: 1px solid var(--vf-border-strong);
  background: transparent;
  color: var(--vf-text);
  font-family: inherit;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.25s;
}
.vf-copy-btn:hover { border-color: var(--vf-blue); color: var(--vf-blue); }

/* Comments */
.vf-comment-form { margin-bottom: 18px; }
.vf-textarea-comment {
  width: 100%;
  min-height: 80px;
  padding: 12px 14px;
  margin-bottom: 10px;
  border-radius: var(--vf-radius-sm);
  border: 1px solid var(--vf-border-strong);
  background: var(--vf-glass);
  color: var(--vf-text);
  font-family: inherit;
  font-size: 14px;
  resize: vertical;
}
.vf-textarea-comment:focus { outline: none; border-color: var(--vf-blue); }
.vf-btn-auto { width: auto; }
.vf-comment-item { padding: 14px 0; border-top: 1px solid var(--vf-border); }
.vf-comment-header { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.vf-comment-author { font-weight: 700; font-size: 14px; color: var(--vf-text); }
.vf-comment-date { font-size: 12px; color: var(--vf-text-muted); }
.vf-cmt-del { background: none; border: none; color: var(--vf-red); cursor: pointer; font-size: 0.8rem; margin-left: auto; }
.vf-comment-text { font-size: 14px; color: var(--vf-text-muted); line-height: 1.6; }

/* Sidebar file list */
.vf-file-list { display: flex; flex-direction: column; gap: 8px; }
.vf-file-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--vf-radius-sm);
  background: var(--vf-glass);
  border: 1px solid var(--vf-border);
  text-decoration: none;
  transition: all 0.25s;
}
.vf-file-item:hover { border-color: rgba(255, 255, 255, 0.15); }
.vf-file-info { min-width: 0; flex: 1; }
.vf-file-title { font-size: 13px; font-weight: 600; color: var(--vf-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vf-file-size { font-size: 12px; color: var(--vf-text-muted); margin-top: 2px; }
.vf-file-item .fa-chevron-right { color: var(--vf-blue); font-size: 0.8rem; }

/* Slim download-page footer */
.vf-dl-footer {
  border-top: 1px solid var(--vf-border);
  padding: 30px 20px;
  text-align: center;
  color: var(--vf-text-muted);
}
.vf-dl-footer-nav { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: center; margin-bottom: 16px; }
.vf-dl-footer-nav a { color: var(--vf-text-muted); text-decoration: none; font-size: 13px; font-weight: 500; }
.vf-dl-footer-nav a:hover { color: var(--vf-text); }
.vf-dl-footer-copy { font-size: 13px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center; }
.vf-dl-footer-18 { color: var(--vf-red-soft); font-weight: 700; }

/* Show/hide mobile vs sidebar duplicates */
.vf-categories-main, .vf-stats-mobile { display: none; }

@media (max-width: 1024px) {
  .vf-wrapper { grid-template-columns: 1fr; padding: 14px; }
  .vf-categories-main, .vf-stats-mobile { display: block; }
  .vf-sidebar .vf-sidebar-cats { display: none; }
}
@media (max-width: 560px) {
  .vf-file-header-top { flex-direction: column; align-items: stretch; }
  .vf-btn-download { width: 100%; }
  .vf-dl-bar-logo img { height: 50px; }
}

/* Preserve: hide injected telegram promo elements on download page */
.telegram-mini-btn, .tg-hub-box, .telegram-ico, .telegram-text { display: none !important; }

/* ==========================================================================
   DOWNLOAD FLOW FRAGMENTS (download0, download0_alt, download2)
   Rendered inside main.html shell, so header/footer/tokens already present.
   Fixes black text-dark on dark bg and unifies look.
   ========================================================================== */
.vf-flow { max-width: 920px; margin: 30px auto; padding: 0 16px; }
.vf-flow-card {
  background: var(--vf-card);
  border: 1px solid var(--vf-border);
  border-radius: var(--vf-radius);
  padding: 28px;
}
.vf-flow-title {
  font-size: 22px;
  font-weight: 800;
  text-align: center;
  margin: 0 0 8px;
  color: var(--vf-text);
  word-break: break-word;
}
.vf-flow-sub { text-align: center; font-size: 13px; color: var(--vf-text-muted); margin-bottom: 24px; }
.vf-flow-url { color: var(--vf-blue); word-break: break-all; }
.vf-flow-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin: 22px 0; }
.vf-flow-btn { min-width: 240px; }
.vf-btn-ghost { background: transparent; border: 1px solid var(--vf-border-strong); color: var(--vf-text); box-shadow: none; }
.vf-btn-ghost:hover:not(:disabled) { border-color: var(--vf-blue); color: var(--vf-blue); transform: translateY(-1px); }
.vf-flow-ads { text-align: center; margin: 18px 0; }

/* download2 ready block */
.vf-ready { display: flex; gap: 16px; align-items: flex-start; }
.vf-ready-icon { flex-shrink: 0; }
.vf-ready-body { flex: 1; min-width: 0; }
.vf-ready-title { font-size: 18px; font-weight: 800; color: var(--vf-text); margin: 0 0 10px; }
.vf-ready-meta { font-size: 13px; color: var(--vf-text-muted); line-height: 1.7; }
.vf-ready-meta b { color: var(--vf-text); }
.vf-ready-meta a { color: var(--vf-blue); text-decoration: none; }
.vf-ready-meta a:hover { text-decoration: underline; }
.vf-flow-wait { font-size: 13px; color: var(--vf-text-muted); margin: 22px 0 10px; }
.vf-directlink {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--vf-radius-sm);
  background: rgba(0, 120, 215, 0.08);
  border: 1px solid rgba(0, 120, 215, 0.25);
  overflow-x: auto;
}
.vf-directlink a { color: var(--vf-blue); text-decoration: none; word-break: break-all; }
.vf-directlink a:hover { text-decoration: underline; }
.vf-directlink svg { flex-shrink: 0; margin-left: auto; }

/* ==========================================================================
   FILE STATE PAGES (download1_no_file = 404, download1_deleted = removed)
   Were inline style blocks, centralized here. Look unchanged.
   ========================================================================== */
.vf-missing-wrapper {
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--vf-text);
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: radial-gradient(ellipse at center, rgba(0, 120, 215, 0.05) 0%, transparent 70%);
}
.vf-missing-card {
  background: rgba(20, 20, 25, 0.98);
  border: 1px solid var(--vf-border-strong);
  border-radius: 24px;
  padding: 48px 40px;
  max-width: 560px;
  width: 100%;
  text-align: center;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 120, 215, 0.1);
  position: relative;
  overflow: hidden;
}
.vf-missing-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--vf-blue), var(--vf-blue-light), var(--vf-blue));
  background-size: 200% 100%;
  animation: vf-missing-gradient 3s ease infinite;
}
@keyframes vf-missing-gradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.vf-missing-404 {
  font-size: 120px;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 2px rgba(0, 120, 215, 0.3);
  line-height: 1;
  margin-bottom: -20px;
  position: relative;
  z-index: 1;
  letter-spacing: -4px;
}
.vf-missing-icon-wrap {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vf-missing-icon-bg {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 120, 215, 0.2), rgba(26, 115, 232, 0.1));
  border: 2px solid rgba(0, 120, 215, 0.3);
  animation: vf-missing-pulse 2s ease-in-out infinite;
}
@keyframes vf-missing-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 120, 215, 0.4); }
  50% { transform: scale(1.05); box-shadow: 0 0 30px 10px rgba(0, 120, 215, 0.1); }
}
.vf-missing-icon { font-size: 40px; color: var(--vf-blue); position: relative; z-index: 2; }
.vf-missing-title { font-size: 26px; font-weight: 800; color: var(--vf-text); margin-bottom: 12px; line-height: 1.3; }
.vf-missing-desc {
  color: var(--vf-text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
.vf-missing-reasons {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--vf-border);
  border-radius: 16px;
  padding: 24px;
  text-align: left;
  margin-bottom: 28px;
}
.vf-missing-reasons-title {
  font-size: 12px;
  color: var(--vf-text-dim);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.vf-missing-reasons-title i { color: #ff4757; font-size: 14px; }
.vf-missing-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.vf-missing-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(220, 53, 69, 0.08);
  border: 1px solid rgba(220, 53, 69, 0.15);
  border-radius: 10px;
  color: var(--vf-red-soft);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
}
.vf-missing-item:hover { background: rgba(220, 53, 69, 0.12); border-color: rgba(220, 53, 69, 0.25); transform: translateX(4px); }
.vf-missing-item i { color: #ff4757; font-size: 16px; width: 20px; text-align: center; }
.vf-missing-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.vf-missing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  height: 48px;
  white-space: nowrap;
  flex: 1;
  min-width: 140px;
  max-width: 200px;
}
.vf-missing-btn.primary { background: linear-gradient(135deg, var(--vf-blue), var(--vf-blue-light)); color: #fff; box-shadow: 0 4px 20px rgba(0, 120, 215, 0.4); }
.vf-missing-btn.primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0, 120, 215, 0.5); }
.vf-missing-btn.secondary { background: transparent; border: 1px solid rgba(255, 255, 255, 0.15); color: var(--vf-text-muted); }
.vf-missing-btn.secondary:hover { border-color: var(--vf-blue); color: var(--vf-blue); background: rgba(0, 120, 215, 0.1); }
@media (max-width: 576px) {
  .vf-missing-card { padding: 32px 24px; border-radius: 20px; }
  .vf-missing-404 { font-size: 80px; margin-bottom: -10px; }
  .vf-missing-title { font-size: 22px; }
}
@media (max-width: 480px) {
  .vf-missing-actions { flex-direction: column; }
  .vf-missing-btn { max-width: none; width: 100%; }
}

/* Removed (deleted by admin) */
.vf-removed-wrapper {
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--vf-text);
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
}
.vf-removed-card {
  background: rgba(20, 20, 25, 0.98);
  border: 1px solid var(--vf-border-strong);
  border-radius: 20px;
  padding: 48px;
  max-width: 600px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.vf-removed-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(220, 53, 69, 0.1);
  border: 2px solid rgba(220, 53, 69, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 48px;
  color: #ff4757;
  animation: vf-removed-pulse 2s infinite;
}
@keyframes vf-removed-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4); transform: scale(1); }
  50% { box-shadow: 0 0 30px 10px rgba(220, 53, 69, 0.1); transform: scale(1.02); }
}
.vf-removed-filename {
  color: var(--vf-text-muted);
  font-size: 14px;
  margin-bottom: 16px;
  word-break: break-all;
  font-family: "Monaco", monospace;
  background: rgba(0, 0, 0, 0.3);
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: inline-block;
  max-width: 100%;
}
.vf-removed-filename i { color: var(--vf-text-dim); margin-right: 8px; }
.vf-removed-title { font-size: 24px; font-weight: 800; color: var(--vf-text); margin-bottom: 32px; line-height: 1.4; }
.vf-removed-title i { color: var(--vf-red); margin-right: 12px; }
.vf-removed-reason {
  background: rgba(220, 53, 69, 0.08);
  border: 1px solid rgba(220, 53, 69, 0.2);
  border-radius: 12px;
  padding: 24px;
  text-align: left;
}
.vf-removed-label {
  color: var(--vf-text-muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.vf-removed-label i { color: #ff4757; font-size: 14px; }
.vf-removed-text { color: var(--vf-red-soft); font-size: 16px; font-weight: 600; line-height: 1.6; word-break: break-word; }
.vf-removed-back { margin-top: 32px; }
.vf-removed-back a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--vf-blue);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s;
  padding: 12px 24px;
  border-radius: 10px;
  border: 1px solid rgba(0, 120, 215, 0.3);
}
.vf-removed-back a:hover { background: rgba(0, 120, 215, 0.1); color: var(--vf-blue-light); border-color: var(--vf-blue); }
@media (max-width: 576px) { .vf-removed-card { padding: 32px 24px; } }

/* ==========================================================================
   AUTH PAGES (login, registration, forgot_pass, reset_password)
   Centralized from inline. Shared form components defined here once.
   registration dead .vf-mobile-nav firefox-fix dropped (header handles it).
   ========================================================================== */

/* ---- login ---- */
/* === ИЗОЛИРОВАННЫЕ СТИЛИ (твои + SEO фиксы) === */
    .vf-login-wrapper {
        font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
        background: #0a0a0a;
        min-height: calc(100vh - 70px);
        padding: 40px 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow-x: hidden;
        width: 100%;
    }

    .vf-login-wrapper::before {
        content: '';
        position: fixed;
        top: 0; left: 0; width: 100%; height: 100%;
        background-image: 
            linear-gradient(rgba(0, 120, 215, 0.03) 1px, transparent 1px),
            linear-gradient(90deg, rgba(0, 120, 215, 0.03) 1px, transparent 1px);
        background-size: 50px 50px;
        pointer-events: none;
        z-index: 0;
    }

    .vf-login-container {
        width: 100%;
        max-width: 1000px;
        position: relative;
        z-index: 1;
    }

    .vf-login-card {
        background: rgba(20, 20, 25, 0.98);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 24px;
        box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8);
        display: flex;
        overflow: hidden;
    }

    /* === ЛЕВАЯ ЧАСТЬ (Social) === */
    .vf-login-social-side {
        width: 45%;
        background: linear-gradient(180deg, rgba(0, 120, 215, 0.05), transparent);
        padding: 50px 40px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        border-right: 1px solid rgba(255, 255, 255, 0.08);
    }

    .vf-login-brand {
        text-align: center;
        margin-bottom: 40px;
    }

    .vf-login-logo {
        width: 80px;
        height: 80px;
        background: linear-gradient(135deg, rgba(0, 120, 215, 0.2), rgba(0, 120, 215, 0.05));
        border: 2px solid rgba(0, 120, 215, 0.3);
        border-radius: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px;
        font-size: 32px;
        color: #0078d7;
        box-shadow: 0 4px 20px rgba(0, 120, 215, 0.2);
    }

    /* H1 для SEO (скрытый если нужен, но лучше оставить видимым) */
    .vf-login-title {
        font-size: 28px;
        font-weight: 800;
        color: #fff;
        margin-bottom: 8px;
        line-height: 1.2;
    }

    .vf-login-subtitle {
        color: #a0a0b0;
        font-size: 14px;
        font-weight: 500;
    }

    .vf-social-title {
        text-align: center;
        color: #a0a0b0;
        font-size: 13px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 20px;
        position: relative;
    }

    .vf-social-title::before,
    .vf-social-title::after {
        content: '';
        position: absolute;
        top: 50%;
        width: 30%;
        height: 1px;
        background: rgba(255, 255, 255, 0.1);
    }

    .vf-social-title::before { left: 0; }
    .vf-social-title::after { right: 0; }

    .vf-social-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        height: 56px;
        width: 100%;
        border-radius: 12px;
        border: none;
        font-weight: 700;
        font-size: 15px;
        color: white;
        text-decoration: none;
        margin-bottom: 12px;
        transition: all 0.3s;
        cursor: pointer;
    }

    .vf-social-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    }

    .vf-social-google {
        background: #DB4437;
        box-shadow: 0 4px 15px rgba(219, 68, 55, 0.3);
    }
    .vf-social-google:hover { background: #E74C3C; box-shadow: 0 8px 25px rgba(219, 68, 55, 0.5); }

    .vf-social-fb {
        background: #1877f2;
        box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
    }
    .vf-social-fb:hover { box-shadow: 0 8px 25px rgba(24, 119, 242, 0.5); }

    .vf-social-vk {
        background: #2787f5;
        box-shadow: 0 4px 15px rgba(39, 135, 245, 0.3);
    }
    .vf-social-vk:hover { box-shadow: 0 8px 25px rgba(39, 135, 245, 0.5); }

    /* === ПРАВАЯ ЧАСТЬ (Форма) === */
    .vf-login-form-side {
        flex: 1;
        padding: 50px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .vf-form-header {
        margin-bottom: 30px;
    }

    .vf-form-header h2 {
        font-size: 24px;
        font-weight: 700;
        color: #fff;
        margin-bottom: 6px;
    }

    .vf-form-header p {
        color: #a0a0b0;
        font-size: 14px;
    }

    .vf-login-alert {
        padding: 14px 16px;
        border-radius: 10px;
        margin-bottom: 20px;
        font-size: 13px;
        font-weight: 600;
        display: none;
        align-items: center;
        gap: 10px;
        background: rgba(220, 53, 69, 0.1);
        border: 1px solid rgba(220, 53, 69, 0.3);
        color: #ff6b6b;
    }

    .vf-login-alert.vf-show { display: flex; }
    .vf-login-alert i { font-size: 16px; }

    .vf-login-field {
        margin-bottom: 20px;
        position: relative;
    }

    .vf-login-input {
        width: 100%;
        height: 56px;
        padding: 0 50px 0 50px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        font-size: 15px;
        font-family: inherit;
        color: #fff;
        transition: all 0.3s;
        box-sizing: border-box;
    }

    .vf-login-input:focus {
        outline: none;
        border-color: #0078d7;
        background: rgba(0, 120, 215, 0.05);
        box-shadow: 0 0 0 3px rgba(0, 120, 215, 0.1);
    }

    .vf-login-input::placeholder { color: #5a5f69; }

    .vf-field-icon {
        position: absolute;
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
        color: #5a5f69;
        font-size: 18px;
        transition: all 0.3s;
    }

    .vf-login-input:focus ~ .vf-field-icon { color: #0078d7; }

    .vf-toggle-pass {
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        color: #5a5f69;
        cursor: pointer;
        font-size: 18px;
        padding: 8px;
        transition: all 0.3s;
        z-index: 10;
    }

    .vf-toggle-pass:hover { color: #0078d7; }

    .vf-forgot-row {
        text-align: right;
        margin: -10px 0 20px;
    }

    .vf-forgot-link {
        color: #0078d7;
        font-size: 13px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s;
    }

    .vf-forgot-link:hover {
        color: #4dabf7;
        text-decoration: underline;
    }

    .vf-captcha-wrap {
        background: rgba(255, 255, 255, 0.03);
        border: 1px dashed rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        padding: 16px;
        margin-bottom: 20px;
        text-align: center;
        overflow-x: auto;
    }

    .vf-login-btn {
        width: 100%;
        height: 56px;
        background: linear-gradient(135deg, #0078d7, #1a73e8);
        color: white;
        border: none;
        border-radius: 12px;
        font-size: 16px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        box-shadow: 0 4px 15px rgba(0, 120, 215, 0.4);
    }

    .vf-login-btn:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 120, 215, 0.6);
    }

    .vf-login-btn:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        background: #4a4f59;
        box-shadow: none;
    }

    .vf-login-footer {
        text-align: center;
        margin-top: 24px;
        color: #a0a0b0;
        font-size: 14px;
        font-weight: 500;
    }

    .vf-login-footer a {
        color: #0078d7;
        text-decoration: none;
        font-weight: 700;
        margin-left: 6px;
    }

    .vf-login-footer a:hover { text-decoration: underline; }

    @media (max-width: 768px) {
        .vf-login-wrapper { padding: 20px; min-height: auto; }
        .vf-login-card { flex-direction: column; border-radius: 20px; }
        .vf-login-social-side {
            width: 100%;
            padding: 30px 24px;
            border-right: none;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }
        .vf-login-logo { width: 60px; height: 60px; font-size: 24px; }
        .vf-login-title { font-size: 22px; }
        .vf-login-form-side { padding: 30px 24px; }
        .vf-login-input { height: 52px; }
    }

    @media (max-width: 380px) {
        .vf-login-wrapper { padding: 10px; }
        .vf-login-social-side, .vf-login-form-side { padding: 20px; }
    }

/* ---- registration ---- */
/* === ИЗОЛИРОВАННЫЕ СТИЛИ ТОЛЬКО ДЛЯ РЕГИСТРАЦИИ === */
        .vf-reg-wrapper {
            font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
            background: #0a0a0a;
            min-height: calc(100vh - 70px);
            padding: 40px 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow-x: hidden;
            width: 100%;
        }

        /* Фон только внутри обертки */
        .vf-reg-wrapper::before {
            content: '';
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background-image: 
                linear-gradient(rgba(0, 120, 215, 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(0, 120, 215, 0.03) 1px, transparent 1px);
            background-size: 50px 50px;
            pointer-events: none;
            z-index: 0;
        }

        .vf-reg-container {
            width: 100%;
            max-width: 1000px;
            position: relative;
            z-index: 1;
        }

        .vf-reg-card {
            background: rgba(20, 20, 25, 0.98);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 24px;
            box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8);
            display: flex;
            overflow: hidden;
        }

        /* === ЛЕВАЯ ЧАСТЬ (Соцсети) === */
        .vf-reg-social-side {
            width: 45%;
            background: linear-gradient(180deg, rgba(0, 120, 215, 0.05), transparent);
            padding: 50px 40px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            border-right: 1px solid rgba(255, 255, 255, 0.08);
        }

        .vf-reg-brand {
            text-align: center;
            margin-bottom: 40px;
        }

        .vf-reg-logo {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, rgba(0, 120, 215, 0.2), rgba(0, 120, 215, 0.05));
            border: 2px solid rgba(0, 120, 215, 0.3);
            border-radius: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            font-size: 32px;
            color: #0078d7;
            box-shadow: 0 4px 20px rgba(0, 120, 215, 0.2);
        }

        .vf-reg-title {
            font-size: 28px;
            font-weight: 800;
            color: #fff;
            margin-bottom: 8px;
        }

        .vf-reg-subtitle {
            color: #a0a0b0;
            font-size: 14px;
            font-weight: 500;
        }

        .vf-social-title {
            text-align: center;
            color: #a0a0b0;
            font-size: 13px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 20px;
            position: relative;
        }

        .vf-social-title::before,
        .vf-social-title::after {
            content: '';
            position: absolute;
            top: 50%;
            width: 30%;
            height: 1px;
            background: rgba(255, 255, 255, 0.1);
        }

        .vf-social-title::before { left: 0; }
        .vf-social-title::after { right: 0; }

        /* Соцкнопки вертикально с иконками */
        .vf-social-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            height: 56px;
            width: 100%;
            border-radius: 12px;
            border: none;
            font-weight: 700;
            font-size: 15px;
            color: white;
            text-decoration: none;
            margin-bottom: 12px;
            transition: all 0.3s;
            cursor: pointer;
        }

        .vf-social-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.4);
        }

        .vf-social-btn i {
            font-size: 20px;
        }

        /* Google - Красная с иконкой */
        .vf-social-google {
            background: #DB4437;
            box-shadow: 0 4px 15px rgba(219, 68, 55, 0.3);
        }
        .vf-social-google:hover {
            background: #E74C3C;
            box-shadow: 0 8px 25px rgba(219, 68, 55, 0.5);
        }

        .vf-social-fb {
            background: #1877f2;
            box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
        }
        .vf-social-fb:hover {
            box-shadow: 0 8px 25px rgba(24, 119, 242, 0.5);
        }

        .vf-social-vk {
            background: #2787f5;
            box-shadow: 0 4px 15px rgba(39, 135, 245, 0.3);
        }
        .vf-social-vk:hover {
            box-shadow: 0 8px 25px rgba(39, 135, 245, 0.5);
        }

        /* === ПРАВАЯ ЧАСТЬ (Форма) === */
        .vf-reg-form-side {
            flex: 1;
            padding: 50px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .vf-form-header {
            margin-bottom: 30px;
        }

        .vf-form-header h2 {
            font-size: 24px;
            font-weight: 700;
            color: #fff;
            margin-bottom: 6px;
        }

        .vf-form-header p {
            color: #a0a0b0;
            font-size: 14px;
        }

        /* Алерты */
        .vf-reg-alert {
            padding: 14px 16px;
            border-radius: 10px;
            margin-bottom: 20px;
            font-size: 13px;
            font-weight: 600;
            display: none;
            align-items: center;
            gap: 10px;
            background: rgba(220, 53, 69, 0.1);
            border: 1px solid rgba(220, 53, 69, 0.3);
            color: #ff6b6b;
        }

        .vf-reg-alert.vf-show { display: flex; }
        .vf-reg-alert i { font-size: 16px; }

        /* Поля ввода */
        .vf-reg-field {
            margin-bottom: 16px;
            position: relative;
        }

        .vf-reg-input {
            width: 100%;
            height: 56px;
            padding: 0 50px 0 50px;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            font-size: 15px;
            font-family: inherit;
            color: #fff;
            transition: all 0.3s;
            box-sizing: border-box;
        }

        .vf-reg-input:focus {
            outline: none;
            border-color: #0078d7;
            background: rgba(0, 120, 215, 0.05);
            box-shadow: 0 0 0 3px rgba(0, 120, 215, 0.1);
        }

        .vf-reg-input::placeholder {
            color: #5a5f69;
        }

        .vf-field-icon {
            position: absolute;
            left: 16px;
            top: 50%;
            transform: translateY(-50%);
            color: #5a5f69;
            font-size: 18px;
            transition: all 0.3s;
        }

        .vf-reg-input:focus ~ .vf-field-icon {
            color: #0078d7;
        }

        /* Глазик для пароля */
        .vf-toggle-pass {
            position: absolute;
            right: 16px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: #5a5f69;
            cursor: pointer;
            font-size: 18px;
            padding: 8px;
            transition: all 0.3s;
            z-index: 10;
        }

        .vf-toggle-pass:hover {
            color: #0078d7;
        }

        /* === ДОПОЛНИТЕЛЬНЫЕ ПОЛЯ (появляются плавно) === */
        .vf-extra-fields {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease, opacity 0.4s ease;
            opacity: 0;
        }

        .vf-extra-fields.vf-visible {
            max-height: 500px;
            opacity: 1;
        }

        /* Купон */
        .vf-coupon-link {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            color: #a0a0b0;
            font-size: 13px;
            font-weight: 600;
            text-decoration: none;
            margin: 8px 0 16px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .vf-coupon-link:hover {
            color: #0078d7;
        }

        .vf-coupon-field {
            display: none;
            margin-bottom: 16px;
        }

        .vf-coupon-field.vf-show {
            display: block;
            animation: slideDown 0.3s ease;
        }

        @keyframes slideDown {
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* Captcha */
        .vf-captcha-wrap {
            background: rgba(255, 255, 255, 0.03);
            border: 1px dashed rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            padding: 16px;
            margin-bottom: 16px;
            text-align: center;
            overflow-x: auto;
        }

        /* Кнопка */
        .vf-reg-btn {
            width: 100%;
            height: 56px;
            background: linear-gradient(135deg, #0078d7, #1a73e8);
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            margin-top: 8px;
            box-shadow: 0 4px 15px rgba(0, 120, 215, 0.4);
        }

        .vf-reg-btn:hover:not(:disabled) {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0, 120, 215, 0.6);
        }

        .vf-reg-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            background: #4a4f59;
            box-shadow: none;
        }

        /* Футер формы */
        .vf-reg-footer {
            text-align: center;
            margin-top: 24px;
            color: #a0a0b0;
            font-size: 14px;
            font-weight: 500;
        }

        .vf-reg-footer a {
            color: #0078d7;
            text-decoration: none;
            font-weight: 700;
            margin-left: 6px;
        }

        .vf-reg-footer a:hover {
            text-decoration: underline;
        }

        /* === МОБИЛЬНАЯ АДАПТАЦИЯ === */
        @media (max-width: 768px) {
            .vf-reg-wrapper {
                padding: 20px;
                min-height: auto;
            }

            .vf-reg-card {
                flex-direction: column;
                border-radius: 20px;
            }

            .vf-reg-social-side {
                width: 100%;
                padding: 30px 24px;
                border-right: none;
                border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            }

            .vf-reg-logo {
                width: 60px;
                height: 60px;
                font-size: 24px;
            }

            .vf-reg-title {
                font-size: 22px;
            }

            .vf-social-btn span {
                display: inline;
            }

            .vf-reg-form-side {
                padding: 30px 24px;
            }

            .vf-reg-input {
                height: 52px;
            }
        }

        /* Для очень маленьких экранов */
        @media (max-width: 380px) {
            .vf-reg-wrapper {
                padding: 10px;
            }
            .vf-reg-social-side,
            .vf-reg-form-side {
                padding: 20px;
            }
        }

/* ---- forgot_pass ---- */
/* ========== VIPFile Password Recovery ========== */
.vf-recovery-wrapper {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: radial-gradient(ellipse at top, rgba(0, 120, 215, 0.15), transparent 70%),
              radial-gradient(ellipse at bottom, rgba(40, 167, 69, 0.1), transparent 70%),
              #0a0a0a;
}

.vf-recovery-card {
  background: rgba(20, 20, 25, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 48px 40px;
  width: 100%;
  max-width: 440px;
  backdrop-filter: blur(20px);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 
              0 0 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.vf-recovery-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0078d7, #28a745, #0078d7);
  background-size: 200% 100%;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Header */
.vf-recovery-header {
  text-align: center;
  margin-bottom: 32px;
}

.vf-recovery-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(0, 120, 215, 0.2), rgba(0, 120, 215, 0.05));
  border: 2px solid rgba(0, 120, 215, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 32px;
  color: #0078d7;
  box-shadow: 0 10px 30px rgba(0, 120, 215, 0.2);
}

.vf-recovery-title {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px 0;
  letter-spacing: -0.5px;
}

.vf-recovery-subtitle {
  color: #a0a0b0;
  font-size: 14px;
  font-weight: 500;
}

/* Alert */
.vf-recovery-alert {
  background: rgba(220, 53, 69, 0.15);
  border: 1px solid rgba(220, 53, 69, 0.3);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
  color: #ff6b6b;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

.vf-recovery-alert i {
  font-size: 18px;
  flex-shrink: 0;
}

/* Input Group */
.vf-recovery-input-group {
  position: relative;
  margin-bottom: 24px;
}

.vf-recovery-input {
  width: 100%;
  background: rgba(10, 10, 10, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 16px 20px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  transition: all 0.3s;
  outline: none;
}

.vf-recovery-input:focus {
  border-color: #0078d7;
  box-shadow: 0 0 0 4px rgba(0, 120, 215, 0.15);
  background: rgba(10, 10, 10, 0.8);
}

.vf-recovery-input::placeholder {
  color: #5a5f69;
  font-weight: 500;
}

.vf-recovery-label {
  display: block;
  margin-bottom: 8px;
  color: #a0a0b0;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-left: 4px;
}

/* Captcha */
.vf-recovery-captcha {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Button */
.vf-recovery-btn {
  width: 100%;
  background: linear-gradient(135deg, #28a745, #34ce57);
  border: none;
  border-radius: 12px;
  padding: 18px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(40, 167, 69, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.vf-recovery-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(40, 167, 69, 0.4);
}

.vf-recovery-btn:active {
  transform: translateY(0);
}

.vf-recovery-btn i {
  margin-right: 8px;
}

/* Back link */
.vf-recovery-back {
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.vf-recovery-back a {
  color: #a0a0b0;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}

.vf-recovery-back a:hover {
  color: #0078d7;
  transform: translateX(-4px);
}

/* Responsive */
@media (max-width: 480px) {
  .vf-recovery-card {
    padding: 32px 24px;
    border-radius: 16px;
  }
  
  .vf-recovery-icon {
    width: 64px;
    height: 64px;
    font-size: 24px;
  }
  
  .vf-recovery-title {
    font-size: 22px;
  }
  
  .vf-recovery-btn {
    padding: 16px;
    font-size: 15px;
  }
}

/* ---- reset_password ---- */
/* ========== VIPFile Password Reset - Final Step ========== */
.vf-reset-wrapper {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: radial-gradient(ellipse at top, rgba(0, 120, 215, 0.15), transparent 70%),
              radial-gradient(ellipse at bottom, rgba(40, 167, 69, 0.1), transparent 70%),
              #0a0a0a;
}

.vf-reset-card {
  background: rgba(20, 20, 25, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 48px 40px;
  width: 100%;
  max-width: 480px;
  backdrop-filter: blur(20px);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 
              0 0 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.vf-reset-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0078d7, #28a745, #0078d7);
  background-size: 200% 100%;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Header */
.vf-reset-header {
  text-align: center;
  margin-bottom: 32px;
}

.vf-reset-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.2), rgba(40, 167, 69, 0.05));
  border: 2px solid rgba(40, 167, 69, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 32px;
  color: #28a745;
  box-shadow: 0 10px 30px rgba(40, 167, 69, 0.2);
}

.vf-reset-title {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px 0;
  letter-spacing: -0.5px;
}

.vf-reset-subtitle {
  color: #a0a0b0;
  font-size: 14px;
  font-weight: 500;
}

/* Alerts */
.vf-reset-alert {
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.vf-reset-alert.danger {
  background: rgba(220, 53, 69, 0.15);
  border: 1px solid rgba(220, 53, 69, 0.3);
  color: #ff6b6b;
  animation: shake 0.5s ease-in-out;
}

.vf-reset-alert.info {
  background: rgba(0, 120, 215, 0.1);
  border: 1px solid rgba(0, 120, 215, 0.3);
  color: #0078d7;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

.vf-reset-alert i {
  font-size: 18px;
  flex-shrink: 0;
}

/* Input Groups */
.vf-reset-form-group {
  margin-bottom: 20px;
}

.vf-reset-label {
  display: block;
  margin-bottom: 8px;
  color: #a0a0b0;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-left: 4px;
}

.vf-reset-label span {
  color: #5a5f69;
  font-weight: 500;
  text-transform: none;
  font-size: 12px;
}

.vf-reset-input {
  width: 100%;
  background: rgba(10, 10, 10, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 16px 20px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Courier New', monospace;
  transition: all 0.3s;
  outline: none;
  box-sizing: border-box;
}

.vf-reset-input:focus {
  border-color: #28a745;
  box-shadow: 0 0 0 4px rgba(40, 167, 69, 0.15);
  background: rgba(10, 10, 10, 0.8);
}

.vf-reset-input::placeholder {
  color: #5a5f69;
  font-weight: 500;
  font-family: 'Manrope', sans-serif;
}

/* Password strength indicator (optional visual) */
.vf-reset-input:valid:not(:placeholder-shown) {
  border-color: rgba(40, 167, 69, 0.5);
}

/* Captcha */
.vf-reset-captcha {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Button */
.vf-reset-btn {
  width: 100%;
  background: linear-gradient(135deg, #28a745, #34ce57);
  border: none;
  border-radius: 12px;
  padding: 18px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(40, 167, 69, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 8px;
}

.vf-reset-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(40, 167, 69, 0.4);
}

.vf-reset-btn:active {
  transform: translateY(0);
}

.vf-reset-btn i {
  margin-right: 8px;
}

/* Security note */
.vf-reset-security {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #5a5f69;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.vf-reset-security i {
  color: #28a745;
}

/* Responsive */
@media (max-width: 480px) {
  .vf-reset-card {
    padding: 32px 24px;
    border-radius: 16px;
  }
  
  .vf-reset-icon {
    width: 64px;
    height: 64px;
    font-size: 24px;
  }
  
  .vf-reset-title {
    font-size: 20px;
  }
  
  .vf-reset-input {
    padding: 14px 16px;
    font-size: 16px; /* Prevent zoom on iOS */
  }
  
  .vf-reset-btn {
    padding: 16px;
    font-size: 15px;
  }
}

/* ==========================================================================
   CONTENT PAGES (news, news_details, contact, splash)
   contact .vf-alert/.vf-textarea renamed to .vf-contact-* (collision fix)
   ========================================================================== */

/* ---- news ---- */
/* VIPFile News List */
  .vf-news-list-container {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #ffffff;
    padding: 20px;
    max-width: 1000px;
    margin: 0 auto;
  }

  .vf-news-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .vf-news-title {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0;
  }

  .vf-news-title i {
    color: #0078d7;
    font-size: 36px;
  }

  .vf-news-subtitle {
    color: #a0a0b0;
    font-size: 16px;
    margin-top: 10px;
  }

  /* News Cards */
  .vf-news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .vf-news-card {
    background: rgba(20, 20, 25, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
  }

  .vf-news-card:hover {
    border-color: rgba(0, 120, 215, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  }

  .vf-news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #0078d7, #1a73e8);
    opacity: 0;
    transition: opacity 0.3s;
  }

  .vf-news-card:hover::before {
    opacity: 1;
  }

  /* Meta Header */
  .vf-news-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
  }

  .vf-news-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #5a5f69;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .vf-news-date i {
    color: #0078d7;
    font-size: 14px;
  }

  .vf-news-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: rgba(0, 120, 215, 0.1);
    border: 1px solid rgba(0, 120, 215, 0.2);
    border-radius: 12px;
    color: #0078d7;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
  }

  /* Title */
  .vf-news-card-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 16px 0;
  }

  .vf-news-card-title a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .vf-news-card-title a:hover {
    color: #0078d7;
  }

  .vf-news-card-title a::after {
    content: '\f061';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 14px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s;
  }

  .vf-news-card:hover .vf-news-card-title a::after {
    opacity: 1;
    transform: translateX(0);
  }

  /* Content Preview */
  .vf-news-excerpt {
    color: #a0a0b0;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .vf-news-excerpt p {
    margin: 0;
  }

  /* Footer Actions */
  .vf-news-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    flex-wrap: wrap;
    gap: 12px;
  }

  .vf-news-readmore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0078d7;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
  }

  .vf-news-readmore:hover {
    color: #1a73e8;
    gap: 12px;
  }

  .vf-news-comments {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #a0a0b0;
    font-size: 14px;
    text-decoration: none;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    transition: all 0.3s;
  }

  .vf-news-comments:hover {
    border-color: #0078d7;
    background: rgba(0, 120, 215, 0.1);
    color: #0078d7;
  }

  .vf-news-comments i {
    font-size: 13px;
  }

  /* Empty State */
  .vf-news-empty {
    text-align: center;
    padding: 80px 20px;
    color: #5a5f69;
  }

  .vf-news-empty i {
    font-size: 80px;
    margin-bottom: 24px;
    opacity: 0.2;
    display: block;
  }

  .vf-news-empty h3 {
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 8px;
  }

  /* Pagination Container */
  .vf-paging {
    margin-top: 40px;
    display: flex;
    justify-content: center;
  }

  /* Mobile */
  @media (max-width: 768px) {
    .vf-news-title {
      font-size: 24px;
    }
    
    .vf-news-card {
      padding: 20px;
    }
    
    .vf-news-card-title {
      font-size: 18px;
    }
    
    .vf-news-footer {
      flex-direction: column;
      align-items: flex-start;
    }
  }

/* ---- news_details ---- */
/* VIPFile News Detail */
  .vf-news-detail-container {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #ffffff;
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
  }

  /* Back Navigation */
  .vf-back-nav {
    margin-bottom: 30px;
  }

  .vf-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #a0a0b0;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
  }

  .vf-back-link:hover {
    color: #0078d7;
    border-color: rgba(0, 120, 215, 0.3);
    background: rgba(0, 120, 215, 0.1);
    transform: translateX(-4px);
  }

  /* Article Card */
  .vf-article-card {
    background: rgba(20, 20, 25, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  }

  .vf-article-header {
    padding: 40px;
    background: linear-gradient(135deg, rgba(0, 120, 215, 0.1), rgba(26, 115, 232, 0.05));
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
  }

  .vf-article-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0078d7, #1a73e8);
  }

  .vf-article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
  }

  .vf-article-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #0078d7;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .vf-article-date i {
    font-size: 16px;
  }

  .vf-article-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255, 183, 0, 0.1);
    border: 1px solid rgba(255, 183, 0, 0.3);
    border-radius: 20px;
    color: #ffb700;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
  }

  .vf-article-title {
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
    margin: 0;
    word-break: break-word;
  }

  @media (max-width: 768px) {
    .vf-article-title {
      font-size: 26px;
    }
    .vf-article-header {
      padding: 28px;
    }
  }

  /* Article Content */
  .vf-article-content {
    padding: 40px;
    font-size: 16px;
    line-height: 1.8;
    color: #e0e0e0;
  }

  @media (max-width: 768px) {
    .vf-article-content {
      padding: 24px;
      font-size: 15px;
    }
  }

  .vf-article-content p {
    margin-bottom: 20px;
  }

  .vf-article-content h2,
  .vf-article-content h3,
  .vf-article-content h4 {
    color: #ffffff;
    margin: 30px 0 15px 0;
    font-weight: 700;
  }

  .vf-article-content h2 {
    font-size: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
  }

  .vf-article-content h3 {
    font-size: 22px;
    color: #0078d7;
  }

  .vf-article-content a {
    color: #0078d7;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 120, 215, 0.3);
    transition: all 0.3s;
  }

  .vf-article-content a:hover {
    color: #1a73e8;
    border-bottom-color: #0078d7;
  }

  .vf-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 20px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }

  .vf-article-content blockquote {
    border-left: 4px solid #0078d7;
    margin: 25px 0;
    padding: 15px 25px;
    background: rgba(0, 120, 215, 0.05);
    font-style: italic;
    color: #a0a0b0;
  }

  .vf-article-content ul,
  .vf-article-content ol {
    margin: 20px 0;
    padding-left: 30px;
  }

  .vf-article-content li {
    margin-bottom: 8px;
  }

  .vf-article-content code {
    background: rgba(0, 0, 0, 0.4);
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Monaco', monospace;
    font-size: 14px;
    color: #ffb700;
  }

  /* Article Footer */
  .vf-article-footer {
    padding: 30px 40px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
  }

  .vf-article-share {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .vf-article-share span {
    font-size: 14px;
    color: #5a5f69;
    font-weight: 600;
    text-transform: uppercase;
  }

  .vf-share-btns {
    display: flex;
    gap: 8px;
  }

  .vf-share-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #a0a0b0;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
  }

  .vf-share-btn:hover {
    background: #0078d7;
    border-color: #0078d7;
    color: white;
    transform: translateY(-2px);
  }

  /* Comments Section Wrapper */
  .vf-comments-wrapper {
    margin-top: 40px;
  }

  .vf-comments-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .vf-comments-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
  }

  .vf-comments-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 10px;
    background: #0078d7;
    border-radius: 14px;
    color: white;
    font-size: 13px;
    font-weight: 700;
  }

/* ---- contact ---- */
/* === VIPFile Contact - Classic Submit + Modal + Telegram Top === */
.vf-contact-wrapper {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #0a0a0a;
    min-height: 100vh;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
}

.vf-contact-wrapper::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(0, 120, 215, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 120, 215, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

.vf-contact-wrapper::after {
    content: '';
    position: fixed;
    top: 10%; left: 50%;
    transform: translateX(-50%);
    width: 800px; height: 600px;
    background: radial-gradient(circle, rgba(0, 120, 215, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.vf-contact-container {
    width: 100%;
    max-width: 700px;
    margin: auto;
    position: relative;
    z-index: 1;
    padding: 10px 0;
}

.vf-contact-card {
    background: rgba(20, 20, 25, 0.98);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 
                0 0 0 1px rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
}

/* Хедер */
.vf-contact-header {
    text-align: center;
    margin-bottom: 28px;
}

.vf-contact-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(0, 120, 215, 0.2), rgba(0, 120, 215, 0.05));
    border: 2px solid rgba(0, 120, 215, 0.3);
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 4px 15px rgba(0, 120, 215, 0.2);
    color: #0078d7;
    font-size: 24px;
}

.vf-contact-title {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 10px 0;
    letter-spacing: -0.02em;
}

.vf-contact-subtitle {
    color: #a0a0b0;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 500px;
}

.vf-contact-subtitle a {
    color: #0078d7;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.vf-contact-subtitle a:hover {
    color: #4dabf7;
    text-decoration: underline;
}

/* Компактная Telegram кнопка в хедере */
.vf-telegram-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 136, 204, 0.1);
    border: 1px solid rgba(0, 136, 204, 0.3);
    color: #00a8e6;
    padding: 10px 20px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    margin-top: 16px;
}

.vf-telegram-badge:hover {
    background: rgba(0, 136, 204, 0.2);
    border-color: rgba(0, 136, 204, 0.5);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3);
    text-decoration: none;
}

.vf-telegram-badge i {
    font-size: 18px;
}

/* Алерты */
.vf-contact-alert {
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    display: none;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.vf-contact-alert-show {
    display: flex !important;
}

.vf-contact-alert-error {
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #ff6b6b;
}

.vf-contact-alert i {
    font-size: 18px;
    flex-shrink: 0;
}

/* Форма */
.vf-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.vf-form-group {
    margin-bottom: 16px;
    position: relative;
}

.vf-form-group-half {
    margin-bottom: 0;
}

.vf-label {
    display: block;
    margin-bottom: 6px;
    color: #e2e8f0;
    font-weight: 600;
    font-size: 13px;
}

.vf-input-wrap {
    position: relative;
}

.vf-input {
    width: 100%;
    height: 48px;
    padding: 12px 16px 12px 44px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
    color: #ffffff;
    box-sizing: border-box;
}

.vf-input:focus {
    outline: none;
    border-color: #0078d7;
    background: rgba(0, 120, 215, 0.05);
    box-shadow: 0 0 0 3px rgba(0, 120, 215, 0.1);
}

.vf-input::placeholder {
    color: #5a5f69;
    font-size: 14px;
}

.vf-contact-textarea {
    width: 100%;
    min-height: 150px;
    padding: 14px 16px 14px 44px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
    color: #ffffff;
    box-sizing: border-box;
    resize: vertical;
    line-height: 1.5;
}

.vf-contact-textarea:focus {
    outline: none;
    border-color: #0078d7;
    background: rgba(0, 120, 215, 0.05);
    box-shadow: 0 0 0 3px rgba(0, 120, 215, 0.1);
}

.vf-input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #5a5f69;
    font-size: 16px;
    pointer-events: none;
}

.vf-contact-textarea ~ .vf-input-icon {
    top: 24px;
    transform: none;
}

.vf-input:focus ~ .vf-input-icon,
.vf-form-group:focus-within .vf-input-icon {
    color: #0078d7;
}

/* Футер формы */
.vf-form-footer {
    display: flex;
    gap: 16px;
    align-items: flex-end;
    margin-top: 20px;
}

.vf-captcha-box {
    flex: 1;
    min-width: 0;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 16px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    overflow-x: auto;
}

.vf-submit-wrap {
    flex-shrink: 0;
}

/* КНОПКА ОТПРАВКИ - ШИРОКАЯ КАК НАДО */
.vf-btn-submit {
    height: 52px;
    min-width: 200px;
    padding: 0 48px;
    background: linear-gradient(135deg, #0078d7, #1a73e8);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 120, 215, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: inherit;
}

.vf-btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 120, 215, 0.6);
}

.vf-btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    background: linear-gradient(135deg, #5a5f69, #4a4f59);
    box-shadow: none;
}

/* МОДАЛЬНОЕ ОКНО УСПЕХА */
.vf-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.vf-modal-overlay.show {
    display: flex;
    opacity: 1;
}

.vf-modal-content {
    background: rgba(20, 20, 25, 0.98);
    border-radius: 24px;
    padding: 48px 40px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.9);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    position: relative;
}

.vf-modal-overlay.show .vf-modal-content {
    transform: scale(1) translateY(0);
}

.vf-modal-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.2), rgba(40, 167, 69, 0.05));
    border: 2px solid rgba(40, 167, 69, 0.4);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(40, 167, 69, 0.3);
    animation: vfSuccessPop 0.5s ease;
}

@keyframes vfSuccessPop {
    0% { transform: scale(0); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.vf-modal-icon i {
    font-size: 36px;
    color: #28a745;
}

.vf-modal-title {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 12px 0;
    letter-spacing: -0.02em;
}

.vf-modal-text {
    color: #a0a0b0;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 28px 0;
}

.vf-modal-btn {
    height: 48px;
    padding: 0 40px;
    background: linear-gradient(135deg, #28a745, #34ce57);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.vf-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.6);
}

/* Мобильная адаптация */
@media (max-width: 640px) {
    .vf-contact-wrapper {
        padding: 0;
        background: #0a0a0a;
    }
    .vf-contact-wrapper::before,
    .vf-contact-wrapper::after {
        display: none;
    }
    .vf-contact-container {
        max-width: 100%;
        padding: 0;
    }
    .vf-contact-card {
        padding: 24px 20px;
        border-radius: 0;
        border: none;
        box-shadow: none;
        background: #0a0a0a;
        min-height: 100vh;
    }
    .vf-form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .vf-form-footer {
        flex-direction: column;
        align-items: stretch;
    }
    .vf-captcha-box {
        width: 100%;
        order: 2;
    }
    .vf-submit-wrap {
        order: 1;
        width: 100%;
    }
    .vf-btn-submit {
        width: 100%;
        min-width: auto;
    }
    .vf-modal-content {
        padding: 36px 24px;
        margin: 20px;
    }
    .vf-modal-title {
        font-size: 24px;
    }
}

/* ---- splash ---- */
/* === Critical CSS + VIPFile Dark Theme === */
#vpf-home{
  --vf-bg: #121418;
  --vf-card: #1c1f26;
  --vf-card-hover: #23262e;
  --vf-border: rgba(255,255,255,0.08);
  --vf-blue: #0078d7;
  --vf-blue-light: #1a73e8;
  --vf-blue-glow: rgba(0,120,215,0.3);
  --vf-gold: #ffb700;
  --vf-text: #e2e8f0;
  --vf-text-muted: #94a3b8;
  --vf-radius: 16px;
  --vf-max: 1200px;
  
  background: var(--vf-bg);
  color: var(--vf-text);
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  padding: 40px 0;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

#vpf-home *, #vpf-home *::before, #vpf-home *::after {
  box-sizing: border-box;
}

#vpf-home .vpf-c{
  max-width: var(--vf-max);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  min-width: 0;
}

/* HERO */
.vpf-hero{
  position: relative;
  overflow: hidden;
  background: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0,120,215,0.15), transparent),
    linear-gradient(180deg, rgba(0,120,215,0.05) 0%, transparent 50%);
  padding: 60px 0 40px;
  border-radius: 24px;
  margin: 0 24px 40px;
  border: 1px solid var(--vf-border);
  width: auto;
  max-width: 100%;
}

.vpf-heroGrid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  min-width: 0;
}

.vpf-kicker{
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--vf-gold);
  background: rgba(255,183,0,0.1);
  border: 1px solid rgba(255,183,0,0.3);
  font-weight: 700;
  font-size: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.vpf-hero h1{
  margin: 20px 0 16px;
  font-size: clamp(28px, 5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  word-wrap: break-word;
  overflow-wrap: break-word;
  min-width: 0;
}

.vpf-hero p{
  margin: 0 0 24px;
  color: var(--vf-text-muted);
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.6;
  word-wrap: break-word;
  max-width: 100%;
}

.vpf-cta{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  min-width: 0;
}

.vpf-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  border: 1px solid transparent;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
  max-width: 100%;
  text-align: center;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  min-height: 48px;
}

.vpf-btnPrimary{
  background: linear-gradient(135deg, var(--vf-blue), var(--vf-blue-light));
  color: #fff;
  box-shadow: 0 4px 20px var(--vf-blue-glow);
}

.vpf-btnPrimary:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--vf-blue-glow);
}

.vpf-btnGhost{
  background: rgba(255,255,255,0.05);
  border-color: var(--vf-border);
  color: var(--vf-text);
}

.vpf-btnGhost:hover{
  background: rgba(255,255,255,0.1);
  border-color: var(--vf-blue);
  color: var(--vf-blue);
}

.vpf-illus{
  aspect-ratio: 4/3;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border-radius: 20px;
  background: var(--vf-card);
  border: 1px solid var(--vf-border);
  display: grid;
  place-items: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  overflow: hidden;
}

.vpf-illus svg{
  width: 85%;
  height: auto;
  max-width: 100%;
  filter: drop-shadow(0 10px 30px rgba(0,120,215,0.2));
  display: block;
}

/* STATS */
.vpf-stats{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0 20px;
  min-width: 0;
  width: 100%;
}

.vpf-stat{
  background: var(--vf-card);
  border: 1px solid var(--vf-border);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
  min-width: 0;
  max-width: 100%;
}

.vpf-stat:hover{
  transform: translateY(-4px);
  border-color: var(--vf-blue);
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.vpf-stat b{
  display: block;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: var(--vf-blue);
  margin-bottom: 6px;
  word-wrap: break-word;
}

.vpf-stat span{
  display: block;
  color: var(--vf-text-muted);
  font-size: 14px;
  font-weight: 500;
}

/* FEATURES */
.vpf-sec{
  padding: 40px 0;
  width: 100%;
  min-width: 0;
}

.vpf-sec h2{
  font-size: clamp(24px, 3.5vw, 36px);
  text-align: center;
  margin: 0 0 40px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
  word-wrap: break-word;
}

.vpf-features{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  min-width: 0;
  width: 100%;
}

.vpf-card{
  background: var(--vf-card);
  border: 1px solid var(--vf-border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.3s ease;
  min-width: 0;
  max-width: 100%;
}

.vpf-card:hover{
  transform: translateY(-4px);
  background: var(--vf-card-hover);
  border-color: var(--vf-blue);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.vpf-ic{
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0,120,215,0.15);
  color: var(--vf-blue);
  font-size: 20px;
  flex-shrink: 0;
}

.vpf-card h3{
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.vpf-card p{
  margin: 0;
  color: var(--vf-text-muted);
  font-size: 13px;
  line-height: 1.5;
}

/* STEPS */
.vpf-steps{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
  min-width: 0;
  width: 100%;
}

.vpf-step{
  background: var(--vf-card);
  border: 1px solid var(--vf-border);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
}

.vpf-step:hover{
  transform: translateY(-4px);
  border-color: var(--vf-blue);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.vpf-step::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--vf-blue), var(--vf-blue-light));
  opacity: 0;
  transition: opacity 0.3s;
}

.vpf-step:hover::before{
  opacity: 1;
}

.vpf-step .n{
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--vf-blue), var(--vf-blue-light));
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 16px;
  box-shadow: 0 4px 15px var(--vf-blue-glow);
}

.vpf-step h3{
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.vpf-step p{
  margin: 0;
  color: var(--vf-text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* CTA BANNER */
.vpf-banner{
  margin: 50px 0 20px;
  background: linear-gradient(135deg, rgba(0,120,215,0.2), rgba(26,115,232,0.1));
  border: 1px solid var(--vf-blue);
  color: #fff;
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  min-width: 0;
}

.vpf-banner::before{
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--vf-blue-glow) 0%, transparent 70%);
  pointer-events: none;
}

.vpf-banner b{
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
  word-wrap: break-word;
}

.vpf-banner .vpf-btn{
  background: #fff;
  color: var(--vf-blue);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.vpf-banner .vpf-btn:hover{
  background: var(--vf-blue);
  color: #fff;
}

/* FAQ Section */
.vpf-faq{
  margin-top: 40px;
  background: var(--vf-card);
  border: 1px solid var(--vf-border);
  border-radius: 16px;
  padding: 30px;
}

.vpf-faq h2{
  text-align: center;
  margin-bottom: 30px;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
}

.vpf-faq-item{
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--vf-border);
}

.vpf-faq-item:last-child{
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.vpf-faq-q{
  font-weight: 700;
  color: var(--vf-blue);
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.4;
}

.vpf-faq-a{
  color: var(--vf-text-muted);
  line-height: 1.6;
  font-size: 14px;
}

/* RESPONSIVE */

@media (max-width: 1024px){
  .vpf-heroGrid{ grid-template-columns: 1fr; }
  .vpf-hero{ margin: 0 16px 30px; padding: 40px 0; }
  .vpf-features{ grid-template-columns: repeat(3, 1fr); }
  .vpf-illus{ display: none; }
}

@media (max-width: 768px){
  #vpf-home{ padding: 20px 0; }
  #vpf-home .vpf-c{ padding: 0 16px; }
  .vpf-stats{ grid-template-columns: 1fr; gap: 12px; }
  .vpf-features{ grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .vpf-steps{ grid-template-columns: 1fr; }
  .vpf-banner{ flex-direction: column; text-align: center; padding: 30px 20px; }
  .vpf-hero h1{ font-size: clamp(26px, 6vw, 32px); }
  .vpf-hero{ margin: 0 12px 30px; padding: 30px 16px; border-radius: 16px; }
  .vpf-btn{ width: 100%; max-width: 100%; font-size: 16px; }
  .vpf-banner b{ font-size: 22px; margin-bottom: 10px; }
  .vpf-step{ padding: 24px; }
  .vpf-faq{ padding: 24px 20px; }
}

@media (max-width: 480px){
  .vpf-features{ grid-template-columns: 1fr; }
  .vpf-card{ flex-direction: row; align-items: center; padding: 16px; }
  .vpf-card h3{ margin-bottom: 0; font-size: 14px; }
  .vpf-card p{ font-size: 12px; }
  .vpf-hero{ margin: 0 8px 20px; padding: 24px 12px; }
  #vpf-home .vpf-c{ padding: 0 12px; }
  .vpf-sec{ padding: 30px 0; }
  .vpf-sec h2{ font-size: 22px; margin-bottom: 30px; }
  .vpf-kicker{ font-size: 11px; padding: 6px 12px; }
  .vpf-stats{ margin-top: 30px; }
  .vpf-stat{ padding: 20px; }
  .vpf-stat b{ font-size: 24px; }
  .vpf-faq-q{ font-size: 15px; }
  .vpf-faq-a{ font-size: 13px; }
}

@media (max-width: 390px){
  .vpf-hero h1{ font-size: 24px; line-height: 1.2; }
  .vpf-hero p{ font-size: 15px; }
  .vpf-btn{ padding: 14px 20px; font-size: 15px; min-height: 44px; }
  .vpf-step{ padding: 20px; }
  .vpf-step h3{ font-size: 16px; }
  .vpf-ic{ width: 40px; height: 40px; font-size: 18px; }
  .vpf-banner{ padding: 24px 16px; }
  .vpf-banner b{ font-size: 20px; }
}

@media (max-width: 360px){
  #vpf-home .vpf-c{ padding: 0 10px; }
  .vpf-hero{ margin: 0 6px 16px; padding: 20px 10px; border-radius: 12px; }
  .vpf-hero h1{ font-size: 22px; }
  .vpf-card{ padding: 14px; gap: 10px; }
  .vpf-card h3{ font-size: 13px; }
  .vpf-card p{ font-size: 11px; line-height: 1.4; }
  .vpf-ic{ width: 36px; height: 36px; font-size: 16px; border-radius: 10px; }
  .vpf-faq{ padding: 20px 14px; }
  .vpf-faq h2{ font-size: 20px; }
}

@supports (-webkit-touch-callout: none) {
  #vpf-home {
    min-height: -webkit-fill-available;
  }
}

@media (max-width: 768px){
  #vpf-home{
    overflow-x: hidden;
    max-width: 100vw;
  }
  .vpf-heroGrid{
    gap: 24px;
  }
  .vpf-cta{
    flex-direction: column;
    width: 100%;
  }
  .vpf-cta .vpf-btn{
    width: 100%;
    justify-content: center;
  }
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .vpf-hero h1{
    background: linear-gradient(135deg, #fff 0%, #b8c5d6 100%);
    -webkit-background-clip: text;
    background-clip: text;
  }
}

/* ==========================================================================
   ACCOUNT / FRAGMENT PAGES (batch) - centralized from inline
   ========================================================================== */

/* ---- buy_bitcoin ---- */
.progressbar-inner {
      width: 0;
    }

/* ---- buy_matomy ---- */
#wrap {
   position: fixed;
   margin:0 auto;
   left:0;
   top:0;
   width:100%;
   height:100%;
   background-color: white;
   opacity: 0.95;
   display: none;
}

/* ---- confirm_password ---- */
/* ========== VIPFile Admin Security Verification ========== */
.vf-admin-auth-wrapper {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: radial-gradient(ellipse at top, rgba(220, 53, 69, 0.1), transparent 70%),
              radial-gradient(ellipse at bottom, rgba(0, 120, 215, 0.05), transparent 70%),
              #0a0a0a;
}

.vf-admin-auth-card {
  background: rgba(20, 20, 25, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 48px 40px;
  width: 100%;
  max-width: 420px;
  backdrop-filter: blur(20px);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 
              0 0 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

/* Красная верхняя линия - предупреждение */
.vf-admin-auth-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #dc3545, #ff6b6b, #dc3545);
  background-size: 200% 100%;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Header */
.vf-admin-auth-header {
  text-align: center;
  margin-bottom: 32px;
}

.vf-admin-auth-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.2), rgba(220, 53, 69, 0.05));
  border: 2px solid rgba(220, 53, 69, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 32px;
  color: #dc3545;
  box-shadow: 0 10px 30px rgba(220, 53, 69, 0.2);
}

.vf-admin-auth-title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin: 0;
  line-height: 1.4;
}

/* Input Group */
.vf-admin-auth-form-group {
  margin-bottom: 24px;
}

.vf-admin-auth-label {
  display: block;
  margin-bottom: 10px;
  color: #a0a0b0;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-left: 4px;
}

.vf-admin-auth-input {
  width: 100%;
  background: rgba(10, 10, 10, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 16px 20px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Courier New', monospace;
  transition: all 0.3s;
  outline: none;
  box-sizing: border-box;
  letter-spacing: 2px;
}

.vf-admin-auth-input:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.15);
  background: rgba(10, 10, 10, 0.8);
}

/* Button */
.vf-admin-auth-btn {
  width: 100%;
  background: linear-gradient(135deg, #dc3545, #ff6b6b);
  border: none;
  border-radius: 12px;
  padding: 18px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(220, 53, 69, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.vf-admin-auth-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(220, 53, 69, 0.4);
}

.vf-admin-auth-btn:active {
  transform: translateY(0);
}

/* Security warning */
.vf-admin-auth-warning {
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #5a5f69;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.vf-admin-auth-warning i {
  color: #dc3545;
}

/* Responsive */
@media (max-width: 480px) {
  .vf-admin-auth-card {
    padding: 32px 24px;
    border-radius: 16px;
  }
  
  .vf-admin-auth-icon {
    width: 64px;
    height: 64px;
    font-size: 24px;
  }
  
  .vf-admin-auth-title {
    font-size: 18px;
  }
  
  .vf-admin-auth-input {
    padding: 14px 16px;
    font-size: 16px; /* Prevent zoom on iOS */
  }
  
  .vf-admin-auth-btn {
    padding: 16px;
    font-size: 15px;
  }
}

/* ---- delete_file ---- */
/* VIPFile Delete File - UNIQUE SELECTORS */
  .vf-delete-wrapper {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #ffffff;
    padding: 40px 20px;
    max-width: 600px;
    margin: 0 auto;
  }

  .vf-delete-title {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    text-align: center;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
  }

  .vf-delete-title i {
    color: #dc3545;
    font-size: 28px;
  }

  /* Success Alert */
  .vf-delete-success {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #28a745;
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    text-align: center;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  /* Confirm Box */
  .vf-delete-box {
    background: rgba(20, 20, 25, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  }

  .vf-delete-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(220, 53, 69, 0.1);
    border: 2px solid rgba(220, 53, 69, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 36px;
    color: #ff4757;
    animation: vf-pulse-red 2s infinite;
  }

  @keyframes vf-pulse-red {
    0%, 100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4); }
    50% { box-shadow: 0 0 20px 10px rgba(220, 53, 69, 0.1); }
  }

  .vf-delete-text {
    color: #a0a0b0;
    font-size: 16px;
    margin-bottom: 12px;
    line-height: 1.6;
  }

  .vf-delete-filename {
    color: #ffffff;
    font-weight: 700;
    font-size: 18px;
    word-break: break-all;
    background: rgba(0,0,0,0.3);
    padding: 12px 16px;
    border-radius: 8px;
    margin: 16px 0;
    border: 1px solid rgba(255,255,255,0.05);
    font-family: 'Monaco', monospace;
  }

  /* Captcha if exists */
  .vf-delete-captcha {
    margin: 20px 0;
    display: flex;
    justify-content: center;
  }

  .vf-delete-captcha > div {
    display: inline-block;
  }

  /* Buttons */
  .vf-delete-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
    flex-wrap: wrap;
  }

  @media (max-width: 480px) {
    .vf-delete-actions {
      flex-direction: column;
    }
    
    .vf-delete-box {
      padding: 24px 20px;
    }
  }

  .vf-delete-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    height: 48px;
    min-width: 140px;
    white-space: nowrap;
  }

  .vf-delete-btn.confirm {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
  }

  .vf-delete-btn.confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
  }

  .vf-delete-btn.cancel {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #a0a0b0;
  }

  .vf-delete-btn.cancel:hover {
    border-color: #0078d7;
    color: #0078d7;
    background: rgba(0, 120, 215, 0.1);
  }

  /* Simple text for no confirm state */
  .vf-delete-done {
    text-align: center;
    padding: 40px 20px;
  }

  .vf-delete-done i {
    font-size: 64px;
    color: #28a745;
    margin-bottom: 16px;
  }

/* ---- g2fa_toggle ---- */
#g2fa-code {
   font-size: 16px;
   width: 175px;
   display: inline-block;
   letter-spacing: 12px;
   font-weight: bold;
   padding-left: 24px;
}
#g2fa-code::placeholder {
   letter-spacing: 0;
   font-weight: normal;
}

/* ---- gdpr_cookie_notice ---- */
#gdpr-cookie-notice {
   background: rgba(128, 128, 128, .92);
   position: fixed;
   z-index: 10000;
   width: 100%;
   bottom: 0px;
   left: 0;
   color: white;
   font-size: 13px;
   padding: 1rem;
   display: -webkit-flex;
   display: -ms-flex;
   display: flex;
   justify-content: space-between;
   -ms-align-items: center;
   align-items: center;
   border-left: 4px solid var(--bs-primary);
   column-gap: 10px;
}
#gdpr-cookie-notice .btn {
  font-size: 13px;
}

/* ---- nic_edit ---- */
.nicEdit-main {
   padding: 4px 8px 4px 8px;
}

/* ---- upload_form_box ---- */
#div_file {
   display: inline-block;
   position: relative;
}
.spinner {
   max-width: 32px;
   position: absolute;
   right: 3px;
   top: 3px;
   display: none;
}

/* ---- user_public ---- */
.vf-up-wrapper {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #ffffff;
  background: #0a0a0a;
  min-height: 100vh;
  padding-bottom: 60px;
}

.vf-up-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header Section */
.vf-up-header {
  padding: 40px 0 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 32px;
  text-align: center;
}

.vf-up-avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(0, 120, 215, 0.2), rgba(0, 120, 215, 0.05));
  border: 2px solid rgba(0, 120, 215, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 32px;
  color: #0078d7;
}

.vf-up-title {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.vf-up-username {
  color: #0078d7;
  background: linear-gradient(135deg, rgba(0, 120, 215, 0.2), rgba(0, 120, 215, 0.05));
  padding: 4px 16px;
  border-radius: 8px;
  border: 1px solid rgba(0, 120, 215, 0.3);
}

.vf-up-stats {
  color: #a0a0b0;
  font-size: 16px;
  font-weight: 500;
  margin-top: 12px;
}

.vf-up-stats span {
  color: #28a745;
  font-weight: 700;
}

/* ===== PAGINATION STYLES ===== */
.vf-up-paging {
  text-align: center;
  padding: 32px 20px;
  margin: 32px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

/* Скрываем пустые контейнеры */
.vf-up-paging:empty {
  display: none;
}

/* Общие стили для всех элементов пагинации */
.vf-up-paging a,
.vf-up-paging span,
.vf-up-paging strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  background: rgba(20, 20, 25, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: #e0e0e0;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s;
  cursor: pointer;
}

/* Hover эффект для ссылок */
.vf-up-paging a:hover {
  background: rgba(0, 120, 215, 0.15);
  border-color: #0078d7;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 120, 215, 0.2);
}

/* Активная страница (текущая) */
.vf-up-paging span.current,
.vf-up-paging strong {
  background: linear-gradient(135deg, #0078d7, #1a73e8);
  border-color: #0078d7;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 120, 215, 0.3);
  cursor: default;
}

/* Отключенные кнопки (Prev/Next когда недоступны) */
.vf-up-paging span.disabled {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.05);
  color: #5a5f69;
  cursor: not-allowed;
}

/* Стрелки Prev/Next */
.vf-up-paging a[href*="prev"],
.vf-up-paging a[href*="next"],
.vf-up-paging span.prev,
.vf-up-paging span.next {
  font-weight: 700;
  padding: 0 20px;
  gap: 8px;
}

/* Троеточие ... */
.vf-up-paging span.sep {
  background: transparent;
  border: none;
  color: #5a5f69;
  min-width: 30px;
  cursor: default;
}

.vf-up-paging span.sep:hover {
  transform: none;
  box-shadow: none;
}

/* Адаптив для мобилы */
@media (max-width: 576px) {
  .vf-up-paging {
    gap: 6px;
    padding: 24px 10px;
  }
  
  .vf-up-paging a,
  .vf-up-paging span,
  .vf-up-paging strong {
    min-width: 40px;
    height: 40px;
    font-size: 13px;
    padding: 0 12px;
  }
  
  /* На мобиле показываем только цифры, стрелки делаем компактнее */
  .vf-up-paging a[href*="prev"],
  .vf-up-paging a[href*="next"] {
    padding: 0 16px;
  }
}

/* ===== Responsive General ===== */
@media (max-width: 768px) {
  .vf-up-title {
    font-size: 24px;
  }
  .vf-up-header {
    padding: 24px 0 20px;
  }
}

/* ---- user_public_folders ---- */
/* ========== VIPFile Public Folders - Grid Layout ========== */
.vf-folders-container {
  margin-bottom: 40px;
  width: 100%;
}

.vf-folders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  width: 100%;
}

@media (max-width: 576px) {
  .vf-folders-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (min-width: 1400px) {
  .vf-folders-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

/* Folder Card */
.vf-folder-item {
  position: relative;
  background: rgba(20, 20, 25, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px 16px 16px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  overflow: hidden;
}

.vf-folder-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 183, 0, 0.4);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 183, 0, 0.1);
}

.vf-folder-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ffb700, #ffcc66);
  opacity: 0;
  transition: opacity 0.3s;
}

.vf-folder-item:hover::before {
  opacity: 1;
}

/* Back Folder (Parent) Special Styling */
.vf-folder-item.back {
  background: rgba(255, 255, 255, 0.03);
  border-style: dashed;
}

.vf-folder-item.back:hover {
  border-color: rgba(0, 120, 215, 0.4);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.vf-folder-item.back::before {
  background: linear-gradient(90deg, #0078d7, #1a73e8);
}

/* Folder Icon */
.vf-folder-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  transition: transform 0.3s;
  filter: drop-shadow(0 4px 8px rgba(255, 183, 0, 0.2));
}

.vf-folder-item:hover .vf-folder-icon {
  transform: scale(1.1) translateY(-4px);
}

/* Back arrow icon for parent folder */
.vf-folder-back-icon {
  width: 56px;
  height: 56px;
  background: rgba(0, 120, 215, 0.1);
  border: 2px dashed rgba(0, 120, 215, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #0078d7;
  font-size: 24px;
  transition: all 0.3s;
}

.vf-folder-item.back:hover .vf-folder-back-icon {
  background: rgba(0, 120, 215, 0.2);
  transform: translateX(-4px);
}

/* Folder Name */
.vf-folder-name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 100%;
}

.vf-folder-item.back .vf-folder-name {
  color: #0078d7;
}

/* SVG Icon Colors */
.vf-folder-svg path {
  fill: #ffb700;
  transition: fill 0.3s;
}

.vf-folder-item:hover .vf-folder-svg path {
  fill: #ffcc66;
}

/* Responsive fixes */
@media (max-width: 768px) {
  .vf-folders-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  
  .vf-folder-item {
    padding: 16px 12px 12px;
    border-radius: 12px;
  }
  
  .vf-folder-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
  }
  
  .vf-folder-name {
    font-size: 13px;
  }
}

/* ---- payment_buy_with ---- */
/* === VIPFile Premium - Fixed Edition === */
.vf-payments-page {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0a0a0a;
    min-height: 100vh;
    color: #ffffff;
    padding: 0;
    margin: 0;
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.vf-payments-page::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(0, 120, 215, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 120, 215, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
    max-width: 100vw;
}

.vf-payments-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px 120px;
    position: relative;
    z-index: 1;
    width: 100%;
    overflow: hidden;
}

/* === ХЕДЕР === */
.vf-premium-header {
    text-align: center;
    margin-bottom: 30px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.vf-premium-badge-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(255, 183, 0, 0.15), rgba(255, 183, 0, 0.05));
    border: 1px solid rgba(255, 183, 0, 0.3);
    padding: 10px 24px;
    border-radius: 50px;
    margin-bottom: 20px;
    color: #ffb700;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: pulse-gold 3s infinite;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
}

@keyframes pulse-gold {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 183, 0, 0.4); }
    50% { box-shadow: 0 0 20px 5px rgba(255, 183, 0, 0.1); }
}

.vf-premium-title {
    font-size: clamp(24px, 5vw, 42px);
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff 0%, #a0a0b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    word-break: break-word;
    max-width: 100%;
    line-height: 1.2;
    padding: 0 10px;
}

.vf-premium-subtitle {
    color: #a0a0b0;
    font-size: clamp(14px, 3vw, 17px);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    padding: 0 15px;
    word-wrap: break-word;
}

.vf-premium-subtitle strong {
    color: #ffffff;
    font-weight: 700;
}

.vf-premium-subtitle .vf-highlight {
    color: #0078d7;
    font-weight: 700;
}

.vf-premium-subtitle .vf-gold {
    color: #ffb700;
    font-weight: 700;
}

/* === ПРЕИМУЩЕСТВА === */
.vf-features-bar {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 30px 0 40px;
    flex-wrap: wrap;
    max-width: 100%;
    min-width: 0;
}

.vf-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    background: transparent;
    border: none;
    text-align: left;
    min-width: 0;
}

.vf-feature-icon {
    width: 44px;
    height: 44px;
    background: rgba(0, 120, 215, 0.1);
    border: 1px solid rgba(0, 120, 215, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0078d7;
    font-size: 20px;
    flex-shrink: 0;
    transition: all 0.3s;
}

.vf-feature-item:hover .vf-feature-icon {
    background: rgba(0, 120, 215, 0.2);
    transform: scale(1.1);
}

.vf-feature-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    overflow: hidden;
}

.vf-feature-label {
    font-size: 11px;
    color: #5a5f69;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vf-feature-value {
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* === ШАГИ === */
.vf-steps-wrapper {
    margin-bottom: 40px;
    width: 100%;
    overflow: hidden;
    min-width: 0;
}

.vf-step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    min-width: 0;
}

.vf-step {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #5a5f69;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    opacity: 0.5;
    min-width: 0;
}

.vf-step.active {
    color: #ffffff;
    opacity: 1;
}

.vf-step.completed {
    color: #28a745;
    opacity: 1;
}

.vf-step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s;
    flex-shrink: 0;
}

.vf-step.active .vf-step-number {
    background: #0078d7;
    border-color: #0078d7;
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 120, 215, 0.4);
}

.vf-step.completed .vf-step-number {
    background: #28a745;
    border-color: #28a745;
    color: #fff;
}

.vf-step-line {
    width: 60px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
    flex-shrink: 0;
    min-width: 30px;
    max-width: 60px;
}

.vf-step-line.active {
    background: linear-gradient(90deg, #28a745, #0078d7);
}

.vf-step-text {
    white-space: nowrap;
}

/* === ТАРИФЫ - ФИКС GRID И КАРТОЧЕК ========== */
.vf-plans-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 50px;
    align-items: start;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.vf-plan-card {
    background: rgba(20, 20, 25, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    word-wrap: break-word;
}

.vf-plan-card:hover {
    border-color: rgba(0, 120, 215, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.vf-plan-card.selected {
    border-color: #0078d7;
    background: linear-gradient(145deg, rgba(20, 20, 25, 0.98), rgba(0, 120, 215, 0.1));
    box-shadow: 0 0 0 2px rgba(0, 120, 215, 0.3), 0 20px 40px rgba(0,0,0,0.5);
}

.vf-plan-card.selected::after {
    content: '✓';
    position: absolute;
    top: 8px;
    left: 8px;
    width: 24px;
    height: 24px;
    background: #0078d7;
    color: white;
    border-radius: 50%;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0, 120, 215, 0.4);
}

/* POPULAR карточка с видимым бейджем снаружи */
.vf-plan-card.popular {
    border-color: #ffb700;
    background: linear-gradient(145deg, rgba(20, 20, 25, 0.98), rgba(255, 183, 0, 0.1));
    transform: scale(1.03);
    z-index: 10;
    box-shadow: 0 0 30px rgba(255, 183, 0, 0.15);
    padding-top: 32px;
    overflow: visible;
}

.vf-plan-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 0 40px rgba(255, 183, 0, 0.25);
    z-index: 20;
}

/* Бейдж Best Value - наполовину снаружи */
.vf-popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    background: linear-gradient(135deg, #ffb700, #ff8c00);
    color: #000;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 183, 0, 0.4);
    white-space: nowrap;
    z-index: 100;
    max-width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
    border: 2px solid rgba(20, 20, 25, 0.98);
    line-height: 1.2;
}

.vf-discount-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    font-size: 9px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 6px;
    border: 1px solid rgba(40, 167, 69, 0.3);
    z-index: 5;
    white-space: nowrap;
    max-width: 50%;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Для popular карточки сдвигаем discount ниже чтобы не перекрывать popular-badge полностью */
.vf-plan-card.popular .vf-discount-badge {
    background: rgba(255, 183, 0, 0.2);
    color: #ffb700;
    border-color: rgba(255, 183, 0, 0.3);
    top: 26px;
    z-index: 101;
}

.vf-plan-duration {
    font-size: clamp(13px, 1.5vw, 18px);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.2;
    margin-top: 4px;
}

.vf-plan-price {
    font-size: clamp(18px, 2vw, 26px);
    font-weight: 900;
    color: #0078d7;
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(0, 120, 215, 0.2);
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.2;
}

.vf-plan-card.popular .vf-plan-price {
    color: #ffb700;
    text-shadow: 0 2px 10px rgba(255, 183, 0, 0.3);
}

.vf-plan-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 12px 0;
    width: 100%;
    flex-shrink: 0;
}

.vf-plan-note {
    font-size: 10px;
    color: #5a5f69;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: auto;
    flex-wrap: wrap;
    word-break: break-word;
    line-height: 1.3;
}

.vf-plan-note i {
    color: #28a745;
    flex-shrink: 0;
    font-size: 9px;
}

.vf-plan-card input[type="radio"] {
    display: none;
}

/* === ПЛАТЕЖИ === */
.vf-payments-section {
    display: none;
    animation: fadeInUp 0.5s ease;
    margin-bottom: 40px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.vf-payments-section.active {
    display: block;
}

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

.vf-payments-box {
    background: rgba(20, 20, 25, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 30px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.vf-secure-header {
    text-align: center;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #28a745;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    flex-wrap: wrap;
    word-break: break-word;
}

.vf-secure-header i {
    font-size: 18px;
    flex-shrink: 0;
}

.vf-payments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 12px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.vf-payment-option {
    aspect-ratio: 16/10;
    background: #ffffff;
    border: 2px solid transparent;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    padding: 8px;
    position: relative;
    overflow: hidden;
    min-width: 0;
    max-width: 100%;
}

.vf-payment-option:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    border-color: #0078d7;
}

.vf-payment-option.selected {
    border-color: #0078d7;
    box-shadow: 0 0 0 3px rgba(0, 120, 215, 0.2);
}

.vf-payment-option.selected::after {
    content: '✓';
    position: absolute;
    top: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
    background: #0078d7;
    color: white;
    border-radius: 0 0 0 8px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.vf-payment-option img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

/* === БАННЕР - ИСПРАВЛЕНО ДЛЯ МОБИЛ ========== */
.vf-kaviar-banner {
    display: block;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 40px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transition: all 0.3s;
    height: 400px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.vf-kaviar-banner:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.6);
    border-color: rgba(0, 120, 215, 0.3);
}

.vf-kaviar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.vf-kaviar-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 60%, transparent 100%);
    padding: 30px 20px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    min-width: 0;
}

.vf-kaviar-text {
    color: #fff;
    font-size: clamp(14px, 4vw, 18px);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    word-break: break-word;
    flex: 1;
    min-width: 0;
}

.vf-kaviar-text i {
    color: #8B4513;
    font-size: 24px;
    flex-shrink: 0;
}

.vf-kaviar-arrow {
    color: #0078d7;
    font-size: 24px;
    animation: bounce 2s infinite;
    flex-shrink: 0;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(0); }
    40% { transform: translateX(-5px); }
    60% { transform: translateX(-3px); }
}

/* === FLOATING SAFE BUTTON ========== */
.vf-floating-safe {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9999;
    background: rgba(20, 20, 25, 0.98);
    border: 1px solid rgba(40, 167, 69, 0.3);
    border-radius: 50px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    cursor: pointer;
    transition: all 0.3s;
    animation: vf-pulse 2s infinite;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    max-width: calc(100vw - 48px);
    box-sizing: border-box;
}

@keyframes vf-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(40, 167, 69, 0); }
}

.vf-floating-safe:hover {
    transform: translateY(-3px);
    background: rgba(30, 30, 35, 0.98);
    border-color: #28a745;
}

.vf-floating-icon {
    width: 32px;
    height: 32px;
    background: rgba(40, 167, 69, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #28a745;
    font-size: 14px;
    animation: vf-shield 3s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes vf-shield {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.vf-floating-text {
    font-size: 12px;
    font-weight: 700;
    color: #28a745;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

.vf-floating-text small {
    display: block;
    font-size: 10px;
    color: #5a5f69;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* === SAFETY POPOVER === */
.vf-safety-popover {
    position: fixed;
    bottom: 90px;
    left: 24px;
    width: 320px;
    background: rgba(20, 20, 25, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.vf-safety-popover.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.vf-safety-popover::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 40px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid rgba(20, 20, 25, 0.98);
}

.vf-popover-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    min-width: 0;
}

.vf-popover-icon {
    width: 40px;
    height: 40px;
    background: rgba(40, 167, 69, 0.15);
    border: 1px solid rgba(40, 167, 69, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #28a745;
    font-size: 18px;
    flex-shrink: 0;
}

.vf-popover-title {
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    word-break: break-word;
    min-width: 0;
}

.vf-popover-title small {
    display: block;
    font-size: 11px;
    color: #5a5f69;
    font-weight: 500;
    margin-top: 2px;
    word-break: break-word;
}

.vf-safety-list {
    list-style: none;
    padding: 0;
    margin: 0;
    min-width: 0;
}

.vf-safety-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 12px;
    color: #e2e8f0;
    line-height: 1.4;
    word-break: break-word;
}

.vf-safety-check {
    width: 18px;
    height: 18px;
    background: rgba(40, 167, 69, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #28a745;
    font-size: 9px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* === ФУТЕР === */
.vf-security-footer {
    text-align: center;
    padding: 30px;
    background: rgba(20, 20, 25, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

.vf-security-text {
    color: #28a745;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    word-break: break-word;
}

.vf-security-text i {
    font-size: 20px;
    flex-shrink: 0;
}

.vf-security-icons {
    max-width: 100%;
    height: auto;
    opacity: 0.9;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

/* === АДАПТИВ - КРИТИЧЕСКИЕ ФИКСЫ ========== */
@media (max-width: 1024px) {
    .vf-plans-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .vf-plan-card.popular {
        transform: scale(1);
        order: -1;
    }
    .vf-plan-card.popular:hover {
        transform: scale(1.02) translateY(-5px);
    }
    .vf-features-bar {
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .vf-payments-container {
        padding: 20px 16px 100px;
        overflow-x: hidden;
    }
    .vf-premium-title {
        font-size: 26px;
        padding: 0 5px;
    }
    .vf-premium-subtitle {
        font-size: 15px;
        padding: 0 10px;
    }
    .vf-features-bar {
        gap: 16px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
        justify-items: center;
    }
    .vf-feature-item {
        width: 100%;
        justify-content: center;
    }
    .vf-feature-text {
        align-items: center;
        text-align: center;
    }
    .vf-step-indicator {
        gap: 10px;
    }
    .vf-step-line {
        width: 20px;
        min-width: 20px;
    }
    .vf-step-text {
        display: none;
    }
    .vf-plans-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .vf-plan-card {
        padding: 20px 12px;
    }
    .vf-plan-card.popular {
        transform: scale(1);
        order: -1;
        padding-top: 28px;
        overflow: visible;
        z-index: 10;
    }
    .vf-plan-card.popular:hover {
        transform: scale(1.02) translateY(-3px);
        z-index: 20;
    }
    .vf-popular-badge {
        font-size: 9px;
        padding: 4px 12px;
        top: -10px;
        z-index: 100;
    }
    .vf-discount-badge {
        font-size: 8px;
        padding: 2px 5px;
        top: 6px;
        right: 6px;
    }
    .vf-plan-card.popular .vf-discount-badge {
        top: 22px;
        z-index: 101;
    }
    .vf-plan-duration {
        font-size: 13px;
        margin-top: 2px;
    }
    .vf-plan-price {
        font-size: 20px;
        margin-bottom: 8px;
    }
    .vf-plan-note {
        font-size: 9px;
        flex-direction: column;
        gap: 2px;
    }
    
    /* ИСПРАВЛЕНИЕ БАННЕРА - УБРАН height: auto */
    .vf-kaviar-banner {
        height: 200px; /* Фиксированная высота вместо auto */
        max-height: 200px;
        min-height: 150px;
    }
    .vf-kaviar-overlay {
        padding: 20px 15px 15px;
    }
    .vf-kaviar-text {
        font-size: 14px;
    }
    
    /* Фикс floating кнопки на мобиле */
    .vf-floating-safe {
        left: 16px;
        bottom: 16px;
        padding: 10px 16px;
        max-width: calc(100vw - 32px);
    }
    .vf-floating-text {
        max-width: 120px;
    }
    .vf-safety-popover {
        left: 16px;
        right: 16px;
        width: auto;
        max-width: calc(100vw - 32px);
        bottom: 80px;
    }
    .vf-safety-popover::before {
        left: 30px;
    }
    
    /* Фикс grid платежей */
    .vf-payments-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    .vf-payment-option {
        min-height: 60px;
    }
    .vf-payments-box {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .vf-payments-container {
        padding: 15px 12px 80px;
    }
    .vf-plans-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .vf-plan-card {
        padding: 24px 16px;
        overflow: visible;
    }
    .vf-plan-card.popular {
        order: -1;
        transform: scale(1);
        padding-top: 32px;
        margin-top: 12px;
        z-index: 10;
    }
    .vf-popular-badge {
        font-size: 10px;
        padding: 5px 14px;
        top: -12px;
        z-index: 100;
    }
    .vf-plan-duration {
        font-size: 15px;
        margin-top: 4px;
    }
    .vf-plan-price {
        font-size: 24px;
    }
    .vf-plan-note {
        font-size: 10px;
        flex-direction: row;
    }
    .vf-payments-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .vf-payments-box {
        padding: 16px;
    }
    .vf-features-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .vf-feature-item {
        flex-direction: column;
        text-align: center;
        padding: 10px;
    }
    .vf-feature-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    .vf-feature-value {
        font-size: 14px;
    }
    .vf-feature-label {
        font-size: 10px;
    }
    .vf-kaviar-text span {
        display: none;
    }
    .vf-kaviar-text::after {
        content: "Kaviar Hub";
    }
    
    /* ИСПРАВЛЕНИЕ БАННЕРА НА 480px */
    .vf-kaviar-banner {
        height: 160px; /* Фиксированная высота вместо auto */
        max-height: 160px;
        min-height: 120px;
    }
    .vf-security-footer {
        padding: 20px 16px;
    }
    .vf-premium-title {
        font-size: 22px;
    }
}

/* === FIREFOX/EDGE SPECIFIC FIXES ========== */
@-moz-document url-prefix() {
    .vf-payments-page {
        overflow-x: hidden !important;
    }
    .vf-plans-grid {
        min-width: 0;
    }
    .vf-plan-card {
        min-width: 0 !important;
    }
    .vf-plan-card.popular {
        overflow: visible !important;
    }
    .vf-floating-safe {
        transform: translateZ(0);
    }
}

/* Для Edge (Chromium-based) */
@supports (-ms-ime-align:auto) {
    .vf-payments-page {
        overflow-x: hidden !important;
    }
}

/* Скрываем scrollbar но оставляем функциональность */
.vf-safety-popover::-webkit-scrollbar {
    width: 6px;
}
.vf-safety-popover::-webkit-scrollbar-track {
    background: transparent;
}
.vf-safety-popover::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 3px;
}

/* ---- upload_form ---- */
/* ========== Upload Form - VIPFile Style ========== */
  .vf-ul-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  }
  
  .vf-ul-card {
    background: rgba(20, 20, 25, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  }
  
  /* Tabs */
  .vf-ul-tabs {
    display: flex;
    background: rgba(10, 10, 10, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    overflow-x: auto;
    scrollbar-width: none;
  }
  
  .vf-ul-tabs::-webkit-scrollbar {
    display: none;
  }
  
  .vf-ul-tab {
    flex: 1;
    min-width: 120px;
    padding: 16px 20px;
    background: transparent;
    border: none;
    color: #a0a0b0;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
  }
  
  .vf-ul-tab:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.03);
  }
  
  .vf-ul-tab.active {
    color: #0078d7;
    border-bottom-color: #0078d7;
    background: rgba(0, 120, 215, 0.1);
  }
  
  .vf-ul-tab i {
    font-size: 16px;
  }
  
  /* Content */
  .vf-ul-content {
    padding: 30px;
  }
  
  @media (max-width: 768px) {
    .vf-ul-content {
      padding: 20px;
    }
  }
  
  .vf-ul-pane {
    display: none;
  }
  
  .vf-ul-pane.active {
    display: block;
    animation: vfFadeIn 0.3s;
  }
  
  @keyframes vfFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  /* Dropzone */
  .vf-ul-dropzone {
    border: 2px dashed rgba(0, 120, 215, 0.3);
    border-radius: 12px;
    padding: 60px 20px;
    text-align: center;
    background: rgba(0, 120, 215, 0.05);
    transition: all 0.3s;
    position: relative;
    margin-bottom: 20px;
  }
  
  .vf-ul-dropzone:hover {
    border-color: #0078d7;
    background: rgba(0, 120, 215, 0.1);
  }
  
  .vf-ul-dropzone-icon {
    font-size: 48px;
    color: #0078d7;
    margin-bottom: 15px;
  }
  
  .vf-ul-dropzone-text {
    color: #a0a0b0;
    font-size: 16px;
    margin: 0;
  }
  
  .vf-ul-dropzone-text span {
    color: #0078d7;
    cursor: pointer;
    font-weight: 600;
  }
  
  .vf-ul-dropzone input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
  }
  
  .vf-ul-dropzone-torrent {
    border-color: rgba(40, 167, 69, 0.3);
    background: rgba(40, 167, 69, 0.05);
  }
  
  .vf-ul-dropzone-torrent:hover {
    border-color: #28a745;
    background: rgba(40, 167, 69, 0.1);
  }
  
  .vf-ul-dropzone-torrent .vf-ul-dropzone-icon {
    color: #28a745;
  }
  
  /* File List */
  .vf-ul-file-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
  }
  
  .vf-ul-file-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 16px;
  }
  
  .vf-ul-file-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
  }
  
  .vf-ul-file-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
  }
  
  .vf-ul-file-icon {
    color: #0078d7;
    font-size: 20px;
  }
  
  .vf-ul-file-name {
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .vf-ul-file-size {
    color: #5a5f69;
    font-size: 13px;
    flex-shrink: 0;
  }
  
  .vf-ul-file-delete {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: rgba(220, 53, 69, 0.1);
    color: #ff6b6b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
  }
  
  .vf-ul-file-delete:hover {
    background: rgba(220, 53, 69, 0.2);
    transform: scale(1.1);
  }
  
  /* File Options */
  .vf-ul-file-options {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
  }
  
  .vf-ul-file-options .vf-ul-input {
    flex: 1;
    min-width: 200px;
  }
  
  /* Progress */
  .vf-ul-progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
  }
  
  .vf-ul-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0078d7, #1a73e8);
    border-radius: 4px;
    transition: width 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
  }
  
  .vf-ul-progress-text {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
  }
  
  .vf-ul-progress-error {
    background: rgba(220, 53, 69, 0.2);
    color: #ff6b6b;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .vf-ul-speed {
    font-size: 12px;
    color: #a0a0b0;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  
  /* Results Block */
  .vf-ul-results {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
  }
  
  .vf-ul-results-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-weight: 700;
    color: #28a745;
    font-size: 18px;
  }
  
  .vf-ul-icon-success {
    color: #28a745;
    font-size: 24px;
  }
  
  /* Small Tabs */
  .vf-ul-tabs-small {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    flex-wrap: wrap;
  }
  
  .vf-ul-tab-small {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #a0a0b0;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
  }
  
  .vf-ul-tab-small:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
  }
  
  .vf-ul-tab-small.active {
    background: rgba(0, 120, 215, 0.2);
    border-color: rgba(0, 120, 215, 0.5);
    color: #0078d7;
  }
  
  .vf-ul-results-content {
    position: relative;
  }
  
  .vf-ul-result-pane {
    display: none;
  }
  
  .vf-ul-result-pane.active {
    display: block;
  }
  
  /* Textareas */
  .vf-ul-textarea-wrap {
    position: relative;
  }
  
  .vf-ul-textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 45px 12px 12px;
    color: #fff;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 13px;
    resize: vertical;
    min-height: 100px;
  }
  
  .vf-ul-textarea:focus {
    outline: none;
    border-color: #0078d7;
  }
  
  .vf-ul-textarea-lg {
    min-height: 150px;
  }
  
  .vf-ul-copy-btn {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 6px;
    color: #a0a0b0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
  }
  
  .vf-ul-copy-btn:hover {
    background: rgba(0, 120, 215, 0.2);
    color: #0078d7;
  }
  
  /* Forms */
  .vf-ul-form-group {
    margin-bottom: 20px;
  }
  
  .vf-ul-label {
    display: block;
    color: #a0a0b0;
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 500;
  }
  
  .vf-ul-label strong {
    color: #fff;
    font-weight: 700;
  }
  
  .vf-ul-input, .vf-ul-select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s;
  }
  
  .vf-ul-input:focus, .vf-ul-select:focus {
    outline: none;
    border-color: #0078d7;
    background: rgba(255, 255, 255, 0.08);
  }
  
  .vf-ul-select option {
    background: #1a1a1f;
    color: #fff;
  }
  
  /* Checkbox */
  .vf-ul-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
  }
  
  .vf-ul-checkbox input {
    display: none;
  }
  
  .vf-ul-checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
  }
  
  .vf-ul-checkbox input:checked + .vf-ul-checkmark {
    background: #0078d7;
    border-color: #0078d7;
  }
  
  .vf-ul-checkmark::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px;
    color: #fff;
    display: none;
  }
  
  .vf-ul-checkbox input:checked + .vf-ul-checkmark::after {
    display: block;
  }
  
  .vf-ul-label-text {
    color: #a0a0b0;
    font-size: 14px;
  }
  
  .vf-ul-label-text a {
    color: #0078d7;
    text-decoration: none;
  }
  
  .vf-ul-label-text a:hover {
    text-decoration: underline;
  }
  
  .vf-ul-tos {
    background: rgba(255, 255, 255, 0.03);
    padding: 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
  }
  
  /* Buttons */
  .vf-ul-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 20px;
    flex-wrap: wrap;
  }
  
  .vf-ul-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    text-decoration: none;
    white-space: nowrap;
  }
  
  .vf-ul-btn-primary {
    background: linear-gradient(135deg, #0078d7, #1a73e8);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 120, 215, 0.4);
  }
  
  .vf-ul-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 120, 215, 0.6);
    color: #fff;
  }
  
  .vf-ul-btn-outline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
  }
  
  .vf-ul-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
  }
  
  .vf-ul-btn-danger {
    background: rgba(220, 53, 69, 0.2);
    border: 1px solid rgba(220, 53, 69, 0.4);
    color: #ff6b6b;
  }
  
  .vf-ul-btn-danger:hover {
    background: rgba(220, 53, 69, 0.3);
  }
  
  .vf-ul-btn-gold {
    background: linear-gradient(135deg, #ffb700, #ff8c00);
    color: #000;
    font-weight: 700;
  }
  
  .vf-ul-btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 183, 0, 0.4);
    color: #000;
  }
  
  /* Alerts */
  .vf-ul-alert {
    padding: 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
  }
  
  .vf-ul-alert-success {
    background: rgba(40, 167, 69, 0.15);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #28a745;
  }
  
  .vf-ul-alert-danger {
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #ff6b6b;
  }
  
  .vf-ul-alert-warning {
    background: rgba(255, 193, 7, 0.15);
    border: 1px solid rgba(255, 193, 7, 0.3);
    color: #ffc107;
  }
  
  /* Modal */
  .vf-ul-modal .modal-content {
    background: rgba(20, 20, 25, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: #fff;
  }
  
  .vf-ul-modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
  }
  
  .vf-ul-modal-header .modal-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
  }
  
  .vf-ul-modal-body {
    padding: 20px;
  }
  
  .vf-ul-modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 20px;
  }
  
  .btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
  }
  
  /* Premium Required */
  .vf-ul-premium-required {
    text-align: center;
    padding: 60px 20px;
  }
  
  .vf-ul-icon-gold {
    font-size: 48px;
    color: #ffb700;
    margin-bottom: 20px;
  }
  
  .vf-ul-premium-required h3 {
    color: #fff;
    margin-bottom: 20px;
    font-weight: 700;
  }
  
  .vf-ul-small {
    color: #5a5f69;
    font-size: 13px;
    margin-top: 10px;
  }
  
  /* FTP Info */
  .vf-ul-ftp-info {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .vf-ul-ftp-title {
    color: #fff;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
  }
  
  .vf-ul-ftp-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
  }
  
  .vf-ul-ftp-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
  }
  
  .vf-ul-ftp-label {
    display: block;
    color: #a0a0b0;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-weight: 600;
  }
  
  .vf-ul-ftp-value {
    display: flex;
    gap: 10px;
  }
  
  .vf-ul-ftp-value .vf-ul-input {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    font-family: monospace;
  }
  
  .vf-ul-copy-btn-sm {
    width: 40px;
    height: 40px;
    background: rgba(0, 120, 215, 0.1);
    border: 1px solid rgba(0, 120, 215, 0.3);
    border-radius: 8px;
    color: #0078d7;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
  }
  
  .vf-ul-copy-btn-sm:hover {
    background: rgba(0, 120, 215, 0.2);
  }
  
  .vf-ul-ftp-instructions {
    background: rgba(0, 120, 215, 0.1);
    border: 1px solid rgba(0, 120, 215, 0.2);
    border-radius: 10px;
    padding: 16px;
    color: #a0a0b0;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .vf-ul-ftp-instructions i {
    color: #0078d7;
  }
  
  /* Stats Footer */
  .vf-ul-stats-footer {
    text-align: center;
    padding: 20px;
    color: #5a5f69;
    font-size: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 20px;
  }
  
  .vf-ul-stats-footer i {
    margin-right: 8px;
    color: #0078d7;
  }
  
  .vf-ul-stats-footer strong {
    color: #a0a0b0;
    font-weight: 600;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .vf-ul-file-options {
      flex-direction: column;
    }
    
    .vf-ul-file-options .vf-ul-input {
      width: 100%;
    }
    
    .vf-ul-actions {
      flex-direction: column;
    }
    
    .vf-ul-btn {
      width: 100%;
      justify-content: center;
    }
  }

/* ---- user_public_files ---- */
/* ========== VIPFile Videos Grid - MAX QUALITY + SORTING ========== */
.vf-videos-wrapper {
  margin-top: 40px;
  width: 100%;
}

/* Сортировка */
.vf-sort-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  padding: 0 4px;
}

.vf-sort-label {
  color: #5a5f69;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.vf-sort-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 10px 18px;
  color: #a0a0b0;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.vf-sort-btn:hover {
  background: rgba(0,120,215,0.15);
  border-color: #0078d7;
  color: #fff;
  transform: translateY(-2px);
}

.vf-sort-btn.active {
  background: linear-gradient(135deg, #0078d7, #1a73e8);
  border-color: #0078d7;
  color: #fff;
  box-shadow: 0 4px 15px rgba(0,120,215,0.3);
}

.vf-videos-title {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 16px;
  border-left: 4px solid #0078d7;
}

.vf-videos-title i {
  color: #0078d7;
}

.vf-videos-count {
  color: #5a5f69;
  font-weight: 600;
  font-size: 18px;
  margin-left: auto;
}

/* Железобетонный grid */
.vf-videos-container {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
  gap: 24px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

@media (max-width: 1400px) {
  .vf-videos-container { grid-template-columns: repeat(4, 1fr) !important; }
}

@media (max-width: 1200px) {
  .vf-videos-container { grid-template-columns: repeat(3, 1fr) !important; }
}

@media (max-width: 768px) {
  .vf-videos-container { 
    grid-template-columns: repeat(2, 1fr) !important; 
    gap: 12px !important;
  }
  .vf-sort-bar { gap: 8px; }
  .vf-sort-btn { padding: 8px 14px; font-size: 12px; }
}

@media (max-width: 480px) {
  .vf-videos-container { grid-template-columns: 1fr !important; }
}

/* Карточка */
.vf-video-item {
  background: linear-gradient(145deg, rgba(25,25,30,0.98), rgba(15,15,20,0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.vf-video-item:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 120, 215, 0.3);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

/* Обложка */
.vf-video-thumb-box {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #000;
}

.vf-video-thumb-box a {
  display: block;
  width: 100%;
  height: 100%;
}

.vf-video-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.vf-video-item:hover .vf-video-img {
  transform: scale(1.08);
}

/* PLAY BUTTON - Telegram style */
.vf-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  z-index: 10;
}

.vf-video-play::before {
  content: '\f04b';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  color: #fff;
  font-size: 24px;
  margin-left: 4px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.vf-video-item:hover .vf-video-play {
  opacity: 1;
  background: rgba(255, 255, 255, 0.35);
}

@media (max-width: 768px) {
  .vf-video-play {
    width: 48px;
    height: 48px;
    opacity: 0.9;
  }
  .vf-video-play::before { font-size: 18px; }
}

/* Кнопка добавить */
.vf-video-add {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s;
  z-index: 20;
}

.vf-video-item:hover .vf-video-add {
  opacity: 1;
  transform: translateY(0);
}

.vf-video-add:hover {
  background: #0078d7;
  border-color: #0078d7;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .vf-video-add {
    opacity: 1;
    transform: translateY(0);
    width: 32px;
    height: 32px;
    top: 8px;
    right: 8px;
  }
}

/* Контент */
.vf-video-info {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: linear-gradient(to bottom, rgba(255,255,255,0.02), transparent);
}

.vf-video-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  line-height: 1.4;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.vf-video-title:hover {
  color: #0078d7;
}

.vf-video-meta {
  margin-top: auto;
}

.vf-video-date {
  font-size: 12px;
  color: #5a5f69;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.vf-video-stats {
  display: flex;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
  color: #a0a0b0;
  font-weight: 600;
}

.vf-video-stat {
  display: flex;
  align-items: center;
  gap: 6px;
}

.vf-video-stat i {
  color: #0078d7;
  font-size: 12px;
}

@media (max-width: 768px) {
  .vf-video-info { padding: 14px; }
  .vf-video-title { font-size: 13px; }
  .vf-video-stats { font-size: 11px; }
}

/* ==== NEWS COMMENTS (comment, comments) - vf-nc namespace, was inline ==== */

/* ---- comment (news comments, vf-nc namespace) ---- */
/* VIPFile Comment Block */
  .vf-nc {
    background: rgba(20, 20, 25, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 16px;
    transition: all 0.3s;
    position: relative;
  }

  .vf-nc:hover {
    border-color: rgba(0, 120, 215, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }

  /* Comment Header */
  .vf-nc-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-wrap: wrap;
  }

  /* Author */
  .vf-nc-author {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffb700;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s;
  }

  .vf-nc-author:hover {
    color: #ffc700;
    text-shadow: 0 0 10px rgba(255, 183, 0, 0.3);
  }

  .vf-nc-author i {
    font-size: 16px;
    color: #5a5f69;
  }

  /* Date */
  .vf-nc-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #5a5f69;
    font-size: 13px;
    font-weight: 500;
  }

  .vf-nc-date i {
    font-size: 14px;
  }

  /* Admin Info */
  .vf-nc-admin {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
  }

  .vf-nc-ip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #a0a0b0;
    font-size: 12px;
    font-family: 'Monaco', monospace;
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 10px;
    border-radius: 6px;
  }

  .vf-nc-ip i {
    color: #5a5f69;
    font-size: 12px;
  }

  /* Delete Button */
  .vf-nc-delete {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #ff4757;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
  }

  .vf-nc-delete:hover {
    background: rgba(220, 53, 69, 0.2);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(220, 53, 69, 0.3);
  }

  /* Comment Text */
  .vf-nc-text {
    color: #e0e0e0;
    font-size: 15px;
    line-height: 1.7;
    word-break: break-word;
  }

  .vf-nc-text p {
    margin: 0 0 12px 0;
  }

  .vf-nc-text p:last-child {
    margin-bottom: 0;
  }

  /* Highlight for new comments */
  .vf-nc.new {
    border-color: rgba(0, 120, 215, 0.3);
    background: linear-gradient(135deg, rgba(0, 120, 215, 0.1), rgba(20, 20, 25, 0.8));
  }

  .vf-nc.new::before {
    content: 'NEW';
    position: absolute;
    top: -1px;
    right: 20px;
    background: #0078d7;
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 0 0 8px 8px;
    letter-spacing: 1px;
  }

/* ---- comments (news comments, vf-nc namespace) ---- */
/* VIPFile Comments Section */
  .vf-nc-list-section {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #ffffff;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .vf-nc-list-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
  }

  .vf-nc-list-header h3 {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .vf-nc-list-header h3 i {
    color: #0078d7;
  }

  .vf-nc-list-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 10px;
    background: #0078d7;
    border-radius: 14px;
    color: white;
    font-size: 13px;
    font-weight: 700;
  }

  /* Comment Card */
  .vf-nc {
    background: rgba(20, 20, 25, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    transition: all 0.3s;
  }

  .vf-nc:hover {
    border-color: rgba(0, 120, 215, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }

  .vf-nc-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-wrap: wrap;
  }

  .vf-nc-author {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffb700;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s;
  }

  .vf-nc-author:hover {
    color: #ffc700;
  }

  .vf-nc-author i {
    font-size: 18px;
    color: #5a5f69;
  }

  .vf-nc-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #5a5f69;
    font-size: 13px;
  }

  .vf-nc-date i {
    font-size: 14px;
  }

  .vf-nc-admin {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
  }

  .vf-nc-ip {
    font-family: 'Monaco', monospace;
    font-size: 12px;
    color: #a0a0b0;
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 8px;
    border-radius: 6px;
  }

  .vf-nc-delete {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #ff4757;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 12px;
  }

  .vf-nc-delete:hover {
    background: rgba(220, 53, 69, 0.2);
    transform: scale(1.1);
  }

  .vf-nc-text {
    color: #e0e0e0;
    font-size: 15px;
    line-height: 1.6;
    word-break: break-word;
  }

  /* Comment Form */
  .vf-nc-form-wrapper {
    background: rgba(20, 20, 25, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    margin-top: 24px;
    position: relative;
  }

  .vf-nc-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0078d7, #1a73e8);
    border-radius: 16px 16px 0 0;
  }

  .vf-nc-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .vf-nc-title i {
    color: #0078d7;
  }

  .vf-nc-grid {
    display: grid;
    gap: 16px;
    margin-bottom: 16px;
  }

  @media (min-width: 768px) {
    .vf-nc-grid {
      grid-template-columns: 1fr 1fr;
    }
  }

  .vf-nc-control {
    width: 100%;
    padding: 14px 16px;
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #ffffff;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    transition: all 0.3s;
    box-sizing: border-box;
  }

  .vf-nc-control:focus {
    outline: none;
    border-color: #0078d7;
    background: rgba(0, 120, 215, 0.05);
    box-shadow: 0 0 0 3px rgba(0, 120, 215, 0.1);
  }

  .vf-nc-control::placeholder {
    color: #5a5f69;
  }

  .vf-nc-textarea {
    width: 100%;
    min-height: 120px;
    padding: 16px;
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #ffffff;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    resize: vertical;
    transition: all 0.3s;
    box-sizing: border-box;
    margin-bottom: 16px;
  }

  .vf-nc-textarea:focus {
    outline: none;
    border-color: #0078d7;
    box-shadow: 0 0 0 3px rgba(0, 120, 215, 0.1);
  }

  .vf-nc-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #0078d7, #1a73e8);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 120, 215, 0.3);
  }

  .vf-nc-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 120, 215, 0.4);
  }

  .vf-nc-hint {
    font-size: 12px;
    color: #5a5f69;
    margin-top: -10px;
    margin-bottom: 16px;
  }

  /* No Comments State */
  .vf-nc-empty {
    text-align: center;
    padding: 40px;
    color: #5a5f69;
  }

  .vf-nc-empty i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.3;
  }

/* ---- report_file (vf-rf namespace) ---- */
/* === VIPFile Report Abuse === */
.vf-report-wrapper {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0a0a0a;
    min-height: calc(100vh - 70px);
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.vf-report-wrapper::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(0, 120, 215, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 120, 215, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

.vf-report-container {
    width: 100%;
    max-width: 600px;
    position: relative;
    z-index: 1;
    animation: vfFadeIn 0.4s ease;
}

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

.vf-report-card {
    background: rgba(20, 20, 25, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.vf-report-header {
    text-align: center;
    margin-bottom: 32px;
}

.vf-report-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.2), rgba(220, 53, 69, 0.05));
    border: 2px solid rgba(220, 53, 69, 0.3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 28px;
    color: #ff6b6b;
    box-shadow: 0 4px 20px rgba(220, 53, 69, 0.2);
}

.vf-report-title {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
}

.vf-report-subtitle {
    color: #a0a0b0;
    font-size: 14px;
}

/* Инфо о файле */
.vf-rf-file-info {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.vf-info-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #e0e0e0;
}

.vf-info-row:last-child {
    margin-bottom: 0;
}

.vf-info-row i {
    color: #0078d7;
    width: 20px;
    text-align: center;
}

.vf-info-label {
    color: #a0a0b0;
    font-weight: 600;
    min-width: 80px;
}

.vf-info-value {
    color: #ffffff;
    font-weight: 600;
    word-break: break-all;
}

/* Алерты */
.vf-report-alert {
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #ff6b6b;
}

.vf-report-alert i {
    font-size: 18px;
}

/* Поля формы */
.vf-rf-form-group {
    margin-bottom: 20px;
    position: relative;
}

.vf-form-label {
    display: block;
    margin-bottom: 8px;
    color: #e0e0e0;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.vf-form-label i {
    color: #0078d7;
    font-size: 14px;
}

.vf-form-input,
.vf-form-select,
.vf-form-textarea {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    color: #ffffff;
    transition: all 0.3s;
    box-sizing: border-box;
}

.vf-form-input:focus,
.vf-form-select:focus,
.vf-form-textarea:focus {
    outline: none;
    border-color: #0078d7;
    background: rgba(0, 120, 215, 0.05);
    box-shadow: 0 0 0 3px rgba(0, 120, 215, 0.1);
}

.vf-form-input::placeholder,
.vf-form-textarea::placeholder {
    color: #5a5f69;
}

.vf-form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a0a0b0' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.vf-form-select option {
    background: #1a1a1f;
    color: #ffffff;
}

.vf-form-textarea {
    height: 120px;
    padding: 16px;
    resize: vertical;
    line-height: 1.5;
}

/* Captcha */
.vf-rf-captcha-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 24px;
    text-align: center;
}

/* Кнопка */
.vf-report-btn {
    width: 100%;
    height: 56px;
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vf-report-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.6);
}

.vf-report-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #4a4f59;
    box-shadow: none;
}

/* === АДАПТАЦИЯ === */
@media (max-width: 576px) {
    .vf-report-wrapper {
        padding: 20px;
    }
    
    .vf-report-card {
        padding: 30px 24px;
        border-radius: 16px;
    }
    
    .vf-report-title {
        font-size: 22px;
    }
    
    .vf-rf-file-info {
        padding: 16px;
    }
}

@media (max-width: 380px) {
    .vf-report-card {
        padding: 24px 20px;
    }
}
