*{
  box-sizing:border-box;
  margin:0;
  padding:0;
  scroll-behavior:smooth;
}

:root{
  --bg:#081426;
  --bg2:#0e203b;
  --bg3:#132b4c;
  --line:rgba(255,255,255,.08);
  --text:#ffffff;
  --muted:#bdd0ec;
  --primary:#39a0ff;
  --primary2:#5d5fef;
  --accent:#31d0aa;
  --accent2:#00e0ff;
  --danger:#ff6b6b;
  --shadow:0 18px 45px rgba(0,0,0,.28);
  --font-body:"Tajawal", sans-serif;
  --font-head:"Alexandria", sans-serif;
}

html, body{
  max-width:100%;
  overflow-x:hidden;
}

body{
  font-family:var(--font-body);
  min-height:100vh;
  color:var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(57,160,255,.12), transparent 20%),
    radial-gradient(circle at 90% 8%, rgba(49,208,170,.10), transparent 18%),
    radial-gradient(circle at 70% 90%, rgba(93,95,239,.12), transparent 22%),
    linear-gradient(180deg,var(--bg),var(--bg2),var(--bg3));
  overflow-x:hidden;
  letter-spacing:.1px;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size:40px 40px;
  mask-image:linear-gradient(to bottom, rgba(0,0,0,.45), transparent 82%);
  z-index:0;
}

img{
  max-width:100%;
}

input, button, textarea, select{
  font-family:var(--font-body);
}

button:disabled{
  opacity:.7;
  cursor:not-allowed;
}

.container{
  width:min(1180px,92%);
  margin:auto;
  position:relative;
  z-index:2;
}

.glass{
  background:linear-gradient(180deg, rgba(24,50,86,.95), rgba(18,39,67,.88));
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}

.nav-wrap{
  position:sticky;
  top:0;
  z-index:100;
  padding:14px 0 12px;
  background:linear-gradient(to bottom, rgba(8,20,38,.82), transparent);
  backdrop-filter:blur(8px);
}

.nav{
  border-radius:28px;
  padding:14px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}

.logo-box{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
}

.logo-box img{
  width:56px;
  height:56px;
  object-fit:contain;
  border-radius:16px;
  display:block;
  background:#fff;
  padding:4px;
}

.logo-text h3{
  font-family:var(--font-head);
  font-size:20px;
  font-weight:900;
  margin-bottom:4px;
}

.logo-text p{
  color:var(--muted);
  font-size:13px;
  font-weight:500;
}

.top-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.top-actions.guest-actions{
  gap:12px;
}

.nav-btn{
  text-decoration:none;
  color:#fff;
  border-radius:16px;
  padding:12px 16px;
  font-weight:800;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.08);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:110px;
  transition:.2s;
}

.nav-btn:hover{
  transform:translateY(-1px);
}

.auth-btn{
  text-decoration:none;
  min-width:136px;
  height:52px;
  padding:0 20px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:18px;
  font-size:15px;
  font-weight:900;
  transition:.25s ease;
  position:relative;
  overflow:hidden;
  letter-spacing:.2px;
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 12px 26px rgba(0,0,0,.18);
}

.auth-btn::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(120deg, rgba(255,255,255,.18), transparent 35%, transparent 65%, rgba(255,255,255,.07));
  pointer-events:none;
}

.auth-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 34px rgba(0,0,0,.24);
}

.auth-login{
  color:#fff;
  background:linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.05));
  border:1px solid rgba(255,255,255,.14);
}

.auth-register{
  color:#052031;
  background:linear-gradient(135deg, #67f0d2, #58c1ff);
  border:1px solid rgba(255,255,255,.14);
}

.nav-links-group{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.nav-user{
  color:#fff;
  border-radius:18px;
  padding:14px 18px;
  font-weight:800;
  background:linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.06));
  border:1px solid rgba(255,255,255,.10);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:120px;
  box-shadow:0 10px 24px rgba(0,0,0,.18);
}

.logged-only{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}

.nav-balance{
  min-width:180px;
  padding:14px 18px;
  border-radius:20px;
  background:linear-gradient(135deg, rgba(49,208,170,.22), rgba(57,160,255,.20), rgba(93,95,239,.18));
  border:1px solid rgba(255,255,255,.12);
  display:flex;
  align-items:center;
  gap:14px;
  color:#fff;
  box-shadow:
    0 14px 28px rgba(0,0,0,.20),
    inset 0 1px 0 rgba(255,255,255,.10);
  position:relative;
  overflow:hidden;
}

.nav-balance::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(120deg, rgba(255,255,255,.10), transparent 35%, transparent 65%, rgba(255,255,255,.06));
  pointer-events:none;
}

.balance-icon{
  width:46px;
  height:46px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.08));
  border:1px solid rgba(255,255,255,.12);
  font-size:22px;
  flex-shrink:0;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
  position:relative;
  z-index:1;
}

.balance-text{
  display:flex;
  flex-direction:column;
  gap:2px;
  position:relative;
  z-index:1;
}

