/* Core Card Styling - Shared by Preview and View Pages */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
  --bg-color: #0b0f19;
  --bg-gradient: linear-gradient(135deg, #0b0f19 0%, #111827 100%);
  --text-color: #ffffff;
  --accent-color: #a855f7;
  --card-width: 100%;
  --card-max-width: 480px;
  --font-family: 'Outfit', sans-serif;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  
  /* Platform Colors */
  --color-instagram: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  --color-telegram: #229ED9;
  --color-facebook: #1877F2;
  --color-tiktok: #010101;
  --color-youtube: #FF0000;
  --color-phone: #22c55e;
  --color-website: #3b82f6;
  --color-whatsapp: #25D366;
}

/* Card Container Styles */
.card-wrapper {
  width: var(--card-width);
  max-width: var(--card-max-width);
  min-height: 100%;
  margin: 0 auto;
  font-family: var(--font-family);
  color: var(--text-color);
  background: var(--bg-gradient);
  background-color: var(--bg-color);
  box-sizing: border-box;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: visible;
}

/* Inside the mobile preview frame, we want min-height: 100% and overflow-y: auto */
.preview-container .card-wrapper {
  min-height: 100%;
  overflow-y: auto;
}

/* Profiles */
.profile-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 32px;
  text-align: center;
  width: 100%;
}

.avatar-container {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(to right, #8b5cf6, #ec4899);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

.avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #000;
  background: #222;
}

.profile-name {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: #fff;
  letter-spacing: -0.5px;
}

.profile-bio {
  font-size: 14px;
  color: #9ca3af;
  margin: 0;
  line-height: 1.5;
  max-width: 85%;
}

/* Buttons Section */
.buttons-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
  z-index: 10;
}

.card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  padding: 16px 24px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-md);
  text-align: center;
  overflow: hidden;
}

.card-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  filter: brightness(1.1);
}

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

