* {
    box-sizing: border-box;
}

:root {
    --bg: #f7f6f2;
    --panel: #ffffff;
    --ink: #242424;
    --muted: #6e6e6e;
    --primary: #2f5f4f;
    --primary-dark: #21473b;
    --accent: #e4b45c;
    --line: #e7e2d8;
    --shadow: 0 18px 40px rgba(0, 0, 0, .08);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", "Malgun Gothic", sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    margin: 0;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(247, 246, 242, .94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

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

.brand strong {
    display: block;
    font-size: 20px;
    line-height: 1.1;
}

.brand span {
    display: block;
    font-size: 13px;
    color: var(--muted);
    margin-top: 4px;
}

.site-logo {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    max-width: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
    object-fit: contain !important;
    border-radius: 14px;
    flex-shrink: 0;
    background: #fff;
    border: 1px solid var(--line);
    padding: 4px;
}

.logo-placeholder {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--primary);
    color: white;
    font-weight: 800;
}

.nav {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    font-weight: 700;
}

.nav a {
    color: #444;
    white-space: nowrap;
}

.nav a.active,
.nav a:hover {
    color: var(--primary);
}

.nav .sns-link {
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: white;
}

.menu-toggle {
    display: none;
    border: 0;
    background: var(--primary);
    color: white;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
}

main {
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px 20px 70px;
}

.hero {
    min-height: 520px;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 28px;
    align-items: center;
}

.eyebrow {
    color: var(--primary);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin: 0 0 10px;
}

.hero h1,
.page-hero h1 {
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.08;
    margin: 0 0 20px;
    letter-spacing: -0.04em;
}

.hero p,
.page-hero p {
    font-size: 18px;
    color: var(--muted);
    max-width: 680px;
}

.hero-actions,
.button-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 800;
    border: 1px solid transparent;
}

.btn.primary {
    background: var(--primary);
    color: white;
}

.btn.primary:hover {
    background: var(--primary-dark);
}

.btn.secondary {
    background: white;
    color: var(--primary);
    border-color: var(--line);
}

