/* ═══════════════════════════════════════
   ISLANDPLAY — Tropical Paradise
   ═══════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&display=swap');

:root {
  --bg: #fffaf5;
  --bg2: #fffcf8;
  --card: #ffffff;
  --card-hover: #f5f8f5;
  --surface: #fdfdf8;
  --text: #2d2d2d;
  --text2: #6b7a6b;
  --text3: #a0b0a0;
  --border: rgba(45,212,191,0.12);
  --accent: #ff6b6b;
  --accent2: #2dd4bf;
  --sunny: #fbbf24;
  --shadow: 0 8px 24px rgba(45,212,191,0.06);
  --shadow-hover: 0 12px 36px rgba(45,212,191,0.1);
  --radius: 24px;
  --radius-sm: 16px;
  --radius-pill: 50px;
  --font: 'Fredoka', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: var(--font);
  background: var(--bg);
  background-image: radial-gradient(circle at 100% 0%, rgba(255,107,107,0.03) 0%, transparent 50%),
                    radial-gradient(circle at 0% 100%, rgba(45,212,191,0.03) 0%, transparent 50%);
  color: var(--text);
  line-height: 1.5;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent2); }
.page { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .page { padding: 0 28px; } }

/* ═══ HEADER ═══ */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,250,245,0.88);
  backdrop-filter: blur(16px);
  border-bottom: 2px solid rgba(45,212,191,0.08);
  height: 64px;
}
.h-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 14px; }
.logo { display: flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 700; color: var(--text); letter-spacing: -0.3px; }
.logo-icon { width: 34px; height: 34px; background: linear-gradient(135deg, var(--accent), var(--sunny)); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; box-shadow: 0 4px 12px rgba(255,107,107,0.15); }
.logo span { color: var(--accent2); }
.nav { display: none; gap: 4px; }
.nav a { padding: 7px 16px; border-radius: var(--radius-pill); font-size: 14px; font-weight: 500; color: var(--text2); }
.nav a:hover, .nav a.active { background: rgba(45,212,191,0.06); color: var(--accent2); }
@media (min-width: 768px) { .nav { display: flex; } }
.header-actions { display: flex; gap: 8px; }
.icon-btn { width: 38px; height: 38px; border-radius: 12px; background: transparent; border: 2px solid rgba(45,212,191,0.1); color: var(--text2); font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.icon-btn:hover { border-color: var(--accent2); color: var(--accent2); }
.srch-d { display: none; position: relative; flex: 1; max-width: 280px; }
.srch-d input { width: 100%; height: 38px; background: var(--surface); border: 2px solid rgba(45,212,191,0.08); border-radius: var(--radius-pill); padding: 0 16px 0 38px; font-size: 14px; outline: none; color: var(--text); font-family: var(--font); }
.srch-d input:focus { border-color: var(--accent2); }
.srch-d input::placeholder { color: var(--text3); }
.srch-d .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text3); }
@media (min-width: 768px) { .srch-d { display: block; } }