.balance-label{
  font-size:12px;
  color:#d9e8ff;
  font-weight:700;
  line-height:1.2;
}

.balance-value{
  font-size:22px;
  font-weight:900;
  color:#fff;
  line-height:1.2;
  font-family:var(--font-head);
  letter-spacing:.3px;
}

.balance-currency{
  font-size:11px;
  color:#cde7ff;
  font-weight:700;
  opacity:.9;
}

.chat-badge{
  position:absolute;
  top:-6px;
  left:-6px;
  min-width:24px;
  height:24px;
  border-radius:999px;
  background:linear-gradient(135deg,var(--danger),#ff9b6b);
  color:#fff;
  display:none;
  align-items:center;
  justify-content:center;
  padding:0 8px;
  font-size:11px;
  font-weight:900;
  box-shadow:0 8px 20px rgba(255,107,107,.28);
  z-index:3;
}

.chat-badge.show{
  display:flex;
}

main{
  padding:18px 0 110px;
}

.hero-banner{
  border-radius:32px;
  overflow:hidden;
  margin-bottom:18px;
  position:relative;
}

.hero-banner::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, rgba(7,18,33,.78), rgba(7,18,33,.22) 50%, rgba(7,18,33,.54));
  pointer-events:none;
}

.hero-banner img{
  width:100%;
  height:330px;
  object-fit:cover;
  display:block;
  filter:saturate(1.08) contrast(1.04);
}

.hero-overlay{
  position:absolute;
  inset:0;
  z-index:2;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:34px;
  max-width:760px;
}

.hero-badge{
  display:inline-flex;
  width:max-content;
  align-items:center;
  gap:8px;
  padding:10px 16px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
  color:#fff;
  margin-bottom:16px;
  font-size:14px;
  font-weight:700;
}

.hero-overlay h1{
  font-family:var(--font-head);
  font-size:clamp(30px,5vw,56px);
  line-height:1.28;
  font-weight:900;
  margin-bottom:14px;
  color:#fff;
}

.hero-overlay h1 span{
  background:linear-gradient(90deg,#61c4ff,#62f0cf,#9d8fff);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}

.hero-overlay p{
  font-size:18px;
  line-height:2;
  color:#dbe8ff;
  font-weight:500;
  margin-bottom:18px;
  max-width:600px;
}

.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.hero-btn{
  text-decoration:none;
  color:#fff;
  border-radius:999px;
  padding:14px 22px;
  font-weight:800;
  transition:.25s;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:140px;
  border:none;
  cursor:pointer;
}

.hero-btn:hover{
  transform:translateY(-1px);
}

.hero-btn.primary{
  background:linear-gradient(135deg,var(--primary),var(--primary2));
}

.hero-btn.secondary{
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.16);
}

.promo-strip{
  margin:0 0 22px;
  border-radius:24px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(90deg, rgba(49,208,170,.16), rgba(57,160,255,.18), rgba(93,95,239,.16));
  box-shadow:0 18px 35px rgba(0,0,0,.18);
  position:relative;
}

.promo-strip::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, rgba(255,255,255,.06), transparent 25%, transparent 75%, rgba(255,255,255,.06));
  pointer-events:none;
}

.promo-track{
  display:flex;
  align-items:center;
  gap:26px;
  padding:14px 18px;
  min-height:64px;
  white-space:nowrap;
  animation:promoMove 22s linear infinite;
  will-change:transform;
}

.promo-item{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  color:#fff;
  font-size:15px;
}

.promo-dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background:linear-gradient(135deg,#67f0d2,#58c1ff);
  box-shadow:0 0 0 5px rgba(255,255,255,.06);
  flex-shrink:0;
}

@keyframes promoMove{
  0%{ transform:translateX(0); }
  100%{ transform:translateX(28%); }
}

.search-box{
  margin-bottom:22px;
  display:grid;
  grid-template-columns:80px 1fr;
  gap:14px;
  align-items:center;
}

.search-icon{
  height:78px;
  width:78px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,var(--primary),var(--accent2));
  color:#fff;
  font-size:34px;
  box-shadow:0 16px 28px rgba(57,160,255,.16);
}

.search-field{
  height:78px;
  border-radius:999px;
  padding:0 24px;
  display:flex;
  align-items:center;
  background:linear-gradient(180deg, rgba(24,50,86,.95), rgba(18,39,67,.88));
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}

.search-field input{
  width:100%;
  border:none;
  background:transparent;
  outline:none;
  font-size:21px;
  font-weight:700;
  color:var(--text);
  letter-spacing:.2px;
}

.search-field input::placeholder{
  color:#9bb4d8;
  font-weight:500;
}

.quick-links{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px;
  margin-bottom:24px;
}

.quick-link{
  text-decoration:none;
  color:var(--text);
  border-radius:28px;
  padding:22px;
  display:block;
  transition:.25s;
  position:relative;
  overflow:hidden;
}

.quick-link:hover{
  transform:translateY(-2px);
}