.hero-card,
.business-card,
.content-card,
.about-block {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.hero-card {
    min-height: 420px;
    padding: 34px;
    display: grid;
    align-content: center;
    justify-items: center;
    text-align: center;
    overflow: hidden;
}

.hero-logo {
    width: min(320px, 70vw) !important;
    max-width: 320px !important;
    height: auto !important;
    max-height: 320px !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto 18px !important;
}

.logo-large,
.logo-box,
.image-placeholder {
    display: grid;
    place-items: center;
    border-radius: 22px;
    background: linear-gradient(135deg, #ede8dd, #ffffff);
    color: var(--muted);
    font-weight: 900;
    border: 1px dashed #cfc7b8;
}

.logo-large {
    height: 230px;
    font-size: 42px;
}

.logo-box {
    min-height: 220px;
    font-size: 32px;
}

.image-placeholder {
    height: 180px;
    margin-bottom: 18px;
}

.split-section,
.content-grid,
.notice-grid,
.contact-grid {
    display: grid;
    gap: 22px;
}

.split-section {
    grid-template-columns: 1fr 1fr;
    margin: 28px 0;
}

.content-grid {
    grid-template-columns: repeat(3, 1fr);
}

.contact-grid {
    grid-template-columns: repeat(3, 1fr);
}

.business-card,
.content-card,
.about-block {
    padding: 28px;
}

.business-card h2,
.content-card h2,
.section-title h2,
.about-block h2 {
    font-size: 30px;
    line-height: 1.2;
    margin: 0 0 12px;
}

.business-card p,
.content-card p,
.notice-grid p,
.about-block p {
    color: var(--muted);
}

.business-card ul {
    padding-left: 20px;
    color: var(--muted);
    margin: 16px 0 0;
}

.game-card {
    background: linear-gradient(135deg, #ffffff, #eff7ff);
}

.fishing-card {
    background: linear-gradient(135deg, #ffffff, #eff8f0);
}

.news-preview {
    margin-top: 44px;
}

.notice-grid {
    grid-template-columns: repeat(3, 1fr);
}

.notice-grid article {
    background: white;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 22px;
}

.notice-grid span {
    display: inline-block;
    font-size: 12px;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 8px;
}

.notice-grid h3 {
    margin: 0 0 8px;
}

.page-hero.compact {
    padding: 70px 0 44px;
}

.fishing-hero {
    border-radius: 28px;
    padding: 70px 34px 44px !important;
    background: linear-gradient(135deg, #ffffff, #edf7f0);
    border: 1px solid var(--line);
}

.brand-intro {
    display: grid;
    grid-template-columns: 1fr .8fr;
    gap: 24px;
    align-items: center;
    margin-bottom: 24px;
}

.brand-structure {
    display: grid;
    gap: 16px;
}

.brand-structure div {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
}

.mini-chat {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 14px;
    background: #fafafa;
}

.chat-message {
    background: white;
    padding: 10px;
    border-radius: 12px;
    margin-bottom: 10px;
    font-size: 14px;
}

.mini-chat input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px;
}

.site-footer {
    background: #1f2724;
    color: white;
}

.footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 34px 20px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.footer-inner p {
    color: rgba(255, 255, 255, .72);
    margin: 6px 0;
}

.trademark {
    font-size: 13px;
}

.footer-links {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-content: flex-start;
}

.footer-links a {
    color: rgba(255, 255, 255, .8);
}

/* 기존 구조가 일부 남아 있을 경우를 위한 안전 보정 */
#header .logo img,
.header-inner .logo img,
.logo a img,
.logo img {
    width: 52px !important;
    height: 52px !important;
    max-width: 52px !important;
    max-height: 52px !important;
    object-fit: contain !important;
}

@media (max-width: 860px) {
    .menu-toggle {
        display: block;
    }

    .nav {
        display: none;
        position: absolute;
        top: 78px;
        left: 20px;
        right: 20px;
        flex-direction: column;
        align-items: stretch;
        padding: 18px;
        background: white;
        border: 1px solid var(--line);
        border-radius: 20px;
        box-shadow: var(--shadow);
    }

    .nav.open {
        display: flex;
    }

    .hero,
    .split-section,
    .brand-intro,
    .content-grid,
    .notice-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding-top: 30px;
    }

    .hero-card {
        min-height: 280px;
    }

    .footer-inner {
        flex-direction: column;
    }

    .site-logo {
        width: 46px !important;
        height: 46px !important;
        min-width: 46px !important;
        max-width: 46px !important;
        min-height: 46px !important;
        max-height: 46px !important;
    }

    .hero-logo {
        max-width: 220px !important;
        max-height: 220px !important;
    }
}

/* AOUYA 랜딩페이지 전용 스타일 */

.aouya-hero {
    display: grid;
    grid-template-columns: 1fr .9fr;
    gap: 32px;
    align-items: center;
    min-height: 560px;
}

.aouya-hero-text h1 {
    font-size: clamp(48px, 7vw, 88px);
    line-height: 1.05;
    margin: 0 0 22px;
    letter-spacing: -0.05em;
}

.aouya-hero-text .hero-lead {
    font-size: 21px;
    color: var(--muted);
    max-width: 650px;
    word-break: keep-all;
}

.aouya-hero-image {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 30px;
    box-shadow: var(--shadow);
    padding: 24px;
}

.aouya-hero-image img {
    width: 100%;
    border-radius: 22px;
    object-fit: contain;
}

.aouya-section {
    margin-top: 70px;
}

.section-title.center {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 28px;
}

.section-title.center h2 {
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.2;
    margin: 0 0 12px;
    letter-spacing: -0.04em;
}

.section-title.center p {
    color: var(--muted);
    font-size: 18px;
}

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

.feature-card,
.guide-card,
.spec-table-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 26px;
    box-shadow: var(--shadow);
    padding: 28px;
}

.feature-card h3,
.guide-card h3,
.spec-table-card h3 {
    font-size: 24px;
    line-height: 1.25;
    margin: 0 0 12px;
    color: var(--primary);
}

.feature-card p {
    color: var(--muted);
    word-break: keep-all;
}

.image-showcase {
    margin-top: 26px;
    display: flex;
    justify-content: center;
}

.image-showcase img {
    width: min(100%, 860px);
    border-radius: 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    background: #fff;
}

.dark-section {
    background: #303333;
    color: white;
    border-radius: 34px;
    padding: 48px 28px;
}

.dark-section .eyebrow {
    color: #f2cf65;
}

.dark-section .section-title.center p {
    color: rgba(255, 255, 255, .72);
}

.image-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    max-width: 980px;
    margin: 0 auto;
}

.image-two-column img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
    background: white;
}

