:root {
  color-scheme: dark;
  --bg: #000000;
  --bg-soft: #050a15;
  --panel: rgba(0, 20, 35, 0.85);
  --panel-strong: rgba(0, 30, 50, 0.95);
  --text: #ffffff;
  --muted: #00d9ff;
  --accent: #00D9FF;
  --accent-2: #00FFFF;
  --border: rgba(0, 217, 255, 0.45);
  --shadow: 0 24px 70px rgba(0, 217, 255, 0.25);
  --shadow-soft: 0 14px 32px rgba(0, 217, 255, 0.15);
  --glow: rgba(0, 217, 255, 0.28);
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 8px rgba(200, 155, 60, 0.15), 0 0 16px rgba(200, 155, 60, 0.08); }
  50% { box-shadow: 0 0 12px rgba(200, 155, 60, 0.2), 0 0 24px rgba(200, 155, 60, 0.1); }
}

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

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

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #000000 0%, #001a33 40%, #000a1a 100%);
  color: var(--text);
  min-height: 100vh;
  letter-spacing: 0.01em;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: auto -8rem -8rem auto;
  width: 32rem;
  height: 32rem;
  background: transparent;
  filter: blur(6px);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  inset: auto auto -10rem -10rem;
  width: 28rem;
  height: 28rem;
  background: transparent;
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}

.page-shell,
.sidebar,
.content {
  position: relative;
  z-index: 1;
}

.page-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 0;
}

.hidden {
  display: none !important;
}

.page-shell {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 300px;
  padding: 28px 22px 28px;
  background: rgba(0, 20, 40, 0.96);
  border-right: 1px solid rgba(200, 155, 60, 0.28);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 175px;
  height: 175px;
  object-fit: contain;
  border-radius: 12px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.brand-logo:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hamburger-toggle {
  display: none;
}

.nav-link {
  color: var(--text);
  text-decoration: none;
  padding: 12px 14px;
  border-radius: 12px;
  transition: all 0.2s ease;
  background: transparent;
  border: 1px solid transparent;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  position: relative;
  padding-left: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link i {
  position: absolute;
  left: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  font-size: 1.1rem;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #d4a76a;
  transition: all 0.3s ease;
}

.nav-icon {
  position: absolute;
  left: 12px;
  display: inline-flex;
  width: 20px;
  height: 20px;
  color: #d4a76a;
  transition: transform 0.3s ease, color 0.3s ease;
}

.nav-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-link span {
  white-space: nowrap;
}

.nav-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4a76a, #e8c481);
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 0.2s ease;
}

.nav-link:hover::before,
.nav-link:focus-visible::before,
.nav-link.active::before {
  opacity: 1;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.active {
  background: rgba(200, 155, 60, 0.15);
  border-color: rgba(200, 155, 60, 0.5);
  transform: translateX(2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.nav-link:hover i,
.nav-link:focus-visible i,
.nav-link.active i {
  color: #d4a76a;
  transform: scale(1.1) rotate(0deg);
  text-shadow: none;
}

.nav-link:hover .nav-icon,
.nav-link:focus-visible .nav-icon,
.nav-link.active .nav-icon {
  color: #e8c481;
  transform: scale(1.1);
}

.content {
  flex: 1;
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero {
  padding: 38px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(200, 155, 60, 0.22), rgba(4, 12, 24, 0.88));
  border: 1px solid rgba(200, 155, 60, 0.35);
  box-shadow: 0 10px 30px rgba(200, 155, 60, 0.12);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  animation: slide-in 0.6s ease-out;
}

.hero::before,
.card::before,
.gallery-item::before,
.hero-panel::before,
.stat-item::before,
.content-tabs::before {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  transform: translateX(-120%);
  transition: transform 0.7s ease;
  pointer-events: none;
}

.hero:hover::before,
.card:hover::before,
.gallery-item:hover::before,
.hero-panel:hover::before,
.stat-item:hover::before,
.content-tabs:hover::before {
  transform: translateX(120%);
}

.hero.compact {
  padding: 28px 32px;
}

.hero-image-only {
  padding: 0;
  overflow: visible;
}

.hero-banner {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
  animation: none;
}

.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.8rem;
  color: #d4a76a;
  animation: slide-in 0.5s ease-out backwards;
  transition: all 0.3s ease;
}

.hero .eyebrow {
  animation-delay: 0.1s;
}

.eyebrow:hover {
  color: #e8c481;
  letter-spacing: 0.38em;
}

.hero h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.15;
  font-weight: 700;
  animation: slide-in 0.5s ease-out 0.15s backwards;
  transition: all 0.3s ease;
  color: #ffffff;
}

.hero h2:hover {
  background: linear-gradient(135deg, #d4a76a 0%, #e8c481 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transform: translateX(4px);
}

.hero-text {
  margin: 0;
  max-width: 700px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  font-size: 1rem;
  animation: slide-in 0.5s ease-out 0.2s backwards;
  transition: color 0.3s ease;
}

.hero-text:hover {
  color: #ffffff;
}

.card {
  padding: 24px;
  border-radius: 22px;
  background: rgba(4, 12, 24, 0.78);
  border: 1px solid rgba(200, 155, 60, 0.2);
  box-shadow: 0 8px 24px rgba(200, 155, 60, 0.08);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover,
.hero:hover,
.gallery-item:hover,
.hero-panel:hover,
.stat-item:hover,
.feature-card:hover {
  transform: translateY(-2px);
  border-color: rgba(200, 155, 60, 0.5);
  box-shadow: 0 14px 36px rgba(200, 155, 60, 0.15), inset 0 1px 0 rgba(255,255,255,0.06);
}

.category-hero {
  background: linear-gradient(135deg, rgba(200, 155, 60, 0.26), rgba(4, 12, 24, 0.86));
}

.gallery-shell,
.admin-shell {
  background: rgba(4, 12, 24, 0.7);
}

.content-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  padding: 8px;
  border-radius: 16px;
  background: rgba(4, 12, 24, 0.72);
  border: 1px solid rgba(200, 155, 60, 0.2);
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(200, 155, 60, 0.08);
}

.content-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid transparent;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: all 0.2s ease;
  position: relative;
}

.content-tab:hover,
.content-tab:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(1, 7, 17, 0.2);
}

.content-tab::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #d4a76a, #e8c481);
  opacity: 0;
  transform: scaleX(0.6);
  transition: all 0.2s ease;
}