.quick-link h3{
  font-family:var(--font-head);
  font-size:26px;
  margin-bottom:8px;
  font-weight:800;
  position:relative;
  z-index:1;
}

.quick-link p{
  color:#ebf3ff;
  line-height:1.95;
  font-weight:500;
  font-size:15px;
  position:relative;
  z-index:1;
}

.quick-link.orders{
  background:linear-gradient(135deg,#10b981,#0f766e);
}

.quick-link.payment{
  background:linear-gradient(135deg,#3b82f6,#4f46e5);
}

.section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:14px;
  flex-wrap:wrap;
  margin-bottom:16px;
}

.section-head h2{
  font-family:var(--font-head);
  font-size:34px;
  font-weight:900;
  margin-bottom:4px;
}

.section-head p{
  color:var(--muted);
  font-size:16px;
  font-weight:500;
  line-height:1.8;
}

.section-chip{
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.1);
  color:#fff;
  font-size:14px;
  font-weight:700;
}

.category-nav{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:0 0 24px;
  position:sticky;
  top:92px;
  z-index:50;
  padding:10px;
  border-radius:22px;
  background:rgba(9,23,42,.72);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,.08);
}

.category-chip{
  text-decoration:none;
  color:#fff;
  padding:12px 16px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  font-size:14px;
  font-weight:800;
  transition:.2s;
}

.category-chip:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.1);
}

.service-filters{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:18px;
}

.filter-btn{
  border:none;
  cursor:pointer;
  font-size:14px;
  font-weight:800;
  color:#fff;
  border-radius:999px;
  padding:10px 18px;
  background:rgba(255,255,255,.08);
  transition:.2s;
}

.filter-btn:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.14);
}

.filter-btn.active{
  background:#ff7a42;
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 10px 25px rgba(0,0,0,.12);
}

.service-section{
  margin-bottom:30px;
}

.service-section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:16px;
  flex-wrap:wrap;
}

.service-section-title-wrap{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}

.service-section-icon{
  width:52px;
  height:52px;
  border-radius:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg, rgba(49,208,170,.18), rgba(57,160,255,.22));
  border:1px solid rgba(255,255,255,.08);
  font-size:24px;
  box-shadow:0 10px 22px rgba(0,0,0,.16);
}

.service-section h3{
  font-family:var(--font-head);
  font-size:28px;
  font-weight:900;
  margin-bottom:4px;
}

.service-section p{
  color:#bdd0ec;
  font-size:15px;
  line-height:1.8;
}

.services-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.service-card{
  border-radius:30px;
  overflow:hidden;
  background:linear-gradient(180deg, rgba(24,50,86,.97), rgba(18,39,67,.92));
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 20px 40px rgba(0,0,0,.24);
  transition:.28s;
  display:flex;
  flex-direction:column;
  min-height:100%;
  position:relative;
}

.service-card:hover{
  transform:translateY(-6px);
  border-color:rgba(255,255,255,.14);
  box-shadow:0 28px 50px rgba(0,0,0,.32);
}

.service-image-wrap{
  position:relative;
  overflow:hidden;
  border-bottom:1px solid rgba(255,255,255,.08);
  background:#0f2342;
  height:255px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.service-image-wrap::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at top right, rgba(255,255,255,.15), transparent 28%);
  pointer-events:none;
  z-index:1;
}

.service-image-wrap::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to top, rgba(5,17,33,.32), transparent 48%);
  pointer-events:none;
  z-index:2;
}

.service-thumb{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  background:#123;
  transition:transform .35s ease, filter .35s ease;
  filter:saturate(1.08) contrast(1.04);
  position:relative;
  z-index:0;
}

.service-card:hover .service-thumb{
  transform:scale(1.04);
  filter:saturate(1.12) contrast(1.06);
}

.service-content{
  padding:18px;
  display:flex;
  flex-direction:column;
  flex:1;
  position:relative;
  z-index:1;
}

.service-badge{
  display:inline-flex;
  align-self:flex-start;
  margin-bottom:12px;
  padding:9px 16px;
  border-radius:999px;
  font-size:13px;
  font-weight:900;
  box-shadow:0 8px 20px rgba(0,0,0,.14);
  position:relative;
  overflow:hidden;
}

.service-badge::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(120deg, rgba(255,255,255,.25), transparent 35%, transparent 65%, rgba(255,255,255,.08));
  pointer-events:none;
}

.service-badge.normal{
  background:linear-gradient(135deg, rgba(49,208,170,.95), rgba(0,224,255,.9));
  color:#06202a;
}

