:root {
  --xyf5-primary: #944375;
  --xyf5-accent: #14a2a9;
  --xyf5-bg: #f5f6f8;
  --xyf5-surface: #ffffff;
  --xyf5-surface-glass: rgba(255, 255, 255, 0.75);
  --xyf5-text-main: #1e2022;
  --xyf5-text-mut: #687076;
  --xyf5-border: #e6e8eb;
  --xyf5-radius: 20px 4px 20px 4px;
  --xyf5-radius-sm: 12px 4px 12px 4px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--xyf5-bg);
  color: var(--xyf5-text-main);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, .xyf5-logo, .xyf5-footer-logo {
  font-family: 'Sora', sans-serif;
  color: var(--xyf5-primary);
}

.xyf5-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.xyf5-header {
  background: var(--xyf5-surface);
  border-bottom: 1px solid var(--xyf5-border);
  padding: 16px 0;
}
.xyf5-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.xyf5-logo {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.xyf5-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.xyf5-nav-link {
  text-decoration: none;
  color: var(--xyf5-text-main);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
}
.xyf5-nav-link:hover {
  color: var(--xyf5-accent);
}

/* Ticker */
.xyf5-ticker-wrap {
  background: var(--xyf5-primary);
  color: #fff;
  padding: 8px 0;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.xyf5-ticker-track {
  display: inline-flex;
  white-space: nowrap;
  animation: xyf5-scroll 30s linear infinite;
  gap: 40px;
}
.xyf5-ticker-item {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.xyf5-ticker-item:hover {
  text-decoration: underline;
}
@keyframes xyf5-scroll {
  0% { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}

/* Hero */
.xyf5-hero {
  padding: 60px 0;
}
.xyf5-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.xyf5-hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 16px;
}
.xyf5-hero-title span {
  color: var(--xyf5-accent);
}
.xyf5-hero-slogan {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--xyf5-text-mut);
  margin-bottom: 24px;
}
.xyf5-hero-desc {
  font-size: 1rem;
  margin-bottom: 32px;
  max-width: 480px;
}
.xyf5-hero-img-wrap {
  width: 100%;
}
.xyf5-hero-img {
  width: 100%;
  height: auto;
  border-radius: var(--xyf5-radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  object-fit: cover;
}

/* Stats */
.xyf5-stats {
  padding: 20px 0 40px;
}
.xyf5-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.xyf5-stat-card {
  background: var(--xyf5-surface);
  padding: 24px;
  border-radius: var(--xyf5-radius-sm);
  text-align: center;
  border: 1px solid var(--xyf5-border);
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.xyf5-stat-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--xyf5-accent);
  font-family: 'Sora', sans-serif;
}
.xyf5-stat-label {
  font-size: 14px;
  color: var(--xyf5-text-mut);
  margin-top: 8px;
  font-weight: 500;
}

/* Sections */
.xyf5-section-title {
  font-size: 1.75rem;
  margin-bottom: 24px;
  text-align: center;
}

/* Gallery / Wall */
.xyf5-gallery {
  padding: 40px 0;
}
.xyf5-filter-scroll {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 30px;
  -webkit-overflow-scrolling: touch;
}
.xyf5-filter-chips {
  display: flex;
  gap: 12px;
  justify-content: center;
  min-width: max-content;
  margin: 0 auto;
  padding-bottom: 10px;
}
.xyf5-chip {
  background: var(--xyf5-surface);
  border: 1px solid var(--xyf5-border);
  padding: 8px 20px;
  border-radius: var(--xyf5-radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--xyf5-text-main);
}
.xyf5-chip:hover, .xyf5-chip-active {
  background: var(--xyf5-primary);
  color: #fff;
  border-color: var(--xyf5-primary);
}

.xyf5-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}
.xyf5-glass-card {
  display: flex;
  flex-direction: column;
  background: var(--xyf5-surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--xyf5-border);
  border-radius: var(--xyf5-radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.xyf5-glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}
.xyf5-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.xyf5-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.xyf5-glass-card:hover .xyf5-card-img {
  transform: scale(1.05);
}
.xyf5-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--xyf5-accent);
  color: #fff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 600;
}
.xyf5-card-content {
  padding: 16px;
}
.xyf5-card-title {
  font-size: 16px;
  margin-bottom: 4px;
  color: var(--xyf5-text-main);
}
.xyf5-card-sub {
  font-size: 13px;
  color: var(--xyf5-text-mut);
}

/* Features & Steps */
.xyf5-features, .xyf5-steps, .xyf5-payments {
  padding: 40px 0;
}
.xyf5-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.xyf5-feature-card {
  background: var(--xyf5-surface);
  border: 1px solid var(--xyf5-border);
  padding: 24px;
  border-radius: var(--xyf5-radius);
}
.xyf5-feature-title {
  font-size: 18px;
  margin-bottom: 12px;
}
.xyf5-feature-desc {
  font-size: 15px;
  color: var(--xyf5-text-mut);
}
.xyf5-steps-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  counter-reset: xyf5-step;
}
.xyf5-step-item {
  position: relative;
  padding: 24px;
  background: var(--xyf5-surface);
  border-radius: var(--xyf5-radius-sm);
  border: 1px solid var(--xyf5-border);
}
.xyf5-step-num {
  width: 40px;
  height: 40px;
  background: var(--xyf5-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
}
.xyf5-step-title {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--xyf5-text-main);
}
.xyf5-step-desc {
  font-size: 14px;
  color: var(--xyf5-text-mut);
}

