:root {
  --bg-color: #0b0910;
  --surface-color: #171420;
  --surface-hover: #1f1b2b;
  --border-color: #2a2538;
  --text-main: #ffffff;
  --text-muted: #8b8599;
  
  --accent: #d84069;
  --accent-hover: #f0547d;
  
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background-color: var(--bg-color); color: var(--text-main); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; overflow: hidden; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-color); }
::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

.icon-white { stroke: #fff; }
.icon-pink { stroke: var(--accent); }
.fill-pink { fill: var(--accent); }

/* SVG Icon Animations */
.anim-pulse { animation: pulseIcon 2s infinite ease-in-out; }
.anim-wave { animation: waveIcon 2.5s infinite; transform-origin: 70% 70%; display: inline-block; }
.btn:hover svg.anim-float { animation: floatIcon 1s ease-in-out infinite alternate; }

@keyframes pulseIcon { 0% { transform: scale(1); } 50% { transform: scale(1.15); } 100% { transform: scale(1); } }
@keyframes waveIcon { 0% { transform: rotate(0deg); } 10% { transform: rotate(14deg); } 20% { transform: rotate(-8deg); } 30% { transform: rotate(14deg); } 40% { transform: rotate(-4deg); } 50% { transform: rotate(10deg); } 60% { transform: rotate(0deg); } 100% { transform: rotate(0deg); } }
@keyframes floatIcon { 0% { transform: translateY(0px); } 100% { transform: translateY(-3px); } }

/* Toasts */
#toast-container { position: fixed; top: 20px; right: 20px; z-index: 10000; display: flex; flex-direction: column; gap: 12px; pointer-events: none; }
.toast { background: var(--surface-color); border: 1px solid var(--border-color); color: #fff; padding: 16px 24px; border-radius: var(--radius-sm); display: flex; align-items: center; gap: 12px; font-weight: 500; box-shadow: 0 10px 30px rgba(0,0,0,0.5); animation: toastIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateX(50px); } to { opacity: 1; transform: translateX(0); } }

/* Modals Overlay */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.85); backdrop-filter: blur(10px); z-index: 9999; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: 0.4s ease; padding: 20px; }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-box { background: var(--surface-color); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 40px; width: 100%; max-width: 480px; text-align: center; box-shadow: 0 25px 50px rgba(0,0,0,0.5); transform: translateY(30px); transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); position: relative; overflow: hidden; }
.modal-overlay.active .modal-box { transform: translateY(0); }
#location-modal .modal-box { animation: locIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
@keyframes locIn { from { opacity:0; transform: translateY(20px) scale(0.96); } to { opacity:1; transform: translateY(0) scale(1); } }
.modal-icon { margin-bottom: 20px; display: flex; justify-content: center; }
.modal-title { font-family: var(--font-serif); font-size: 2rem; margin-bottom: 12px; font-weight: 400; color: #fff;}
.modal-title span { color: var(--accent); font-style: italic; }
.modal-desc { color: var(--text-muted); margin-bottom: 32px; line-height: 1.5; font-size: 0.95rem; }
.modal-close { position: absolute; top: 16px; right: 16px; background: transparent; border: none; color: var(--text-muted); cursor: pointer; transition: 0.3s; z-index: 2; padding: 8px;}
.modal-close:hover { color: #fff; transform: scale(1.1) rotate(90deg); }

/* Support Chat Modal */
#support-modal .modal-box { padding: 0; display: flex; flex-direction: column; max-height: 80vh; max-width: 400px; }
.chat-head { background: var(--surface-color); padding: 20px; border-bottom: 1px solid var(--border-color); display: flex; align-items: center; gap: 16px; text-align: left;}
.chat-head-icon { width: 48px; height: 48px; background: rgba(216, 64, 105, 0.1); border-radius: 50%; display: flex; justify-content: center; align-items: center; }
.chat-head-info h3 { font-size: 1.1rem; margin-bottom: 4px; }
.chat-head-info p { font-size: 0.8rem; color: var(--text-muted); }
.chat-body { flex: 1; height: 350px; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 12px; background: var(--bg-color); }
.chat-msg { padding: 12px 16px; border-radius: 12px; max-width: 85%; font-size: 0.9rem; line-height: 1.4; }
.support-msg { background: var(--surface-color); color: #fff; align-self: flex-start; border-bottom-left-radius: 4px; border: 1px solid var(--border-color); }
.user-msg { background: var(--accent); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-footer { padding: 16px; background: var(--surface-color); border-top: 1px solid var(--border-color); display: flex; gap: 12px; }
.chat-footer input { flex: 1; background: var(--bg-color); border: 1px solid var(--border-color); color: #fff; padding: 12px 16px; border-radius: 20px; outline: none; }
.chat-footer button { background: var(--accent); border: none; width: 44px; height: 44px; border-radius: 50%; display: flex; justify-content: center; align-items: center; cursor: pointer; transition: 0.3s; }
.chat-footer button:hover { background: var(--accent-hover); transform: scale(1.05); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 16px 24px; font-size: 1.05rem; font-weight: 500; border-radius: 30px; border: none; cursor: pointer; transition: all 0.3s ease; text-decoration: none; font-family: var(--font-sans); position: relative; overflow: hidden; }
.btn::after { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; background: rgba(255,255,255,0.2); border-radius: 50%; transform: translate(-50%, -50%); transition: width 0.4s, height 0.4s; }
.btn:active::after { width: 300px; height: 300px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 4px 15px rgba(216, 64, 105, 0.3); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(216, 64, 105, 0.5); }
.btn-primary.loading { color: transparent; pointer-events: none; }
.btn-primary.loading::before { content: ''; position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border: 2px solid #fff; border-top-color: transparent; border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { 100% { transform: rotate(360deg); } }
.btn-outline { background: transparent; border: 1px solid var(--border-color); color: var(--text-main); }
.btn-outline:hover { background: var(--surface-hover); border-color: var(--text-muted); }
.btn-surface { background: var(--surface-hover); color: var(--text-main); }
.btn-surface:hover { background: #262235; }
.btn-group { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.btn-group-row { display: flex; gap: 16px; flex-direction: row; }
.btn-group-row .btn { flex: 1; }

/* Support FAB */
.support-fab { position: fixed; bottom: 30px; right: 30px; width: 64px; height: 64px; background: var(--accent); border-radius: 50%; border: none; cursor: pointer; display: flex; justify-content: center; align-items: center; z-index: 1000; box-shadow: 0 10px 30px rgba(216, 64, 105, 0.4); transition: 0.3s; }
.support-fab:hover { transform: scale(1.1); background: var(--accent-hover); }

/* Pages setup */
.page { display: none; min-height: 100vh; flex-direction: column; opacity: 0; transition: opacity 0.3s; padding-top: 80px;}
.page.active { display: flex; opacity: 1; }

/* Header */
.header { position: fixed; top: 0; left: 0; right: 0; height: 80px; display: flex; align-items: center; justify-content: space-between; padding: 0 5%; z-index: 1000; background: rgba(11, 9, 16, 0.8); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-color); transition: 0.3s; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text-main); }
.brand-name { font-family: var(--font-serif); font-size: 1.6rem; letter-spacing: 0.05em; font-weight: 500;}
.brand-name span { color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.header-burger { background: var(--surface-color); border: 1px solid var(--border-color); width: 44px; height: 44px; border-radius: 50%; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; cursor: pointer; transition: 0.3s; margin-left: 4px; }
.header-burger span { display: block; width: 16px; height: 2px; background: #fff; transition: 0.3s; }
.header-burger:hover { background: var(--surface-hover); transform: scale(1.05); }
.btn-login-head { font-size: 0.9rem; padding: 10px 24px; margin-right: 8px;}

/* Custom Avatars for Accounts & Reviews */
.avatar-gen {
  width: 44px; height: 44px; border-radius: 50%; display: flex; justify-content: center; align-items: center;
  font-weight: 600; font-size: 1.1rem; color: #fff; background: linear-gradient(135deg, var(--surface-hover), var(--border-color));
  cursor: pointer; transition: 0.3s;
}
.header .avatar-gen { display: none; margin-right: 8px; }
.logged-in .btn-login-head { display: none; }
.logged-in .header .avatar-gen { display: flex; }

/* Side Menu Overlay */
.side-menu-wrap { position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,0.8); backdrop-filter: blur(5px); opacity: 0; visibility: hidden; transition: 0.4s; }
.side-menu-wrap.active { opacity: 1; visibility: visible; }
.side-menu { position: absolute; top: 0; right: -100%; width: 100%; max-width: 400px; height: 100vh; background: var(--surface-color); border-left: 1px solid var(--border-color); padding: 40px; transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); display: flex; flex-direction: column; }
.side-menu-wrap.active .side-menu { right: 0; }
.sm-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; padding-bottom: 20px; border-bottom: 1px solid var(--border-color); }
.sm-close { background: var(--surface-hover); border: none; width: 40px; height: 40px; border-radius: 50%; color: #fff; font-size: 1.2rem; cursor: pointer; transition: 0.3s; }
.sm-close:hover { transform: rotate(90deg); background: var(--border-color); }
.sm-nav { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.sm-nav a { padding: 16px 20px; color: #fff; text-decoration: none; font-size: 1.1rem; border-radius: 12px; transition: 0.3s; display: flex; align-items: center; justify-content: space-between; }
.sm-nav a:hover { background: var(--surface-hover); color: var(--accent); padding-left: 24px; }
.sm-footer { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--border-color); display: flex; flex-direction: column; gap: 12px; }
.sm-footer-item { display: flex; align-items: center; gap: 12px; color: var(--text-muted); font-size: 1rem; }
.lang-switcher { position: relative; cursor: pointer; user-select: none; background: var(--surface-hover); border: 1px solid var(--border-color); padding: 12px 16px; border-radius: 12px; transition: 0.3s; }
.lang-switcher:hover { border-color: var(--text-muted); background: var(--border-color); }
.lang-dropdown { position: absolute; bottom: calc(100% + 12px); left: 0; right: 0; background: var(--surface-hover); border: 1px solid var(--border-color); border-radius: 12px; padding: 6px; display: none; flex-direction: column; gap: 4px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); z-index: 20; }
.lang-switcher.active .lang-dropdown { display: flex; }
.lang-dropdown button { background: transparent; border: none; color: var(--text-muted); padding: 10px 14px; border-radius: 8px; text-align: left; cursor: pointer; font-size: 0.9rem; transition: 0.2s; font-family: var(--font-sans); }
.lang-dropdown button:hover { background: var(--border-color); color: #fff; }
.lang-dropdown button.active { background: rgba(216,64,105,0.15); color: var(--accent); border: 1px solid rgba(216,64,105,0.3); }

/* MAIN PAGE STYLES */
#app-content { transition: filter 0.5s ease; }
#app-content.blurred { filter: blur(20px); pointer-events: none; user-select: none; }

.hero { position: relative; padding: 140px 5% 100px; background-size: cover; background-position: center 20%; background-repeat: no-repeat; display: flex; flex-direction: column; justify-content: center; min-height: 85vh; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 60%, transparent 20%, rgba(11,9,16,0.9) 80%), linear-gradient(to bottom, rgba(11,9,16,0.1) 0%, rgba(11,9,16,1) 98%); pointer-events: none; }
.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero-title { font-family: var(--font-serif); font-size: clamp(3rem, 6vw, 4.5rem); line-height: 1.1; margin-bottom: 24px; font-weight: 400; }
.hero-title span { font-style: italic; color: var(--accent); }
.hero-desc { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 40px; line-height: 1.6; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; }

/* Hero Stats with Animation */
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.1); }
.stat-item h3 { font-size: 2.2rem; color: var(--accent); margin-bottom: 4px; font-family: var(--font-serif); display: inline-block; transform-origin: center; transition: transform 0.5s ease; }
.stat-item p { color: var(--text-muted); font-size: 0.9rem; }

.container { padding: 80px 5%; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-meta { color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem; margin-bottom: 8px;}
.section-title { font-family: var(--font-serif); font-size: 2.5rem; font-weight: 400; }
.section-title span { color: var(--accent); font-style: italic; }

.quick-access-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.qa-card { background: var(--surface-color); border: 1px solid var(--border-color); padding: 32px; border-radius: var(--radius-md); text-decoration: none; color: var(--text-main); transition: 0.4s; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.qa-card:hover { transform: translateY(-5px); border-color: rgba(216, 64, 105, 0.4); background: var(--surface-hover); }
.qa-icon { width: 48px; height: 48px; background: rgba(216, 64, 105, 0.1); border-radius: 50%; display: flex; justify-content: center; align-items: center; margin-bottom: 20px; }
.qa-icon svg { stroke: var(--accent); }
.qa-card h3 { font-size: 1.25rem; margin-bottom: 8px; font-weight: 500; }
.qa-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.5; margin-bottom: 20px; flex: 1;}
.qa-link { color: var(--accent); font-size: 0.9rem; font-weight: 500; display: flex; align-items: center; gap: 8px; }

.how-it-works { padding: 80px 5%; background: var(--surface-color); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.step-card { background: var(--bg-color); padding: 40px 32px; border-radius: var(--radius-md); position: relative; overflow: hidden; border: 1px solid var(--border-color); transition: transform 0.4s ease; }
.step-card:hover { transform: translateY(-5px); border-color: var(--text-muted); }
.step-number { position: absolute; top: -10px; right: 10px; font-size: 8rem; font-weight: 800; color: rgba(255,255,255,0.02); line-height: 1; pointer-events: none;}
.step-card h3 { font-size: 1.3rem; margin-bottom: 16px; position: relative; z-index: 1; }
.step-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; position: relative; z-index: 1; }

.catalog-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.model-card { background: var(--surface-color); border: 1px solid var(--border-color); border-radius: var(--radius-md); overflow: hidden; cursor: pointer; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); transform: perspective(1000px) rotateX(0) rotateY(0); }
.model-card:hover { border-color: rgba(216, 64, 105, 0.5); box-shadow: 0 15px 35px rgba(0,0,0,0.6); transform: translateY(-8px); }
.card-img-wrap { position: relative; aspect-ratio: 3/4; overflow: hidden; background: #1a1a1a; }
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; display: block; }
.model-card:hover .card-img-wrap img { transform: scale(1.05); }
.card-badges { position: absolute; top: 16px; left: 16px; display: flex; flex-direction: column; gap: 8px;}
.badge { padding: 6px 12px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; border-radius: 4px; backdrop-filter: blur(5px); text-transform: uppercase; }
.badge-vip { background: rgba(216, 64, 105, 0.2); color: var(--accent); border: 1px solid rgba(216, 64, 105, 0.4); }
.badge-elite { background: rgba(255, 170, 0, 0.2); color: #ffaa00; border: 1px solid rgba(255, 170, 0, 0.4); }
.badge-new { background: rgba(255, 255, 255, 0.1); color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.fav-btn { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; background: rgba(0,0,0,0.5); border-radius: 50%; display: flex; justify-content: center; align-items: center; border: 1px solid rgba(255,255,255,0.1); backdrop-filter: blur(5px); transition: 0.3s; }
.fav-btn:hover { background: var(--accent); border-color: transparent; }
.fav-btn svg { transition: 0.3s; }
.card-info { padding: 20px; position: relative; }
.card-title { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.card-title h3 { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 400; }
.card-loc { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 20px; display: flex; align-items: center; gap: 6px; }
.card-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--bg-color); padding: 12px; border-radius: var(--radius-sm); margin-bottom: 20px; border: 1px solid var(--border-color); }
.stat-box { text-align: center; border-right: 1px solid var(--border-color); }
.stat-box:last-child { border-right: none; }
.stat-box .lbl { display: block; font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.stat-box .val { font-size: 1rem; font-weight: 500; }
.card-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.card-tag { background: var(--surface-hover); padding: 4px 10px; border-radius: 4px; font-size: 0.75rem; color: var(--text-muted); }
.load-more { text-align: center; margin-top: 60px; }

/* FAQ Section */
.faq-list { display: flex; flex-direction: column; gap: 16px; max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--surface-color); border: 1px solid var(--border-color); border-radius: var(--radius-md); overflow: hidden; transition: 0.3s; }
.faq-q { padding: 20px 24px; font-size: 1.1rem; font-weight: 500; display: flex; justify-content: space-between; align-items: center; cursor: pointer; user-select: none; }
.faq-q svg { stroke: var(--accent); transition: transform 0.3s; }
.faq-a { padding: 0 24px; max-height: 0; opacity: 0; color: var(--text-muted); line-height: 1.6; transition: all 0.3s ease; }
.faq-item.active { border-color: var(--text-muted); }
.faq-item.active .faq-q svg { transform: rotate(45deg); }
.faq-item.active .faq-a { padding: 0 24px 20px; max-height: 500px; opacity: 1; }

/* PAGE: ACCOUNT STYLES */
.acc-container { max-width: 800px; margin: 0 auto; padding: 40px 5%; width: 100%; }
.acc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.acc-badge { background: rgba(216, 64, 105, 0.1); color: var(--accent); padding: 8px 16px; border-radius: 30px; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.1em; border: 1px solid rgba(216,64,105,0.3); display: flex; align-items: center; gap: 8px; }
.btn-logout { background: transparent; border: 1px solid var(--border-color); color: #fff; padding: 8px 16px; border-radius: 30px; display: flex; align-items: center; gap: 8px; cursor: pointer; transition: 0.3s; }
.btn-logout:hover { background: var(--surface-hover); }

.acc-user-info { display: flex; align-items: center; gap: 24px; margin-bottom: 40px; }
.acc-user-info .avatar-gen { width: 80px; height: 80px; font-size: 2rem; }
.acc-name-wrap h1 { font-family: var(--font-serif); font-size: 2.5rem; margin-bottom: 4px; font-weight: 400; }
.acc-date { color: var(--text-muted); font-size: 1rem; }

.acc-tabs { display: flex; gap: 16px; margin-bottom: 40px; }
.acc-tab { flex: 1; padding: 20px; background: var(--surface-color); border: 1px solid var(--border-color); border-radius: var(--radius-md); color: var(--text-muted); font-size: 1.1rem; display: flex; align-items: center; justify-content: center; gap: 12px; cursor: pointer; transition: 0.3s; }
.acc-tab.active { background: rgba(216, 64, 105, 0.05); border-color: var(--accent); color: var(--accent); }

.tab-pane { display: none; animation: fadeIn 0.4s ease forwards; }
.tab-pane.active { display: block; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.acc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.acc-stat-box { background: var(--surface-color); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 30px 20px; text-align: center; transition: 0.3s; }
.acc-stat-box:hover { border-color: var(--accent); transform: translateY(-3px); }
.acc-stat-box .s-num { font-size: 2.5rem; font-family: var(--font-serif); margin-bottom: 12px; }
.acc-stat-box .s-lbl { font-size: 0.8rem; color: var(--text-muted); letter-spacing: 0.1em; text-transform: uppercase; }
.acc-banner { background: linear-gradient(135deg, #d84069, #f0547d); border-radius: var(--radius-lg); padding: 40px; text-align: center; color: #fff; }
.acc-banner h2 { font-family: var(--font-serif); font-size: 2rem; margin-bottom: 12px; font-weight: 400; }
.acc-banner p { margin-bottom: 30px; font-size: 1.1rem; opacity: 0.9; }

/* PAGE: REVIEWS STYLES */
.reviews-container { max-width: 1000px; margin: 0 auto; padding: 40px 5%; width: 100%; }
.reviews-header { margin-bottom: 40px; text-align: center; }
.reviews-header h1 { font-family: var(--font-serif); font-size: 3rem; font-weight: 400; margin-bottom: 12px; }
.reviews-info-block { background: var(--surface-color); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 24px; margin-bottom: 40px; text-align: left; }
.reviews-info-block h3 { font-size: 1.2rem; margin-bottom: 16px; color: #fff; }
.reviews-info-block p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; margin-bottom: 12px; }
.reviews-info-block p:last-child { margin-bottom: 0; }

.anim-badge-vip { display: inline-block; background: linear-gradient(90deg, #D4AF37, #FFF8DC, #D4AF37); background-size: 200% auto; color: #000; padding: 2px 8px; border-radius: 4px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; animation: shine 2s linear infinite; }
.anim-badge-prime { display: inline-block; background: linear-gradient(90deg, #00FFFF, #E0FFFF, #00FFFF); background-size: 200% auto; color: #000; padding: 2px 8px; border-radius: 4px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; animation: shine 2s linear infinite; }
@keyframes shine { to { background-position: 200% center; } }

.reviews-grid { display: flex; flex-direction: column; gap: 20px; }
.review-card { background: var(--surface-color); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 24px; transition: 0.3s; }
.review-card:hover { transform: translateY(-3px); border-color: var(--text-muted); }
.rc-header { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.rc-user { display: flex; flex-direction: column; gap: 4px; }
.rc-name { font-size: 1.1rem; font-weight: 500; }
.rc-text { color: #dcdcdc; line-height: 1.6; font-size: 0.95rem; margin-bottom: 20px; }
.rc-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border-color); padding-top: 16px; }
.rc-date { font-size: 0.85rem; color: var(--text-muted); }
.rc-rating { font-weight: 600; font-size: 1.1rem; }

/* Review Stars Colors */
.star-silver { color: #C0C0C0; }
.star-gold { color: #FFD700; text-shadow: 0 0 8px rgba(255,215,0,0.4); }
.star-diamond { color: #00FFFF; text-shadow: 0 0 10px rgba(0,255,255,0.6); }

/* Avatar Status Borders */
.status-vip .avatar-gen { border: 2px solid #FFD700; box-shadow: 0 0 10px rgba(255,215,0,0.3); }
.status-vip .rc-name { color: #FFD700; }
.status-vip-prime .avatar-gen { border: 2px solid #00FFFF; box-shadow: 0 0 12px rgba(0,255,255,0.4); }
.status-vip-prime .rc-name { color: #00FFFF; }


/* HUGE FOOTER */
.footer-huge { padding: 80px 5% 40px; background: #08060a; border-top: 1px solid var(--border-color); color: var(--text-muted); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 60px; }
.f-col h4 { color: #fff; font-size: 1.1rem; margin-bottom: 24px; font-weight: 500; }
.f-col p { line-height: 1.6; margin-bottom: 16px; }
.f-col ul { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.f-col ul a { color: var(--text-muted); text-decoration: none; transition: 0.3s; }
.f-col ul a:hover { color: var(--accent); }
.f-contact { display: flex; flex-direction: column; gap: 24px; }
.f-email { font-size: 1.2rem; color: #fff; text-decoration: none; display: block; }
.f-chat { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); text-decoration: none; font-weight: 500; cursor: pointer;}
.footer-bottom { border-top: 1px solid var(--border-color); padding-top: 40px; display: flex; flex-direction: column; gap: 24px; font-size: 0.85rem; line-height: 1.6; }
.f-18 { font-size: 2.5rem; font-weight: 800; color: rgba(255,255,255,0.05); line-height: 1; }
.f-copy { display: flex; flex-direction: column; gap: 12px; }

/* Modal specific */
#model-detail-modal .modal-box { max-width: 900px; padding: 0; display: flex; overflow: hidden; text-align: left; }
.md-img { width: 45%; position: relative; }
.md-img img { width: 100%; height: 100%; object-fit: cover; }
.md-info { width: 55%; padding: 40px; }
.md-title { font-family: var(--font-serif); font-size: 2.5rem; margin-bottom: 8px; }
.md-meta { color: var(--text-muted); margin-bottom: 30px; }
.md-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 40px; }
.md-item { background: var(--bg-color); padding: 16px; border-radius: var(--radius-sm); border: 1px solid var(--border-color); }
.md-item span { display: block; }
.md-item span:first-child { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 4px; text-transform: uppercase;}
.md-item span:last-child { font-size: 1.1rem; font-weight: 500;}

/* Location Modal */
.country-grid { display: grid; grid-template-columns: 1fr; gap: 8px; }
.country-card { background: var(--bg-color); border: 1px solid var(--border-color); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: row; align-items: center; justify-content: space-between; cursor: pointer; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); color: #fff; text-align: left; opacity:0; animation: fadeUp 0.4s forwards; }
.country-card:nth-child(1){ animation-delay: 0.05s; }
.country-card:nth-child(2){ animation-delay: 0.1s; }
.country-card:nth-child(3){ animation-delay: 0.15s; }
.country-card:hover { border-color: var(--text-muted); background: var(--surface-hover); transform: translateX(4px); }
.country-card.active { border-color: var(--accent); background: rgba(216,64,105,0.12); box-shadow: 0 4px 16px rgba(216,64,105,0.2); transform: translateX(4px); }
.cc-name { font-weight: 600; font-size: 0.95rem; letter-spacing: 0.02em; }
.cc-capital { font-size: 0.8rem; color: var(--text-muted); background: var(--surface-hover); padding: 4px 8px; border-radius: 6px; }
.city-results { scrollbar-width: thin; }
.city-results .city-item { padding: 10px 14px; background: var(--bg-color); border: 1px solid var(--border-color); border-radius: 10px; cursor: pointer; transition: 0.2s; display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; min-width:0; gap:8px; opacity:0; animation: fadeUp 0.3s forwards; }
.city-results .city-item:nth-child(1){animation-delay:0.02s} .city-results .city-item:nth-child(2){animation-delay:0.04s} .city-results .city-item:nth-child(3){animation-delay:0.06s} .city-results .city-item:nth-child(4){animation-delay:0.08s} .city-results .city-item:nth-child(5){animation-delay:0.1s}
.city-results .city-item span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex:1; min-width:0; }
.city-results .city-item:hover { background: var(--surface-hover); border-color: var(--accent); color: #fff; transform: translateX(3px); }
.city-results .city-item.active { background: rgba(216,64,105,0.15); border-color: var(--accent); color: var(--accent); font-weight: 600; }
.city-results .city-item small { color: var(--text-muted); font-size: 0.7rem; flex-shrink:0; }
#city-search:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(216,64,105,0.15); }
#current-location-label { font-weight: 600; color: #fff; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; opacity: 0; }

@media (max-width: 900px) {
  #model-detail-modal .modal-box { flex-direction: column; max-height: 90vh; overflow-y: auto; }
  .md-img, .md-info { width: 100%; }
  .md-img { height: 400px; }
}
@media (max-width: 768px) {
  .nav-right > div, .btn-login-head { display: none; }
  .catalog-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero { padding-top: 140px; }
  .hero-title { font-size: 2.5rem; }
  .btn-group-row { flex-direction: column; }
  .acc-stats { grid-template-columns: 1fr; }
  .acc-tabs { flex-direction: column; }
}

/* === VIP & Catalog Card Premium === */
.card-desc-box { background: var(--bg-color); border: 1px solid var(--border-color); border-radius: 10px; padding: 10px 12px; font-size: 0.82rem; color: #dcdcdc; line-height: 1.4; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 48px; }
.card-services { display:flex; flex-wrap:wrap; gap:6px; align-items:center; margin-bottom:12px; font-size:0.8rem; }
.svc-label { color: var(--text-muted); font-size:0.7rem; text-transform:uppercase; letter-spacing:0.06em; }
.svc-mini { background: rgba(216,64,105,0.12); border:1px solid rgba(216,64,105,0.25); color: var(--accent); padding:3px 8px; border-radius:6px; font-size:0.7rem; }
.card-price-row { display:flex; gap:10px; align-items:stretch; }
.price-box { flex:1; background: var(--bg-color); border:1px solid var(--border-color); border-radius:12px; padding:8px 12px; display:flex; flex-direction:column; justify-content:center; gap:4px; }
.price-line { display:flex; justify-content:space-between; font-size:0.8rem; color: var(--text-muted); }
.price-line strong { color:#fff; font-weight:700; }
.price-line.night strong { color: var(--accent); }
.price-chip { background: var(--bg-color); border:1px solid var(--border-color); border-radius:10px; padding:10px 12px; flex:1; text-align:center; }
.price-chip span { display:block; font-size:0.7rem; color:var(--text-muted); text-transform:uppercase; }
.price-chip strong { display:block; font-size:1.05rem; color:#fff; margin-top:2px; }
.price-chip.highlight { border-color: var(--accent); background: rgba(216,64,105,0.12); }
.price-chip.highlight strong { color: var(--accent); }
.svc-box { border-radius:12px; padding:12px; border:1px solid var(--border-color); }
.svc-box.svc-yes { background: rgba(34,197,94,0.07); border-color: rgba(34,197,94,0.25); box-shadow: 0 0 12px rgba(34,197,94,0.12); }
.svc-box.svc-no { background: rgba(239,68,68,0.07); border-color: rgba(239,68,68,0.25); box-shadow: 0 0 12px rgba(239,68,68,0.12); }
.svc-title { font-size:0.85rem; font-weight:600; margin-bottom:8px; display:flex; align-items:center; gap:6px; }
.svc-tags { display:flex; flex-wrap:wrap; gap:6px; }
.svc-tag { padding:5px 10px; border-radius:8px; font-size:0.75rem; border:1px solid var(--border-color); }
.svc-tag.yes { background: rgba(34,197,94,0.12); border-color: rgba(34,197,94,0.3); color: #4ade80; }
.svc-tag.no { background: rgba(239,68,68,0.12); border-color: rgba(239,68,68,0.3); color: #f87171; text-decoration: line-through; }
.booking-option { display:flex; align-items:center; gap:12px; padding:12px 14px; background: var(--bg-color); border:1px solid var(--border-color); border-radius:12px; cursor:pointer; transition:0.2s; }
.booking-option:hover { border-color: var(--text-muted); background: var(--surface-hover); }
.booking-option.prime { border-color: rgba(216,64,105,0.35); background: rgba(216,64,105,0.08); }
.booking-option input { accent-color: var(--accent); }
.booking-option div { display:flex; flex-direction:column; }
.booking-option strong { font-size:0.95rem; }
.booking-option span { font-size:0.8rem; color: var(--text-muted); }
.booking-extra { display:flex; align-items:center; gap:10px; padding:10px 12px; background: var(--bg-color); border:1px solid var(--border-color); border-radius:10px; cursor:pointer; }
.booking-extra:hover { border-color: var(--accent); }
.booking-extra input { accent-color: var(--accent); }
.booking-extra span { flex:1; font-size:0.85rem; }
.booking-extra strong { color: var(--accent); font-size:0.85rem; }
#model-chat-modal .chat-body, #support-modal .chat-body { background: var(--bg-color); }

/* Fix inner detail modal photo and mobile catalog */
#model-detail-modal .md-img img { width:100%; height:100%; object-fit:cover; object-position:center top; display:block; aspect-ratio: 3/4; }
#model-detail-modal .modal-box { border-radius: 16px; }
@media (max-width: 900px) {
  #model-detail-modal .modal-box { max-height:95vh; overflow:hidden; border-radius:16px; }
  #model-detail-modal .md-img { width:100%; height:auto; min-height: 320px; aspect-ratio: 3/4; }
  #model-detail-modal .md-img img { min-height:320px; max-height:50vh; aspect-ratio: 3/4; }
  #model-detail-modal .md-info { width:100%; max-height: 50vh; overflow-y:auto; padding:20px; }
}
@media (max-width: 768px) {
  .grid, #vip-grid, #catalog-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
  .card-desc-box { -webkit-line-clamp: 2; font-size:0.75rem; }
  .card-price-row { flex-direction: column; }
  .price-box { padding:6px 10px; }
}
@media (max-width: 480px) {
  .grid, #vip-grid, #catalog-grid { grid-template-columns: 1fr !important; }
}

/* === Detail modal hierarchy - important/medium/lower with air === */
.md-grid-important { display:grid; grid-template-columns: repeat(3, 1fr); gap:10px; }
.md-item-important { background: rgba(216,64,105,0.08); border:1px solid rgba(216,64,105,0.25); border-radius:12px; padding:14px 12px; text-align:center; box-shadow: 0 4px 12px rgba(216,64,105,0.12); }
.md-item-important span { display:block; font-size:0.68rem; color:var(--text-muted); text-transform:uppercase; letter-spacing:0.08em; margin-bottom:6px; }
.md-item-important strong { display:block; font-size:1.15rem; font-weight:700; color:#fff; line-height:1; }
.md-grid-medium { display:grid; grid-template-columns: repeat(4, 1fr); gap:8px; }
.md-item-medium { background: var(--bg-color); border:1px solid var(--border-color); border-radius:10px; padding:10px; text-align:center; }
.md-item-medium span:first-child { display:block; font-size:0.65rem; color:var(--text-muted); text-transform:uppercase; margin-bottom:4px; }
.md-item-medium span:last-child { font-size:0.9rem; color:#dcdcdc; }
.appearance-list { display:flex; flex-direction:column; gap:8px; }
.appearance-item { display:flex; align-items:center; gap:10px; padding:10px 12px; background: var(--bg-color); border:1px solid var(--border-color); border-radius:10px; font-size:0.85rem; }
.appearance-item span:not(strong) { color:var(--text-muted); font-size:0.8rem; min-width:60px; }
.appearance-item strong { margin-left:auto; color:#fff; font-weight:600; font-size:0.85rem; }
.appearance-item svg { color: var(--accent); flex-shrink:0; }
/* Ensure detail modal has air */
#model-detail-modal .md-info { gap: 0; }
#model-detail-modal .svc-box { margin-bottom:20px; }
#model-detail-modal .price-chip { padding:12px; }
/* Mobile big gradual card */
@media (max-width: 900px) {
  #model-detail-modal .modal-box { max-width:100%; margin:0; border-radius:16px 16px 0 0; max-height:95vh; height:95vh; }
  .md-grid-important { grid-template-columns: repeat(3, 1fr); gap:8px; }
  .md-grid-medium { grid-template-columns: repeat(2, 1fr); }
  #model-detail-modal .md-img img { aspect-ratio: 4/3; max-height:45vh; }
}
@media (max-width: 480px) {
  .md-grid-important { grid-template-columns: repeat(2, 1fr); }
  .md-grid-important .md-item-important strong { font-size:1rem; }
}

/* Profile page */
.profile-param-box { background: var(--surface-color); border:1px solid var(--border-color); border-radius:12px; padding:14px; text-align:center; }
.profile-param-box span { display:block; font-size:0.68rem; color:var(--text-muted); text-transform:uppercase; letter-spacing:0.08em; margin-bottom:6px; }
.profile-param-box strong { display:block; font-size:1.05rem; font-weight:700; color:#fff; }
#profile-thumbs img { width:100%; aspect-ratio: 1/1; object-fit:cover; border-radius:12px; border:2px solid transparent; cursor:pointer; opacity:0.6; transition:0.2s; }
#profile-thumbs img.active { border-color: var(--accent); opacity:1; box-shadow:0 0 12px rgba(216,64,105,0.3); }
.booking-dot { transition: all 0.3s; }
.booking-date.active { background: rgba(216,64,105,0.15) !important; border-color: var(--accent) !important; color: var(--accent) !important; }
.booking-duration.active { background: rgba(216,64,105,0.12) !important; border-color: var(--accent) !important; }
.booking-duration.active span { color: var(--accent) !important; }
#booking-times button { background: var(--bg-color); border:1px solid var(--border-color); color:#fff; padding:10px 6px; border-radius:10px; font-size:0.85rem; cursor:pointer; transition:0.2s; }
#booking-times button span { display:block; font-size:0.6rem; color:var(--text-muted); margin-top:2px; }
#booking-times button.active { background: rgba(216,64,105,0.15); border-color: var(--accent); color: var(--accent); }
#booking-times button:disabled { opacity:0.3; cursor:not-allowed; }

/* Balance, Topup, Orders */
#balance-card-burger:hover, #balance-card-account:hover { transform: translateY(-2px); box-shadow:0 12px 28px rgba(216,64,105,0.35); }
.topup-tab.active { background: var(--accent) !important; color:#fff !important; }
.crypto-coin.active { border-color: var(--accent) !important; background: rgba(216,64,105,0.12) !important; }
#orders-cart-list .order-card, #orders-history-list .order-card { background: var(--surface-color); border:1px solid var(--border-color); border-radius:12px; padding:16px; display:flex; gap:12px; align-items:center; }
.order-card img { width:60px; height:60px; border-radius:10px; object-fit:cover; }
