@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800;900&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Outfit:wght@300;400;500;600;700&display=swap');

/* --- Luxury Design Tokens --- */
:root {
    --bg-obsidian: #0f0f0f;
    --bg-charcoal: #1c1c1c;
    --bg-charcoal-light: #262626;
    
    --color-ivory: #e7d7b1;
    --color-ivory-muted: #b8ac8f;
    --color-ivory-dark: #8c8269;
    
    --color-gold: #c9a86a;
    --color-gold-light: #dfc38f;
    --color-gold-dark: #a88548;
    
    --font-heading: 'Cinzel', serif;
    --font-editorial: 'Cormorant Garamond', serif;
    --font-sans: 'Outfit', sans-serif;
    
    --gold-gradient: linear-gradient(135deg, #a88548 0%, #c9a86a 50%, #dfc38f 100%);
    --gold-border: linear-gradient(90deg, transparent 0%, #c9a86a 50%, transparent 100%);
    
    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-quick: all 0.2s ease;
    
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 0 15px rgba(201, 168, 106, 0.15);
}

/* --- Base Styles & Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-obsidian);
    color: var(--color-ivory);
    font-family: var(--font-editorial);
    font-size: 1.15rem;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Luxury Wood Pattern Overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(28, 28, 28, 0.4) 0%, transparent 60%),
        radial-gradient(circle at 80% 70%, rgba(46, 30, 15, 0.15) 0%, transparent 60%);
    z-index: -2;
    pointer-events: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-ivory);
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

a {
    color: var(--color-gold);
    text-decoration: none;
    transition: var(--transition-quick);
}

a:hover {
    color: var(--color-gold-light);
}

/* --- Utilities --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-gold {
    color: var(--color-gold);
}

.font-sans {
    font-family: var(--font-sans);
}

.gold-separator {
    height: 1px;
    width: 100%;
    background: var(--gold-border);
    margin: 4rem auto;
    border: none;
}

/* --- Premium Buttons (Tactile Brass / Gold Leaf) --- */
.btn-brass {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 1rem 2.25rem;
    border-radius: var(--border-radius-sm);
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-soft);
}

.btn-brass::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: var(--gold-gradient);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: var(--transition-smooth);
    z-index: -1;
}

.btn-brass:hover {
    color: var(--bg-obsidian);
    border-color: var(--color-gold-light);
    box-shadow: 0 0 25px rgba(201, 168, 106, 0.4);
    transform: translateY(-2px);
}

.btn-brass:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.btn-brass:active {
    transform: translateY(0);
}

.btn-brass-solid {
    background: var(--gold-gradient);
    color: var(--bg-obsidian);
    border: 1px solid var(--color-gold-light);
}

.btn-brass-solid::before {
    background: var(--bg-obsidian);
}

.btn-brass-solid:hover {
    color: var(--color-gold-light);
}

/* --- Header / Navigation --- */
header {
    padding: 2rem 0;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 32px;
    height: 32px;
    fill: var(--color-gold);
}

.logo-text {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-ivory-muted);
}

