/* =========================================================
   TrueGiftCorp — shared stylesheet
   Theme: white + #5b7e97 · simple 2011 style · English
   Titles & logo: Reality Hyper · everything else: JetBrains Mono
   ========================================================= */

@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&display=swap");

@font-face {
    font-family: "Reality Hyper";
    src: url("../../Reality Hyper Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --blue: #5b7e97;
    --blue-dark: #3f5b6f;
    --blue-light: #8fa9bd;
    --blue-glow: #a9cfe8;
    --white: #ffffff;
    --ink: #34495a;
    --paper: #f4f7f9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
}

body {
    /* body / UI text -> JetBrains Mono */
    font-family: "JetBrains Mono", "Consolas", "Courier New", monospace;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ONLY the logo uses Reality Hyper — everything else is JetBrains Mono */
.logo,
.brand {
    font-family: "Reality Hyper", "Trebuchet MS", Verdana, Geneva, sans-serif;
}

/* logo wordmark is one single colour — no separate tint on "Gift" */
.logo b,
.brand b {
    color: inherit;
   /* font-weight: inherit; */
}

/* ---- shared frosted glass + paradise background (gate & shop) ---- */
.paradise-bg {
    background:
        radial-gradient(circle at 50% 0%, rgba(169,207,232,0.55) 0%, rgba(169,207,232,0) 45%),
        linear-gradient(180deg, #dff0fb 0%, #9cc2dc 38%, #5b7e97 100%);
    background-attachment: fixed;
    min-height: 100%;
}
.glass {
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.7);
    border-radius: 10px;
    color: #15303f;
    box-shadow:
        0 16px 40px rgba(40,70,95,0.4),
        0 0 36px rgba(169,207,232,0.6),
        inset 0 1px 0 rgba(255,255,255,0.7);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    backdrop-filter: blur(14px) saturate(1.2);
}

/* ---- animated rotating realistic light, above the gradient background (all paradise pages) ---- */
.bg-light {
    position: fixed;
    top: 50%;               /* centred behind the content on every page */
    left: 50%;
    width: 165vmax;
    height: 165vmax;
    transform: translate(-50%, -50%);
    z-index: -1;            /* above the colour gradient, behind the content */
    pointer-events: none;
}
.bg-light .beams,
.bg-light .bloom { position: absolute; inset: 0; }

/* 4 thick + 4 thin rays, alternating every 45°, slowly rotating */
.bg-light .beams {
    background: conic-gradient(from 0deg at 50% 50%,
        rgba(255,255,255,0)     17.5deg,
        rgba(255,255,255,0.22)  22.5deg,   /* thick */
        rgba(255,255,255,0)     27.5deg,
        rgba(255,255,255,0)     65.5deg,
        rgba(255,255,255,0.11)  67.5deg,   /* thin */
        rgba(255,255,255,0)     69.5deg,
        rgba(255,255,255,0)    107.5deg,
        rgba(255,255,255,0.22) 112.5deg,   /* thick */
        rgba(255,255,255,0)    117.5deg,
        rgba(255,255,255,0)    155.5deg,
        rgba(255,255,255,0.11) 157.5deg,   /* thin */
        rgba(255,255,255,0)    159.5deg,
        rgba(255,255,255,0)    197.5deg,
        rgba(255,255,255,0.22) 202.5deg,   /* thick */
        rgba(255,255,255,0)    207.5deg,
        rgba(255,255,255,0)    245.5deg,
        rgba(255,255,255,0.11) 247.5deg,   /* thin */
        rgba(255,255,255,0)    249.5deg,
        rgba(255,255,255,0)    287.5deg,
        rgba(255,255,255,0.22) 292.5deg,   /* thick */
        rgba(255,255,255,0)    297.5deg,
        rgba(255,255,255,0)    335.5deg,
        rgba(255,255,255,0.11) 337.5deg,   /* thin */
        rgba(255,255,255,0)    339.5deg);
    -webkit-mask: radial-gradient(circle at 50% 50%, #000 0%, rgba(0,0,0,0.5) 26%, transparent 60%);
            mask: radial-gradient(circle at 50% 50%, #000 0%, rgba(0,0,0,0.5) 26%, transparent 60%);
    filter: blur(7px);
    animation: bgLightSpin 42s linear infinite;
}
/* glowing bloom at the light source */
.bg-light .bloom {
    background: radial-gradient(circle at 50% 50%,
        rgba(255,255,255,0.78) 0%,
        rgba(232,245,253,0.42) 9%,
        rgba(176,213,238,0.24) 22%,
        rgba(176,213,238,0.00) 48%);
    animation: bgLightPulse 6s ease-in-out infinite;
}
@keyframes bgLightSpin  { to { transform: rotate(360deg); } }
@keyframes bgLightPulse { 0%, 100% { opacity: .85; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
    .bg-light .beams { animation: none; }
}

/* ---- shared top navigation (header.php) — inspired by shop.php ---- */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 26px;
    background: rgba(255,255,255,0.28);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255,255,255,0.6);
}
.site-nav .logo {
    font-size: 22px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #5b7e97;
}
.site-nav .logo:hover { color: #3f5b6f; }
.site-nav nav a {
    margin-left: 18px;
    color: #3f5b6f;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.site-nav nav a:hover { color: #5b7e97; }

/* ---- shared footer (footer.php) — inspired by shop.php ---- */
.site-footer {
    text-align: center;
    color: #eaf6ff;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 11px;
    padding: 36px 20px 60px;
}
.site-footer a { color: #eaf6ff; }
.site-footer a:hover { color: #ffffff; }

a {
    color: var(--blue);
    text-decoration: none;
}

a:hover {
    color: var(--blue-dark);
}

/* ---- Simple 2011-era top bar ---- */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 56px;
    background: var(--white);
    border-bottom: 2px solid var(--blue);
    box-shadow: 0 1px 4px rgba(91, 126, 151, 0.25);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 22px;
    z-index: 50;
}

.topbar .brand {
    font-size: 22px;
    letter-spacing: 2px;
    color: var(--blue);
    text-transform: uppercase;
}

.topbar .brand b {
    color: inherit;
}

.topbar nav a {
    margin-left: 18px;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--ink);
}

.topbar nav a:hover {
    color: var(--blue);
}

/* ---- Generic centered wrapper ---- */
.wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---- Old-school button ---- */
.btn {
    display: inline-block;
    padding: 9px 20px;
    background: var(--blue);
    color: var(--white);
    border: 1px solid var(--blue-dark);
    border-radius: 4px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 13px;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 2px 3px rgba(0,0,0,0.12);
    transition: background .2s, transform .1s;
}

.btn:hover {
    background: var(--blue-dark);
    color: var(--white);
}

.btn:active {
    transform: translateY(1px);
}

/* discreet site-wide credit (every page) */
.site-credit {
    position: fixed;
    right: 12px;
    bottom: 10px;
    font-family: "JetBrains Mono", "Consolas", monospace;
    font-size: 10px;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
    z-index: 60;
    pointer-events: none;
    user-select: none;
}

/* footer */
.site-foot {
    text-align: center;
    font-size: 12px;
    color: var(--blue-light);
    letter-spacing: 1px;
    padding: 26px 0;
}

/* =========================================================
   Square SHOP button — white band on top
   ========================================================= */
.shop-square {
    position: fixed;
    right: 26px;
    bottom: 26px;
    width: 120px;
    height: 120px;
    background: var(--blue);
    border: 2px solid var(--white);
    border-radius: 6px;
    box-shadow: 0 6px 22px rgba(91,126,151,0.55), 0 0 30px rgba(169,207,232,0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
    z-index: 40;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease;
}

.shop-square:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 10px 30px rgba(91,126,151,0.7), 0 0 44px rgba(169,207,232,0.7);
}

/* the white band on top */
.shop-square .band {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 26px;
    background: var(--white);
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.shop-square .label {
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 20px;
    padding-bottom: 22px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.35);
}

@media (max-width: 600px) {
    .shop-square { width: 92px; height: 92px; right: 16px; bottom: 16px; }
    .shop-square .label { font-size: 15px; letter-spacing: 2px; padding-bottom: 16px; }
    .shop-square .band { height: 20px; }
}
