html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  background: #171717;
  color: #e5e5e5;
  font-size: 14px;
  min-height: 100%;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body.nutsmatch-body {
  background: linear-gradient(135deg, #171717 90%, #1e1b2e 100%);
  min-height: 100vh;
}

:root {
  --primary-bg: #171717;
  --accent: #8B5CF6;
  --card-bg: rgba(30, 27, 46, 0.95);
  --card-gradient: linear-gradient(120deg, rgba(139,92,246,0.035) 0%, rgba(23,23,23,0.98) 80%);
  --border-radius: 18px;
  --border-radius-small: 12px;
  --shadow: 0 2px 16px 0 rgba(139,92,246,0.07), 0 1.5px 8px 0 rgba(0,0,0,0.09);
  --shadow-hover: 0 4px 24px 0 rgba(139,92,246,0.12), 0 3px 12px 0 rgba(0,0,0,0.12);
  --transition: 0.22s cubic-bezier(.4,0,.2,1);
  --max-width: 1240px;
  --footer-bg: #18181c;
  --footer-gradient: linear-gradient(90deg, rgba(139,92,246,0.04) 0%, rgba(23,23,23,1) 100%);
  --input-bg: #232336;
  --input-border: #2d2d3a;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover, a:focus-visible {
  color: #c4b5fd;
}

.nutsmatch-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.nutsmatch-header {
  width: 100%;
  background: linear-gradient(90deg, #171717 90%, #22223c 100%);
  box-shadow: 0 2px 16px 0 rgba(139,92,246,0.05);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nutsmatch-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 24px 12px 24px;
}

.nutsmatch-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nutsmatch-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(139,92,246,0.08);
  background: var(--card-bg);
}

.nutsmatch-nav {
  display: flex;
  align-items: center;
}
.nutsmatch-nav-list {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nutsmatch-nav-link {
  color: #e5e5e5;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition), color var(--transition);
  font-size: 15px;
}
.nutsmatch-nav-link:hover, .nutsmatch-nav-link:focus-visible {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}

.nutsmatch-main {
  margin-top: 0;
  padding-bottom: 64px;
}

/* HERO SECTION */
.nutsmatch-hero {
  background: linear-gradient(120deg, #171717 94%, #232336 100%);
  padding: 48px 0 36px 0;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
}
.nutsmatch-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.nutsmatch-hero-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.nutsmatch-hero-col--left {
  gap: 18px;
}
.nutsmatch-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 8px 0;
  color: #fff;
  background: linear-gradient(90deg, #fff 60%, #8B5CF6 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nutsmatch-tagline {
  font-size: 1.08rem;
  margin: 0 0 18px 0;
  color: #c4b5fd;
  font-weight: 500;
}
.nutsmatch-quick-info {
  margin-bottom: 10px;
  color: #a3a3a3;
}
.nutsmatch-quick-meta, .nutsmatch-quick-stats {
  margin: 0 0 2px 0;
  font-size: 13px;
}
.nutsmatch-intro {
  margin: 18px 0 18px 0;
  color: #e5e5e5;
  line-height: 1.7;
  font-size: 14px;
  font-weight: 400;
}
.nutsmatch-hero-cta {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}
.nutsmatch-button {
  display: inline-block;
  padding: 11px 26px;
  border-radius: var(--border-radius-small);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: none;
  outline: none;
  cursor: pointer;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 12px 0 rgba(139,92,246,0.10);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  position: relative;
  z-index: 1;
}
.nutsmatch-button--primary {
  background: linear-gradient(90deg, #8B5CF6 80%, #7c3aed 100%);
  color: #fff;
}
.nutsmatch-button--primary:hover, .nutsmatch-button--primary:focus-visible {
  background: #fff;
  color: var(--accent);
  box-shadow: var(--shadow-hover);
}
.nutsmatch-button--ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  box-shadow: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.nutsmatch-button--ghost:hover, .nutsmatch-button--ghost:focus-visible {
  background: var(--accent);
  color: #fff;
  border-color: #fff;
}

.nutsmatch-hero-col--right {
  align-items: flex-end;
}
.nutsmatch-hero-media {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  min-width: 0;
}
.nutsmatch-hero-img {
  width: 330px;
  max-width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  background: var(--card-bg);
  aspect-ratio: 1/1.2;
}
.nutsmatch-hero-robot {
  position: absolute;
  right: -32px;
  bottom: -22px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  box-shadow: 0 2px 16px 0 rgba(139,92,246,0.18);
  background: var(--card-bg);
  object-fit: cover;
  z-index: 2;
}

.nutsmatch-hero-links {
  display: flex;
  gap: 32px;
  margin: 36px 0 0 0;
  padding: 0 24px;
  max-width: var(--max-width);
}
.nutsmatch-hero-link {
  font-size: 15px;
  color: #c4b5fd;
  font-weight: 500;
  position: relative;
  padding-bottom: 2px;
  transition: color var(--transition);
}
.nutsmatch-hero-link:hover, .nutsmatch-hero-link:focus-visible {
  color: #fff;
}
.nutsmatch-hero-link::after {
  content: '';
  display: block;
  margin: 0 auto;
  width: 0%;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: width var(--transition);
}
.nutsmatch-hero-link:hover::after, .nutsmatch-hero-link:focus-visible::after {
  width: 100%;
}

/* SECTION STYLES */
.nutsmatch-section {
  margin: 48px 0 0 0;
  padding: 0;
  background: none;
}
.nutsmatch-section-title {
  font-size: 1.6rem;
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 32px 0;
  background: linear-gradient(90deg, #fff 70%, #8B5CF6 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nutsmatch-block, .nutsmatch-feature, .nutsmatch-faq-item {
  background: var(--card-gradient), var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 28px 26px 22px 26px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.nutsmatch-subtitle {
  font-size: 1.08rem;
  font-weight: 600;
  color: #c4b5fd;
  margin: 0 0 10px 0;
  letter-spacing: -0.01em;
}
.nutsmatch-subsubtitle {
  font-size: 1rem;
  font-weight: 500;
  color: #a3a3a3;
  margin: 18px 0 6px 0;
  letter-spacing: -0.01em;
}

.nutsmatch-list {
  list-style: none;
  margin: 0 0 0 0;
  padding: 0;
}
.nutsmatch-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: #e5e5e5;
  line-height: 1.6;
}
.nutsmatch-list li::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 7px;
  opacity: 0.7;
}
.nutsmatch-ordered-list {
  margin: 0 0 0 0;
  padding-left: 20px;
  color: #e5e5e5;
  line-height: 1.7;
}
.nutsmatch-ordered-list li {
  margin-bottom: 8px;
  font-weight: 400;
}

/* TWO-COL & GRID */
.nutsmatch-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.nutsmatch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

/* MEDIA ROW */
.nutsmatch-media-row {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 32px 0 0 0;
}
.nutsmatch-media-img {
  max-width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  background: var(--card-bg);
}

/* FEATURES GRID */
.nutsmatch-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 32px;
}
.nutsmatch-feature {
  background: var(--card-gradient), var(--card-bg);
  border-radius: var(--border-radius-small);
  box-shadow: var(--shadow);
  padding: 22px 20px 18px 20px;
  transition: box-shadow var(--transition), transform var(--transition);
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.nutsmatch-feature:hover, .nutsmatch-feature:focus-within {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px) scale(1.018);
}
.nutsmatch-feature-title {
  font-size: 1.06rem;
  font-weight: 600;
  color: #c4b5fd;
  margin: 0 0 8px 0;
}

/* SCREENSHOTS GRID */
.nutsmatch-ss-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 32px;
}
.nutsmatch-ss-item {
  background: var(--card-gradient), var(--card-bg);
  border-radius: var(--border-radius-small);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 8px 10px 8px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.nutsmatch-ss-item:hover, .nutsmatch-ss-item:focus-within {
  box-shadow: var(--shadow-hover);
  transform: translateY(-1.5px) scale(1.013);
}
.nutsmatch-ss-img {
  width: 100%;
  max-width: 220px;
  max-height: 160px;
  object-fit: cover;
  border-radius: 11px;
  box-shadow: 0 2px 8px 0 rgba(139,92,246,0.10);
  margin-bottom: 10px;
  background: #232336;
}
.nutsmatch-ss-caption {
  color: #a3a3a3;
  font-size: 13px;
  text-align: center;
  margin: 0;
}

/* FAQ */
.nutsmatch-faq-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
}
.nutsmatch-faq-item {
  min-height: 120px;
}
.nutsmatch-faq-q {
  font-size: 1.03rem;
  font-weight: 600;
  color: #c4b5fd;
  margin: 0 0 8px 0;
}
.nutsmatch-faq-a {
  color: #e5e5e5;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

/* FOOTER */
.nutsmatch-footer {
  background: var(--footer-gradient), var(--footer-bg);
  color: #a3a3a3;
  padding: 44px 0 0 0;
  margin-top: 48px;
  box-shadow: 0 -2px 16px 0 rgba(139,92,246,0.07);
}
.nutsmatch-footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 46px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  justify-content: space-between;
}
.nutsmatch-footer-col {
  flex: 1 1 200px;
  min-width: 180px;
  max-width: 270px;
  margin-bottom: 22px;
}
.nutsmatch-footer-logo img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: #232336;
  box-shadow: 0 2px 8px 0 rgba(139,92,246,0.08);
  margin-bottom: 10px;
}
.nutsmatch-footer-desc {
  font-size: 13px;
  color: #a3a3a3;
  margin: 0 0 12px 0;
  line-height: 1.7;
}
.nutsmatch-footer-title {
  font-size: 1rem;
  font-weight: 600;
  color: #c4b5fd;
  margin: 0 0 10px 0;
}
.nutsmatch-footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nutsmatch-footer-list li {
  margin-bottom: 8px;
}
.nutsmatch-footer-list a {
  color: #e5e5e5;
  font-size: 14px;
  transition: color var(--transition);
}
.nutsmatch-footer-list a:hover, .nutsmatch-footer-list a:focus-visible {
  color: var(--accent);
}
.nutsmatch-footer-bottom {
  border-top: 1px solid rgba(139,92,246,0.09);
  text-align: center;
  font-size: 12px;
  color: #7c7c8a;
  margin-top: 22px;
  padding: 14px 0 12px 0;
}

/* COOKIE BANNER */
.nutsmatch-cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 99;
  display: none;
  justify-content: center;
  align-items: flex-end;
  pointer-events: none;
}
.nutsmatch-cookie-inner {
  background: var(--card-gradient), var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 18px 28px 16px 28px;
  display: flex;
  align-items: center;
  gap: 24px;
  pointer-events: all;
  max-width: 420px;
  margin: 0 auto;
}
.nutsmatch-cookie p {
  margin: 0;
  color: #e5e5e5;
  font-size: 14px;
}
.nutsmatch-cookie-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* CONTENT LIST (long) */
.nutsmatch-content-list {
  background: var(--card-gradient), var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 32px 32px 22px 32px;
  margin: 0 0 32px 0;
  list-style: none;
}
.nutsmatch-content-list li {
  padding-left: 22px;
  margin-bottom: 12px;
  color: #e5e5e5;
  position: relative;
  line-height: 1.7;
}
.nutsmatch-content-list li::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 7px;
  opacity: 0.7;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1100px) {
  .nutsmatch-hero-grid,
  .nutsmatch-two-col,
  .nutsmatch-grid,
  .nutsmatch-features-grid,
  .nutsmatch-ss-grid,
  .nutsmatch-faq-list {
    grid-template-columns: 1fr 1fr;
  }
  .nutsmatch-ss-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .nutsmatch-footer-inner {
    gap: 28px;
  }
}

