@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&family=DM+Sans:wght@400;500;600;700;800&display=swap');

:root {
  font-family: 'DM Sans', sans-serif;
  color: #253b29;
  background: #54764a;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --olive: #91ad68;
  --olive-deep: #42613b;
  --forest: #294b32;
  --yellow: #f2d34d;
  --paper: #f8f8ef;
}
* { box-sizing: border-box; }
html { min-width: 320px; min-height: 100%; background: #54764a; }
body {
  margin: 0; min-width: 320px; min-height: 100svh;
  background: radial-gradient(ellipse at 8% 6%, rgba(222,239,171,.35), transparent 29rem), radial-gradient(ellipse at 94% 89%, rgba(26,62,38,.35), transparent 30rem), linear-gradient(150deg,#648550 0%,#4f7145 100%);
}
a { color: inherit; -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
#app { min-height: 100svh; display: flex; justify-content: center; padding: 0; }
.landing-card {
  position: relative; isolation: isolate; width: min(100%,470px); min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; padding: clamp(24px,4.5vh,42px) 30px 22px; overflow: hidden;
  background: radial-gradient(ellipse at 52% 0%, rgba(255,255,235,.7), transparent 31%), linear-gradient(160deg,#c0d58d 0%,#afc77d 52%,#94ad6e 100%);
  box-shadow: 0 0 56px rgba(24,49,28,.22);
}
.landing-card::before { content:''; position:absolute; z-index:-2; inset:0; pointer-events:none; opacity:.12; background-image:radial-gradient(rgba(255,255,255,.95) .8px,transparent .8px); background-size:19px 19px; mask-image:linear-gradient(to bottom,black,transparent 75%); }
.sun-glow { position:absolute; z-index:-1; top:-104px; right:-108px; width:260px; height:260px; border:1px solid rgba(255,255,255,.24); border-radius:50%; box-shadow:0 0 0 16px rgba(255,255,255,.035),0 0 0 34px rgba(255,255,255,.025); pointer-events:none; }
.windmill-mark { position:absolute; z-index:-1; width:105px; height:145px; top:27%; right:-35px; fill:none; stroke:rgba(62,91,51,.14); stroke-width:3; stroke-linecap:round; stroke-linejoin:round; transform:rotate(5deg); pointer-events:none; }
.fence-mark { position:absolute; z-index:-1; bottom:18%; left:-35px; width:150px; height:78px; opacity:.12; transform:rotate(-8deg); pointer-events:none; }
.fence-mark span { position:absolute; left:0; width:155px; height:7px; border:2px solid #45613b; border-radius:8px; }
.fence-mark span:nth-child(1){top:10px}.fence-mark span:nth-child(2){top:38px}.fence-mark span:nth-child(3){top:66px}
.brand-header,.join-section,.social-section,.landing-footer { position:relative; z-index:1; width:100%; text-align:center; }
.brand-header { display:flex; flex-direction:column; align-items:stretch; }
.brand-row { position:relative; min-height:142px; display:flex; align-items:center; justify-content:center; padding-right:105px; }
.brand-wordmark { position:relative; z-index:2; flex:1; text-align:left; padding-left:2px; }
.brand-overline { display:block; margin-bottom:-4px; color:#48613b; font-size:10px; font-weight:800; letter-spacing:3px; }
.brand-wordmark h1 { margin:0; color:#fffdf0; font-family:'Barlow Condensed',sans-serif; font-size:clamp(44px,12vw,57px); font-weight:800; letter-spacing:-.5px; line-height:.99; white-space:nowrap; text-shadow:0 2px 0 #6a7744,0 4px 0 rgba(65,82,46,.38),0 8px 16px rgba(45,67,38,.17); }
.brand-underline { display:block; width:155px; height:5px; margin-top:5px; border-radius:100%; background:var(--yellow); transform:rotate(-2deg); box-shadow:0 2px 0 rgba(85,91,50,.18); }
.mascot-peek { position:absolute; z-index:3; top:4px; right:-4px; width:132px; height:132px; overflow:hidden; border-radius:48% 52% 44% 56% / 49% 43% 57% 51%; background:linear-gradient(155deg,rgba(255,255,243,.62),rgba(255,255,255,.12)); border:1px solid rgba(255,255,255,.68); box-shadow:0 8px 18px rgba(50,77,42,.16),inset 0 0 0 5px rgba(255,255,255,.13); transform:rotate(4deg); }
.mascot-ring { position:absolute; inset:7px; border:1px dashed rgba(255,255,255,.74); border-radius:inherit; z-index:2; pointer-events:none; }
.mascot-image { position:absolute; top:-5px; left:-56px; width:244px; height:244px; max-width:none; object-fit:cover; object-position:center top; filter:drop-shadow(0 5px 7px rgba(37,55,34,.18)); }
.mascot-spark { position:absolute; z-index:4; right:5px; top:5px; color:#fff8c9; font-size:19px; text-shadow:0 1px 4px rgba(75,91,52,.25); }
.welcome-copy { margin-top:4px; padding:0 4px; text-align:left; }
.welcome { margin:0 0 5px; color:#fffef6; font-size:18px; font-weight:800; line-height:1.35; text-shadow:0 1px 4px rgba(53,79,42,.18); }
.intro { max-width:360px; margin:0; color:rgba(255,255,247,.96); font-size:13px; font-weight:600; line-height:1.55; text-shadow:0 1px 4px rgba(53,79,42,.16); }
.join-section { margin-top:clamp(25px,4vh,38px); }
.channel-list { display:grid; gap:16px; }
.channel-button { position:relative; min-height:88px; display:grid; grid-template-columns:60px minmax(0,1fr) 32px; align-items:center; gap:13px; padding:11px 18px 11px 15px; overflow:hidden; border:1px solid rgba(45,64,43,.16); border-radius:22px; background:linear-gradient(105deg,#fffefa 0%,#f8f8f1 100%); color:#263b2a; text-decoration:none; box-shadow:0 6px 0 rgba(53,74,44,.8),0 11px 21px rgba(48,68,37,.15); transform:translateY(0) scale(1); transition:transform 140ms cubic-bezier(.2,.8,.2,1),box-shadow 140ms ease,filter 140ms ease; touch-action:manipulation; user-select:none; }
.channel-button::before { content:''; position:absolute; inset:0 auto 0 0; width:5px; border-radius:22px 0 0 22px; background:var(--button-accent); }
.channel-button::after { content:''; position:absolute; top:-60%; left:-28%; width:28%; height:220%; background:rgba(255,255,255,.28); transform:rotate(24deg); transition:left 380ms ease; pointer-events:none; }
.channel-button:hover::after { left:110%; }
.channel-button:hover { filter:brightness(1.015); transform:translateY(-2px); box-shadow:0 8px 0 rgba(53,74,44,.8),0 14px 22px rgba(48,68,37,.18); }
.channel-button:active { transform:translateY(5px) scale(.985); box-shadow:0 1px 0 rgba(53,74,44,.82),0 3px 8px rgba(48,68,37,.12); filter:brightness(.985); }
.app-icon { position:relative; z-index:1; width:58px; height:58px; display:grid; place-items:center; border-radius:18px; color:#fff; box-shadow:inset 0 2px 3px rgba(255,255,255,.24),0 3px 7px rgba(0,0,0,.13); }
.app-icon svg { width:37px; height:37px; fill:currentColor; }
.whatsapp-button { --button-accent:#21ba64; }.whatsapp-icon { background:linear-gradient(145deg,#35d879,#0caa50); }
.telegram-button { --button-accent:#279fdd; }.telegram-icon { background:linear-gradient(145deg,#49c2f5,#168ed0); }
.button-label { position:relative; z-index:1; min-width:0; display:flex; flex-direction:column; align-items:flex-start; justify-content:center; gap:4px; text-align:left; }
.button-label strong { color:#202e22; font-size:clamp(17px,4.6vw,20px); font-weight:800; line-height:1.15; letter-spacing:-.3px; white-space:nowrap; }
.button-label small { color:#758174; font-size:10px; font-weight:800; letter-spacing:1.35px; }
.button-arrow { position:relative; z-index:1; width:30px; height:30px; display:grid; place-items:center; border-radius:50%; background:#eef0e6; color:#65745e; font-size:17px; font-weight:800; transition:transform 140ms ease; }
.channel-button:active .button-arrow { transform:translate(2px,2px); }
.daily-note { display:flex; align-items:center; justify-content:center; gap:7px; margin:19px 0 0; color:#526b43; font-size:11px; font-weight:700; letter-spacing:.15px; }
.daily-note span { color:#fff8ca; font-size:14px; text-shadow:0 1px 3px rgba(75,91,52,.2); }
.social-section { margin-top:clamp(27px,4.5vh,42px); }
.social-heading { margin:0 0 13px; color:rgba(59,82,47,.84); font-size:11px; font-weight:800; letter-spacing:.5px; }
.social-links { display:flex; align-items:center; justify-content:center; gap:14px; }
.social-link { width:43px; height:43px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.56); border-radius:14px; background:rgba(255,255,255,.23); color:#fff; box-shadow:0 3px 8px rgba(59,83,46,.06); text-decoration:none; transition:transform 140ms ease,background 140ms ease; }
.social-link:hover { transform:translateY(-2px); background:rgba(255,255,255,.39); }.social-link:active { transform:scale(.94); }
.social-link svg { width:23px; height:23px; fill:currentColor; }
.instagram-link,.facebook-link,.tiktok-link,.youtube-link { color:#fff; }
.landing-footer { display:flex; align-items:center; justify-content:center; gap:8px; margin-top:auto; padding-top:24px; color:rgba(255,255,245,.91); font-size:10px; font-weight:600; }
.footer-star { color:#fff5c4; font-size:13px; }
@media (min-width:700px) {
  #app { padding:18px 16px; }
  .landing-card { min-height:calc(100svh - 36px); border:1px solid rgba(255,255,255,.24); border-radius:25px; }
  .channel-list { max-width:390px; margin-right:auto; margin-left:auto; }
  .social-links { gap:17px; }
}
@media (max-width:420px) {
  .landing-card { padding-right:22px; padding-left:22px; }
  .brand-row { min-height:126px; padding-right:92px; }
  .mascot-peek { width:118px; height:118px; }
  .mascot-image { width:220px; height:220px; left:-51px; }
  .brand-wordmark h1 { font-size:clamp(39px,11.5vw,49px); }
  .brand-underline { width:133px; }
  .welcome { font-size:17px; }
  .channel-button { min-height:84px; grid-template-columns:56px minmax(0,1fr) 29px; gap:10px; padding-right:14px; padding-left:13px; border-radius:20px; }
  .app-icon { width:54px; height:54px; border-radius:17px; }
  .app-icon svg { width:35px; height:35px; }
  .button-label strong { font-size:17px; }
  .social-links { gap:12px; }
}
@media (max-height:720px) and (max-width:699px) {
  .landing-card { padding-top:17px; padding-bottom:16px; }
  .brand-row { min-height:112px; }
  .mascot-peek { width:106px; height:106px; }
  .mascot-image { width:198px; height:198px; left:-46px; }
  .welcome { font-size:16px; }
  .intro { font-size:12px; }
  .join-section { margin-top:21px; }
  .channel-list { gap:12px; }
  .channel-button { min-height:76px; }
  .app-icon { width:50px; height:50px; }
  .daily-note { margin-top:14px; }
  .social-section { margin-top:22px; }
  .social-link { width:40px; height:40px; }
  .landing-footer { padding-top:16px; }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior:auto !important; transition-duration:.01ms !important; animation-duration:.01ms !important; animation-iteration-count:1 !important; }
}