.content-tab.active,
.content-tab:hover,
.content-tab:focus-visible {
  color: var(--text);
  background: rgba(201, 169, 110, 0.12);
  border-color: rgba(201, 169, 110, 0.25);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.content-tab.active::after,
.content-tab:hover::after,
.content-tab:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.2rem;
  transition: color 0.2s ease;
}

.card p {
  color: var(--muted);
  line-height: 1.7;
  transition: color 0.2s ease;
}

.card a {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d4a76a 0%, #e8c481 100%);
  color: #121212;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  box-shadow: 0 6px 16px rgba(200, 155, 60, 0.18);
  position: relative;
  overflow: hidden;
}

.card a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

.card a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(200, 155, 60, 0.28);
}

.card a:hover::before {
  transform: translateX(100%);
}

.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.category-list a {
  color: var(--text);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201, 169, 110, 0.2);
}

.login-form {
  max-width: 420px;
}

.admin-section {
  display: grid;
  gap: 16px;
}

.clear-gallery-card {
  padding: 18px;
  border-radius: 16px;
  background: rgba(4, 12, 24, 0.72);
  border: 1px solid rgba(201, 169, 110, 0.22);
}

.clear-gallery-card h3 {
  margin: 0 0 8px;
}

.clear-gallery-card p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.7);
}

.clear-gallery-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.clear-gallery-btn {
  width: auto;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 143, 143, 0.3);
  background: rgba(255, 143, 143, 0.12);
  color: #ffd7d7;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.clear-gallery-btn:hover,
.clear-gallery-btn:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 10px 22px rgba(255, 143, 143, 0.18);
}

.admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(200, 155, 60, 0.25);
}

.admin-toolbar-title {
  margin: 0;
  color: #d4a76a;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.logout-btn {
  border: 1px solid rgba(201, 169, 110, 0.35);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
}

.admin-form {
  display: grid;
  gap: 16px;
}

.whmcs-links-group {
  display: grid;
  gap: 16px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(201, 169, 110, 0.18);
  background: rgba(255, 255, 255, 0.03);
}

