/* ============================================
   澳门彩 - 色彩艺术与视觉设计灵感平台
   波普艺术色彩爆炸风（Pop Art Color Explosion）
   CSS前缀: ac-
   ============================================ */

/* === Font Faces === */
@font-face {
  font-family: 'Bebas Neue';
  src: url('../fonts/bebas-neue/BebasNeue-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans SC';
  src: url('../fonts/noto-sans-sc/NotoSansCJKsc-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans SC';
  src: url('../fonts/noto-sans-sc/NotoSansCJKsc-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* === CSS Variables === */
:root {
  --ac-primary: #FF005C;
  --ac-secondary: #F7B500;
  --ac-accent: #00D1FF;
  --ac-highlight: #9BFF00;
  --ac-bg: #120022;
  --ac-text: #FFFFFF;
  --ac-text-secondary: #E0E0E0;
  --ac-gold: #FFD700;
  --ac-silver: #C0C0C0;
  --ac-bronze: #CD7F32;
  --ac-shadow: 8px 8px 0px #F7B500;
  --ac-font-heading: 'Bebas Neue', 'Arial Black', sans-serif;
  --ac-font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

/* === Reset & Base === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--ac-font-body);
  background-color: var(--ac-bg);
  color: var(--ac-text);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--ac-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--ac-primary);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ac-font-heading);
  line-height: 1.2;
  letter-spacing: 1px;
}

/* === Container === */
.ac-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* === Navigation === */
.ac-nav {
  background-color: var(--ac-bg);
  border-bottom: 4px solid var(--ac-primary);
  padding: 0 20px;
  position: relative;
  z-index: 1000;
}

.ac-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.ac-logo {
  font-family: var(--ac-font-heading);
  font-size: 2.5rem;
  color: var(--ac-text);
  text-decoration: none;
  letter-spacing: 2px;
}

.ac-logo-c {
  color: var(--ac-primary);
}

.ac-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.ac-nav-links a {
  color: var(--ac-text);
  font-family: var(--ac-font-body);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 3px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.ac-nav-links a:hover,
.ac-nav-links a.ac-active {
  color: var(--ac-primary);
  border-bottom-color: var(--ac-primary);
}

.ac-nav-cta {
  background-color: var(--ac-primary);
  color: var(--ac-text);
  padding: 10px 20px;
  font-family: var(--ac-font-body);
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.ac-nav-cta:hover {
  box-shadow: var(--ac-shadow);
  color: var(--ac-text);
}

/* Hamburger Menu */
.ac-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.ac-hamburger span {
  width: 28px;
  height: 3px;
  background-color: var(--ac-text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.ac-hamburger.ac-open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.ac-hamburger.ac-open span:nth-child(2) {
  opacity: 0;
}

.ac-hamburger.ac-open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

.ac-mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(18, 0, 34, 0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.ac-mobile-menu.ac-open {
  display: flex;
}

.ac-mobile-menu a {
  color: var(--ac-text);
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ac-mobile-menu a:hover {
  color: var(--ac-primary);
}

/* === Hero Banner === */
.ac-hero {
  min-height: 100vh;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.ac-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(18,0,34,0.7) 0%, rgba(18,0,34,0.85) 100%);
  z-index: 1;
}

.ac-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 40px 20px;
}

.ac-hero-badge {
  display: inline-block;
  background-color: var(--ac-secondary);
  color: var(--ac-bg);
  font-family: var(--ac-font-body);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 20px;
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.ac-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.ac-hero-gradient {
  background: linear-gradient(90deg, var(--ac-accent), var(--ac-highlight));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ac-hero-subtitle {
  color: var(--ac-text-secondary);
  font-size: 1rem;
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.8;
}

.ac-hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.ac-btn-primary {
  background-color: var(--ac-primary);
  color: var(--ac-text);
  padding: 14px 32px;
  font-family: var(--ac-font-body);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.ac-btn-primary:hover {
  box-shadow: var(--ac-shadow);
  transform: translate(-2px, -2px);
  color: var(--ac-text);
}

.ac-btn-outline {
  background-color: transparent;
  color: var(--ac-primary);
  padding: 14px 32px;
  font-family: var(--ac-font-body);
  font-weight: 700;
  font-size: 1rem;
  border: 3px solid var(--ac-primary);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.ac-btn-outline:hover {
  background-color: var(--ac-primary);
  color: var(--ac-text);
}

.ac-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 32px;
  border-top: 2px solid rgba(255, 0, 92, 0.3);
}

.ac-stat-number {
  font-family: var(--ac-font-heading);
  font-size: 2.5rem;
  color: var(--ac-primary);
}

.ac-stat-label {
  font-size: 0.85rem;
  color: var(--ac-text-secondary);
  margin-top: 4px;
}

/* === Section Common === */
.ac-section {
  padding: 80px 0;
}

.ac-section-header {
  text-align: center;
  margin-bottom: 48px;
}

.ac-section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.ac-section-header p {
  color: var(--ac-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.ac-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--ac-primary), var(--ac-secondary));
  margin: 16px auto;
}

/* === Palette Cards === */
.ac-palette-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.ac-palette-featured {
  grid-row: span 2;
}

.ac-palette-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 0, 92, 0.2);
  padding: 24px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ac-palette-card:hover {
  box-shadow: var(--ac-shadow);
  transform: translate(-4px, -4px);
}

.ac-palette-name {
  font-family: var(--ac-font-heading);
  font-size: 1.5rem;
  margin-bottom: 8px;
  transition: color 0.2s ease;
}

.ac-palette-card:hover .ac-palette-name {
  color: var(--ac-primary);
}

.ac-palette-desc {
  color: var(--ac-text-secondary);
  font-size: 0.9rem;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ac-color-swatches {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.ac-swatch {
  width: 40px;
  height: 40px;
  position: relative;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.ac-swatch:hover {
  transform: scale(1.2);
}

.ac-swatch-code {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.ac-swatch:hover .ac-swatch-code {
  opacity: 1;
}

.ac-palette-likes {
  color: var(--ac-primary);
  font-size: 0.9rem;
}

.ac-palette-likes svg {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin-right: 4px;
}

/* === Video Section === */
.ac-video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ac-video-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 0, 92, 0.2);
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.2s ease;
}

.ac-video-card:hover {
  box-shadow: var(--ac-shadow);
}

.ac-video-wrapper {
  position: relative;
}

.ac-video-wrapper video {
  width: 100%;
  display: block;
}

.ac-video-duration {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(18, 0, 34, 0.8);
  color: var(--ac-text);
  font-size: 0.75rem;
  padding: 4px 8px;
  font-family: var(--ac-font-heading);
}

.ac-video-info {
  padding: 16px;
}

.ac-video-title {
  font-family: var(--ac-font-heading);
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.ac-video-desc {
  color: var(--ac-text-secondary);
  font-size: 0.85rem;
}

/* === Leaderboard === */
.ac-leaderboard-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: start;
}

.ac-podium {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
  padding-top: 40px;
}

.ac-podium-item {
  text-align: center;
}

.ac-podium-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--ac-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ac-font-heading);
  font-size: 1.5rem;
  margin: 0 auto 8px;
}

.ac-podium-bar {
  width: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ac-font-heading);
  font-size: 1.2rem;
  color: var(--ac-bg);
}

.ac-podium-name {
  font-size: 0.85rem;
  margin-top: 8px;
}

.ac-rank-table {
  width: 100%;
  border-collapse: collapse;
}

.ac-rank-table th {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 2px solid var(--ac-primary);
  font-family: var(--ac-font-heading);
  font-size: 1rem;
  color: var(--ac-secondary);
}

.ac-rank-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

.ac-rank-table tr:hover {
  background-color: rgba(255, 0, 92, 0.1);
}

.ac-trend-up {
  color: var(--ac-primary);
}

/* === Tools Grid === */
.ac-tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.ac-tool-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 0, 92, 0.2);
  padding: 24px;
  text-align: center;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ac-tool-card:hover {
  box-shadow: var(--ac-shadow);
  transform: translate(-4px, -4px);
}

.ac-tool-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--ac-primary), var(--ac-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ac-font-heading);
  font-size: 1.5rem;
}

.ac-tool-name {
  font-family: var(--ac-font-heading);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.ac-tool-desc {
  color: var(--ac-text-secondary);
  font-size: 0.85rem;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ac-stars {
  color: var(--ac-secondary);
  margin-bottom: 16px;
  font-size: 1rem;
}

.ac-btn-small {
  background-color: var(--ac-primary);
  color: var(--ac-text);
  padding: 8px 20px;
  font-family: var(--ac-font-body);
  font-weight: 700;
  font-size: 0.85rem;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.2s ease;
  display: inline-block;
  text-decoration: none;
}

.ac-btn-small:hover {
  box-shadow: 4px 4px 0px var(--ac-secondary);
  color: var(--ac-text);
}

/* === Member Section === */
.ac-member-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.ac-member-image img {
  width: 100%;
  box-shadow: var(--ac-shadow);
}

.ac-form-group {
  margin-bottom: 20px;
}

.ac-form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.ac-form-group input,
.ac-form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 0, 92, 0.3);
  color: var(--ac-text);
  font-family: var(--ac-font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}

.ac-form-group input:focus,
.ac-form-group textarea:focus {
  outline: none;
  border-color: var(--ac-primary);
}

.ac-form-group textarea {
  min-height: 100px;
  resize: vertical;
}

/* === Prediction Section === */
.ac-prediction-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 32px;
}

.ac-prediction-option {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.ac-prediction-option:hover {
  transform: scale(1.1);
}

.ac-prediction-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 8px;
  border: 3px solid transparent;
  transition: border-color 0.2s ease;
}

.ac-prediction-option:hover .ac-prediction-circle {
  border-color: var(--ac-text);
}

.ac-prediction-percent {
  font-family: var(--ac-font-heading);
  font-size: 1.1rem;
  color: var(--ac-secondary);
}

.ac-prediction-label {
  font-size: 0.8rem;
  color: var(--ac-text-secondary);
}

/* === Articles Grid === */
.ac-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ac-article-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 0, 92, 0.2);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ac-article-card:hover {
  box-shadow: var(--ac-shadow);
  transform: translate(-4px, -4px);
}

.ac-article-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.ac-article-body {
  padding: 20px;
}

.ac-article-title {
  font-family: var(--ac-font-heading);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.ac-article-excerpt {
  color: var(--ac-text-secondary);
  font-size: 0.85rem;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ac-article-meta {
  font-size: 0.8rem;
  color: var(--ac-accent);
}

/* === Gallery === */
.ac-gallery-grid {
  columns: 3;
  column-gap: 20px;
}

.ac-gallery-item {
  break-inside: avoid;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(255, 0, 92, 0.2);
  transition: box-shadow 0.2s ease;
}

.ac-gallery-item:hover {
  box-shadow: var(--ac-shadow);
}

.ac-gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.3s ease;
}

.ac-gallery-item:hover img {
  transform: scale(1.05);
}

.ac-gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 16px;
  background: linear-gradient(transparent, rgba(18, 0, 34, 0.9));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ac-gallery-item:hover .ac-gallery-overlay {
  opacity: 1;
}

.ac-gallery-title {
  font-family: var(--ac-font-heading);
  font-size: 1.1rem;
}

.ac-gallery-author {
  font-size: 0.8rem;
  color: var(--ac-text-secondary);
}

/* === Partners === */
.ac-partners-section {
  background-color: rgba(255, 255, 255, 0.03);
  border-top: 4px solid var(--ac-primary);
}

.ac-partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.ac-partner-logo {
  font-family: var(--ac-font-heading);
  font-size: 1.2rem;
  color: var(--ac-text-secondary);
  padding: 16px 24px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.ac-partner-logo:hover {
  border-color: var(--ac-primary);
  color: var(--ac-text);
}

.ac-honors {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.ac-honor-badge {
  text-align: center;
  padding: 20px;
  border: 2px solid var(--ac-secondary);
}

.ac-honor-icon {
  font-size: 2rem;
  margin-bottom: 8px;
  color: var(--ac-secondary);
}

.ac-honor-title {
  font-family: var(--ac-font-heading);
  font-size: 1rem;
  color: var(--ac-secondary);
}

.ac-honor-desc {
  font-size: 0.8rem;
  color: var(--ac-text-secondary);
  margin-top: 4px;
}

/* === Footer === */
.ac-footer {
  background-color: rgba(18, 0, 34, 0.95);
  border-top: 4px solid var(--ac-primary);
  padding: 60px 0 30px;
}

.ac-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.ac-footer-title {
  font-family: var(--ac-font-heading);
  font-size: 1.3rem;
  color: var(--ac-secondary);
  margin-bottom: 16px;
}

.ac-footer-links {
  list-style: none;
}

.ac-footer-links li {
  margin-bottom: 8px;
}

.ac-footer-links a {
  color: var(--ac-text-secondary);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.ac-footer-links a:hover {
  color: var(--ac-primary);
}

.ac-footer-contact p {
  color: var(--ac-text-secondary);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.ac-footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  color: var(--ac-text-secondary);
}

.ac-footer-bottom p {
  margin-bottom: 4px;
}

/* === Breadcrumb === */
.ac-breadcrumb {
  padding: 16px 0;
  font-size: 0.85rem;
}

.ac-breadcrumb a {
  color: var(--ac-text-secondary);
}

.ac-breadcrumb a:hover {
  color: var(--ac-primary);
}

.ac-breadcrumb span {
  color: var(--ac-accent);
}

/* === Page Banner === */
.ac-page-banner {
  height: 400px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.ac-page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(18,0,34,0.5) 0%, rgba(18,0,34,0.85) 100%);
}

.ac-page-banner-content {
  position: relative;
  z-index: 2;
}

.ac-page-banner h1 {
  font-size: 3rem;
  margin-bottom: 12px;
}

.ac-page-banner p {
  color: var(--ac-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* === Content Area === */
.ac-content {
  padding: 60px 0;
}

.ac-content h2 {
  font-size: 2rem;
  margin: 40px 0 16px;
  color: var(--ac-secondary);
}

.ac-content h3 {
  font-size: 1.5rem;
  margin: 32px 0 12px;
  color: var(--ac-accent);
}

.ac-content p {
  margin-bottom: 20px;
  color: var(--ac-text-secondary);
  line-height: 1.8;
}

.ac-content-image {
  margin: 24px 0;
  border: 2px solid rgba(255, 0, 92, 0.2);
}

.ac-content-image img {
  width: 100%;
}

/* === Color Lab === */
.ac-lab-layout {
  display: grid;
  grid-template-columns: 250px 1fr 280px;
  gap: 24px;
  min-height: 600px;
}

.ac-lab-palette {
  background-color: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 0, 92, 0.2);
  padding: 20px;
}

.ac-lab-preview {
  background-color: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 0, 92, 0.2);
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.ac-lab-controls {
  background-color: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 0, 92, 0.2);
  padding: 20px;
}

.ac-lab-color-list {
  list-style: none;
}

.ac-lab-color-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.ac-lab-color-preview {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.ac-lab-color-hex {
  font-family: var(--ac-font-heading);
  font-size: 0.9rem;
}

.ac-lab-preview-area {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 8px;
}

.ac-lab-preview-block {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-family: var(--ac-font-heading);
}

.ac-lab-slider-group {
  margin-bottom: 16px;
}

.ac-lab-slider-group label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 4px;
  font-weight: 700;
}

.ac-lab-slider-group input[type="range"] {
  width: 100%;
  accent-color: var(--ac-primary);
}

.ac-lab-slider-group input[type="color"] {
  width: 100%;
  height: 40px;
  border: 2px solid rgba(255, 0, 92, 0.3);
  background: none;
  cursor: pointer;
}

.ac-harmony-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.ac-harmony-btn {
  padding: 6px 12px;
  font-size: 0.75rem;
  font-family: var(--ac-font-body);
  font-weight: 700;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 0, 92, 0.3);
  color: var(--ac-text);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.ac-harmony-btn:hover,
.ac-harmony-btn.ac-active {
  background-color: var(--ac-primary);
}

/* === APP Download === */
.ac-app-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.ac-app-mockup img {
  max-width: 300px;
  margin: 0 auto;
  box-shadow: var(--ac-shadow);
}

.ac-app-buttons {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.ac-app-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 2px solid var(--ac-primary);
  color: var(--ac-text);
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.ac-app-btn:hover {
  background-color: var(--ac-primary);
  box-shadow: var(--ac-shadow);
  color: var(--ac-text);
}

.ac-app-btn-icon {
  font-size: 1.5rem;
}

/* === FAQ Section === */
.ac-faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.ac-faq-item {
  border: 2px solid rgba(255, 0, 92, 0.2);
  margin-bottom: 12px;
}

.ac-faq-question {
  padding: 16px 20px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s ease;
}

.ac-faq-question:hover {
  background-color: rgba(255, 0, 92, 0.1);
}

.ac-faq-answer {
  padding: 0 20px 16px;
  color: var(--ac-text-secondary);
  font-size: 0.9rem;
  display: none;
}

.ac-faq-item.ac-open .ac-faq-answer {
  display: block;
}

.ac-faq-toggle {
  color: var(--ac-primary);
  font-family: var(--ac-font-heading);
  font-size: 1.2rem;
}

/* === Responsive === */
@media (max-width: 1024px) {
  .ac-tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ac-leaderboard-layout {
    grid-template-columns: 1fr;
  }
  .ac-lab-layout {
    grid-template-columns: 1fr;
  }
  .ac-gallery-grid {
    columns: 2;
  }
}

@media (max-width: 768px) {
  .ac-nav-links {
    display: none;
  }
  .ac-hamburger {
    display: flex;
  }
  .ac-hero h1 {
    font-size: 2.2rem;
  }
  .ac-hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .ac-palette-grid {
    grid-template-columns: 1fr;
  }
  .ac-palette-featured {
    grid-row: auto;
  }
  .ac-video-grid {
    grid-template-columns: 1fr;
  }
  .ac-articles-grid {
    grid-template-columns: 1fr;
  }
  .ac-member-layout {
    grid-template-columns: 1fr;
  }
  .ac-app-layout {
    grid-template-columns: 1fr;
  }
  .ac-footer-grid {
    grid-template-columns: 1fr;
  }
  .ac-section-header h2 {
    font-size: 1.8rem;
  }
  .ac-page-banner h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .ac-hero h1 {
    font-size: 1.8rem;
  }
  .ac-stat-number {
    font-size: 1.8rem;
  }
  .ac-tools-grid {
    grid-template-columns: 1fr;
  }
  .ac-gallery-grid {
    columns: 1;
  }
  .ac-hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

/* === Glitch Effect === */
.ac-glitch {
  position: relative;
}

.ac-glitch:hover {
  animation: ac-glitch-anim 0.3s ease;
}

@keyframes ac-glitch-anim {
  0% { transform: translate(0); }
  20% { transform: translate(-3px, 3px); }
  40% { transform: translate(3px, -3px); }
  60% { transform: translate(-2px, 2px); }
  80% { transform: translate(2px, -2px); }
  100% { transform: translate(0); }
}

/* === SVG Divider === */
.ac-wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.ac-wave-divider svg {
  display: block;
  width: 100%;
  height: 40px;
}

/* === Inner page video === */
.ac-inner-video {
  margin: 24px 0;
  border: 2px solid rgba(255, 0, 92, 0.2);
}

.ac-inner-video video {
  width: 100%;
  display: block;
}

/* === Utility === */
.ac-text-center { text-align: center; }
.ac-text-primary { color: var(--ac-primary); }
.ac-text-secondary-color { color: var(--ac-secondary); }
.ac-text-accent { color: var(--ac-accent); }
.ac-mt-20 { margin-top: 20px; }
.ac-mb-20 { margin-bottom: 20px; }
.ac-mt-40 { margin-top: 40px; }
.ac-mb-40 { margin-bottom: 40px; }