.card-btn-icon {
  position: absolute;
  left: 20px;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-btn-text {
  width: 100%;
  display: inline-block;
  padding: 0 20px;
  word-break: break-word;
}

/* Platform Styles */
.card-btn-instagram {
  background: var(--color-instagram);
  color: #ffffff;
}

.card-btn-telegram {
  background-color: var(--color-telegram);
  color: #ffffff;
}

.card-btn-facebook {
  background-color: var(--color-facebook);
  color: #ffffff;
}

.card-btn-tiktok {
  background-color: var(--color-tiktok);
  color: #ffffff;
  border: 1px solid #333;
}

.card-btn-youtube {
  background-color: var(--color-youtube);
  color: #ffffff;
}

.card-btn-phone {
  background-color: var(--color-phone);
  color: #ffffff;
}

.card-btn-website {
  background-color: var(--color-website);
  color: #ffffff;
}

.card-btn-whatsapp {
  background-color: var(--color-whatsapp);
  color: #ffffff;
}

.card-btn-custom {
  background-color: var(--custom-bg, #374151);
  color: var(--custom-text, #ffffff);
}

/* Footer / Create Own Card Button */
.card-footer {
  margin-top: auto;
  padding-top: 24px;
  z-index: 10;
  width: 100%;
  display: flex;
  justify-content: center;
}

.create-own-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 13px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.create-own-badge:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.3);
}

/* ========================================================
   THEMES STYLING
   ======================================================== */

/* 1. Neon Dark Theme (Default/Sakura style) */
.theme-neon {
  --bg-color: #0d091e;
  --bg-gradient: linear-gradient(135deg, #0d091e 0%, #150f33 100%);
  --text-color: #ffffff;
  background: var(--bg-gradient);
}

.theme-neon .avatar-container {
  background: linear-gradient(45deg, #ec4899, #8b5cf6, #06b6d4);
  box-shadow: 0 0 25px rgba(236, 72, 153, 0.5);
  animation: neonGlow 4s infinite alternate;
}

.theme-neon .profile-name {
  background: linear-gradient(to right, #ffffff 30%, #f472b6 60%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

@keyframes neonGlow {
  0% { box-shadow: 0 0 20px rgba(236, 72, 153, 0.5); }
  50% { box-shadow: 0 0 30px rgba(139, 92, 246, 0.6); }
  100% { box-shadow: 0 0 20px rgba(6, 182, 212, 0.5); }
}

/* 2. Glassmorphism Theme */
.theme-glassmorphism {
  --bg-color: #1e1b4b;
  --bg-gradient: radial-gradient(circle at top left, #311068 0%, #0c0827 100%);
  --text-color: #f3f4f6;
  background: var(--bg-gradient);
  position: relative;
  overflow: hidden; /* Contains blur pseudo-elements */
}

.theme-glassmorphism::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 10%;
  width: 150px;
  height: 150px;
  background: rgba(139, 92, 246, 0.25);
  filter: blur(60px);
  border-radius: 50%;
  z-index: 1;
}

.theme-glassmorphism::after {
  content: '';
  position: absolute;
  bottom: 20%;
  right: 10%;
  width: 200px;
  height: 200px;
  background: rgba(236, 72, 153, 0.2);
  filter: blur(80px);
  border-radius: 50%;
  z-index: 1;
}

.theme-glassmorphism .avatar-container {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
}

.theme-glassmorphism .card-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
}

.theme-glassmorphism .card-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
}

/* 3. Sunset Gradient Theme */
.theme-sunset {
  --bg-color: #1e1b4b;
  --bg-gradient: linear-gradient(180deg, #fdba74 0%, #f43f5e 50%, #881337 100%);
  --text-color: #ffffff;
  background: var(--bg-gradient);
}

.theme-sunset .avatar-container {
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(136, 19, 55, 0.4);
}

.theme-sunset .avatar-image {
  border-color: #f43f5e;
}

.theme-sunset .card-btn {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.theme-sunset .card-btn:hover {
  background: rgba(0, 0, 0, 0.45);
  border-color: rgba(255, 255, 255, 0.2);
}

/* 4. Pastel Light Theme */
.theme-pastel {
  --bg-color: #f7fee7;
  --bg-gradient: linear-gradient(135deg, #f7fee7 0%, #ecfdf5 50%, #e0f2fe 100%);
  --text-color: #1f2937;
  background: var(--bg-gradient);
}

.theme-pastel .avatar-container {
  background: linear-gradient(135deg, #6ee7b7, #3b82f6);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.15);
}

.theme-pastel .avatar-image {
  border-color: #ffffff;
}

.theme-pastel .profile-name {
  color: #111827;
}

.theme-pastel .profile-bio {
  color: #4b5563;
}

.theme-pastel .card-btn {
  background: #ffffff;
  color: #1f2937;
  border: 1px solid #e5e7eb;
}

.theme-pastel .card-btn:hover {
  background: #f9fafb;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(31, 41, 55, 0.05);
}

.theme-pastel .create-own-badge {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #4b5563;
}

.theme-pastel .create-own-badge:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #111827;
}

/* 5. Minimalist Dark Theme */
.theme-dark {
  --bg-color: #121212;
  --bg-gradient: linear-gradient(180deg, #121212 0%, #1e1e1e 100%);
  --text-color: #e0e0e0;
  background: var(--bg-gradient);
}

.theme-dark .avatar-container {
  background: #333333;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.theme-dark .avatar-image {
  border-color: #1e1e1e;
}

.theme-dark .card-btn {
  background-color: #242424;
  color: #ffffff;
  border: 1px solid #333333;
}

.theme-dark .card-btn:hover {
  background-color: #2d2d2d;
  border-color: #444444;
}

/* ========================================================
   COMPANY INFO SECTION
   ======================================================== */
.company-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  z-index: 10;
}

.company-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.5;
}

.company-info-item i {
  font-size: 16px;
  color: #a855f7;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.company-info-item a {
  color: #a855f7;
  text-decoration: none;
  transition: color 0.2s;
}

.company-info-item a:hover {
  color: #c084fc;
  text-decoration: underline;
}

.company-info-item .company-name-text {
  font-weight: 600;
  font-size: 15px;
  color: #e2e8f0;
}

/* Theme adaptations for company info */
.theme-pastel .company-info-item {
  color: #4b5563;
}
.theme-pastel .company-info-item i {
  color: #3b82f6;
}
.theme-pastel .company-info-item a {
  color: #3b82f6;
}
.theme-pastel .company-info-item .company-name-text {
  color: #1f2937;
}

.theme-sunset .company-info-item {
  color: rgba(255, 255, 255, 0.85);
}
.theme-sunset .company-info-item i {
  color: #fbbf24;
}

/* ========================================================
   INSTAGRAM-STYLE GALLERY GRID
   ======================================================== */
.gallery-section {
  width: 100%;
  margin-bottom: 32px;
  z-index: 10;
}

.gallery-section-title {
  font-size: 13px;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  border-radius: 12px;
  overflow: hidden;
}

.gallery-grid-item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: pointer;
  background: #1a1a2e;
}

.gallery-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.3s ease;
}

.gallery-grid-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
  pointer-events: none;
}

.gallery-grid-item:hover img {
  transform: scale(1.08);
}

.gallery-grid-item:hover::after {
  background: rgba(0, 0, 0, 0.15);
}

/* Zoom icon overlay on hover */
.gallery-grid-item .gallery-zoom-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  color: #fff;
  font-size: 20px;
  z-index: 2;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.gallery-grid-item:hover .gallery-zoom-icon {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

/* ========================================================
   FULLSCREEN GALLERY LIGHTBOX
   ======================================================== */
.gallery-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.96);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-lightbox.active {
  display: flex;
  opacity: 1;
}

.gallery-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10001;
}

.gallery-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.gallery-lightbox-img-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.gallery-lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  transition: opacity 0.3s ease, transform 0.3s ease;
  user-select: none;
  -webkit-user-drag: none;
}

