/*
Theme Name: Gokyuzu Games
Theme URI: https://gokyuzu.net/
Author: gokyuzu.net
Author URI: https://gokyuzu.net/
Description: Minimal, modern theme for gokyuzu.net game studio site.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gokyuzu-games
*/

/* ========== Base ========== */
:root{
  --gy-bg1:#0b1220;
  --gy-bg2:#0a1730;
  --gy-card:rgba(255,255,255,.06);
  --gy-border:rgba(255,255,255,.10);
  --gy-text:rgba(255,255,255,.92);
  --gy-muted:rgba(255,255,255,.70);
  --gy-link:rgba(255,255,255,.92);
  --gy-link2:rgba(255,255,255,.78);
  --gy-radius:20px;
  --gy-shadow:0 18px 60px rgba(0,0,0,.35);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  color:var(--gy-text);
  background:
    radial-gradient(1200px 700px at 15% 10%, #173a5a 0%, transparent 55%),
    radial-gradient(900px 600px at 80% 15%, #3a1e5a 0%, transparent 55%),
    linear-gradient(180deg, var(--gy-bg1), var(--gy-bg2));
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  line-height:1.6;
}

a{ color:var(--gy-link); }
a:hover{ color:#fff; }

img{ max-width:100%; height:auto; display:block; }

/* Accessibility */
.screen-reader-text{
  position:absolute; left:-10000px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  left:16px; top:16px; width:auto; height:auto; padding:10px 12px;
  background:#fff; color:#000; border-radius:10px; z-index:9999;
}

/* Layout helpers */
.gy-container{
  width:min(1100px, calc(100% - 32px));
  margin-inline:auto;
}
.gy-section{ padding:26px 0; }

.gy-muted{ color:var(--gy-muted); }
.gy-dot{ margin:0 8px; color:var(--gy-muted); }

/* Cards */
.gy-card{
  background:var(--gy-card);
  border:1px solid var(--gy-border);
  border-radius:var(--gy-radius);
  box-shadow:var(--gy-shadow);
  backdrop-filter: blur(10px);
}
.gy-card__body{ padding:18px 18px; }

/* ========== Header / Nav ========== */
.gy-header{
  position:sticky;
  top:0;
  z-index:50;
  background: rgba(10,18,32,.55);
  border-bottom:1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
}

.gy-header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:12px 0;
}

.gy-brand__link{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
}

.gy-brand__text{
  font-weight:800;
  letter-spacing:.2px;
  font-size:18px;
}

.custom-logo{
  height:40px;
  width:auto;
  display:block;
}

/* WP sometimes wraps logo in .custom-logo-link */
.custom-logo-link{
  display:flex;
  align-items:center;
  gap:12px;
}

.gy-menu{
  list-style:none;
  display:flex;
  gap:18px;
  margin:0;
  padding:0;
}

.gy-menu a{
  text-decoration:none;
  color:var(--gy-link2);
  font-weight:600;
  padding:8px 10px;
  border-radius:12px;
}

.gy-menu a:hover{
  color:#fff;
  background:rgba(255,255,255,.06);
}

/* Dropdown (basic) */
.gy-menu .menu-item-has-children{ position:relative; }

.gy-menu .sub-menu{
  display:none;
  position:absolute;
  top:42px;
  right:0;
  min-width:200px;
  background:rgba(10,18,32,.95);
  border:1px solid rgba(255,255,255,.10);
  border-radius:14px;
  padding:8px;
  list-style:none;
  box-shadow:0 24px 70px rgba(0,0,0,.45);
}

.gy-menu .menu-item-has-children:hover > .sub-menu{ display:block; }
.gy-menu .sub-menu a{ display:block; }

/* Content wrapper */
.gy-content{ min-height:60vh; padding:22px 0 30px; }

/* Head block */
.gy-head h1, .gy-head h2, .gy-head h3{ margin:0 0 8px; }
.gy-head p{ margin:0; color:var(--gy-muted); }

/* ========== Footer ========== */
.gy-footer{
  margin-top:28px;
  padding:22px 0;
  border-top:1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.12);
}

.gy-footer__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}

.gy-link{
  color:var(--gy-link2);
  text-decoration:none;
  margin-left:12px;
}
.gy-link:hover{ color:#fff; }

/* ========== WordPress core content ========== */
.entry-content, .wp-block-group{ color:var(--gy-text); }
.entry-content p{ margin:0 0 12px; }

.entry-content h1, .entry-content h2, .entry-content h3{
  margin:18px 0 10px;
}

.wp-block-image{ margin:14px 0; }

.wp-block-button__link{
  border-radius:14px !important;
  padding:12px 16px !important;
  text-decoration:none !important;
}

/* ========== Hero (Home) ========== */
.gy-hero{ padding:64px 0; }

.gy-hero__grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:40px;
  align-items:center;
}

.gy-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  color:rgba(255,255,255,.82);
  font-weight:700;
  font-size:13px;
}

.gy-lead{
  color:var(--gy-muted);
  font-size:16px;
}

.gy-cta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:16px;
}

.gy-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:14px;
  text-decoration:none;
  font-weight:800;
  border:1px solid rgba(255,255,255,.12);
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}

.gy-btn:active{ transform: translateY(1px); }

.gy-btn--primary{
  background:rgba(255,255,255,.10);
  color:#fff;
}

.gy-btn--primary:hover{
  background:rgba(255,255,255,.14);
  border-color:rgba(255,255,255,.18);
}

.gy-btn--ghost{
  background:transparent;
  color:rgba(255,255,255,.88);
}

.gy-btn--ghost:hover{
  background:rgba(255,255,255,.06);
}

/* Phone mockup */
.gy-phone{
  width:340px;
  max-width:100%;
  border-radius:28px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 20px 60px rgba(0,0,0,.35);
}

.gy-phone img{
  width:100%;
  height:auto;
}

/* ========== Games grid/cards ========== */
.gy-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:18px;
  margin-top:16px;
}

.gy-card__media{
  position:relative;
  border-top-left-radius: var(--gy-radius);
  border-top-right-radius: var(--gy-radius);
  overflow:hidden;
  border-bottom:1px solid rgba(255,255,255,.10);
}

.gy-card__media img{
  width:100%;
  height:auto;
}

.gy-tag{
  position:absolute;
  top:12px;
  left:12px;
  padding:6px 10px;
  font-size:12px;
  font-weight:900;
  border-radius:999px;
  background:rgba(0,0,0,.35);
  border:1px solid rgba(255,255,255,.18);
  color:#fff;
}

.gy-card__title{
  margin:0;
  font-size:18px;
  font-weight:900;
}

.gy-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}

/* ========== Responsive ========== */
@media (max-width: 960px){
  .gy-hero__grid{ grid-template-columns: 1fr; }
  .gy-phone{ width:320px; margin:0 auto; }
  .gy-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 720px){
  .gy-header__inner{ flex-direction:column; align-items:flex-start; }
  .gy-menu{ flex-wrap:wrap; gap:10px; }
  .custom-logo{ height:36px; }
}
