/* Gaming67 - Quiet Luxury Design System */

/* ==========================================
   Reset and Base Styles
   ========================================== */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #3a3a3a;
    background-color: #fafaf8;
    overflow-x: hidden;
}

/* ==========================================
   Typography System
   ========================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Crimson Text', 'Georgia', serif;
    font-weight: 400;
    line-height: 1.2;
    color: #2c2c2c;
    letter-spacing: 0.02em;
}

p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #4a4a4a;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================
   Layout Components
   ========================================== */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 30px;
    }
}

/* ==========================================
   Navigation
   ========================================== */

.navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(250, 250, 248, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navigation.scrolled {
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-svg {
    flex-shrink: 0;
}

.logo-text-container {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-text {
    font-family: 'Crimson Text', serif;
    font-size: 26px;
    font-weight: 600;
    color: #d4724a;
    letter-spacing: 0.03em;
    line-height: 1;
}

.logo-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #8a8a8a;
    line-height: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 50px;
}

.nav-menu a {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: #5a5a5a;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #d4724a;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* ==========================================
   Hero Section
   ========================================== */

.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fdfcfb 0%, #f5f3f0 100%);
    position: relative;
    margin-top: 80px;
}

.hero-content {
    text-align: center;
    max-width: 900px;
}

.hero-title {
    font-size: clamp(48px, 7vw, 88px);
    font-weight: 400;
    margin-bottom: 30px;
    color: #2a2a2a;
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.7;
    color: #6a6a6a;
    margin-bottom: 50px;
    font-weight: 300;
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
    animation-fill-mode: both;
}

.hero-time {
    display: inline-block;
    padding: 20px 50px;
    border: 1px solid #d4724a;
    border-radius: 50px;
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
    animation-fill-mode: both;
}

.time-display {
    font-family: 'Crimson Text', serif;
    font-size: 24px;
    color: #d4724a;
    letter-spacing: 0.1em;
}

/* ==========================================
   Story Section
   ========================================== */

.story-section {
    padding: 120px 0;
    background: #ffffff;
}

.story-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    align-items: center;
}

.section-title {
    font-size: 48px;
    margin-bottom: 50px;
    color: #2a2a2a;
}

.story-text p {
    font-size: 17px;
    line-height: 1.9;
    color: #5a5a5a;
    margin-bottom: 30px;
}

.story-text p:first-of-type {
    font-size: 19px;
    color: #4a4a4a;
}

.story-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, #f5f3f0 0%, #ebe8e4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9a9a9a;
    font-size: 14px;
    letter-spacing: 0.1em;
    border-radius: 4px;
}

/* ==========================================
   Games Section
   ========================================== */

.games-section {
    padding: 120px 0;
    background: #fafaf8;
}

.game-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    margin-bottom: 150px;
    align-items: center;
}

.game-showcase.reverse {
    direction: rtl;
}

.game-showcase.reverse .game-details {
    direction: ltr;
    text-align: left;
}

.game-showcase.reverse .game-visual {
    direction: ltr;
}

.game-screenshot {
    aspect-ratio: 16/10;
}

.game-screenshot-dual {
    aspect-ratio: 16/9;
}

.game-title {
    font-size: 42px;
    margin-bottom: 10px;
    color: #2a2a2a;
}

.game-subtitle {
    font-size: 16px;
    color: #d4724a;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 30px;
}

.game-description {
    font-size: 17px;
    line-height: 1.9;
    color: #5a5a5a;
    margin-bottom: 40px;
}

.game-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.feature {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.feature-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #8a8a8a;
}

.feature-value {
    font-size: 16px;
    color: #4a4a4a;
}

.game-link {
    font-size: 14px;
    color: #d4724a;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: text-underline-offset 0.3s ease;
}

.game-link:hover {
    text-underline-offset: 5px;
}

.game-unified {
    margin-top: 80px;
}

.game-screenshots-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 80px;
}