.whmcs-links-group.hidden {
  display: none;
}

.admin-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 600;
}

.admin-form input,
.admin-form select,
.admin-form textarea,
.admin-form button {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(201, 169, 110, 0.18);
  background: rgba(2, 5, 10, 0.9);
  color: #ffffff;
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  transition: all 0.2s ease;
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
  border-color: rgba(200, 155, 60, 0.6);
  background: rgba(2, 5, 10, 0.95);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 0 12px rgba(200, 155, 60, 0.15);
  outline: none;
}

.upload-field {
  display: grid;
  gap: 8px;
}

.upload-dropzone {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  min-height: 150px;
  padding: 18px;
  border-radius: 16px;
  border: 1px dashed rgba(201, 169, 110, 0.44);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.upload-dropzone:hover,
.upload-dropzone:focus-visible,
.upload-dropzone.drag-active {
  border-color: rgba(201, 169, 110, 0.8);
  box-shadow: 0 12px 28px rgba(201, 169, 110, 0.16);
  transform: translateY(-1px);
}

.upload-dropzone input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.upload-picker-btn {
  align-self: flex-start;
  width: auto;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.26);
  background: linear-gradient(135deg, #d4a76a 0%, #e8c481 100%);
  color: #121212;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(200, 155, 60, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.upload-picker-btn:hover,
.upload-picker-btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(201, 169, 110, 0.26);
  filter: brightness(1.04);
}

.upload-dropzone-title {
  font-weight: 700;
  color: #d4a76a;
}

.upload-dropzone-hint {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

.upload-dropzone-files {
  align-self: flex-start;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(201, 169, 110, 0.16);
  background: rgba(0, 0, 0, 0.22);
  color: #ecd8ae;
  font-size: 0.9rem;
}

.upload-dropzone-files.has-files {
  color: #ffffff;
}

.admin-form input::placeholder,
.admin-form select::placeholder {
  color: rgba(255,255,255,0.56);
}

.admin-form select {
  appearance: auto;
}

.admin-form select option {
  background: #02050a;
  color: #ffffff;
}

.admin-form button {
  cursor: pointer;
  background: linear-gradient(135deg, #d4a76a 0%, #e8c481 100%);
  color: #121212;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(200, 155, 60, 0.18), inset 0 1px 0 rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.admin-form button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

.admin-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(200, 155, 60, 0.28), inset 0 1px 0 rgba(255,255,255,0.3);
}

.admin-form button:hover::before {
  transform: translateX(100%);
}

.admin-form button:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(200, 155, 60, 0.15), inset 0 1px 0 rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.admin-form button:hover,
.admin-form button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(201, 169, 110, 0.28);
  filter: brightness(1.04);
}

.form-status {
  min-height: 1.2em;
  color: #d4a76a;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(200, 155, 60, 0.08);
  border: 1px solid rgba(201, 169, 110, 0.25);
  display: inline-block;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

.form-status.success {
  color: #5effb4;
  background: rgba(94, 255, 180, 0.12);
  border-color: rgba(94, 255, 180, 0.35);
  opacity: 1;
  transform: translateY(0);
  box-shadow: 0 0 20px rgba(94, 255, 180, 0.2), inset 0 1px 0 rgba(255,255,255,0.1);
  animation: slide-in 0.4s ease-out;
}

.form-status.error {
  color: #ff9a9a;
  background: rgba(255, 154, 154, 0.12);
  border-color: rgba(255, 154, 154, 0.35);
  opacity: 1;
  transform: translateY(0);
  box-shadow: 0 0 20px rgba(255, 154, 154, 0.2), inset 0 1px 0 rgba(255,255,255,0.1);
  animation: slide-in 0.4s ease-out;
}

.form-status.info {
  color: #7dd3ff;
  background: rgba(125, 211, 255, 0.12);
  border-color: rgba(125, 211, 255, 0.35);
  opacity: 1;
  transform: translateY(0);
  box-shadow: 0 0 20px rgba(125, 211, 255, 0.2), inset 0 1px 0 rgba(255,255,255,0.1);
  animation: slide-in 0.4s ease-out;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  align-items: start;
}

.gallery-shell .gallery {
  gap: 24px;
  justify-content: start;
}

.domain-checker-card {
  margin-bottom: 24px;
  padding: 28px;
  border: 1px solid rgba(0, 217, 255, 0.3);
  background: linear-gradient(135deg, rgba(0, 30, 50, 0.95), rgba(2, 10, 22, 0.92));
}

.domain-checker-card h3 {
  margin: 0 0 8px;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.domain-checker-card > p:not(.eyebrow) {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.72);
}

.domain-checker-form label {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}

.domain-checker-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px auto;
  gap: 10px;
}

.domain-checker-row input,
.domain-checker-row select,
.domain-checker-row button {
  min-height: 48px;
  width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(0, 217, 255, 0.35);
  border-radius: 10px;
  font: inherit;
}

.domain-checker-row input,
.domain-checker-row select {
  background: rgba(0, 8, 20, 0.82);
  color: #ffffff;
  font-size: 16px;
}

.domain-checker-row button {
  padding-inline: 22px;
  background: linear-gradient(135deg, #d4a76a, #f0ca7e);
  color: #121212;
  cursor: pointer;
  font-weight: 700;
}

.domain-checker-row input:focus,
.domain-checker-row select:focus,
.domain-checker-row button:focus-visible {
  outline: 2px solid #00d9ff;
  outline-offset: 2px;
}

.domain-checker-result {
  min-height: 24px;
  margin: 18px 0 0;
  padding: 12px 14px;
  border-left: 3px solid transparent;
}

.domain-checker-result strong,
.domain-checker-result span {
  display: block;
}

.domain-checker-result strong {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.domain-checker-result span {
  margin-top: 0;
  line-height: 1.5;
}

.domain-checker-result.available { border-color: #5effb4; color: #5effb4; }
.domain-checker-result.taken,
.domain-checker-result.error { border-color: #ff9a9a; color: #ff9a9a; }
.domain-checker-result.loading { border-color: #7dd3ff; color: #7dd3ff; }

.domain-card-status {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
}

.domain-card-status.available { color: #5effb4; }
.domain-card-status.taken { color: #ff9a9a; }

.domain-order-btn.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(0.7);
  pointer-events: none;
}

.gallery-item {
  width: 100%;
  max-width: 280px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(201, 169, 110, 0.22);
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.03) 100%);
  box-shadow: 0 18px 40px rgba(1, 7, 17, 0.28);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-bottom: 1px solid rgba(201, 169, 110, 0.16);
}

.gallery-item-info {
  padding: 16px 16px 18px;
}

.gallery-item-info h4 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--text);
}

.gallery-item-info p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.7;
}

.order-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  justify-content: flex-start;
}

.chatbox-slideshow-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(210px, 260px);
  gap: 18px;
  align-items: center;
  justify-content: center;
}

.chatbox-order-panel {
  display: grid;
  gap: 12px;
  align-content: center;
  min-height: 160px;
  padding: 24px;
  border: 1px solid rgba(0, 217, 255, 0.28);
  border-radius: 16px;
  background: rgba(5, 10, 21, 0.82);
  box-shadow: var(--shadow-soft);
}

.chatbox-order-label,
.chatbox-order-hint {
  margin: 0;
  color: var(--text);
  line-height: 1.5;
}

.chatbox-order-hint {
  color: var(--muted);
  font-size: 0.9rem;
}

.chatbox-order-panel .order-btns {
  margin-top: 0;
}

.gallery-item:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 169, 110, 0.42);
  box-shadow: 0 24px 46px rgba(1, 7, 17, 0.34);
}