.gallery-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10001;
}

.gallery-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-50%) scale(1.1);
}

.gallery-lightbox-nav.prev {
  left: 20px;
}

.gallery-lightbox-nav.next {
  right: 20px;
}

.gallery-lightbox-counter {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 500;
  margin-top: 16px;
  font-family: 'Outfit', sans-serif;
}

/* Lightbox image transitions */
.gallery-lightbox-img.fade-out {
  opacity: 0;
  transform: scale(0.95);
}

.gallery-lightbox-img.fade-in {
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 600px) {
  .gallery-lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  .gallery-lightbox-nav.prev {
    left: 10px;
  }
  .gallery-lightbox-nav.next {
    right: 10px;
  }
  .gallery-lightbox-close {
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    font-size: 18px;
  }
}

/* ========================================================
   QR CODE SECTION
   ======================================================== */
.qr-code-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  z-index: 10;
}

.qr-code-label {
  font-size: 13px;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.qr-code-wrapper {
  background: #ffffff;
  padding: 16px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-code-wrapper canvas {
  border-radius: 4px;
}

.qr-code-save-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  font-family: 'Outfit', sans-serif;
}

.qr-code-save-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.theme-pastel .qr-code-label {
  color: #6b7280;
}
.theme-pastel .qr-code-wrapper {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
}
.theme-pastel .qr-code-save-btn {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
  color: #4b5563;
}
.theme-pastel .qr-code-save-btn:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #1f2937;
}

/* ========================================================
   GLOBAL ENTRANCE ANIMATIONS
   ======================================================== */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.card-wrapper .profile-section {
  animation: fadeSlideUp 0.6s ease-out both;
}

.card-wrapper .company-info {
  animation: fadeSlideUp 0.6s ease-out 0.15s both;
}

.card-wrapper .buttons-list {
  animation: fadeSlideUp 0.6s ease-out 0.25s both;
}

.card-wrapper .buttons-list .card-btn {
  animation: fadeSlideUp 0.5s ease-out both;
}

.card-wrapper .buttons-list .card-btn:nth-child(1) { animation-delay: 0.3s; }
.card-wrapper .buttons-list .card-btn:nth-child(2) { animation-delay: 0.4s; }
.card-wrapper .buttons-list .card-btn:nth-child(3) { animation-delay: 0.5s; }
.card-wrapper .buttons-list .card-btn:nth-child(4) { animation-delay: 0.6s; }
.card-wrapper .buttons-list .card-btn:nth-child(5) { animation-delay: 0.7s; }

.card-wrapper .gallery-section {
  animation: fadeSlideUp 0.6s ease-out 0.6s both;
}

.card-wrapper .qr-code-section {
  animation: scaleIn 0.5s ease-out 0.7s both;
}

.card-wrapper .card-footer {
  animation: fadeIn 0.6s ease-out 0.8s both;
}

/* ========================================================
   6. ATELYER THEME — Warm Leather & Tailoring
   ======================================================== */
