/* ============================================================
   兵马俑风 (Terracotta Warrior Neon Metropolis) 主样式表
   色彩体系：午夜黑 #FFF8E1 | 兵马俑洋红 #8D6E63 | 兵马俑青 #00695C
              深空蓝 #F9A825 | 银灰 #1A1A1A
   ============================================================ */

/* === 字体定义 === */
@font-face {
    font-family: 'Zhi Mang Xing';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/ZhiMangXing-Regular.ttf') format('truetype');
}
@font-face {
    font-family: 'Noto Serif SC';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/NotoSerifSC-Regular.ttf') format('truetype');
}
@font-face {
    font-family: 'Noto Serif SC';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/NotoSerifSC-Bold.ttf') format('truetype');
}

/* === CSS变量 === */
:root {
    --terracotta-midnight: #FFF8E1;
    --terracotta-magenta: #8D6E63;
    --terracotta-cyan: #00695C;
    --terracotta-deepblue: #F9A825;
    --terracotta-silver: #1A1A1A;
    --terracotta-glow-magenta: 0 0 15px rgba(141, 110, 99, 0.6), 0 0 30px rgba(141, 110, 99, 0.3);
    --terracotta-glow-cyan: 0 0 15px rgba(0, 105, 92, 0.6), 0 0 30px rgba(0, 105, 92, 0.3);
    --terracotta-font-heading: 'Zhi Mang Xing', 'PingFang SC', sans-serif;
    --terracotta-font-body: 'Noto Serif SC', 'Microsoft YaHei', sans-serif;
}

/* === 全局重置 === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--terracotta-font-body);
    background-color: var(--terracotta-midnight);
    color: var(--terracotta-silver);
    line-height: 1.8;
    min-height: 100vh;
    overflow-x: hidden;
    background-image: url('../images/circuit-texture.webp');
    background-repeat: repeat;
    background-size: 400px 400px;
}

/* === 标题字体 === */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--terracotta-font-heading);
    color: var(--terracotta-cyan);
    line-height: 1.3;
    margin-bottom: 1rem;
}
h1 { font-size: 2.8rem; text-shadow: var(--terracotta-glow-cyan); }
h2 { font-size: 2.2rem; text-shadow: 0 0 10px rgba(0, 105, 92, 0.4); }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.3rem; }
h6 { font-size: 1.1rem; }

p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.8;
}

a {
    color: var(--terracotta-cyan);
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}
a:hover {
    color: var(--terracotta-magenta);
    text-shadow: 0 0 8px rgba(141, 110, 99, 0.5);
}

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

/* === 导航栏 === */
.terracotta-nav-bar {
    position: relative;
    background: rgba(255, 248, 225, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--terracotta-magenta);
    box-shadow: 0 2px 20px rgba(141, 110, 99, 0.3);
    z-index: 100;
    padding: 0 2rem;
}
.terracotta-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    height: 70px;
}
.terracotta-nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.terracotta-nav-logo img {
    height: 40px;
    width: auto;
}
.terracotta-nav-links {
    display: flex;
    list-style: none;
    gap: 0;
}
.terracotta-nav-links li {
    position: relative;
}
.terracotta-nav-links li a {
    display: flex;
    align-items: center;
    padding: 0 1rem;
    height: 70px;
    font-family: var(--terracotta-font-heading);
    font-size: 1.1rem;
    color: var(--terracotta-silver);
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 44px;
    min-height: 44px;
}
.terracotta-nav-links li a:hover,
.terracotta-nav-links li a.terracotta-active {
    color: var(--terracotta-cyan);
    text-shadow: var(--terracotta-glow-cyan);
    background: rgba(0, 105, 92, 0.08);
}
.terracotta-nav-links li a.terracotta-active::after {
    content: '◆';
    margin-left: 6px;
    font-size: 0.6rem;
    animation: terracotta-neon-flicker 2s infinite;
}