/* ═══ HERO ═══ */
.hero { position: relative; margin: 24px 0; border-radius: var(--radius); overflow: hidden; min-height: 300px; background: linear-gradient(135deg, #e0f8ef 0%, #ffe8e0 50%, #fef3d6 100%); }
.hero-bg-layer { position: absolute; inset: 0; opacity: 0.06; background-size: cover; background-position: center; filter: blur(12px); }
.hero-content { position: relative; z-index: 1; display: flex; align-items: center; gap: 28px; padding: 32px 36px; min-height: 300px; }
.hero-icon { width: 100px; height: 100px; border-radius: 22px; object-fit: cover; flex-shrink: 0; border: 3px solid rgba(255,255,255,0.5); box-shadow: 0 8px 24px rgba(0,0,0,0.04); }
.hero-text { flex: 1; }
.hero-badge { display: inline-block; background: linear-gradient(135deg, var(--accent), var(--sunny)); color: #fff; font-size: 11px; font-weight: 600; padding: 4px 18px; border-radius: var(--radius-pill); letter-spacing: 0.5px; margin-bottom: 12px; }
.hero-text h1 { font-size: 30px; font-weight: 700; line-height: 1.1; margin-bottom: 8px; }
.hero-text p { color: var(--text2); font-size: 14px; line-height: 1.5; margin-bottom: 10px; max-width: 500px; }
.hero-meta { display: flex; gap: 16px; font-size: 12px; color: var(--text3); margin-bottom: 18px; }
.hero-btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 30px; border: none; background: linear-gradient(135deg, var(--accent), var(--sunny)); color: #fff; font-size: 15px; font-weight: 600; cursor: pointer; border-radius: var(--radius-pill); box-shadow: 0 6px 20px rgba(255,107,107,0.15); }
.hero-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(255,107,107,0.2); }
@media (max-width: 640px) {
  .hero { min-height: auto; margin: 16px 0; }
  .hero-content { flex-direction: column; text-align: center; padding: 24px 20px; }
  .hero-icon { width: 72px; height: 72px; }
  .hero-text p { max-width: 100%; }
  .hero-meta { justify-content: center; }
}

/* ═══ Pills ═══ */
.pills { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 20px; scrollbar-width: none; }
.pills::-webkit-scrollbar { display: none; }
.pill { flex-shrink: 0; padding: 8px 20px; border-radius: var(--radius-pill); font-size: 14px; font-weight: 500; background: rgba(255,255,255,0.5); border: 2px solid rgba(45,212,191,0.08); color: var(--text2); cursor: pointer; white-space: nowrap; }
.pill:hover { border-color: var(--accent2); color: var(--accent2); }
.pill.active { background: linear-gradient(135deg, var(--accent), var(--sunny)); color: #fff; border-color: transparent; }

.sec-hd { display: flex; align-items: center; gap: 12px; margin: 36px 0 20px; }
.sec-hd h2 { font-size: 22px; font-weight: 700; white-space: nowrap; }
.sec-hd .line { flex: 1; height: 2px; background: linear-gradient(90deg, rgba(45,212,191,0.12), transparent); border-radius: 2px; }
.sec-hd .tag { font-size: 10px; font-weight: 600; padding: 4px 14px; border-radius: var(--radius-pill); background: rgba(255,107,107,0.06); color: var(--accent); letter-spacing: 0.5px; }

.sw { position: relative; margin-bottom: 12px; }
.strip { display: flex; gap: 16px; overflow-x: auto; padding: 6px 0 14px; scrollbar-width: thin; cursor: grab; }
.strip:active { cursor: grabbing; }
.strip::-webkit-scrollbar { height: 6px; }
.strip::-webkit-scrollbar-thumb { background: rgba(45,212,191,0.1); border-radius: 4px; }
.sb { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 2px solid rgba(45,212,191,0.1); color: var(--text2); font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,0.02); opacity: 0; pointer-events: none; }
.sw:hover .sb { opacity: 1; pointer-events: auto; }
.sb:hover { border-color: var(--accent2); color: var(--accent2); }
.sb-l { left: -10px; } .sb-r { right: -10px; }

.gs { flex-shrink: 0; width: 150px; cursor: pointer; text-decoration: none; color: var(--text); }
.gs:hover { transform: translateY(-8px); }
.gs .thumb { width: 100%; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; position: relative; background: var(--surface); box-shadow: var(--shadow); }
.gs .thumb img { width: 100%; height: 100%; object-fit: cover; }
.gs .hot { position: absolute; top: 6px; right: 6px; background: var(--accent); color: #fff; font-size: 9px; font-weight: 600; padding: 2px 10px; border-radius: var(--radius-pill); }
.gs .overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.1); display: flex; align-items: center; justify-content: center; opacity: 0; border-radius: var(--radius-sm); }
.gs:hover .overlay { opacity: 1; }
.gs .pb { background: rgba(255,255,255,0.9); color: var(--accent); font-size: 12px; font-weight: 700; padding: 6px 18px; border-radius: var(--radius-pill); box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.gs .name { font-size: 14px; font-weight: 600; margin-top: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gs .stats { display: flex; gap: 12px; margin-top: 3px; font-size: 11px; color: var(--text3); }

.cg { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin-bottom: 36px; }
@media (min-width: 640px) { .cg { grid-template-columns: repeat(4,1fr); } }
.cc { background: #fff; border: 2px solid rgba(45,212,191,0.06); border-radius: var(--radius); padding: 24px 16px; text-align: center; cursor: pointer; text-decoration: none; color: var(--text); box-shadow: var(--shadow); }
.cc:hover { border-color: var(--accent2); transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.cc .emoji { font-size: 34px; margin-bottom: 8px; }
.cc h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.cc .sub { font-size: 12px; color: var(--text3); }

.gg { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin-bottom: 36px; }
@media (min-width: 500px) { .gg { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 768px) { .gg { grid-template-columns: repeat(4,1fr); } }
@media (min-width: 1024px) { .gg { grid-template-columns: repeat(5,1fr); gap: 16px; } }
.gc { background: #fff; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; text-decoration: none; color: var(--text); box-shadow: var(--shadow); }
.gc:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.gc .thumb { width: 100%; aspect-ratio: 1; overflow: hidden; background: var(--surface); position: relative; }
.gc .thumb img { width: 100%; height: 100%; object-fit: cover; }
.gc .hot { position: absolute; top: 6px; right: 6px; background: var(--accent); color: #fff; font-size: 8px; font-weight: 600; padding: 2px 10px; border-radius: var(--radius-pill); }
.gc .info { padding: 12px 14px; }
.gc .info h3 { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gc .info .m { font-size: 11px; color: var(--text3); margin-top: 4px; display: flex; gap: 12px; }
.lm { display: block; margin: 0 auto 44px; padding: 12px 36px; border-radius: var(--radius-pill); border: 2px solid rgba(45,212,191,0.08); background: #fff; color: var(--text2); font-size: 14px; font-weight: 600; cursor: pointer; font-family: var(--font); }
.lm:hover { border-color: var(--accent2); color: var(--accent2); background: rgba(45,212,191,0.02); }
.lm:disabled { opacity: 0.3; cursor: not-allowed; }

footer { border-top: 2px solid rgba(45,212,191,0.06); padding: 40px 0; margin-top: 20px; }
.fg { display: grid; grid-template-columns: 1fr; gap: 28px; font-size: 13px; }
@media (min-width: 640px) { .fg { grid-template-columns: 2fr 1fr 1fr; } }
footer h4 { font-size: 12px; font-weight: 700; letter-spacing: 1px; margin-bottom: 12px; color: var(--accent2); }
footer a { display: block; color: var(--text2); font-size: 13px; padding: 4px 0; }
footer a:hover { color: var(--accent); }
footer p { color: var(--text2); font-size: 13px; }
footer .copy { font-size: 11px; color: var(--text3); margin-top: 16px; }

.ch { padding: 28px 0 18px; border-bottom: 2px solid rgba(45,212,191,0.06); margin-bottom: 18px; }
.ch h1 { font-size: 26px; font-weight: 700; }
.ch p { color: var(--text2); font-size: 14px; margin-top: 4px; }

.bc { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text3); padding: 16px 0; }
.bc a { color: var(--text3); } .bc a:hover { color: var(--accent2); }
.gd { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 900px) { .gd { grid-template-columns: 2fr 1fr; } }
.pp { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.pa { position: relative; width: 100%; aspect-ratio: 16/9; background: #000; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
.pl { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; text-align: center; background: rgba(255,250,245,0.92); }
.pl img { width: 64px; height: 64px; border-radius: 18px; margin-bottom: 10px; }
.pl h2 { color: var(--text); font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.pl p { color: var(--text3); font-size: 13px; margin-bottom: 18px; }
.pnb { padding: 12px 34px; border: none; background: linear-gradient(135deg, var(--accent), var(--sunny)); color: #fff; font-size: 15px; font-weight: 600; cursor: pointer; border-radius: var(--radius-pill); box-shadow: 0 4px 16px rgba(255,107,107,0.12); }
.pnb:hover { transform: scale(1.03); }
.gi { position: absolute; inset: 0; width: 100%; height: 100%; border: none; display: none; }
.fb { position: absolute; bottom: 12px; right: 12px; z-index: 10; background: rgba(255,255,255,0.2); color: #fff; border: 1px solid rgba(255,255,255,0.2); font-size: 11px; padding: 6px 16px; border-radius: var(--radius-pill); cursor: pointer; display: none; backdrop-filter: blur(8px); }
.gm { padding: 22px 24px; }
.gm .tr { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-bottom: 14px; border-bottom: 2px solid rgba(45,212,191,0.06); margin-bottom: 14px; }
.gm h1 { font-size: 20px; font-weight: 700; }
.gm .sr { display: flex; gap: 10px; font-size: 12px; padding: 6px 14px; border: 2px solid rgba(45,212,191,0.06); border-radius: var(--radius-pill); color: var(--text2); background: var(--bg2); }
.gm .desc { font-size: 14px; line-height: 1.7; color: var(--text2); } .gm .desc strong { color: var(--text); }
.ib { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.ib h3 { font-size: 13px; font-weight: 700; letter-spacing: 0.5px; margin-bottom: 14px; color: var(--accent2); }
.sg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.si .l { font-size: 10px; color: var(--text3); text-transform: uppercase; letter-spacing: 1px; } .si .v { font-size: 15px; font-weight: 700; margin-top: 2px; }

.so { display: none; position: fixed; inset: 0; z-index: 200; background: var(--bg); flex-direction: column; }
.so.open { display: flex; }
.st { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 2px solid rgba(45,212,191,0.06); }
.st input { flex: 1; font-size: 16px; background: transparent; border: none; color: var(--text); outline: none; font-family: var(--font); }
.sr { flex: 1; overflow-y: auto; padding: 16px; display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; align-content: start; }
.do { display: none; position: fixed; inset: 0; z-index: 150; background: rgba(0,0,0,0.08); }
.do.open { display: block; }
.drawer { position: fixed; top: 0; left: 0; bottom: 0; width: 270px; background: #fff; border-right: 2px solid rgba(45,212,191,0.06); z-index: 160; transform: translateX(-100%); }
.drawer.open { transform: translateX(0); }
.dh { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 2px solid rgba(45,212,191,0.06); }
.dn { flex: 1; overflow-y: auto; padding: 12px; }
.di { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-radius: var(--radius-sm); font-size: 14px; color: var(--text2); }
.di:hover { background: rgba(45,212,191,0.04); color: var(--accent2); }
.dc { font-size: 11px; background: rgba(45,212,191,0.04); padding: 2px 10px; border-radius: var(--radius-pill); color: var(--text3); }
.dl { border-top: 2px solid rgba(45,212,191,0.06); padding: 12px; }
.dl a { display: block; font-size: 13px; color: var(--text2); padding: 6px 14px; }
.dl a:hover { color: var(--accent); }

@media (max-width:640px) {
  .gg { gap: 10px; } .gc .info { padding: 10px 12px; } .gc .info h3 { font-size: 13px; }
  .gs { width: 130px; }
  .ch h1 { font-size: 22px; }
  .pa { aspect-ratio: 4/3; }
  .gm h1 { font-size: 17px; }
}

/* ── Anchor Ad (bottom sticky) ── */
.gpt-anchor { position: fixed; bottom: 0; left: 0; right: 0; z-index: 999; display: flex; justify-content: center; background: rgba(0,0,0,0.6); padding: 4px 0; }
.gpt-anchor-inner { min-width: 320px; min-height: 50px; width: 320px; height: 50px; }

/* ── Interstitial Ad ── */
.gpt-interstitial { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,0.85); display: none; align-items: center; justify-content: center; }
.gpt-interstitial-inner { min-width: 300px; min-height: 250px; width: 300px; height: 250px; }
.gpt-interstitial-close { position: absolute; top: 16px; right: 16px; background: #fff; border: none; border-radius: 50%; width: 36px; height: 36px; font-size: 18px; cursor: pointer; z-index: 1001; }