.spec-layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 28px;
    align-items: stretch;
}

.spec-image,
.spec-table-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 30px;
    box-shadow: var(--shadow);
    padding: 24px;
}

.spec-image img {
    width: 100%;
    height: 100%;
    max-height: 760px;
    object-fit: contain;
    border-radius: 22px;
}

.spec-list {
    display: grid;
    gap: 12px;
    margin: 20px 0 32px;
}

.spec-list div {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 14px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 10px;
}

.spec-list dt {
    color: var(--muted);
    font-weight: 700;
}

.spec-list dd {
    margin: 0;
    font-weight: 800;
}

.component-list,
.guide-card ul {
    padding-left: 20px;
    color: var(--muted);
}

.component-list li,
.guide-card li {
    margin: 6px 0;
}

.brand-story-section {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 34px;
    padding: 38px;
    box-shadow: var(--shadow);
}

.brand-story-grid {
    display: grid;
    grid-template-columns: 1fr .9fr;
    gap: 32px;
    align-items: center;
}

.brand-story-text h2 {
    font-size: clamp(32px, 5vw, 56px);
    margin: 0 0 18px;
}

.brand-story-text p {
    font-size: 18px;
    color: var(--muted);
    word-break: keep-all;
}

.brand-story-image img {
    width: 100%;
    border-radius: 24px;
    background: #fff;
}

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

.notice-image {
    display: none;
}

.aouya-final-cta {
    margin-top: 70px;
    background: linear-gradient(135deg, #21473b, #2f5f4f);
    color: white;
    border-radius: 34px;
    padding: 48px 34px;
    text-align: center;
    box-shadow: var(--shadow);
}

.aouya-final-cta h2 {
    font-size: clamp(30px, 4vw, 48px);
    margin: 0 0 10px;
}

.aouya-final-cta p {
    color: rgba(255, 255, 255, .75);
    font-size: 18px;
}

.aouya-final-cta .hero-actions {
    justify-content: center;
}

.aouya-final-cta .btn.secondary {
    color: white;
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .25);
}

@media (max-width: 860px) {
    .aouya-hero,
    .feature-grid,
    .image-two-column,
    .spec-layout,
    .brand-story-grid,
    .guide-grid {
        grid-template-columns: 1fr;
    }

    .aouya-hero {
        min-height: auto;
        padding-top: 30px;
    }

    .aouya-hero-image,
    .spec-image,
    .spec-table-card,
    .brand-story-section {
        padding: 20px;
    }

    .spec-list div {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .dark-section {
        padding: 34px 18px;
    }

    .notice-image {
        display: block;
    }
}

/* AOUYA 네이버 스마트스토어 연결 및 구매 동선 보강 */

.store-callout {
    display: inline-grid;
    gap: 4px;
    margin: 20px 0 4px;
    padding: 16px 20px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.store-callout strong {
    color: var(--primary);
    font-size: 18px;
}

.store-callout span {
    color: var(--muted);
    font-size: 15px;
}

.product-card-section {
    margin-top: 30px;
}

.product-option-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.product-option-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 26px;
    box-shadow: var(--shadow);
    padding: 28px;
    text-align: center;
}

.product-option-card h3 {
    font-size: 42px;
    color: var(--primary);
    margin: 0 0 10px;
}

.product-option-card p {
    color: var(--muted);
    min-height: 52px;
}

.product-option-card .btn {
    margin-top: 16px;
}

.aouya-review-guide {
    margin-top: 70px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow);
    padding: 34px;
    text-align: center;
}

.aouya-review-guide h2 {
    font-size: clamp(28px, 4vw, 42px);
    margin: 0 0 10px;
}

.aouya-review-guide p {
    max-width: 720px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 17px;
}

@media (max-width: 860px) {
    .product-option-grid {
        grid-template-columns: 1fr;
    }

    .store-callout {
        width: 100%;
    }

    .product-option-card p {
        min-height: auto;
    }
}