.order-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #00D9FF 0%, #00FFFF 100%);
  color: #171717;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 8px 20px rgba(0, 217, 255, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, background 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.order-btn:hover,
.order-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 217, 255, 0.35), inset 0 1px 0 rgba(255,255,255,0.25);
  filter: brightness(1.08) saturate(1.1);
  background: linear-gradient(135deg, #00E6FF 0%, #00FFFF 100%);
}

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

.request-slideshow {
  min-height: 360px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 217, 255, 0.28);
  border-radius: 20px;
  background: #050a15;
  box-shadow: var(--shadow-soft);
}

.request-slide {
  display: none;
  min-height: 360px;
  position: relative;
  animation: slide-in 0.45s ease-out;
}

.request-slide.active {
  display: flex;
  align-items: stretch;
}

.request-slide img {
  width: 58%;
  height: 360px;
  max-height: 360px;
  object-fit: contain;
  background: #02060b;
}

.request-slide-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
  padding: 38px;
  background: linear-gradient(135deg, rgba(0, 30, 50, 0.98), rgba(0, 8, 18, 0.98));
}

.request-slide-content h3,
.request-slide-content p {
  margin: 0;
}

.request-slide-content h3 {
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.15;
}

.request-slide-content p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}

.request-slide-control {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(0, 8, 18, 0.75);
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
}

