/*
Theme Name: VIP Stylish Username Generator
Theme URI: https://shamiit.com/
Author: SHAMIIT LLP
Author URI: https://shamiit.com/
Description: Premier Light Edition WordPress Theme for AI Digital Identity & VIP Stylish Username Generator, Unicode Font Styles, Bios, Quotes, and Shayari. Crisp, compact, high-contrast, high traffic, and flawless SEO.
Version: 2.1.0
Requires at least: 5.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vip-stylish-username-generator
Tags: grid-layout, custom-colors, custom-menu, full-width-template, theme-options, translation-ready
*/

:root {
  --bg-main: #f8fafc;
  --bg-white: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.96);
  --border-color: #e2e8f0;
  --border-focus: #7c3aed;
  --accent-purple: #7c3aed;
  --accent-indigo: #4f46e5;
  --accent-pink: #db2777;
  --accent-cyan: #0284c7;
  --accent-gold: #d97706;
  --accent-emerald: #059669;
  --text-main: #0f172a;
  --text-muted: #334155;
  --text-dim: #64748b;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 30px rgba(15, 23, 42, 0.06);
  --shadow-glow: 0 6px 20px rgba(124, 58, 237, 0.15);
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: var(--accent-purple);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--accent-pink);
}

.site-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

/* Header & Navbar - Compact UI Sizing */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.45rem 0;
  box-shadow: var(--shadow-sm);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.4px;
  white-space: nowrap;
}

.header-logo-img,
img.header-logo-img,
.brand-link img {
  height: 32px !important;
  max-height: 32px !important;
  width: auto !important;
  max-width: 180px !important;
  object-fit: contain !important;
  display: inline-block !important;
  vertical-align: middle !important;
  border-radius: 6px;
}

.logo-icon {
  font-size: 1.2rem;
}

.logo-text {
  white-space: nowrap;
}

.brand-link .highlight {
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.version-badge {
  background: #f3e8ff;
  color: var(--accent-purple);
  border: 1px solid #e9d5ff;
  padding: 2px 8px;
  border-radius: 16px;
  font-size: 0.7rem;
  font-weight: 800;
  white-space: nowrap;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  white-space: nowrap;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--accent-purple);
}

.cta-btn {
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-indigo) 100%);
  color: #ffffff;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.82rem;
  box-shadow: 0 2px 10px rgba(124, 58, 237, 0.2);
  white-space: nowrap;
  transition: var(--transition-fast);
}

.cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.35);
  color: #ffffff;
}

/* Hero Section - Compact */
.hero-section {
  padding: 2rem 0 2.2rem;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-block;
  background: #f3e8ff;
  color: var(--accent-purple);
  border: 1px solid #e9d5ff;
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  letter-spacing: 0.4px;
}

.hero-title {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 0.6rem;
  color: var(--text-main);
  letter-spacing: -0.8px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-pink) 60%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 1.5rem;
  font-weight: 500;
}

/* Generator Main Card */
.generator-main-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  box-shadow: var(--shadow-lg);
  margin-top: 0.5rem;
}

.generator-header-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding-bottom: 0.8rem;
  margin-bottom: 0.8rem;
  border-bottom: 1px solid var(--border-color);
  flex-wrap: wrap;
  text-align: center;
}

.gen-title-icon {
  font-size: 1.3rem;
}

.gen-title-text {
  font-size: clamp(0.92rem, 3.5vw, 1.15rem);
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.4px;
}

.gen-highlight {
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gen-subtitle-badge {
  background: #e0f2fe;
  color: var(--accent-cyan);
  border: 1px solid #bae6fd;
  padding: 2px 10px;
  border-radius: 16px;
  font-size: 0.75rem;
  font-weight: 800;
  white-space: nowrap;
}

/* Stats Section */
.stats-section {
  padding: 2rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.stat-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.stat-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-purple);
  box-shadow: var(--shadow-glow);
}

.stat-number {
  font-size: 1.9rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.2rem;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* Category Showcase Grid */
.categories-section {
  padding: 2.2rem 0 3rem;
}

.section-header {
  text-align: center;
  margin-bottom: 1.8rem;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 500;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.2rem;
}

.showcase-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.showcase-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-purple);
  box-shadow: var(--shadow-glow);
}

.showcase-icon {
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
}

.showcase-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.showcase-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

.showcase-count {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-purple);
  background: #f3e8ff;
  border: 1px solid #e9d5ff;
  padding: 3px 10px;
  border-radius: 10px;
  align-self: flex-start;
}

/* Features Guide Section */
.plugin-guide-section {
  padding: 2.5rem 0 3.5rem;
}

.plugin-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.plugin-info h2 {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--text-main);
  margin: 0.4rem 0 0.8rem;
}

.plugin-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 600px;
  margin-bottom: 1rem;
}

.shortcode-box {
  background: #f1f5f9;
  border: 1px dashed var(--accent-purple);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.shortcode-box span {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 700;
}

.shortcode-box code {
  color: var(--accent-purple);
  font-size: 0.9rem;
  font-weight: 800;
}

.btn-download {
  background: linear-gradient(135deg, var(--accent-emerald) 0%, #047857 100%);
  color: #ffffff;
  flex-direction: column;
  padding: 0.9rem 1.8rem;
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.25);
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 0.9rem;
}

.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.35);
  color: #ffffff;
}

