/*
Theme Name: technophere-game-thema
Description: Styles for technophere-game-thema index page
Version: 1.0.0
Author: Technophere
Author URI: https://technophere.com
*/

/* CSS Variables */
:root {
    --bg: #0b0d10;
    --surface: #12161c;
    --card: #0e1318;
    --text: #e8eef6;
    --muted: #9db0c2;
    --accent: #5eead4;
    --accent-2: #7c83ff;
    --border: rgba(255, 255, 255, 0.08);
    --container: 1120px;
    --radius: 12px;
    --shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    --focus: 0 0 0 3px rgba(94, 234, 212, 0.35);
}

/* Base reset (minimal) */
*, *::before, *::after {
    box-sizing: border-box;
}
html {
    -webkit-text-size-adjust: 100%;
}
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic UI", "YuGothic", "Meiryo", sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: radial-gradient(1200px 800px at 10% -10%, rgba(124, 131, 255, 0.18), transparent 40%),
                radial-gradient(900px 600px at 100% 10%, rgba(94, 234, 212, 0.15), transparent 35%),
                var(--bg);
}

img, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Links: no default underline/blue; accessible focus */
a {
    color: inherit;
    text-decoration: none;
}
a:hover {
    color: var(--accent);
}
a:focus-visible {
    outline: var(--focus);
    border-radius: 8px;
}

/* Container */
.container {
    max-width: var(--container);
    padding: 0 20px;
    margin: 0 auto;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: saturate(1.2) blur(8px);
    -webkit-backdrop-filter: saturate(1.2) blur(8px);
    background: linear-gradient(to bottom, rgba(11, 13, 16, 0.8), rgba(11, 13, 16, 0.6));
    border-bottom: 1px solid var(--border);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 16px;
}
.site-title {
    font-weight: 700;
    letter-spacing: 0.2px;
}
.menu {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.menu a {
    padding: 8px 10px;
    border-radius: 8px;
    color: var(--muted);
    transition: color .2s ease,
                background-color .2s ease;
}
.menu a:hover {
    color: var(--accent);
    background: rgba(94, 234, 212, 0.08);
}
.menu a:focus-visible {
    outline: var(--focus);
}

/* Hero */
.hero {
    margin-top: 32px;
    padding: 48px 24px;
    background: linear-gradient(135deg, rgba(124, 131, 255, 0.15), rgba(94, 234, 212, 0.12));
    border: 1px solid var(--border);
    border-radius: 16px;
}
.hero h1 {
    margin: 0 0 6px;
    font-size: 2rem;
    letter-spacing: .2px;
}
.hero p {
    margin: 0;
    color: var(--muted);
}

/* Hero actions */
.hero-actions {
    margin-top: 16px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 10px;
    background: linear-gradient(180deg, var(--accent), #3fd7c3);
    color: #0a0d11;
    font-weight: 600;
    box-shadow: 0 6px 14px rgba(94, 234, 212, 0.25);
    transform: translateY(0);
    transition: transform .15s ease,
                box-shadow .2s ease,
                filter .2s ease;
}
.btn:hover {
    transform: translateY(-1px);
    filter: saturate(1.05);
    box-shadow: 0 10px 20px rgba(94, 234, 212, 0.3);
}
.btn:active {
    transform: translateY(0);
}
.btn.secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
    box-shadow: none;
}
.btn.secondary:hover {
    background: rgba(255, 255, 255, 0.04);
}

/* Sections */
.section { margin-top: 48px; }
.section-title {
    margin: 0 0 16px;
    font-size: 1.4rem;
    color: var(--text);
}

/* Grid without media queries */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 45%), 1fr));
    gap: 16px;
}

/* Card */
.card {
    display: block;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: transform .18s ease,
                box-shadow .18s ease,
                border-color .18s ease;
}
.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: rgba(94, 234, 212, 0.25);
}
.card h3 {
    text-align: center;
    margin: 10px 0 6px;
    font-size: 1.1rem;
}
.card p {
    text-align: center;
    margin: 0;
    color: var(--muted);
}

/* Transparent placeholder (no filled background) */
.placeholder {
    aspect-ratio: 16 / 9;
    background: transparent;
    border: 1px dashed var(--border);
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: var(--muted);
    font-size: .9rem;
}

/* App icon thumbnail */
.thumb {
    width: 88px;
    height: 88px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: transparent;
    display: block;
    margin: 6px auto 12px;
}

/* Footer */
.footer {
    margin-top: 48px;
    padding: 24px 0 40px;
    border-top: 1px solid var(--border);
    color: var(--muted);
}

/* WordPress utility */
.screen-reader-text {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}