.request-slide-control:hover,
.request-slide-control:focus-visible {
  background: rgba(0, 217, 255, 0.8);
  color: #071018;
}

.request-slide-control.previous { left: 16px; }
.request-slide-control.next { right: 16px; }

.request-slide-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.request-slide-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.request-slide-dots button.active {
  background: var(--accent);
  border-color: var(--accent);
}

.request-slideshow-order {
  display: flex;
  justify-content: center;
  padding: 4px 0;
}

.request-gallery {
  min-height: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.terms-card {
  line-height: 1.8;
}

.terms-header {
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(200, 155, 60, 0.25);
}

.terms-header h3 {
  margin: 0;
  font-size: 1.3rem;
}

.terms-content h4 {
  margin-top: 20px;
  margin-bottom: 8px;
  color: #d4a76a;
  font-size: 1rem;
}

.terms-content p {
  margin: 0 0 10px;
  color: var(--muted);
}

.contact-card {
  padding: 28px;
}

.contact-mail {
  margin: 0 0 18px;
  color: #d4a76a;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.contact-mail a {
  color: #e8c481;
  text-decoration: none;
}

.contact-mail a:hover,
.contact-mail a:focus-visible {
  color: #d4a76a;
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.empty-state,
.gallery-empty-state {
  color: rgba(255, 255, 255, 0.7);
  padding: 22px;
  border: 1px dashed rgba(200, 155, 60, 0.3);
  border-radius: 18px;
  background: rgba(200, 155, 60, 0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.gallery-empty-state p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.gallery-empty-state .btn {
  margin-top: 4px;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.82);
}

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

.gallery-lightbox-inner {
  position: relative;
  max-width: min(1100px, 94vw);
  max-height: 90vh;
}

.gallery-lightbox img {
  display: block;
  max-width: 94vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.55);
}

.gallery-lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 1;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.sidebar-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(200, 155, 60, 0.25);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  font-size: 0.9rem;
}

.hero-home {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  padding: 0;
  border-radius: 28px;
}

.hero-image-only {
  min-height: 480px;
  border: 1px solid rgba(200, 155, 60, 0.25);
  box-shadow: 0 10px 30px rgba(200, 155, 60, 0.12);
}

.hero-home::before {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
  z-index: 1;
}

.hero-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}

.hero-copy {
  flex: 1.2;
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn,
.order-btn,
.feature-card a,
.admin-form button {
  position: relative;
  overflow: hidden;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn::before,
.order-btn::before,
.feature-card a::before,
.admin-form button::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.28) 35%, transparent 70%);
  transform: translateX(-130%);
  transition: transform 0.7s ease;
  pointer-events: none;
}

.btn:hover::before,
.btn:focus-visible::before,
.order-btn:hover::before,
.order-btn:focus-visible::before,
.feature-card a:hover::before,
.feature-card a:focus-visible::before,
.admin-form button:hover::before,
.admin-form button:focus-visible::before {
  transform: translateX(130%);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.05) saturate(1.08);
  box-shadow: 0 12px 28px rgba(1, 7, 17, 0.24);
}