/* 移动端菜单按钮 */
.terracotta-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}
.terracotta-menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--terracotta-cyan);
    border-radius: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 0 6px rgba(0, 105, 92, 0.5);
}

/* === 面包屑导航 === */
.terracotta-breadcrumb {
    max-width: 1400px;
    margin: 1rem auto;
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
    color: var(--terracotta-silver);
}
.terracotta-breadcrumb a {
    color: var(--terracotta-cyan);
}
.terracotta-breadcrumb span {
    margin: 0 0.5rem;
    color: var(--terracotta-magenta);
}

/* === Hero区域 === */
.terracotta-hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.85), rgba(0, 105, 92, 0.15));
}
.terracotta-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.terracotta-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 46, 0.7);
    z-index: 1;
}
.terracotta-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 900px;
}
.terracotta-hero-content h1 {
    font-size: 3.2rem;
    color: var(--terracotta-cyan);
    text-shadow: 0 0 20px rgba(0, 105, 92, 0.8), 0 0 40px rgba(0, 105, 92, 0.4);
    margin-bottom: 1rem;
    animation: terracotta-neon-flicker 3s infinite;
}
.terracotta-hero-subtitle {
    font-family: var(--terracotta-font-body);
    font-size: 1.35rem;
    color: #ccc;
    margin-bottom: 1.5rem;
}
.terracotta-hero-text {
    font-size: 1rem;
    color: #bbb;
    line-height: 1.9;
    margin-bottom: 2rem;
    text-align: left;
}
.terracotta-hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* === 按钮 === */
.terracotta-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.2rem;
    background: var(--terracotta-magenta);
    color: var(--terracotta-midnight);
    font-family: var(--terracotta-font-heading);
    font-size: 1.2rem;
    border: none;
    cursor: pointer;
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
    transition: all 0.3s ease;
    min-width: 44px;
    min-height: 44px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}
.terracotta-btn-primary:hover {
    box-shadow: var(--terracotta-glow-magenta);
    transform: translateY(-2px);
    color: var(--terracotta-midnight);
}
.terracotta-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.2rem;
    background: transparent;
    color: var(--terracotta-cyan);
    font-family: var(--terracotta-font-heading);
    font-size: 1.2rem;
    border: 2px solid var(--terracotta-cyan);
    cursor: pointer;
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
    transition: all 0.3s ease;
    min-width: 44px;
    min-height: 44px;
    text-decoration: none;
}
.terracotta-btn-secondary:hover {
    box-shadow: var(--terracotta-glow-cyan);
    transform: translateY(-2px);
    color: var(--terracotta-cyan);
}

/* === 卡片 === */
.terracotta-card {
    background: var(--terracotta-deepblue);
    border: 1px solid rgba(141, 110, 99, 0.3);
    box-shadow: 0 0 10px rgba(141, 110, 99, 0.15);
    clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
    padding: 1.5rem;
    transition: all 0.4s ease;
    position: relative;
}
.terracotta-card:hover {
    box-shadow: var(--terracotta-glow-magenta);
    transform: translateY(-4px);
    border-color: var(--terracotta-magenta);
}
.terracotta-card-title {
    font-family: var(--terracotta-font-heading);
    font-size: 1.4rem;
    color: var(--terracotta-cyan);
    margin-bottom: 0.8rem;
}
.terracotta-card-meta {
    font-size: 0.85rem;
    color: var(--terracotta-silver);
    opacity: 0.7;
    margin-bottom: 0.5rem;
}
.terracotta-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 105, 92, 0.2);
}

/* === 模块容器 === */
.terracotta-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
}
.terracotta-section-dark {
    background: rgba(26, 26, 26, 0.04);
    border-top: 1px solid rgba(0, 105, 92, 0.15);
    border-bottom: 1px solid rgba(0, 105, 92, 0.15);
}
.terracotta-section-title {
    text-align: center;
    margin-bottom: 3rem;
}
.terracotta-section-title h2 {
    display: inline-block;
    position: relative;
    padding-bottom: 0.8rem;
}
.terracotta-section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--terracotta-magenta), transparent);
    box-shadow: 0 0 10px rgba(141, 110, 99, 0.5);
}

