/* ===== Modern Light Design System ===== */
:root {
  --primary: #52D593;
  --primary-glow: rgba(82, 213, 147, 0.2);
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border-subtle: rgba(0, 0, 0, 0.05);
  --r: 24px;
  --wrap-max: 1200px;
}

* {
  box-sizing: border-box;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-light);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(82, 213, 147, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(82, 213, 147, 0.1) 0%, transparent 40%);
  color: var(--text-main);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ===== Typography ===== */
h1, h2, .bubble {
  font-family: 'Patrick Hand', cursive;
}

/* ===== Wrapper ===== */
.wrap {
  width: min(92vw, var(--wrap-max));
  margin: 40px auto;
}

/* ===== Header (Premium White) ===== */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 30px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
  margin-bottom: 40px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2.5px solid var(--primary);
  object-fit: cover;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.brand {
  margin: 0;
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: 1px;
  color: var(--text-main);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-right a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: transparent;
  transition: all 0.2s ease;
}

.header-right a:hover {
  background: rgba(0, 0, 0, 0.03);
  transform: translateY(-2px);
}

.header-right .icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  opacity: 0.7;
  filter: grayscale(100%);
}

.header-right a:hover .icon {
  opacity: 1;
  filter: grayscale(0%);
}

/* ===== Hero Section ===== */
.section-two {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
}

.hero-container {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 40px;
  animation: float 5s ease-in-out infinite;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.1));
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(1deg); }
}

.bubble {
  background: var(--bg-card);
  border: 2px solid var(--primary);
  border-radius: var(--r);
  padding: 35px;
  font-size: clamp(22px, 3vw, 42px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
  position: relative;
}

.bubble span {
  color: var(--primary);
  font-weight: bold;
}

/* ===== CA Card ===== */
.ca-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r);
  padding: 22px;
  text-align: center;
  margin-bottom: 60px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.ca-card:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 15px -3px rgba(82, 213, 147, 0.2);
}

.ca-card::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(82, 213, 147, 0.1), transparent);
  animation: sweep 4s infinite;
}

@keyframes sweep {
  0% { left: -100%; }
  30% { left: 100%; }
  100% { left: 100%; }
}

.ca-label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 2px;
  margin-bottom: 8px;
  font-weight: 600;
}

#ca-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: clamp(16px, 2vw, 22px);
  color: var(--text-main);
}

/* ===== Meme Board ===== */
.section-title {
  text-align: center;
  font-size: 42px;
  color: var(--text-main);
  margin-bottom: 35px;
}

.meme-frame {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r);
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.meme-board {
  column-count: 4;
  column-gap: 20px;
}

.meme-board img {
  width: 100%;
  border-radius: 14px;
  margin-bottom: 20px;
  break-inside: avoid;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.meme-board img:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 12px 20px rgba(0,0,0,0.08);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .section-two { grid-template-columns: 1fr; text-align: center; }
  .hero-img { max-width: 240px; }
  .meme-board { column-count: 3; }
}

@media (max-width: 600px) {
  .header { flex-direction: column; gap: 15px; padding: 20px; }
  .meme-board { column-count: 2; }
}

/* ===== Footer ===== */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0;
  margin-top: 80px;
}

.footer-content {
  width: min(92vw, var(--wrap-max));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-content p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-main);
  font-size: 14px;
  font-weight: 600;
}

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

@media (max-width: 600px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}