.nav-link:hover, .nav-link.active {
    color: var(--color-gold);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    padding-top: 8rem;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-tag {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-tag::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--color-gold);
    border-radius: 50%;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    font-weight: 800;
    color: var(--color-ivory);
    word-spacing: 0.05em;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 300;
    color: var(--color-ivory-muted);
    max-width: 540px;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-top: 1rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- Chessboard UI Element --- */
.chessboard-container {
    background: #151515;
    border: 12px solid #281a0e; /* Wood border frame */
    box-shadow: 
        inset 0 0 20px rgba(0,0,0,0.8),
        var(--shadow-soft);
    padding: 4px;
    position: relative;
    border-radius: var(--border-radius-sm);
    width: 440px;
    height: 440px;
    max-width: 100%;
}

/* Golden plaque on wood border */
.chessboard-container::after {
    content: 'CHESS CLUB REGULATIONS';
    position: absolute;
    bottom: -32px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #8c6e3b 0%, #c9a86a 50%, #8c6e3b 100%);
    color: #120e06;
    border: 1px solid #dfc38f;
    font-family: var(--font-heading);
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    padding: 0.2rem 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    border-radius: 2px;
}

.chessboard {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(8, 1fr);
    width: 100%;
    height: 100%;
    background: #111;
}

.square {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    user-select: none;
    transition: var(--transition-quick);
}

.square.light {
    background-color: #d8c49d; /* Vintage Ivory/Cream */
    color: #2e261a;
}

.square.dark {
    background-color: #3b2a1a; /* Warm walnut wood */
    color: #dfd1b8;
}

/* Board Annotations & Highlights */
.square.highlight-gold {
    box-shadow: inset 0 0 0 3px var(--color-gold);
    background-color: rgba(201, 168, 106, 0.2) !important;
}

.square.highlight-danger {
    box-shadow: inset 0 0 0 3px #a83232;
    background-color: rgba(168, 50, 50, 0.25) !important;
}

.piece {
    font-size: 2.75rem;
    cursor: grab;
    z-index: 10;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.piece:hover {
    transform: scale(1.1) translateY(-4px);
}

/* Humorous Annotation overlay */
.annotation-bubble {
    position: absolute;
    background-color: var(--bg-charcoal);
    border: 1px solid var(--color-gold);
    border-radius: var(--border-radius-sm);
    padding: 0.6rem 1rem;
    color: var(--color-ivory);
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    max-width: 180px;
    box-shadow: var(--shadow-soft), 0 0 10px rgba(201,168,106,0.2);
    z-index: 20;
    pointer-events: none;
    animation: floating 3s ease-in-out infinite;
}

.annotation-bubble::before {
    content: '';
    position: absolute;
    border-style: solid;
    border-width: 6px;
    border-color: transparent transparent var(--color-gold) transparent;
}

.annotation-bubble.top-right {
    top: -50px;
    right: -70px;
}
.annotation-bubble.top-right::before {
    bottom: -12px;
    left: 20px;
    border-color: var(--color-gold) transparent transparent transparent;
}

.annotation-bubble.bottom-left {
    bottom: -45px;
    left: -70px;
}
.annotation-bubble.bottom-left::before {
    top: -12px;
    right: 20px;
    border-color: transparent transparent var(--color-gold) transparent;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0px); }
}

/* --- Problem Section --- */
.section {
    padding: 8rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.35rem;
    font-style: italic;
    color: var(--color-ivory-muted);
    max-width: 600px;
}

.problem-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 2rem;
}

.compare-card {
    background-color: var(--bg-charcoal);
    border: 1px solid rgba(231, 215, 177, 0.05);
    border-radius: var(--border-radius-md);
    padding: 3rem;
    position: relative;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: var(--transition-smooth);
}

.compare-card.boring {
    border-left: 3px solid #555;
}

.compare-card.roast {
    border: 1px solid var(--color-gold);
    box-shadow: var(--shadow-soft), var(--shadow-gold);
}

.compare-card.roast::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(201, 168, 106, 0.03) 0%, transparent 100%);
    pointer-events: none;
}

.card-badge {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    align-self: flex-start;
}

.boring .card-badge {
    background-color: #2b2b2b;
    color: #888;
}

.roast .card-badge {
    background-color: rgba(201, 168, 106, 0.1);
    color: var(--color-gold);
    border: 1px solid rgba(201, 168, 106, 0.3);
}

.compare-card h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.compare-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 1rem;
}

.compare-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.15rem;
}

.boring .compare-list li {
    font-family: monospace;
    color: #8c8c8c;
}

.roast .compare-list li {
    font-style: italic;
    color: var(--color-ivory);
}

.compare-list li svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.boring svg {
    fill: #555;
}

.roast svg {
    fill: var(--color-gold);
}

/* --- Roast Examples Section --- */
.examples-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.examples-nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.example-selector {
    background: var(--bg-charcoal);
    border: 1px solid rgba(231, 215, 177, 0.05);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    cursor: pointer;
    text-align: left;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
}

.example-selector:hover {
    border-color: rgba(201, 168, 106, 0.3);
    transform: translateX(8px);
}