/* === 六大游戏殿堂网格 === */
.terracotta-game-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

/* === 试玩区布局 === */
.terracotta-trial-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    margin-top: 2rem;
}
.terracotta-trial-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.terracotta-trial-item {
    padding: 1rem;
    background: rgba(249, 168, 37, 0.15);
    border-left: 3px solid var(--terracotta-cyan);
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 44px;
    display: flex;
    align-items: center;
}
.terracotta-trial-item:hover,
.terracotta-trial-item.terracotta-active {
    background: rgba(249, 168, 37, 0.3);
    border-left-color: var(--terracotta-magenta);
    box-shadow: inset 0 0 10px rgba(141, 110, 99, 0.2);
}
.terracotta-trial-screen {
    background: rgba(26, 26, 26, 0.06);
    border: 2px solid var(--terracotta-magenta);
    box-shadow: var(--terracotta-glow-magenta);
    padding: 2rem;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* === 影院频道 === */
.terracotta-cinema-screen {
    background: rgba(26, 26, 26, 0.08);
    border: 2px solid var(--terracotta-cyan);
    box-shadow: var(--terracotta-glow-cyan);
    padding: 2rem;
    margin-top: 2rem;
    position: relative;
}
.terracotta-cinema-controls {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    align-items: center;
}
.terracotta-video-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

/* === 注册表单 === */
.terracotta-form-card {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2.5rem;
    background: var(--terracotta-deepblue);
    border: 1px solid rgba(0, 105, 92, 0.3);
    box-shadow: var(--terracotta-glow-cyan);
}
.terracotta-form-input {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    background: rgba(255, 248, 225, 0.8);
    border: none;
    border-bottom: 2px solid var(--terracotta-cyan);
    color: var(--terracotta-silver);
    font-family: var(--terracotta-font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
    min-height: 44px;
}
.terracotta-form-input:focus {
    outline: none;
    border-bottom-color: var(--terracotta-magenta);
    box-shadow: 0 2px 10px rgba(141, 110, 99, 0.3);
    animation: terracotta-neon-flicker 1.5s ease-in-out;
}

/* === 首充广告牌 === */
.terracotta-billboard {
    background: linear-gradient(135deg, rgba(141, 110, 99, 0.15), rgba(249, 168, 37, 0.1));
    border: 2px solid var(--terracotta-magenta);
    box-shadow: var(--terracotta-glow-magenta);
    padding: 3rem;
    margin-top: 2rem;
    text-align: center;
}
.terracotta-energy-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}
.terracotta-energy-item {
    padding: 1.5rem;
    background: rgba(255, 248, 225, 0.6);
    border: 1px solid rgba(0, 105, 92, 0.3);
    text-align: center;
}

/* === 活动广场 === */
.terracotta-quest-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}
.terracotta-quest-card {
    padding: 1.5rem;
    background: rgba(249, 168, 37, 0.08);
    border-left: 4px solid var(--terracotta-deepblue);
    transition: all 0.3s ease;
}
.terracotta-quest-card:hover {
    border-left-color: var(--terracotta-magenta);
    box-shadow: 0 0 15px rgba(141, 110, 99, 0.2);
}

/* === VIP摩天楼 === */
.terracotta-tower-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.terracotta-tower-floor {
    padding: 1.5rem 2rem;
    border: 1px solid rgba(0, 105, 92, 0.2);
    border-bottom: none;
    background: linear-gradient(90deg, rgba(249, 168, 37, 0.05), rgba(0, 105, 92, 0.05));
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 44px;
}
.terracotta-tower-floor:last-child {
    border-bottom: 1px solid rgba(0, 105, 92, 0.2);
}
.terracotta-tower-floor:hover {
    background: rgba(141, 110, 99, 0.1);
    box-shadow: inset 0 0 20px rgba(141, 110, 99, 0.15);
}
.terracotta-tower-level {
    font-family: var(--terracotta-font-heading);
    font-size: 1.3rem;
    color: var(--terracotta-cyan);
}
.terracotta-tower-perk {
    font-size: 0.95rem;
    color: var(--terracotta-silver);
}