.game-screenshot-wrapper {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.game-screenshot-img {
    width: 100%;
    height: auto;
    display: block;
}

.game-visual-center {
    margin-bottom: 80px;
}

.game-variations {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
}

.game-variant {
    padding: 40px;
    background: #ffffff;
    border-radius: 4px;
}

.game-music-detail {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e8e8e8;
}

.music-description {
    font-size: 15px;
    line-height: 1.8;
    color: #6a6a6a;
}

.game-manual-link {
    display: inline-block;
    margin-top: 20px;
    font-size: 14px;
    color: #d4724a;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.game-manual-link:hover {
    text-underline-offset: 5px;
}

.game-shared-features {
    padding: 50px;
    background: #ffffff;
    border-radius: 4px;
    text-align: center;
}

.shared-title {
    font-size: 28px;
    margin-bottom: 20px;
    color: #2a2a2a;
}

.shared-description {
    font-size: 17px;
    line-height: 1.9;
    color: #5a5a5a;
    max-width: 900px;
    margin: 0 auto;
}

/* ==========================================
   Atelier Section
   ========================================== */

.atelier-section {
    padding: 120px 0;
    background: #2a2a2a;
    color: #ffffff;
}

.atelier-header {
    margin-bottom: 80px;
}

.atelier-section .section-title {
    color: #ffffff;
}

.atelier-intro {
    font-size: 20px;
    color: #a0a0a0;
    margin-top: 20px;
    font-style: italic;
}

.atelier-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.atelier-visual {
    position: sticky;
    top: 120px;
}

.atelier-screenshot-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    border: 1px solid #4a4a4a;
}

.atelier-screenshot {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #3a3a3a 0%, #2a2a2a 100%);
    border: 1px solid #4a4a4a;
}

.atelier-title {
    font-size: 42px;
    margin-bottom: 10px;
    color: #ffffff;
}

.atelier-subtitle {
    font-size: 16px;
    color: #d4724a;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 40px;
}

.atelier-description p {
    font-size: 17px;
    line-height: 1.9;
    color: #b0b0b0;
    margin-bottom: 25px;
}

.atelier-specs {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 40px 0;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
    border: 1px solid #4a4a4a;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.spec-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #808080;
}

.spec-value {
    font-size: 15px;
    color: #ffffff;
    font-weight: 500;
}

.atelier-note {
    font-size: 15px;
    line-height: 1.8;
    color: #808080;
    font-style: italic;
    margin-bottom: 30px;
}

.atelier-link {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid #d4724a;
    border-radius: 4px;
    color: #d4724a;
    font-size: 14px;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.atelier-link:hover {
    background: #d4724a;
    color: #ffffff;
}

.atelier-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.atelier-link-secondary {
    border-color: #808080;
    color: #b0b0b0;
}

.atelier-link-secondary:hover {
    background: #808080;
    border-color: #808080;
    color: #ffffff;
}

/* ==========================================
   Principles Section
   ========================================== */

.principles-section {
    padding: 120px 0;
    background: #ffffff;
}

.section-intro {
    font-size: 20px;
    color: #6a6a6a;
    margin-bottom: 80px;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

@media (max-width: 1024px) {
    .principles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .principles-grid {
        grid-template-columns: 1fr;
    }
}

.principle {
    padding: 40px;
    background: #fafaf8;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.principle:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.principle-number {
    font-family: 'Crimson Text', serif;
    font-size: 48px;
    color: #d4724a;
    opacity: 0.3;
    margin-bottom: 20px;
}

.principle-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #2a2a2a;
}

.principle-description {
    font-size: 15px;
    line-height: 1.8;
    color: #5a5a5a;
}

/* ==========================================
   Craft Section
   ========================================== */

.craft-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #fdfcfb 0%, #f5f3f0 100%);
}

.craft-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.craft-text {
    font-size: 19px;
    line-height: 1.9;
    color: #5a5a5a;
    margin-bottom: 40px;
}

.craft-text.emphasized {
    font-size: 21px;
    color: #4a4a4a;
    font-style: italic;
    border-left: 3px solid #d4724a;
    padding-left: 30px;
    text-align: left;
    margin-top: 50px;
}

/* ==========================================
   Footer
   ========================================== */