.btn-download small {
  font-size: 0.72rem;
  opacity: 0.9;
  font-weight: 600;
}

/* Footer - High Visibility & Crisp Contrast */
.site-footer {
  background: #0b0f19;
  color: #f8fafc;
  padding: 3rem 0 1.8rem;
  border-top: 1px solid #1e293b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.2rem;
}

.footer-desc {
  color: #cbd5e1;
  font-size: 0.88rem;
  margin: 0.8rem 0 1rem;
  max-width: 400px;
  line-height: 1.6;
}

.footer-socials {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.social-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: #c084fc;
  background: rgba(192, 132, 252, 0.15);
  border: 1px solid rgba(192, 132, 252, 0.3);
  padding: 3px 10px;
  border-radius: 10px;
}

.footer-title {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #ffffff;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: #38bdf8;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid #1e293b;
  color: #cbd5e1;
  font-size: 0.85rem;
  font-weight: 600;
}

.footer-bottom .dev-link {
  color: #38bdf8;
  font-weight: 700;
  text-decoration: underline;
}

.footer-bottom .dev-link:hover {
  color: #a855f7;
}

/* Mobile Hamburger Button */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  cursor: pointer;
  padding: 9px;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  z-index: 1010;
  transition: var(--transition-fast);
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
  z-index: 990;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-overlay.open {
  display: block;
  opacity: 1;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-title { font-size: clamp(1.8rem, 4vw, 2.4rem); }
  .navbar-menu { gap: 0.8rem; }
  .nav-links { gap: 0.8rem; }
  .plugin-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .navbar-menu {
    position: fixed;
    top: 55px;
    right: 1rem;
    left: 1rem;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    flex-direction: column;
    align-items: stretch;
    gap: 1.2rem;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.15);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px) scale(0.96);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  }

  .navbar-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.8rem;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 0.6rem 1rem;
    font-size: 1rem;
    border-radius: var(--radius-sm);
  }

  .cta-btn {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
  }

  .showcase-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 1rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }
}

/* Page & Article Template Styles - Fluid Responsive Layouts */
.page-content-container {
  padding: clamp(1.5rem, 4vw, 3rem) 1rem;
  min-height: 60vh;
  width: 100%;
  box-sizing: border-box;
}

.single-page-card,
.single-article-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: clamp(1rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-lg);
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.entry-header {
  margin-bottom: clamp(1rem, 3vw, 2rem);
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 1rem;
}

.entry-title {
  font-size: clamp(1.35rem, 5vw, 2.4rem);
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
  line-height: 1.25;
}

.entry-meta {
  font-size: 0.88rem;
  color: var(--text-dim);
  font-weight: 600;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
}

.entry-content {
  color: var(--text-muted);
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  line-height: 1.8;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.post-featured-image {
  margin-bottom: 1.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.post-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Single Post Grid & Sidebar */
.single-post-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  width: 100%;
}

.main-article-area {
  min-width: 0;
  width: 100%;
}

.sidebar-area {
  min-width: 0;
  width: 100%;
}

.sidebar-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: clamp(1.2rem, 3vw, 1.8rem);
  box-shadow: var(--shadow-lg);
}

/* Archive & Index Grid Styles */
.archive-header {
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
  text-align: center;
}

.archive-title {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  font-weight: 900;
  color: var(--text-main);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.archive-description {
  color: var(--text-dim);
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  max-width: 600px;
  margin: 0.5rem auto 0;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1.5rem;
  width: 100%;
}

.post-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: clamp(1rem, 3vw, 1.8rem);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-fast);
}

.post-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-purple);
  box-shadow: var(--shadow-glow);
}

.post-card-thumb {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1rem;
}

.post-card-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.post-card-title {
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.6rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.post-card-title a {
  color: var(--text-main);
}

.post-card-excerpt {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.post-card-btn {
  display: inline-block;
  text-align: center;
  font-size: 0.88rem;
  padding: 0.55rem 1.2rem;
  width: 100%;
}

.pagination-wrapper {
  margin-top: 2.5rem;
  text-align: center;
}

.empty-archive-card {
  text-align: center;
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

/* Page Builder Overrides (Elementor & Gutenberg Container Flexibility) */
.elementor-section,
.elementor-container,
.elementor-column,
.elementor-widget-container,
.elementor-element,
.wp-block-group,
.wp-block-columns,
.wp-block-column,
.wp-block-post-content {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

@media (max-width: 992px) {
  .single-post-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .site-container {
    padding: 0 0.85rem;
  }

  .brand-link {
    font-size: 0.95rem;
  }

  .version-badge {
    display: none;
  }

  .hero-section {
    padding: 1.5rem 0 1.8rem;
  }

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

  .hero-subtitle {
    font-size: 0.92rem;
  }

  .generator-main-card {
    padding: 0.9rem;
  }

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

  .stats-grid .stat-card:last-child {
    grid-column: span 2;
  }
}