.service-badge.free{
  background:linear-gradient(135deg,#ffe46b,#ffb347,#ff7a59);
  color:#4a1e00;
  box-shadow:0 10px 24px rgba(255,180,71,.28);
  animation:freeGlow 2s infinite ease-in-out;
}

@keyframes freeGlow{
  0%{ transform:scale(1); box-shadow:0 10px 24px rgba(255,180,71,.24); }
  50%{ transform:scale(1.03); box-shadow:0 14px 28px rgba(255,180,71,.34); }
  100%{ transform:scale(1); box-shadow:0 10px 24px rgba(255,180,71,.24); }
}

.service-content h3{
  font-family:var(--font-head);
  font-size:21px;
  line-height:1.55;
  font-weight:800;
  margin-bottom:8px;
  text-align:right;
  color:#fff;
}

.service-content p{
  color:var(--muted);
  font-size:14px;
  line-height:2;
  text-align:right;
  font-weight:500;
  margin-bottom:14px;
}

.service-meta{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px;
  margin-bottom:16px;
}

.meta-box{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  padding:12px;
}

.meta-label{
  display:block;
  color:#9fc0e9;
  font-size:12px;
  font-weight:700;
  margin-bottom:6px;
}

.meta-value{
  display:block;
  color:#fff;
  font-size:15px;
  font-weight:800;
  line-height:1.6;
}

.meta-value.free-price{
  color:#ffe68a;
  font-weight:900;
}

.service-actions{
  margin-top:auto;
  display:flex;
  gap:10px;
}

.service-btn{
  flex:1;
  border:none;
  border-radius:18px;
  padding:14px 14px;
  cursor:pointer;
  font-size:15px;
  font-weight:800;
  transition:.25s;
}

.service-btn:hover{
  transform:translateY(-1px);
}

.service-btn.primary{
  color:#fff;
  background:linear-gradient(135deg,var(--primary),var(--primary2));
}

.service-btn.secondary{
  color:#fff;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.1);
}

.no-results{
  display:none;
  padding:22px;
  margin-top:16px;
  border-radius:24px;
  text-align:center;
  background:linear-gradient(180deg, rgba(24,50,86,.97), rgba(18,39,67,.92));
  border:1px solid var(--line);
  color:#d5e8ff;
  font-size:16px;
  font-weight:700;
}

.no-results.show{
  display:block;
}

.bottom-nav{
  position:fixed;
  left:50%;
  transform:translateX(-50%);
  bottom:16px;
  z-index:100;
  display:flex;
  gap:14px;
  padding:12px 16px;
  background:linear-gradient(90deg,#17345d,#163761,#17345d);
  border-radius:999px;
  box-shadow:0 18px 35px rgba(0,0,0,.26);
  border:1px solid rgba(255,255,255,.08);
}

.bottom-nav a{
  width:56px;
  height:56px;
  border-radius:50%;
  border:none;
  text-decoration:none;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  background:rgba(255,255,255,.10);
  font-size:22px;
  font-weight:1000;
}

.bottom-nav .active{
  background:linear-gradient(135deg,var(--accent),#4ef7d1);
  color:#07161b;
}

.modal-overlay{
  position:fixed;
  inset:0;
  background:rgba(2,8,18,.72);
  backdrop-filter:blur(8px);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:999;
  padding:18px;
}

.modal-overlay.show{
  display:flex;
}

.modal{
  width:min(680px,100%);
  max-height:92vh;
  overflow:auto;
  border-radius:30px;
  background:linear-gradient(180deg, rgba(20,42,71,.98), rgba(12,27,49,.98));
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 22px 60px rgba(0,0,0,.42);
  position:relative;
}

.modal-header{
  padding:24px 24px 10px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
}

.modal-title{
  font-family:var(--font-head);
  font-size:28px;
  font-weight:900;
  line-height:1.5;
  margin-bottom:8px;
}

.modal-subtitle{
  color:var(--muted);
  font-size:15px;
  line-height:1.95;
  font-weight:500;
}

.modal-close{
  width:48px;
  height:48px;
  border-radius:16px;
  border:none;
  background:rgba(255,255,255,.08);
  color:#fff;
  font-size:28px;
  cursor:pointer;
  flex-shrink:0;
}

.modal-body{
  padding:8px 24px 24px;
}

.modal-highlights{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin-bottom:18px;
}

.modal-highlight{
  border-radius:20px;
  padding:14px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
}

.modal-highlight small{
  display:block;
  color:#9fc0e9;
  font-size:12px;
  font-weight:700;
  margin-bottom:6px;
}

.modal-highlight strong{
  display:block;
  font-size:16px;
  font-weight:900;
  line-height:1.6;
}

.modal-highlight strong.free{
  color:#ffe68a;
}

.modal-form{
  display:grid;
  gap:14px;
}

.field-group{
  display:grid;
  gap:8px;
}

.field-label{
  color:#dceaff;
  font-size:14px;
  font-weight:800;
  line-height:1.7;
}

.input,
.textarea{
  width:100%;
  border:none;
  outline:none;
  color:#fff;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  padding:16px 18px;
  font-size:15px;
  font-weight:700;
}

.input:focus,
.textarea:focus{
  border-color:rgba(97,196,255,.55);
  box-shadow:0 0 0 4px rgba(57,160,255,.12);
}

.textarea{
  min-height:110px;
  resize:vertical;
  line-height:1.9;
}

.input::placeholder,
.textarea::placeholder{
  color:#98b5db;
  font-weight:500;
}

select.input{
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
  cursor:pointer;
  padding-left:48px;
  padding-right:18px;
  background:
    linear-gradient(45deg, transparent 50%, #d7e8ff 50%),
    linear-gradient(135deg, #d7e8ff 50%, transparent 50%),
    rgba(255,255,255,.06);
  background-position:
    calc(18px) calc(50% - 3px),
    calc(10px) calc(50% - 3px),
    0 0;
  background-size:8px 8px, 8px 8px, 100% 100%;
  background-repeat:no-repeat;
  color:#ffffff;
}

select.input option{
  color:#0b1f3a;
  background:#ffffff;
  font-weight:700;
}

select.input option[value=""]{
  color:#5b6f8f;
}

.count-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

.fixed-box{
  width:100%;
  min-height:58px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:18px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  color:#fff;
  font-size:18px;
  font-weight:900;
}

.fixed-box.free{
  color:#ffe68a;
  background:linear-gradient(135deg, rgba(255,204,77,.10), rgba(255,140,66,.10));
  border-color:rgba(255,204,77,.20);
}

.modal-note{
  padding:14px 16px;
  border-radius:18px;
  background:rgba(255,204,77,.08);
  border:1px solid rgba(255,204,77,.18);
  color:#ffe4a1;
  font-size:14px;
  line-height:1.9;
  font-weight:500;
}

.modal-actions{
  display:flex;
  gap:12px;
  margin-top:4px;
  flex-wrap:wrap;
}

.modal-btn{
  flex:1;
  min-width:140px;
  border:none;
  border-radius:18px;
  padding:15px 18px;
  font-size:15px;
  font-weight:900;
  cursor:pointer;
}

.modal-btn.primary{
  color:#fff;
  background:linear-gradient(135deg,var(--accent),var(--primary));
}

.modal-btn.secondary{
  color:#fff;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.1);
}

.success-box,
.error-box{
  margin:14px 0 18px;
  padding:14px 16px;
  border-radius:18px;
  font-size:14px;
  line-height:1.9;
  font-weight:700;
}

.success-box{
  background:rgba(49,208,170,.09);
  border:1px solid rgba(49,208,170,.18);
  color:#cafff0;
}

.success-box a{
  color:#fff;
  text-decoration:underline;
  font-weight:900;
}

.error-box{
  background:rgba(255,107,107,.09);
  border:1px solid rgba(255,107,107,.18);
  color:#ffd8d8;
}

.empty-state{
  padding:24px;
  border-radius:24px;
  text-align:center;
  background:linear-gradient(180deg, rgba(24,50,86,.97), rgba(18,39,67,.92));
  border:1px solid var(--line);
}

.empty-state strong{
  font-size:22px;
  font-family:'Alexandria',sans-serif;
  font-weight:800;
  display:block;
  margin-bottom:6px;
}

.empty-state span{
  color:var(--muted);
  font-weight:500;
}

.toast-notification{
  position:fixed;
  top:24px;
  left:50%;
  transform:translateX(-50%) translateY(-20px);
  min-width:320px;
  max-width:90%;
  padding:16px 20px;
  border-radius:18px;
  background:linear-gradient(135deg, rgba(49,208,170,.96), rgba(57,160,255,.96));
  color:#fff;
  font-size:15px;
  font-weight:800;
  box-shadow:0 20px 50px rgba(0,0,0,.35);
  border:1px solid rgba(255,255,255,.18);
  z-index:2000;
  opacity:0;
  pointer-events:none;
  transition:.35s;
  text-align:center;
}

.toast-notification.show{
  opacity:1;
  transform:translateX(-50%) translateY(0);
  pointer-events:auto;
}

.toast-notification a{
  color:#fff;
  text-decoration:underline;
  font-weight:900;
}

.floating-contact{
  position:fixed;
  left:18px;
  top:50%;
  transform:translateY(-50%);
  z-index:1500;
  display:flex;
  flex-direction:column;
  gap:14px;
  padding:14px 10px;
  border-radius:30px;
  background:linear-gradient(180deg, rgba(8,25,48,.78), rgba(9,24,46,.55));
  border:1px solid rgba(255,255,255,.08);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  box-shadow:0 22px 48px rgba(0,0,0,.30);
}

.floating-btn{
  width:64px;
  height:64px;
  border-radius:22px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  color:#fff;
  border:1px solid rgba(255,255,255,.16);
  box-shadow:
    0 14px 28px rgba(0,0,0,.24),
    inset 0 1px 0 rgba(255,255,255,.10);
  transition:.25s ease;
  position:relative;
  overflow:visible;
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
  padding:0;
}

.floating-btn:hover{
  transform:translateX(4px) scale(1.05);
  box-shadow:
    0 22px 40px rgba(0,0,0,.30),
    inset 0 1px 0 rgba(255,255,255,.12);
}

.floating-btn svg{
  width:30px;
  height:30px;
  display:block;
  fill:#fff;
  flex-shrink:0;
}

.floating-btn.telegram{
  background:linear-gradient(135deg,#31c8ff,#0f8bd7);
}

.floating-btn.instagram{
  background:linear-gradient(135deg,#ff7a18,#ff2a74,#7b2cff);
}

.floating-btn.whatsapp{
  background:linear-gradient(135deg,#37dc78,#0f9f6f);
}

.floating-btn.complaint{
  background:linear-gradient(135deg,#ffb347,#ff6b6b);
}

.floating-btn span{
  position:absolute;
  left:82px;
  white-space:nowrap;
  background:rgba(8,20,38,.96);
  color:#fff;
  padding:11px 14px;
  border-radius:14px;
  font-size:13px;
  font-weight:800;
  opacity:0;
  pointer-events:none;
  transform:translateX(-8px);
  transition:.25s;
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 14px 28px rgba(0,0,0,.24);
}

.floating-btn:hover span{
  opacity:1;
  transform:translateX(0);
}

.complaint-chat-overlay{
  position:fixed;
  inset:0;
  background:rgba(2,8,18,.35);
  backdrop-filter:blur(4px);
  -webkit-backdrop-filter:blur(4px);
  display:none;
  align-items:flex-end;
  justify-content:flex-end;
  z-index:2000;
  padding:0;
}

.complaint-chat-overlay.show{
  display:flex;
}

.complaint-chat-box{
  width:390px;
  height:100vh;
  max-height:100vh;
  border-radius:0;
  overflow:hidden;
  background:#f6f1ee;
  border-left:1px solid rgba(0,0,0,.08);
  box-shadow:-8px 0 30px rgba(0,0,0,.18);
  display:flex;
  flex-direction:column;
  position:relative;
}

.complaint-chat-head{
  min-height:74px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 16px;
  background:#ffffff;
  border-bottom:1px solid rgba(0,0,0,.08);
}

.chat-head-info{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.chat-head-avatar{
  width:42px;
  height:42px;
  border-radius:50%;
  flex-shrink:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,#8b5cf6,#38bdf8);
  color:#fff;
  font-weight:900;
  font-size:15px;
  box-shadow:none;
}

.chat-head-text{
  min-width:0;
}

.chat-head-text h3{
  margin:0;
  font-family:var(--font-head);
  font-size:16px;
  font-weight:800;
  color:#222;
  line-height:1.3;
}

.chat-head-text p{
  margin:3px 0 0;
  font-size:12px;
  color:#28a745;
  line-height:1.4;
  font-weight:700;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.complaint-chat-close{
  width:38px;
  height:38px;
  border:none;
  border-radius:10px;
  background:#f1f1f1;
  color:#444;
  font-size:22px;
  cursor:pointer;
  flex-shrink:0;
  transition:.2s;
}

.complaint-chat-close:hover{
  background:#e7e7e7;
}

.chat-messages{
  flex:1;
  padding:18px 14px;
  display:flex;
  flex-direction:column;
  gap:10px;
  overflow-y:auto;
  overflow-x:hidden;
  background:#f6f1ee;
  scroll-behavior:smooth;
}

.chat-messages::-webkit-scrollbar{
  width:6px;
}

.chat-messages::-webkit-scrollbar-thumb{
  background:rgba(0,0,0,.16);
  border-radius:999px;
}

.chat-empty{
  margin:auto;
  text-align:center;
  color:#7d7d7d;
  line-height:1.9;
  font-size:13px;
  padding:20px;
}

.chat-day-separator{
  align-self:center;
  margin:4px 0 8px;
  padding:6px 12px;
  border-radius:10px;
  background:rgba(0,0,0,.06);
  color:#666;
  font-size:10px;
  font-weight:800;
  border:1px solid rgba(0,0,0,.05);
}

.chat-row{
  display:flex;
  width:100%;
  margin-bottom:2px;
}

.chat-row.user{
  justify-content:flex-end;
}

.chat-row.admin{
  justify-content:flex-start;
}

.chat-bubble{
  max-width:78%;
  min-width:110px;
  width:auto;
  display:inline-flex;
  flex-direction:column;
  padding:12px 16px 8px;
  border-radius:18px;
  position:relative;
  box-shadow:none;
  word-break:break-word;
  white-space:pre-wrap;
  line-height:1.55;
  font-size:14px;
  font-weight:700;
  background:rgba(0,0,0,.06);
  color:#666;
  border:1px solid rgba(0,0,0,.05);
}

.chat-row.user .chat-bubble{
  background:rgba(0,0,0,.06);
  color:#666;
  border-top-right-radius:8px;
  border-top-left-radius:18px;
  border-bottom-left-radius:18px;
  border-bottom-right-radius:18px;
}

.chat-row.admin .chat-bubble{
  background:rgba(0,0,0,.06);
  color:#666;
  border-top-left-radius:8px;
  border-top-right-radius:18px;
  border-bottom-left-radius:18px;
  border-bottom-right-radius:18px;
}

.chat-text{
  display:block;
  padding:0;
}

.chat-meta{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:5px;
  margin-top:6px;
  font-size:10px;
  font-weight:700;
  opacity:.75;
  line-height:1;
}

.chat-status{
  font-size:11px;
  line-height:1;
}

.complaint-chat-body{
  padding:10px 12px;
  display:flex;
  align-items:flex-end;
  gap:8px;
  border-top:1px solid rgba(0,0,0,.06);
  background:#ffffff;
}

.chat-input-wrap{
  flex:1;
  display:flex;
  align-items:flex-end;
  gap:8px;
  padding:10px 12px;
  background:#f3f3f3;
  border:1px solid rgba(0,0,0,.08);
  border-radius:18px;
  min-height:46px;
}

.chat-textarea{
  flex:1;
  border:none;
  outline:none;
  background:transparent;
  color:#222;
  resize:none;
  min-height:22px;
  max-height:96px;
  font-size:14px;
  font-weight:600;
  line-height:1.6;
  overflow-y:auto;
}

.chat-textarea::placeholder{
  color:#8c8c8c;
  font-weight:500;
}

.chat-send-btn{
  width:44px;
  height:44px;
  border:none;
  border-radius:50%;
  flex-shrink:0;
  cursor:pointer;
  color:#fff;
  font-size:16px;
  font-weight:900;
  background:linear-gradient(135deg,#25d366,#128c7e);
  box-shadow:none;
  transition:.2s;
}

.chat-send-btn:hover{
  transform:translateY(-1px) scale(1.03);
}

.chat-send-btn:disabled{
  opacity:.65;
  cursor:not-allowed;
  transform:none;
}

.chat-loading{
  text-align:center;
  color:#666;
  font-size:12px;
  font-weight:800;
  padding-top:4px;
  padding-bottom:10px;
  background:#ffffff;
}

@media (max-width:992px){
  .quick-links,
  .services-grid{
    grid-template-columns:1fr 1fr;
  }

  .hero-banner img{
    height:280px;
  }

  .modal-highlights{
    grid-template-columns:1fr;
  }
}

@media (max-width:700px){
  .container{
    width:min(96%, 1180px);
  }

  .nav-wrap{
    padding:8px 0 8px;
  }

  .nav{
    padding:10px 12px;
    border-radius:18px;
    gap:10px;
  }

  .logo-box{
    width:100%;
    justify-content:space-between;
    align-items:center;
  }

  .logo-box img{
    width:34px;
    height:34px;
    border-radius:10px;
    padding:2px;
  }

  .logo-text{
    display:none;
  }

  .top-actions,
  .top-actions.guest-actions,
  .logged-only,
  .nav-links-group{
    width:100%;
    justify-content:center;
  }

  .nav-btn,
  .auth-btn{
    min-width:0;
    flex:1 1 calc(50% - 6px);
    height:42px;
    font-size:13px;
    border-radius:13px;
    padding:0 10px;
  }

  .logged-only{
    flex-direction:column;
    gap:8px;
  }

  .nav-balance,
  .nav-user{
    width:100%;
    min-width:0;
    justify-content:center;
  }

  .nav-balance{
    padding:10px 12px;
    border-radius:15px;
  }

  .balance-icon{
    width:34px;
    height:34px;
    font-size:16px;
    border-radius:10px;
  }

  .balance-label{
    font-size:10px;
  }

  .balance-value{
    font-size:16px;
  }

  .balance-currency{
    font-size:10px;
  }

  main{
    padding:12px 0 95px;
  }

  .hero-banner{
    display:none;
  }

  .promo-strip{
    border-radius:16px;
    margin-bottom:14px;
  }

  .promo-track{
    gap:14px;
    padding:10px 12px;
    min-height:46px;
  }

  .promo-item{
    font-size:11px;
  }

  .search-box{
    grid-template-columns:1fr;
    gap:8px;
    margin-bottom:14px;
  }

  .search-icon{
    display:none;
  }

  .search-field{
    height:48px;
    padding:0 14px;
    border-radius:16px;
  }

  .search-field input{
    font-size:14px;
  }

  .quick-links{
    display:none;
  }

  .section-head{
    margin-bottom:12px;
    gap:8px;
    align-items:flex-start;
  }

  .section-head h2{
    font-size:20px;
  }

  .section-head p{
    font-size:12px;
    line-height:1.7;
  }

  .section-chip{
    padding:7px 10px;
    font-size:11px;
  }

  .category-nav{
    top:72px;
    padding:6px;
    gap:6px;
    overflow-x:auto;
    overflow-y:hidden;
    flex-wrap:nowrap;
    border-radius:16px;
    margin-bottom:14px;
  }

  .category-nav::-webkit-scrollbar{
    display:none;
  }

  .category-chip{
    white-space:nowrap;
    padding:8px 12px;
    font-size:11px;
    flex:0 0 auto;
  }

  .service-section{
    margin-bottom:20px;
  }

  .service-section-head{
    margin-bottom:10px;
    gap:8px;
    align-items:flex-start;
  }

  .service-section-title-wrap{
    gap:8px;
    flex-wrap:nowrap;
    align-items:flex-start;
  }

  .service-section-icon{
    width:34px;
    height:34px;
    border-radius:10px;
    font-size:16px;
    flex-shrink:0;
  }

  .service-section h3{
    font-size:16px;
    margin-bottom:2px;
  }

  .service-section p{
    font-size:11px;
    line-height:1.5;
  }

  .services-grid{
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:10px;
  }

  .service-card{
    border-radius:16px;
    box-shadow:0 10px 22px rgba(0,0,0,.18);
    background:transparent;
    border:none;
    overflow:visible;
  }

  .service-image-wrap{
    min-height:120px;
    height:120px;
    border:none;
    border-radius:14px;
    overflow:hidden;
    background:#0f2342;
    display:flex;
    align-items:center;
    justify-content:center;
  }

  .service-image-wrap::before,
  .service-image-wrap::after{
    display:none;
  }

  .service-thumb{
    width:100%;
    height:100%;
    border-radius:14px;
    object-fit:contain;
    display:block;
  }

  .service-content{
    padding:6px 2px 0;
    background:transparent;
    display:block;
  }

  .service-content p,
  .service-meta{
    display:none !important;
  }

  .service-badge{
    display:inline-flex !important;
    align-self:center;
    margin:0 0 6px 0;
    padding:6px 10px;
    font-size:10px;
    border-radius:999px;
    line-height:1.2;
  }

  .service-badge.free{
    background:linear-gradient(135deg,#ffe46b,#ffb347,#ff7a59);
    color:#4a1e00;
    box-shadow:0 6px 14px rgba(255,180,71,.22);
    animation:none;
  }

  .service-badge.normal{
    display:none !important;
  }

  .service-content h3{
    font-size:11px;
    line-height:1.45;
    text-align:center;
    font-weight:800;
    margin:0 0 6px 0;
    color:#fff;
    min-height:32px;
  }

  .service-actions{
    display:flex !important;
    margin-top:8px;
    gap:6px;
  }

  .service-btn{
    padding:10px 8px;
    font-size:11px;
    border-radius:12px;
  }

  .service-btn.secondary{
    display:none !important;
  }

  .bottom-nav{
    left:10px;
    right:10px;
    transform:none;
    justify-content:space-between;
    padding:8px 10px;
    gap:8px;
    border-radius:18px;
    bottom:10px;
  }

  .bottom-nav a{
    width:42px;
    height:42px;
    font-size:17px;
  }

  .modal{
    border-radius:20px 20px 0 0;
    width:100%;
    max-height:90dvh;
  }

  .modal-header,
  .modal-body{
    padding-left:14px;
    padding-right:14px;
  }

  .modal-title{
    font-size:19px;
  }

  .modal-subtitle{
    font-size:12px;
    line-height:1.7;
  }

  .modal-close{
    width:40px;
    height:40px;
    font-size:22px;
    border-radius:12px;
  }

  .input,
  .textarea{
    font-size:14px;
    padding:13px 14px;
    border-radius:14px;
  }

  .count-row,
  .modal-highlights,
  .service-meta{
    grid-template-columns:1fr;
  }

  .fixed-box{
    min-height:50px;
    font-size:15px;
    border-radius:14px;
  }

  .modal-note{
    font-size:12px;
    line-height:1.8;
    padding:12px 14px;
  }

  .modal-actions{
    flex-direction:column;
  }

  .modal-btn{
    width:100%;
    min-width:0;
    min-height:46px;
    font-size:14px;
    border-radius:14px;
  }

  .floating-contact{
    left:8px;
    top:auto;
    bottom:68px;
    transform:none;
    gap:8px;
    padding:8px 6px;
    border-radius:18px;
  }

  .floating-btn{
    width:44px;
    height:44px;
    border-radius:14px;
  }

  .floating-btn svg{
    width:20px;
    height:20px;
  }

  .floating-btn span{
    display:none;
  }

  .complaint-chat-overlay{
    padding:0;
    align-items:flex-end;
    justify-content:flex-end;
  }

  .complaint-chat-box{
    width:100%;
    height:100dvh;
    max-height:100dvh;
    border-radius:0;
  }

  .chat-messages{
    padding:14px 10px 16px;
    gap:8px;
  }

  .chat-bubble{
    max-width:82%;
    min-width:96px;
    width:auto;
    font-size:13px;
    padding:11px 14px 7px;
    line-height:1.5;
    border-radius:17px;
    background:rgba(0,0,0,.06);
    color:#666;
    border:1px solid rgba(0,0,0,.05);
  }

  .chat-row.user .chat-bubble{
    border-top-right-radius:7px;
  }

  .chat-row.admin .chat-bubble{
    border-top-left-radius:7px;
  }

  .complaint-chat-body{
    padding:10px;
  }
}

@media (max-width:420px){
  .container{
    width:min(97%, 1180px);
  }

  .service-thumb{
    height:100%;
  }

  .service-content h3{
    font-size:10px;
  }

  .service-btn{
    font-size:10px;
    padding:9px 6px;
  }

  .bottom-nav a{
    width:40px;
    height:40px;
    font-size:16px;
  }
}