.example-selector.active {
    border-color: var(--color-gold);
    box-shadow: var(--shadow-soft), var(--shadow-gold);
}

.example-selector.active::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 16px;
    height: 16px;
    background-color: var(--bg-charcoal);
    border-top: 1px solid var(--color-gold);
    border-right: 1px solid var(--color-gold);
}

.example-selector .move-num {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-gold);
    text-transform: uppercase;
}

.example-selector .roast-quote {
    font-size: 1.35rem;
    font-style: italic;
    font-weight: 400;
    line-height: 1.4;
    color: var(--color-ivory);
}

.example-preview-panel {
    background: #121212;
    border: 1px solid rgba(201, 168, 106, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    box-shadow: var(--shadow-soft);
}

.preview-board-wrap {
    position: relative;
}

.preview-commentary {
    text-align: center;
    font-size: 1.25rem;
    color: var(--color-gold-light);
    max-width: 400px;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: italic;
    border-top: 1px solid rgba(231, 215, 177, 0.1);
    padding-top: 1.5rem;
    width: 100%;
}

/* --- Benefits Section --- */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.benefit-card {
    background: var(--bg-charcoal);
    border: 1px solid rgba(231, 215, 177, 0.03);
    padding: 3.5rem;
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(201, 168, 106, 0.02) 0%, transparent 70%);
    pointer-events: none;
}

.benefit-card:hover {
    transform: translateY(-8px);
    border-color: rgba(201, 168, 106, 0.2);
    box-shadow: var(--shadow-soft);
}

.benefit-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    background: rgba(201, 168, 106, 0.05);
    border: 1px solid rgba(201, 168, 106, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    transition: var(--transition-smooth);
}

.benefit-card:hover .benefit-icon-box {
    background: var(--gold-gradient);
    color: var(--bg-obsidian);
    box-shadow: 0 0 20px rgba(201, 168, 106, 0.3);
}

.benefit-card h3 {
    font-size: 1.6rem;
    font-weight: 600;
}

.benefit-card p {
    color: var(--color-ivory-muted);
    font-size: 1.1rem;
    line-height: 1.5;
}

/* --- PGN Roast Emulator Section --- */
.emulator-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: #141414;
    border: 1px solid rgba(201, 168, 106, 0.25);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft), var(--shadow-gold);
    padding: 3rem;
    position: relative;
}

.emulator-wrapper::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border: 1px solid rgba(201, 168, 106, 0.05);
    border-radius: calc(var(--border-radius-lg) - 4px);
    pointer-events: none;
}

.emulator-tabs {
    display: flex;
    border-bottom: 1px solid rgba(231, 215, 177, 0.1);
    margin-bottom: 2rem;
    gap: 2rem;
}

.emulator-tab {
    background: transparent;
    border: none;
    color: var(--color-ivory-muted);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    padding: 0.75rem 0;
    cursor: pointer;
    position: relative;
    transition: var(--transition-quick);
}

.emulator-tab.active, .emulator-tab:hover {
    color: var(--color-gold);
}

.emulator-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-gold);
}

.emulator-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pgn-textarea {
    width: 100%;
    height: 160px;
    background-color: #0c0c0c;
    border: 1px solid rgba(231, 215, 177, 0.1);
    border-radius: var(--border-radius-sm);
    color: var(--color-ivory);
    font-family: monospace;
    font-size: 0.95rem;
    padding: 1.25rem;
    resize: none;
    outline: none;
    transition: var(--transition-quick);
}

.pgn-textarea:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 10px rgba(201, 168, 106, 0.1);
}

.pgn-dropzone {
    width: 100%;
    height: 160px;
    border: 2px dashed rgba(201, 168, 106, 0.3);
    border-radius: var(--border-radius-md);
    background-color: #0c0c0c;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.pgn-dropzone:hover, .pgn-dropzone.dragover {
    border-color: var(--color-gold);
    background-color: rgba(201, 168, 106, 0.02);
}

.pgn-dropzone svg {
    fill: var(--color-gold-dark);
    width: 48px;
    height: 48px;
    transition: var(--transition-smooth);
}