/* === 安全认证 === */
.terracotta-security-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}
.terracotta-badge {
    text-align: center;
}
.terracotta-badge img {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    border: 2px solid var(--terracotta-cyan);
    box-shadow: var(--terracotta-glow-cyan);
}

/* === 负责任博弈 === */
.terracotta-curfew-section {
    background: rgba(26, 26, 26, 0.06);
    padding: 3rem 2rem;
    border-top: 2px solid rgba(141, 110, 99, 0.3);
}
.terracotta-curfew-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 2rem;
    align-items: start;
}
.terracotta-curfew-icon img {
    width: 60px;
    height: 60px;
    box-shadow: 0 0 15px rgba(141, 110, 99, 0.5);
    border-radius: 50%;
}

/* === 页脚 === */
.terracotta-footer {
    background: rgba(26, 26, 26, 0.08);
    border-top: 2px solid var(--terracotta-magenta);
    padding: 3rem 2rem 1.5rem;
}
.terracotta-footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.terracotta-footer-col h4 {
    font-family: var(--terracotta-font-heading);
    color: var(--terracotta-cyan);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}
.terracotta-footer-col ul {
    list-style: none;
}
.terracotta-footer-col ul li {
    margin-bottom: 0.5rem;
}
.terracotta-footer-col ul li a {
    color: var(--terracotta-silver);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}
.terracotta-footer-col ul li a:hover {
    color: var(--terracotta-cyan);
}
.terracotta-footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}
.terracotta-footer-social img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--terracotta-cyan);
    transition: box-shadow 0.3s ease;
}
.terracotta-footer-social img:hover {
    box-shadow: var(--terracotta-glow-cyan);
}
.terracotta-footer-payment {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}
.terracotta-footer-payment img {
    height: 30px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}
.terracotta-footer-payment img:hover {
    opacity: 1;
}
.terracotta-footer-bottom {
    max-width: 1400px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 105, 92, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.terracotta-footer-18plus {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.terracotta-footer-18plus img {
    width: 40px;
    height: 40px;
}
.terracotta-footer-legal {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.terracotta-footer-legal a {
    font-size: 0.85rem;
    color: var(--terracotta-silver);
    opacity: 0.7;
}

/* === 内页内容区 === */
.terracotta-page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}
.terracotta-page-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8), rgba(0, 105, 92, 0.1));
}
.terracotta-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}
.terracotta-content-sidebar {
    position: relative;
}
.terracotta-sidebar-card {
    padding: 1.5rem;
    background: rgba(249, 168, 37, 0.08);
    border: 1px solid rgba(0, 105, 92, 0.2);
    margin-bottom: 1.5rem;
}
.terracotta-img-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}
.terracotta-img-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border: 1px solid rgba(141, 110, 99, 0.2);
    transition: all 0.3s ease;
}
.terracotta-img-gallery img:hover {
    box-shadow: var(--terracotta-glow-magenta);
    transform: scale(1.02);
}

/* === APP下载页 === */
.terracotta-download-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 3rem 0;
    align-items: center;
}
.terracotta-download-card {
    text-align: center;
    padding: 2.5rem;
    background: rgba(249, 168, 37, 0.08);
    border: 2px solid var(--terracotta-cyan);
    box-shadow: var(--terracotta-glow-cyan);
}
.terracotta-download-card img {
    width: 200px;
    height: 200px;
    margin: 1rem auto;
}

/* ============================================================
   动画效果
   ============================================================ */