/* Payments */
.xyf5-payment-desc {
  text-align: center;
  margin-bottom: 24px;
  font-size: 15px;
  color: var(--xyf5-text-mut);
}
.xyf5-payment-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.xyf5-pay-tag {
  background: var(--xyf5-surface);
  padding: 10px 20px;
  border: 1px solid var(--xyf5-border);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--xyf5-text-main);
}

/* Article */
.xyf5-article {
  background: var(--xyf5-surface);
  padding: 40px;
  border-radius: var(--xyf5-radius);
  margin: 40px auto;
  border: 1px solid var(--xyf5-border);
}
.xyf5-article h2 {
  font-size: 1.75rem;
  margin: 1.5em 0 0.5em;
}
.xyf5-article h3 {
  font-size: 1.4rem;
  color: var(--xyf5-accent);
  margin: 1.5em 0 0.5em;
}
.xyf5-article p {
  font-size: 16px;
  margin-bottom: 1em;
  color: var(--xyf5-text-main);
}
.xyf5-article ul, .xyf5-article ol {
  margin: 1em 0;
  padding-left: 1.5em;
  font-size: 16px;
}
.xyf5-article li {
  margin-bottom: 0.5em;
}
.xyf5-article table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  overflow-x: auto;
  display: block;
}
.xyf5-article th, .xyf5-article td {
  border: 1px solid var(--xyf5-border);
  padding: 12px;
  font-size: 15px;
  text-align: left;
}
.xyf5-article th {
  background: var(--xyf5-primary);
  color: #fff;
}
.xyf5-article blockquote {
  border-left: 4px solid var(--xyf5-accent);
  padding-left: 16px;
  margin: 1.5em 0;
  font-style: italic;
  color: var(--xyf5-text-mut);
}
.xyf5-article img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Page Elements */
.xyf5-crumbs {
  padding: 20px 0;
  font-size: 14px;
  color: var(--xyf5-text-mut);
}
.xyf5-crumb-link {
  color: var(--xyf5-primary);
  text-decoration: none;
}
.xyf5-crumb-link:hover {
  text-decoration: underline;
}
.xyf5-crumb-sep {
  margin: 0 8px;
  color: var(--xyf5-text-mut);
}
.xyf5-page-header {
  margin: 20px auto 40px;
  text-align: center;
}
.xyf5-page-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 12px;
}
.xyf5-meta-desc {
  font-size: 16px;
  color: var(--xyf5-text-mut);
  max-width: 600px;
  margin: 0 auto;
}

/* FAQ */
.xyf5-faq-wrap {
  margin: 40px auto;
}
.xyf5-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}
.xyf5-faq-item {
  background: var(--xyf5-surface);
  border: 1px solid var(--xyf5-border);
  border-radius: var(--xyf5-radius-sm);
  overflow: hidden;
}
.xyf5-faq-q {
  padding: 16px 20px;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  color: var(--xyf5-primary);
  cursor: pointer;
  list-style: none;
  position: relative;
  font-size: 16px;
}
.xyf5-faq-q::-webkit-details-marker {
  display: none;
}
.xyf5-faq-q::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
}
.xyf5-faq-item[open] .xyf5-faq-q::after {
  content: '-';
}
.xyf5-faq-a {
  padding: 0 20px 20px;
  font-size: 15px;
  color: var(--xyf5-text-mut);
}

/* Pager */
.xyf5-pager {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--xyf5-border);
  padding: 24px 0;
  margin-top: 20px;
}
.xyf5-pager-link {
  background: var(--xyf5-surface);
  border: 1px solid var(--xyf5-border);
  padding: 10px 20px;
  border-radius: var(--xyf5-radius-sm);
  text-decoration: none;
  color: var(--xyf5-primary);
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s;
}
.xyf5-pager-link:hover {
  background: var(--xyf5-primary);
  color: #fff;
}

/* Related */
.xyf5-related {
  padding: 40px 0;
  background: var(--xyf5-surface);
  border-top: 1px solid var(--xyf5-border);
}

/* Footer */
.xyf5-footer {
  background: var(--xyf5-surface);
  border-top: 1px solid var(--xyf5-border);
  padding: 60px 0 30px;
  margin-top: 40px;
}
.xyf5-footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}
.xyf5-footer-logo {
  font-size: 24px;
  margin-bottom: 12px;
}
.xyf5-footer-tagline {
  font-size: 14px;
  color: var(--xyf5-text-mut);
}
.xyf5-footer-links a {
  display: block;
  color: var(--xyf5-text-main);
  text-decoration: none;
  margin-bottom: 8px;
  font-size: 15px;
}
.xyf5-footer-links a:hover {
  color: var(--xyf5-accent);
}
.xyf5-footer-legal {
  grid-column: 1 / -1;
  text-align: center;
  border-top: 1px solid var(--xyf5-border);
  padding-top: 24px;
  font-size: 13px;
  color: var(--xyf5-text-mut);
}
.xyf5-footer-legal p {
  margin-bottom: 8px;
}

/* Animation Base */
.xyf5-anim-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.xyf5-in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
  .xyf5-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .xyf5-hero-desc {
    margin: 0 auto 32px;
  }
  .xyf5-gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}

@media (max-width: 620px) {
  .xyf5-header-inner {
    flex-direction: column;
    text-align: center;
  }
  .xyf5-nav {
    justify-content: center;
  }
  .xyf5-hero-title {
    font-size: 2rem;
  }
  .xyf5-gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
  .xyf5-article {
    padding: 24px 16px;
  }
  .xyf5-filter-chips {
    justify-content: flex-start;
  }
}