.btn-primary {
  background: linear-gradient(135deg, #00D9FF 0%, #00FFFF 100%);
  color: #121212;
  box-shadow: 0 10px 24px rgba(0, 217, 255, 0.2);
}

.btn-secondary {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.hero-panel {
  min-width: 280px;
  padding: 22px;
  border-radius: 20px;
  background: rgba(200, 155, 60, 0.08);
  border: 1px solid rgba(200, 155, 60, 0.2);
  box-shadow: 0 12px 30px rgba(200, 155, 60, 0.1);
}

.hero-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #d4a76a;
}

.hero-panel-grid {
  display: grid;
  gap: 12px;
}

.hero-panel-grid div {
  padding: 12px;
  border-radius: 12px;
  background: rgba(200, 155, 60, 0.1);
}

.hero-panel-grid strong {
  display: block;
  margin-bottom: 4px;
}

.hero-panel-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.stat-item {
  padding: 20px;
  border-radius: 16px;
  background: rgba(200, 155, 60, 0.08);
  border: 1px solid rgba(200, 155, 60, 0.25);
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  animation: slide-in 0.5s ease-out backwards;
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }

.stat-item:hover {
  transform: translateY(-2px);
  border-color: rgba(200, 155, 60, 0.6);
  background: rgba(200, 155, 60, 0.12);
  box-shadow: 0 10px 24px rgba(200, 155, 60, 0.18), inset 0 1px 0 rgba(255,255,255,0.08);
}

.stat-item strong {
  font-size: 1.4rem;
  color: #d4a76a;
  transition: all 0.3s ease;
  display: block;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.stat-item:hover strong {
  font-size: 1.5rem;
  color: #e8c481;
  text-shadow: 0 0 8px rgba(200, 155, 60, 0.4);
}

.stat-item span {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.stat-item:hover span {
  color: #ffffff;
}

.section-block {
  display: grid;
  gap: 16px;
  animation: slide-in 0.6s ease-out;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 8px;
}

.section-heading p {
  animation: slide-in 0.5s ease-out 0.1s backwards;
}

.section-heading h3 {
  margin: 0;
  font-size: 1.35rem;
  background: linear-gradient(135deg, #ffffff 0%, #d4a76a 50%, #e8c481 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
  animation: slide-in 0.5s ease-out 0.15s backwards;
}

.section-heading h3:hover {
  transform: translateX(4px);
  background: linear-gradient(135deg, #ffffff 0%, #e8c481 50%, #d4a76a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.home-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.3s ease;
  animation: slide-in 0.5s ease-out backwards;
  position: relative;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }

.feature-card h3 {
  transition: all 0.3s ease;
  color: #ffffff;
}

.feature-card p {
  transition: all 0.3s ease;
  color: rgba(255, 255, 255, 0.7);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 155, 60, 0.5);
  box-shadow: 0 14px 36px rgba(200, 155, 60, 0.12), inset 0 1px 0 rgba(255,255,255,0.08);
}

.feature-card:hover h3 {
  color: #e8c481;
  text-shadow: 0 0 8px rgba(200, 155, 60, 0.3);
}

.feature-card:hover p {
  color: #ffffff;
}

.feature-card a {
  margin-top: auto;
  text-decoration: none;
  color: #121212;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 11px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d4a76a 0%, #e8c481 100%);
  box-shadow: 0 6px 16px rgba(200, 155, 60, 0.15);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.05em;
}

.feature-card a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

.feature-card a:hover,
.feature-card a:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(200, 155, 60, 0.24), inset 0 1px 0 rgba(255,255,255,0.15);
  filter: brightness(1.05);
}

.feature-card a:hover::before,
.feature-card a:focus-visible::before {
  transform: translateX(100%);
}

.cta-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.site-footer {
  padding: 20px 24px 28px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(2, 5, 10, 0.35);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1024px) {
  .sidebar {
    width: 240px;
    padding: 16px 14px;
  }

  .nav-link {
    font-size: 0.7rem;
    padding: 8px 10px;
    padding-left: 36px;
    gap: 8px;
  }

  .nav-link i {
    font-size: 0.95rem;
    left: 10px;
  }

  .content {
    padding: 32px;
  }

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

  .hero {
    padding: 24px;
  }

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

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

/* Tablet & Small Devices */
@media (max-width: 768px) {
  :root {
    --content-padding: 16px;
  }

  .page-shell {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(200, 155, 60, 0.25);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 100;
    min-height: 60px;
  }

  .sidebar-footer {
    display: none;
  }

  .brand {
    margin-bottom: 0;
  }

  .brand-logo {
    width: 135px;
    height: 135px;
    padding: 0;
  }

  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background: rgba(0, 20, 40, 0.98);
    flex-direction: column;
    gap: 0;
    padding: 16px 0;
    border-top: 1px solid rgba(200, 155, 60, 0.25);
    max-height: 0;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }

  .nav-links.active {
    max-height: 100vh;
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 16px 10px 52px;
    font-size: 0.78rem;
    gap: 0;
    border-radius: 0;
    width: 100%;
    text-align: left;
    letter-spacing: 0.08em;
    line-height: 1.3;
    touch-action: manipulation;
  }

  .nav-link > span:last-child {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-link .nav-icon {
    left: 18px;
    width: 18px;
    height: 18px;
  }

  .nav-link:active {
    background: rgba(0, 217, 255, 0.2);
  }

  .hamburger-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
  }

  .hamburger-toggle:active {
    background: rgba(0, 217, 255, 0.15);
  }

  .hamburger-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #d4a76a;
    border-radius: 1px;
    transition: all 0.3s ease;
  }

  .hamburger-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .hamburger-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .content {
    padding: 16px;
    gap: 16px;
  }

  .hero {
    padding: 16px;
    border-radius: 16px;
  }

  .hero h2 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    margin-bottom: 8px;
  }

  .eyebrow {
    font-size: 0.7rem;
    margin-bottom: 8px;
  }

  .request-slideshow,
  .request-slide {
    min-height: 520px;
  }

  .chatbox-slideshow-layout {
    grid-template-columns: 1fr;
  }

  .chatbox-order-panel {
    min-height: 0;
  }

  .request-slide.active {
    display: block;
  }

  .request-slide img {
    width: 100%;
    height: 190px;
    max-height: 190px;
    object-fit: contain;
  }

  .request-slide-content {
    min-height: 330px;
    padding: 28px 22px 42px;
  }

  .request-slide-control.previous { left: 10px; }
  .request-slide-control.next { right: 10px; }

  .hero-text {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .card {
    padding: 16px;
    border-radius: 14px;
  }

  .card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
  }

  .card p {
    font-size: 0.95rem;
  }

  .card a {
    padding: 9px 16px;
    font-size: 0.85rem;
    margin-top: 8px;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .stat-item {
    padding: 16px;
    gap: 4px;
  }

  .stat-item strong {
    font-size: 1.2rem;
  }

  .stat-item span {
    font-size: 0.9rem;
  }

  .home-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feature-card {
    gap: 8px;
  }

  .feature-card a {
    padding: 10px 18px;
    font-size: 0.8rem;
  }

  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
  }

  .gallery-item {
    max-width: 100%;
  }

  .gallery-item-info {
    padding: 12px;
  }

  .gallery-item-info h4 {
    font-size: 0.95rem;
  }

  .order-btn {
    padding: 10px 16px;
    font-size: 0.8rem;
  }

  .admin-form input,
  .admin-form select,
  .admin-form textarea,
  .admin-form button {
    padding: 14px 12px;
    font-size: 16px;
  }

  .admin-form button {
    min-height: 44px;
  }

  .upload-picker-btn {
    min-height: 44px;
    font-size: 16px;
  }

  .hero-home {
    min-height: 300px;
  }

  .cta-card {
    flex-direction: column;
    gap: 12px;
  }

  .contact-card {
    padding: 16px;
  }

  .terms-card {
    padding: 0;
  }

  .terms-content h4 {
    margin-top: 16px;
    font-size: 0.95rem;
  }

  .terms-content p {
    font-size: 0.9rem;
    margin-bottom: 8px;
  }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .sidebar {
    min-height: 56px;
    padding: 8px 12px;
  }

  .brand-logo {
    width: 125px;
    height: 125px;
  }

  .nav-link {
    padding: 12px 16px;
    min-height: 44px;
    font-size: 0.95rem;
  }

  .content {
    padding: 12px;
    gap: 12px;
  }

  .hero {
    padding: 12px;
    border-radius: 12px;
  }

  .hero h2 {
    font-size: clamp(1.1rem, 2.2vw, 1.5rem);
    margin-bottom: 6px;
  }

  .eyebrow {
    font-size: 0.65rem;
    margin-bottom: 6px;
  }

  .hero-text {
    font-size: 0.9rem;
  }

  .card {
    padding: 12px;
    border-radius: 10px;
  }

  .card h3 {
    font-size: 0.95rem;
  }

  .card p {
    font-size: 0.85rem;
  }

  .card a {
    padding: 8px 14px;
    font-size: 0.75rem;
  }

  .stats {
    gap: 8px;
  }

  .stat-item {
    padding: 12px;
  }

  .stat-item strong {
    font-size: 1.1rem;
  }

  .stat-item span {
    font-size: 0.8rem;
  }

  .section-heading h3 {
    font-size: 1.1rem;
  }

  .feature-card {
    gap: 6px;
  }

  .feature-card h3 {
    font-size: 0.95rem;
  }

  .feature-card p {
    font-size: 0.8rem;
  }

  .feature-card a {
    padding: 8px 14px;
    font-size: 0.7rem;
  }

  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 8px;
  }

  .gallery-item-info {
    padding: 10px;
  }

  .gallery-item-info h4 {
    font-size: 0.85rem;
    margin-bottom: 4px;
  }

  .gallery-item-info p {
    font-size: 0.75rem;
  }

  .order-btn {
    padding: 8px 12px;
    font-size: 0.7rem;
  }

  .admin-form label {
    gap: 6px;
    font-size: 0.95rem;
  }

  .admin-form input,
  .admin-form select,
  .admin-form textarea,
  .admin-form button {
    padding: 12px 10px;
    border-radius: 8px;
  }

  .admin-form button {
    min-height: 44px;
    font-size: 1rem;
  }

  .upload-dropzone {
    min-height: 120px;
    padding: 12px;
  }

  .upload-dropzone-title {
    font-size: 0.9rem;
  }

  .upload-dropzone-hint {
    font-size: 0.8rem;
  }

  .upload-picker-btn {
    min-height: 44px;
    padding: 12px 14px;
    font-size: 0.95rem;
  }

  .form-status {
    padding: 10px 12px;
    font-size: 0.85rem;
  }

  .contact-card {
    padding: 12px;
  }

  .contact-mail {
    margin-bottom: 16px;
    font-size: 0.95rem;
  }

  .contact-form textarea {
    min-height: 120px;
    font-size: 1rem;
  }

  .site-footer {
    padding: 12px 16px;
    font-size: 0.8rem;
  }

  .hero-home {
    min-height: 200px;
  }

  .btn {
    padding: 10px 16px;
    font-size: 0.85rem;
    min-height: 44px;
  }

  /* Disable hover effects on touch devices */
  @supports (hover: none) {
    .nav-link:hover,
    .card:hover,
    .feature-card:hover,
    .stat-item:hover {
      transform: none;
    }
  }
}