.footer {
    padding: 80px 0 40px;
    background: #1a1a1a;
    color: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo-text {
    font-family: 'Crimson Text', serif;
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.03em;
}

.footer-title {
    font-size: 18px;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-text {
    font-size: 14px;
    line-height: 1.8;
    color: #b0b0b0;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    color: #b0b0b0;
}

.footer-links a:hover {
    color: #d4724a;
}

.footer-copyright {
    font-size: 13px;
    color: #808080;
    margin-top: 30px;
}

/* ==========================================
   Animations
   ========================================== */

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ==========================================
   Responsive Design
   ========================================== */

@media (max-width: 1024px) {
    .story-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .game-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .game-showcase.reverse {
        direction: ltr;
    }
    
    .game-variations {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .game-screenshots-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .atelier-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .atelier-visual {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .container {
        padding: 0 30px;
    }
    
    .nav-container {
        padding: 0 30px;
    }
}

/* ==========================================
   Utility Classes
   ========================================== */

.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.fade-in {
    animation: fadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   Privacy Policy Page
   ========================================== */

.privacy-main {
    padding-top: 140px;
    padding-bottom: 80px;
    min-height: 100vh;
}

.privacy-header {
    text-align: center;
    margin-bottom: 60px;
}

.privacy-title {
    font-size: 48px;
    margin-bottom: 15px;
    color: #2a2a2a;
}

.privacy-subtitle {
    font-size: 20px;
    color: #d4724a;
    font-style: italic;
    margin-bottom: 10px;
}

.privacy-date {
    font-size: 14px;
    color: #8a8a8a;
    letter-spacing: 0.05em;
}

.privacy-statement {
    margin-bottom: 80px;
}

.privacy-quote {
    font-family: 'Crimson Text', serif;
    font-size: 28px;
    font-style: italic;
    color: #2a2a2a;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
    padding: 40px 0;
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
}

.privacy-glance {
    margin-bottom: 100px;
}

.privacy-points {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.privacy-point {
    padding: 30px 25px;
    background: #fafaf8;
    border-radius: 4px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.privacy-point:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.point-number {
    font-family: 'Crimson Text', serif;
    font-size: 32px;
    color: #d4724a;
    opacity: 0.4;
    margin-bottom: 15px;
}

.point-title {
    font-size: 18px;
    margin-bottom: 12px;
    color: #2a2a2a;
}

.point-description {
    font-size: 14px;
    line-height: 1.6;
    color: #6a6a6a;
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .privacy-points {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .privacy-points {
        grid-template-columns: 1fr;
    }
    
    .privacy-quote {
        font-size: 22px;
    }
}

.privacy-content {
    max-width: 100%;
    margin: 0 auto;
}

.privacy-section {
    margin-bottom: 50px;
}

.privacy-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #2a2a2a;
}

.privacy-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #5a5a5a;
    margin-bottom: 15px;
}

.privacy-list {
    margin: 30px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.privacy-list p {
    margin-bottom: 0;
    padding: 20px 25px;
    background: #fafaf8;
    border-left: 3px solid #d4724a;
    border-radius: 0 4px 4px 0;
}

@media (max-width: 768px) {
    .privacy-list {
        grid-template-columns: 1fr;
    }
}

.privacy-feature {
    margin: 30px 0;
    padding: 25px;
    background: #fafaf8;
    border-radius: 4px;
}

.privacy-feature h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #2a2a2a;
}

.privacy-feature p {
    margin-bottom: 0;
}

.contact-info {
    padding: 25px;
    background: #fafaf8;
    border-radius: 4px;
    margin: 20px 0;
}

.contact-info p {
    margin-bottom: 0;
    line-height: 1.8;
}

.contact-info a {
    color: #d4724a;
}

.contact-info a:hover {
    text-decoration: underline;
}

.privacy-commitment {
    text-align: center;
    padding: 50px;
    background: linear-gradient(135deg, #fdfcfb 0%, #f5f3f0 100%);
    border-radius: 4px;
    margin-top: 40px;
}

.privacy-commitment h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #2a2a2a;
}

.privacy-commitment p {
    font-size: 17px;
    max-width: 600px;
    margin: 0 auto 15px;
}

.commitment-signature {
    font-style: italic;
    color: #d4724a;
    margin-top: 25px;
}