@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --background: #090b10;
    --surface: #111620;
    --surface-light: #19202d;
    --text: #f7f3e8;
    --text-muted: #b8bdc8;
    --gold: #d7ad4b;
    --gold-light: #f0ce78;
    --cyan: #64e1ff;
    --border: rgba(255, 255, 255, 0.1);
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    --max-width: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { min-height: 100vh; overflow-x: hidden; background: var(--background); color: var(--text); font-family: 'Inter', sans-serif; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(90%, var(--max-width)); margin: 0 auto; }

.site-header { position: fixed; z-index: 1000; top: 0; width: 100%; border-bottom: 1px solid var(--border); background: rgba(9, 11, 16, 0.88); backdrop-filter: blur(14px); }
.navigation { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { font-family: 'Cinzel', serif; font-size: 1.45rem; font-weight: 700; letter-spacing: 0.08em; color: var(--gold-light); }
.nav-links { display: flex; align-items: center; gap: 24px; list-style: none; }
.nav-links a { color: var(--text-muted); font-size: 0.87rem; font-weight: 600; letter-spacing: 0.03em; transition: color 180ms ease; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--gold-light); }

.hero { position: relative; min-height: 100vh; display: grid; place-items: center; isolation: isolate; text-align: center; background: linear-gradient(180deg, rgba(9,11,16,.42), rgba(9,11,16,.95)), radial-gradient(circle at 50% 30%, rgba(123,73,31,.45), transparent 38%), url('../images/uzzell-games-logo.jpg') center / cover no-repeat; }
.hero::after { content: ''; position: absolute; z-index: -1; inset: auto 0 0; height: 220px; background: linear-gradient(transparent, var(--background)); }
.hero-content { max-width: 920px; padding: 140px 0 90px; }
.eyebrow { margin-bottom: 18px; color: var(--gold-light); font-size: .78rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; }
h1, h2, h3 { font-family: 'Cinzel', serif; line-height: 1.18; }
.hero h1 { max-width: 900px; margin: 0 auto 26px; font-size: clamp(2.8rem, 8vw, 6.2rem); letter-spacing: -.03em; }
.hero-description { max-width: 760px; margin: 0 auto 38px; color: #d3d6dd; font-size: clamp(1rem, 2vw, 1.2rem); }

.button-group { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.button { min-width: 190px; min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 14px 24px; border: 1px solid transparent; border-radius: 8px; font-size: .92rem; font-weight: 700; letter-spacing: .03em; transition: transform 180ms ease, background 180ms ease, border-color 180ms ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: #15120c; box-shadow: 0 10px 30px rgba(215,173,75,.22); }
.button-primary:hover, .button-primary:focus-visible { background: linear-gradient(135deg, #ffe19b, var(--gold-light)); }
.button-secondary { border-color: rgba(240,206,120,.55); background: rgba(9,11,16,.55); color: var(--gold-light); }
.button-secondary:hover, .button-secondary:focus-visible { border-color: var(--gold-light); background: rgba(240,206,120,.1); }

section { padding: 40px 0; }
.section-heading { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section-heading h2 { margin-bottom: 16px; font-size: clamp(2rem, 5vw, 3.3rem); }
.section-heading p { color: var(--text-muted); }

.ecosystem-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ecosystem-card { min-height: 470px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; position: relative; isolation: isolate; padding: 34px; border: 1px solid var(--border); border-radius: 20px; background-position: center; background-size: cover; box-shadow: var(--shadow); }
.ecosystem-card::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(9,11,16,.08) 15%, rgba(9,11,16,.97) 80%); }
.ecosystem-card.core7 { background-image: url('../images/core7-logo.png'); }
.ecosystem-card.zaibatsu { background-image: url('../images/zaibatsu-x-feature.jpg'); }
.ecosystem-card.roll4 { background-image: url('../images/roll4-initiative-feature.jpg'); }
.ecosystem-card h3 { margin-bottom: 14px; font-size: clamp(1.55rem, 3vw, 2.25rem); }
.ecosystem-card p { margin-bottom: 24px; color: #d3d6dd; }
.ecosystem-card .button { min-width: 0; align-self: flex-start; }

.core7-feature { background: #0d1118; }
.core7-panel { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(36px, 7vw, 90px); padding: clamp(38px, 7vw, 76px); border: 1px solid rgba(240,206,120,.2); border-radius: 22px; background: radial-gradient(circle at 10% 10%, rgba(215,173,75,.16), transparent 35%), var(--surface); }
.core7-mark { min-height: 360px; border-radius: 16px; background: linear-gradient(180deg, rgba(9,11,16,.15), rgba(9,11,16,.7)), url('../images/core7-logo.png') center / cover no-repeat; }
.core7-copy h2 { margin-bottom: 18px; font-size: clamp(2rem, 5vw, 3.5rem); }
.core7-copy p { margin-bottom: 24px; color: var(--text-muted); }
.feature-list { margin: 0 0 28px 20px; color: var(--text-muted); }
.feature-list li { margin-bottom: 8px; }

.featured-game { display: grid; grid-template-columns: 1.15fr .85fr; overflow: hidden; border: 1px solid var(--border); border-radius: 22px; background: linear-gradient(145deg, var(--surface-light), var(--surface)); box-shadow: var(--shadow); }
.game-artwork { min-height: 510px; background: linear-gradient(90deg, transparent 45%, var(--surface) 100%), linear-gradient(0deg, rgba(9,11,16,.45), transparent 55%), url('../images/contest-of-realms-feature.jpg') center / cover no-repeat; }
.game-content { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(38px, 6vw, 72px); }
.game-content h3 { margin-bottom: 20px; font-size: clamp(2rem, 4vw, 3.4rem); }
.game-content p { margin-bottom: 30px; color: var(--text-muted); }

.zaibatsu-feature { background: linear-gradient(180deg, #080d13, #0b1119); }
.zaibatsu-panel { min-height: 560px; display: flex; align-items: center; border: 1px solid rgba(100,225,255,.18); border-radius: 22px; background: linear-gradient(90deg, rgba(5,9,14,.96) 0%, rgba(5,9,14,.8) 48%, rgba(5,9,14,.15) 100%), url('../images/zaibatsu-x-feature.jpg') center / cover no-repeat; box-shadow: var(--shadow); }
.zaibatsu-copy { max-width: 610px; padding: clamp(38px, 7vw, 76px); }
.zaibatsu-copy .eyebrow { color: var(--cyan); }
.zaibatsu-copy h2 { margin-bottom: 18px; font-size: clamp(2.2rem, 6vw, 4.5rem); }
.zaibatsu-copy p { margin-bottom: 28px; color: #c7d7df; }

.roll4-panel { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; overflow: hidden; border: 1px solid var(--border); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); }
.roll4-artwork { min-height: 480px; background: linear-gradient(90deg, transparent 55%, var(--surface) 100%), url('../images/roll4-initiative-feature.jpg') center / cover no-repeat; }
.roll4-copy { padding: clamp(38px, 6vw, 72px); }
.roll4-copy h2 { margin-bottom: 18px; font-size: clamp(2rem, 5vw, 3.5rem); }
.roll4-copy p { margin-bottom: 24px; color: var(--text-muted); }

.about-section { background: #0d1118; }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: clamp(36px, 8vw, 100px); }
.about-grid h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
.about-copy p { margin-bottom: 20px; color: var(--text-muted); }

.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.news-card { padding: 34px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); transition: transform 180ms ease, border-color 180ms ease; }
.news-card:hover { transform: translateY(-4px); border-color: rgba(240,206,120,.4); }
.news-card .label { display: block; margin-bottom: 14px; color: var(--gold-light); font-size: .75rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.news-card h3 { margin-bottom: 14px; font-size: 1.35rem; }
.news-card p { color: var(--text-muted); }

.contact-panel { padding: clamp(42px, 7vw, 76px); border: 1px solid rgba(240,206,120,.23); border-radius: 22px; background: radial-gradient(circle at 85% 10%, rgba(215,173,75,.18), transparent 32%), var(--surface); text-align: center; }
.contact-panel h2 { margin-bottom: 16px; font-size: clamp(2rem, 5vw, 3.3rem); }
.contact-panel p { max-width: 660px; margin: 0 auto 30px; color: var(--text-muted); }
.site-footer { padding: 38px 0; border-top: 1px solid var(--border); background: #06080c; color: #8f96a3; }
.footer-content { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--gold-light); }
:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 4px; }

@media (max-width: 980px) {
    .nav-links { display: none; }
    .ecosystem-grid { grid-template-columns: 1fr; }
    .ecosystem-card { min-height: 390px; }
    .core7-panel, .featured-game, .roll4-panel, .about-grid { grid-template-columns: 1fr; }
    .core7-mark { min-height: 300px; }
    .game-artwork, .roll4-artwork { min-height: 360px; background-position: center; }
    .news-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 650px) {
    section { padding: 78px 0; }
    .news-grid { grid-template-columns: 1fr; }
    .button { width: 100%; }
    .ecosystem-card .button { width: 100%; }
    .footer-content { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; }
}