@media (max-width: 700px) {
  .domain-checker-card {
    padding: 22px 18px;
  }

  .domain-checker-row {
    grid-template-columns: 1fr 1fr;
  }

  .domain-checker-row input {
    grid-column: 1 / -1;
  }
}

@media (max-width: 400px) {
  .domain-checker-row {
    grid-template-columns: 1fr;
  }

  .domain-checker-row input,
  .domain-checker-row select,
  .domain-checker-row button {
    grid-column: auto;
  }
}

/* Extra small phones */
@media (max-width: 360px) {
  .sidebar {
    min-height: 52px;
  }

  .hamburger-toggle {
    width: 28px;
    height: 28px;
    gap: 3px;
  }

  .hamburger-toggle span {
    width: 18px;
    height: 2px;
  }

  .content {
    padding: 8px;
  }

  .hero {
    padding: 8px;
  }

  .card {
    padding: 8px;
  }

  .stats {
    gap: 6px;
  }

  .stat-item {
    padding: 10px;
  }
}

/* Landscape orientation on small devices */
@media (max-height: 600px) and (orientation: landscape) {
  .sidebar {
    min-height: 52px;
  }

  .nav-link {
    padding: 8px 12px;
    min-height: auto;
  }

  .content {
    padding: 12px;
    gap: 8px;
  }

  .hero {
    padding: 12px;
  }

  .hero h2 {
    margin-bottom: 4px;
  }
}

/* Print styles */
@media print {
  .sidebar,
  .hamburger-toggle,
  .site-footer {
    display: none;
  }

  .content {
    padding: 0;
  }

  * {
    box-shadow: none !important;
    text-shadow: none !important;
  }
}