.theme-atelyer {
  --bg-color: #1a0a00;
  --bg-gradient: linear-gradient(160deg, #1a0a00 0%, #2d1507 30%, #3d1c08 60%, #271005 100%);
  --text-color: #f5e6d3;
  background: var(--bg-gradient);
  position: relative;
  overflow: hidden;
}

.theme-atelyer::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(196, 124, 62, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
  animation: atelier-float 8s ease-in-out infinite alternate;
}

.theme-atelyer::after {
  content: '\2702';
  position: absolute;
  bottom: 15%;
  left: 8%;
  font-size: 64px;
  opacity: 0.04;
  z-index: 1;
  animation: atelier-needle 6s ease-in-out infinite alternate;
}

@keyframes atelier-float {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(-20px, 30px) rotate(10deg); }
}

@keyframes atelier-needle {
  0% { transform: rotate(-5deg) translateY(0); }
  50% { transform: rotate(5deg) translateY(-10px); }
  100% { transform: rotate(-5deg) translateY(0); }
}

.theme-atelyer .avatar-container {
  background: linear-gradient(135deg, #c47c3e, #8b4513, #d4a574);
  box-shadow: 0 8px 30px rgba(139, 69, 19, 0.4);
  animation: neonGlow 4s infinite alternate;
}

.theme-atelyer .avatar-image {
  border-color: #2d1507;
}

.theme-atelyer .profile-name {
  background: linear-gradient(to right, #f5e6d3, #d4a574, #c47c3e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.theme-atelyer .profile-bio {
  color: #c4a882;
}

.theme-atelyer .card-btn {
  background: rgba(196, 124, 62, 0.12);
  border: 1px solid rgba(196, 124, 62, 0.25);
  color: #f5e6d3;
  backdrop-filter: blur(8px);
}

.theme-atelyer .card-btn:hover {
  background: rgba(196, 124, 62, 0.25);
  border-color: rgba(212, 165, 116, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(139, 69, 19, 0.3);
}

.theme-atelyer .company-info-item {
  color: #c4a882;
}
.theme-atelyer .company-info-item i {
  color: #d4a574;
}
.theme-atelyer .company-info-item a {
  color: #d4a574;
}
.theme-atelyer .company-info-item .company-name-text {
  color: #f5e6d3;
}

.theme-atelyer .create-own-badge {
  background: rgba(196, 124, 62, 0.1);
  border-color: rgba(196, 124, 62, 0.25);
  color: #c4a882;
}

.theme-atelyer .gallery-section-title,
.theme-atelyer .qr-code-label {
  color: #c4a882;
}

/* ========================================================
   7. KINO BOT THEME — Matrix-Style Green Terminal
   ======================================================== */
.theme-kinobot {
  --bg-color: #020a02;
  --bg-gradient: linear-gradient(180deg, #020a02 0%, #041a04 30%, #082808 60%, #020a02 100%);
  --text-color: #00ff41;
  background: var(--bg-gradient);
  position: relative;
  overflow: hidden;
}

.theme-kinobot::before {
  content: '01001 10110 01101 00111 10010 01100 11001 00101 10111 01010';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  font-family: 'Courier New', monospace;
  font-size: 10px;
  color: rgba(0, 255, 65, 0.04);
  word-break: break-all;
  line-height: 1.8;
  padding: 20px;
  z-index: 1;
  pointer-events: none;
  animation: matrix-scroll 20s linear infinite;
}

@keyframes matrix-scroll {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

@keyframes bot-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 255, 65, 0.3); }
  50% { box-shadow: 0 0 40px rgba(0, 255, 65, 0.6), 0 0 80px rgba(0, 255, 65, 0.15); }
}

@keyframes terminal-blink {
  0%, 50% { border-right-color: #00ff41; }
  51%, 100% { border-right-color: transparent; }
}

.theme-kinobot .avatar-container {
  background: linear-gradient(135deg, #00ff41, #00cc33, #009926);
  box-shadow: 0 0 25px rgba(0, 255, 65, 0.4);
  animation: bot-pulse 3s ease-in-out infinite;
}

.theme-kinobot .avatar-image {
  border-color: #041a04;
}

.theme-kinobot .profile-name {
  color: #00ff41;
  font-family: 'Courier New', 'Outfit', monospace;
  text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
  font-weight: 800;
}

.theme-kinobot .profile-bio {
  color: rgba(0, 255, 65, 0.6);
  font-family: 'Courier New', monospace;
  font-size: 13px;
}

.theme-kinobot .card-btn {
  background: rgba(0, 255, 65, 0.06);
  border: 1px solid rgba(0, 255, 65, 0.2);
  color: #00ff41;
  font-family: 'Courier New', monospace;
}

.theme-kinobot .card-btn:hover {
  background: rgba(0, 255, 65, 0.15);
  border-color: rgba(0, 255, 65, 0.5);
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
  transform: translateY(-2px);
}

.theme-kinobot .company-info-item {
  color: rgba(0, 255, 65, 0.7);
}
.theme-kinobot .company-info-item i {
  color: #00ff41;
}
.theme-kinobot .company-info-item a {
  color: #00ff41;
}
.theme-kinobot .company-info-item .company-name-text {
  color: #00ff41;
}

.theme-kinobot .create-own-badge {
  background: rgba(0, 255, 65, 0.06);
  border-color: rgba(0, 255, 65, 0.2);
  color: rgba(0, 255, 65, 0.7);
}

.theme-kinobot .gallery-section-title,
.theme-kinobot .qr-code-label {
  color: rgba(0, 255, 65, 0.6);
  font-family: 'Courier New', monospace;
}

/* ========================================================
   8. KINOLAR (CINEMA) THEME — Purple/Gold Hollywood
   ======================================================== */
.theme-cinema {
  --bg-color: #0a0510;
  --bg-gradient: linear-gradient(160deg, #0a0510 0%, #150820 30%, #1a0a2e 60%, #0f0518 100%);
  --text-color: #ffffff;
  background: var(--bg-gradient);
  position: relative;
  overflow: hidden;
}

.theme-cinema::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 500px;
  background: conic-gradient(
    from 180deg,
    transparent 0deg,
    rgba(247, 201, 72, 0.06) 30deg,
    transparent 60deg
  );
  z-index: 1;
  animation: spotlight-sweep 6s ease-in-out infinite alternate;
}

.theme-cinema::after {
  content: '\1F3AC';
  position: absolute;
  top: 10%;
  right: 5%;
  font-size: 80px;
  opacity: 0.03;
  z-index: 1;
  animation: cinema-float 5s ease-in-out infinite alternate;
}

@keyframes spotlight-sweep {
  0% { transform: translateX(-50%) rotate(-15deg); }
  100% { transform: translateX(-50%) rotate(15deg); }
}

@keyframes cinema-float {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-15px) rotate(5deg); }
}

.theme-cinema .avatar-container {
  background: linear-gradient(135deg, #f7c948, #ff6b35, #e50914);
  box-shadow: 0 8px 32px rgba(229, 9, 20, 0.35);
  animation: neonGlow 4s infinite alternate;
}

.theme-cinema .avatar-image {
  border-color: #150820;
}

.theme-cinema .profile-name {
  background: linear-gradient(to right, #ffffff, #f7c948, #ff6b35);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.theme-cinema .profile-bio {
  color: #b8a9cc;
}

.theme-cinema .card-btn {
  background: rgba(247, 201, 72, 0.08);
  border: 1px solid rgba(247, 201, 72, 0.2);
  color: #ffffff;
  backdrop-filter: blur(8px);
}

.theme-cinema .card-btn:hover {
  background: rgba(247, 201, 72, 0.18);
  border-color: rgba(247, 201, 72, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(229, 9, 20, 0.2);
}

.theme-cinema .company-info-item {
  color: #b8a9cc;
}
.theme-cinema .company-info-item i {
  color: #f7c948;
}
.theme-cinema .company-info-item a {
  color: #f7c948;
}
.theme-cinema .company-info-item .company-name-text {
  color: #f5e6d3;
}

.theme-cinema .create-own-badge {
  background: rgba(247, 201, 72, 0.06);
  border-color: rgba(247, 201, 72, 0.2);
  color: #b8a9cc;
}

.theme-cinema .gallery-section-title,
.theme-cinema .qr-code-label {
  color: #b8a9cc;
}

/* ========================================================
   9. DASTURCHI (DEVELOPER) THEME — GitHub Dark Code Editor
   ======================================================== */
.theme-developer {
  --bg-color: #0d1117;
  --bg-gradient: linear-gradient(180deg, #0d1117 0%, #161b22 50%, #0d1117 100%);
  --text-color: #c9d1d9;
  background: var(--bg-gradient);
  position: relative;
  overflow: hidden;
}

.theme-developer::before {
  content: '{ }';
  position: absolute;
  top: 8%;
  left: 8%;
  font-family: 'Courier New', monospace;
  font-size: 120px;
  color: rgba(88, 166, 255, 0.03);
  font-weight: 700;
  z-index: 1;
}

.theme-developer::after {
  content: '</>';
  position: absolute;
  bottom: 10%;
  right: 8%;
  font-family: 'Courier New', monospace;
  font-size: 80px;
  color: rgba(126, 231, 135, 0.03);
  font-weight: 700;
  z-index: 1;
  animation: dev-cursor-blink 1.2s step-end infinite;
}

@keyframes dev-cursor-blink {
  0%, 100% { opacity: 0.03; }
  50% { opacity: 0.08; }
}

@keyframes dev-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(88, 166, 255, 0.25); }
  50% { box-shadow: 0 0 35px rgba(88, 166, 255, 0.4), 0 0 60px rgba(88, 166, 255, 0.1); }
}

.theme-developer .avatar-container {
  background: linear-gradient(135deg, #58a6ff, #388bfd, #1f6feb);
  box-shadow: 0 8px 24px rgba(88, 166, 255, 0.25);
  animation: dev-glow 4s ease-in-out infinite;
}

.theme-developer .avatar-image {
  border-color: #0d1117;
}

.theme-developer .profile-name {
  color: #58a6ff;
  font-family: 'Courier New', 'Outfit', monospace;
  font-weight: 800;
}

.theme-developer .profile-bio {
  color: #8b949e;
  font-family: 'Courier New', monospace;
  font-size: 13px;
}

.theme-developer .card-btn {
  background: #161b22;
  border: 1px solid #30363d;
  color: #c9d1d9;
  font-family: 'Courier New', monospace;
  font-size: 15px;
}

.theme-developer .card-btn:hover {
  background: #1c2333;
  border-color: #58a6ff;
  color: #58a6ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(88, 166, 255, 0.12);
}

.theme-developer .card-btn-icon {
  color: #7ee787;
}

.theme-developer .company-info-item {
  color: #8b949e;
}
.theme-developer .company-info-item i {
  color: #58a6ff;
}
.theme-developer .company-info-item a {
  color: #58a6ff;
}
.theme-developer .company-info-item .company-name-text {
  color: #c9d1d9;
}

.theme-developer .create-own-badge {
  background: rgba(88, 166, 255, 0.06);
  border-color: #30363d;
  color: #8b949e;
}

.theme-developer .gallery-section-title,
.theme-developer .qr-code-label {
  color: #8b949e;
  font-family: 'Courier New', monospace;
}

.theme-developer .qr-code-wrapper {
  border: 1px solid #30363d;
}

/* ========================================================
   MAP SECTION (Yandex Map)
   ======================================================== */
.map-section {
  width: auto;
  margin: 20px 24px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  animation: fadeSlideUp 0.6s ease-out 0.55s both;
  z-index: 10;
}

.map-section-title {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  font-size: 13px;
  font-weight: 600;
  color: #e5e7eb;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.map-section-title i {
  color: #a855f7;
}


/* Theme specifics */
.theme-pastel .map-section {
  border-color: #e5e7eb;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.theme-pastel .map-section-title {
  background: rgba(0, 0, 0, 0.01);
  color: #374151;
  border-bottom-color: #e5e7eb;
}

.theme-pastel .map-section-title i {
  color: #4b5563;
}

.theme-developer .map-section {
  border-color: #30363d;
  font-family: 'Courier New', monospace;
}

.theme-developer .map-section-title {
  color: #8b949e;
  border-bottom-color: #30363d;
}

.theme-developer .map-section-title i {
  color: #58a6ff;
}

.theme-atelyer .map-section-title i {
  color: #c47c3e;
}

.theme-kino-bot .map-section-title i {
  color: #00ff00;
}

.theme-kinolar .map-section-title i {
  color: #e0a96d;
}