/* 动画1: 兵马俑闪烁 (Neon Flicker) */
@keyframes terracotta-neon-flicker {
    0%, 100% { opacity: 1; }
    5% { opacity: 0.85; }
    10% { opacity: 1; }
    15% { opacity: 0.9; text-shadow: 0 0 20px rgba(0, 105, 92, 0.9); }
    20% { opacity: 1; }
    55% { opacity: 1; }
    57% { opacity: 0.8; }
    60% { opacity: 1; }
    80% { opacity: 1; }
    82% { opacity: 0.88; text-shadow: 0 0 25px rgba(141, 110, 99, 0.7); }
    85% { opacity: 1; }
}

/* 动画2: 全息投影显现 (Hologram Reveal) */
@keyframes terracotta-hologram-reveal {
    0% {
        opacity: 0;
        transform: translateY(20px) scaleY(0.95);
        filter: blur(4px) hue-rotate(15deg);
    }
    30% {
        opacity: 0.5;
        filter: blur(2px) hue-rotate(5deg);
    }
    60% {
        opacity: 0.85;
        transform: translateY(5px) scaleY(1);
        filter: blur(1px) hue-rotate(0deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scaleY(1);
        filter: blur(0) hue-rotate(0deg);
    }
}
.terracotta-hologram-enter {
    animation: terracotta-hologram-reveal 0.8s ease-out forwards;
}

/* 动画3: 脉冲波纹 (Pulse Ripple) */
@keyframes terracotta-pulse-ripple {
    0% {
        box-shadow: 0 0 0 0 rgba(141, 110, 99, 0.5);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(141, 110, 99, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(141, 110, 99, 0);
    }
}
.terracotta-btn-primary:hover,
.terracotta-card:hover {
    animation: terracotta-pulse-ripple 0.6s ease-out;
}

/* 动画4: 数据流瀑布 (Data Waterfall) - 通过Canvas实现 */

/* === 滚动显现基础类 === */
.terracotta-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.terracotta-reveal.terracotta-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   响应式设计
   ============================================================ */

@media (max-width: 1024px) {
    .terracotta-game-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .terracotta-footer-inner {
        grid-template-columns: repeat(2, 1fr);
    }
    .terracotta-content-grid {
        grid-template-columns: 1fr;
    }
    .terracotta-energy-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    html { font-size: 15px; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.7rem; }
    h3 { font-size: 1.4rem; }

    .terracotta-nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(255, 248, 225, 0.98);
        backdrop-filter: blur(15px);
        border-bottom: 2px solid var(--terracotta-magenta);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        z-index: 99;
    }
    .terracotta-nav-links.terracotta-open {
        display: flex;
    }
    .terracotta-nav-links li a {
        height: auto;
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(0, 105, 92, 0.1);
    }
    .terracotta-menu-toggle {
        display: flex;
    }

    .terracotta-hero-content h1 {
        font-size: 2.2rem;
    }
    .terracotta-hero-subtitle {
        font-size: 1.1rem;
    }

    .terracotta-game-grid {
        grid-template-columns: 1fr;
    }
    .terracotta-trial-layout {
        grid-template-columns: 1fr;
    }
    .terracotta-video-list {
        grid-template-columns: 1fr;
    }
    .terracotta-quest-grid {
        grid-template-columns: 1fr;
    }
    .terracotta-energy-list {
        grid-template-columns: 1fr;
    }
    .terracotta-download-layout {
        grid-template-columns: 1fr;
    }
    .terracotta-footer-inner {
        grid-template-columns: 1fr;
    }
    .terracotta-curfew-inner {
        grid-template-columns: 1fr;
    }
    .terracotta-security-layout {
        flex-direction: column;
    }
    .terracotta-img-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .terracotta-section {
        padding: 2.5rem 1rem;
    }
}

@media (max-width: 414px) {
    html { font-size: 14px; }
    .terracotta-hero-content h1 {
        font-size: 1.8rem;
    }
    .terracotta-hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .terracotta-img-gallery {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1920px) {
    .terracotta-section {
        max-width: 1600px;
    }
}