@media (max-width: 850px) {
  .nutsmatch-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .nutsmatch-hero-col--right {
    align-items: center;
    margin-top: 12px;
  }
  .nutsmatch-hero-media {
    justify-content: center;
  }
  .nutsmatch-hero-robot {
    right: -14px;
    bottom: -16px;
    width: 68px;
    height: 68px;
  }
  .nutsmatch-two-col,
  .nutsmatch-grid,
  .nutsmatch-features-grid,
  .nutsmatch-faq-list {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .nutsmatch-ss-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nutsmatch-footer-inner {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .nutsmatch-header-inner {
    flex-direction: column;
    gap: 14px;
    padding: 14px 12px 8px 12px;
  }
  .nutsmatch-nav-list {
    gap: 18px;
  }
  .nutsmatch-hero {
    padding: 32px 0 22px 0;
  }
  .nutsmatch-hero-links {
    gap: 18px;
    padding: 0 12px;
    margin-top: 22px;
  }
  .nutsmatch-section-title {
    font-size: 1.13rem;
    margin-bottom: 22px;
  }
  .nutsmatch-block, .nutsmatch-feature, .nutsmatch-faq-item, .nutsmatch-content-list {
    padding: 16px 10px 12px 12px;
    border-radius: 10px;
  }
  .nutsmatch-media-img {
    max-height: 180px;
    border-radius: 10px;
  }
  .nutsmatch-ss-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .nutsmatch-ss-img {
    max-width: 100%;
    max-height: 120px;
    border-radius: 8px;
  }
  .nutsmatch-footer {
    padding: 22px 0 0 0;
  }
  .nutsmatch-footer-col {
    max-width: 100%;
    min-width: 0;
    margin-bottom: 14px;
  }
  .nutsmatch-footer-inner {
    padding: 0 10px;
  }
  .nutsmatch-cookie-inner {
    padding: 10px 12px 10px 12px;
    border-radius: 8px;
    max-width: 98vw;
  }
}

/* SCROLLBAR */
::-webkit-scrollbar {
  width: 10px;
  background: #232336;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(120deg, #232336 80%, #8B5CF6 100%);
  border-radius: 8px;
  min-height: 40px;
}

/* SELECTION */
::selection {
  background: #8B5CF6;
  color: #fff;
}