.pgn-dropzone:hover svg {
    fill: var(--color-gold);
    transform: translateY(-4px);
}

.pgn-dropzone-text {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--color-ivory-muted);
}

.emulator-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

.emulator-status {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: var(--color-gold-dark);
}

/* Loading Animation Overlay */
.roast-loading {
    display: none; /* Controlled by JS */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 4rem 0;
}

.loading-spinner {
    position: relative;
    width: 80px;
    height: 80px;
}

.loading-spinner-circle {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin: 8px;
    border: 3px solid transparent;
    border-radius: 50%;
    animation: loading-spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-top-color: var(--color-gold);
}

.loading-spinner-circle:nth-child(1) { animation-delay: -0.45s; }
.loading-spinner-circle:nth-child(2) { animation-delay: -0.3s; }
.loading-spinner-circle:nth-child(3) { animation-delay: -0.15s; }

@keyframes loading-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    color: var(--color-gold);
    text-transform: uppercase;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

/* Custom Roast Presentation */
.roast-result {
    display: none; /* Controlled by JS */
    background: #0f0f0f;
    border: 1px solid var(--color-gold-dark);
    border-radius: var(--border-radius-md);
    padding: 2.5rem;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
    animation: slideUp 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.roast-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(201, 168, 106, 0.2);
    padding-bottom: 1.25rem;
    margin-bottom: 1.5rem;
}

.roast-title-group h4 {
    font-size: 1.5rem;
    color: var(--color-gold-light);
}

.roast-metrics {
    display: flex;
    gap: 2rem;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    margin-top: 1rem;
}

.metric-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.metric-label {
    color: var(--color-ivory-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.metric-val {
    font-weight: 700;
    color: var(--color-gold);
    font-size: 1.1rem;
}

.roast-body {
    font-size: 1.35rem;
    font-style: italic;
    line-height: 1.5;
    color: var(--color-ivory);
    margin-bottom: 2rem;
    border-left: 2px solid var(--color-gold);
    padding-left: 1.5rem;
}

.roast-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(231, 215, 177, 0.08);
    padding-top: 1.5rem;
}

/* --- Final CTA Section --- */
.final-cta {
    background: radial-gradient(circle at center, #1b160e 0%, #0f0f0f 100%);
    border-top: 1px solid rgba(201, 168, 106, 0.15);
    border-bottom: 1px solid rgba(201, 168, 106, 0.15);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(ellipse at 50% 50%, rgba(201, 168, 106, 0.05) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

.cta-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 4rem 0;
}

.final-cta h2 {
    font-size: 3rem;
    max-width: 800px;
    line-height: 1.15;
}

.final-cta p {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--color-ivory-muted);
    max-width: 600px;
}

/* --- Footer --- */
footer {
    background-color: #0b0b0b;
    padding: 4rem 0;
    border-top: 1px solid rgba(231, 215, 177, 0.05);
    color: var(--color-ivory-dark);
    font-family: var(--font-sans);
    font-size: 0.85rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo span {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-ivory-muted);
    letter-spacing: 0.1em;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-link {
    color: var(--color-ivory-dark);
    transition: var(--transition-quick);
}

.footer-link:hover {
    color: var(--color-gold);
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-subtitle {
        margin: 0 auto;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .examples-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .example-selector.active::after {
        display: none;
    }
    
    .problem-compare {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero {
        padding-top: 6rem;
    }
    
    .nav-links {
        display: none; /* Hamburger would normally go here, simplified to keep links hidden or stacked */
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .compare-card {
        padding: 2rem;
    }
    
    .chessboard-container {
        width: 340px;
        height: 340px;
    }
    
    .piece {
        font-size: 2rem;
    }
    
    .emulator-wrapper {
        padding: 1.5rem;
    }
    
    .emulator-actions {
        flex-direction: column;
        gap: 1.5rem;
        align-items: stretch;
    }
    
    .emulator-actions button {
        width: 100%;
    }
    
    .final-cta h2 {
        font-size: 2.2rem;
    }
    
    .footer-inner {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}
