/* Dakota Mechanical, Inc. — Korean airy aesthetic */

:root {
    --bg-main: #f6fbf9;
    --bg-soft: #eef8f4;
    --surface: #ffffff;
    --surface-soft: #f8fffc;
    --ink: #2f4a45;
    --ink-soft: #62827a;
    --line: #d7eee5;
    --mint: #8fd3c1;
    --sage: #a7d8c7;
    --sky: #b7def7;
    --peach: #f8d9ca;
    --accent: #4fae93;
    --accent-strong: #3a937b;
    --font-display: "Nanum Myeongjo", "Noto Serif KR", serif;
    --font-ui: "Noto Sans KR", "Malgun Gothic", sans-serif;
    --shadow-soft: 0 10px 26px rgba(79, 174, 147, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-ui);
    font-size: 17px;
    line-height: 1.75;
    color: var(--ink);
    background-color: var(--bg-main);
    background-image:
        radial-gradient(circle at 14% 18%, rgba(143, 211, 193, 0.28), transparent 36%),
        radial-gradient(circle at 87% 72%, rgba(183, 222, 247, 0.3), transparent 40%),
        linear-gradient(180deg, #f9fffd 0%, #f2fbf8 58%, #f8fffd 100%);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 22px;
}

/* Navbar */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(248, 255, 252, 0.88);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 6px 18px rgba(79, 174, 147, 0.08);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 11px;
}

.logo-icon {
    font-family: var(--font-display);
    font-size: 26px;
    color: var(--accent);
    line-height: 1;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--ink);
    max-width: 320px;
    line-height: 1.3;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 26px;
}

.nav-link {
    font-family: var(--font-ui);
    font-size: 15px;
    color: var(--ink-soft);
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-strong);
}

.navbar.scrolled {
    box-shadow:
        0 8px 22px rgba(79, 174, 147, 0.16),
        inset 0 -1px 0 var(--line);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 7px;
    cursor: pointer;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: var(--accent-strong);
    border-radius: 2px;
}

@media (max-width: 900px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--surface);
        border-bottom: 1px solid var(--line);
        padding: 22px;
        gap: 14px;
        transform: translateY(-125%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.28s ease, opacity 0.28s ease;
        box-shadow: 0 12px 24px var(--shadow-soft);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
}

/* Hero */

.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    padding-top: 76px;
    padding-bottom: 88px;
}

.hero-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.memphis-shapes .shape {
    position: absolute;
    opacity: 0.28;
}

.shape-circle {
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.7), transparent 62%);
    border: 2px dashed rgba(79, 174, 147, 0.35);
}

.shape-1 { width: 120px; height: 120px; top: 10%; right: 8%; }
.shape-2 { width: 72px; height: 72px; bottom: 28%; left: 6%; border-color: rgba(183, 222, 247, 0.5); }
.shape-3 { width: 48px; height: 48px; top: 38%; left: 14%; }

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 46px solid transparent;
    border-right: 46px solid transparent;
    border-bottom: 78px solid rgba(248, 217, 202, 0.65);
}

.shape-4 { top: 16%; left: 22%; transform: rotate(-6deg); }
.shape-5 { bottom: 12%; right: 16%; border-bottom-color: rgba(143, 211, 193, 0.5); }

.shape-zigzag,
.shape-squiggle {
    display: none;
}

.polka-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(98, 130, 122, 0.14) 1px, transparent 1px);
    background-size: 14px 14px;
    opacity: 0.55;
}

.stripes-diag {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        125deg,
        transparent,
        transparent 22px,
        rgba(79, 174, 147, 0.06) 22px,
        rgba(79, 174, 147, 0.06) 23px
    );
}

.pixel-scan {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-ui);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    background: linear-gradient(135deg, var(--mint), var(--accent));
    padding: 8px 16px;
    border-radius: 999px;
    margin-bottom: 22px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        0 4px 14px var(--shadow-soft);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5.8vw, 56px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: 0.02em;
    color: #33514b;
    margin-bottom: 10px;
    text-shadow: 0 2px 0 rgba(255, 255, 255, 0.9);
}

.title-line {
    display: block;
}

.title-line.highlight {
    color: var(--accent-strong);
    -webkit-text-fill-color: var(--accent-strong);
}

.hero-pretitle {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--ink-soft);
    margin-bottom: 18px;
    font-weight: 500;
}

.hero-subtitle {
    font-family: var(--font-ui);
    font-size: 17px;
    color: var(--ink-soft);
    max-width: 720px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border-radius: 999px;
    font-family: var(--font-ui);
    font-size: 15px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn-primary {
    background: linear-gradient(180deg, #8fd3c1, #6fc1ab);
    color: #ffffff;
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.35),
        0 4px 0 rgba(143, 211, 193, 0.4),
        0 10px 22px rgba(79, 174, 147, 0.22);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.42),
        0 6px 0 rgba(143, 211, 193, 0.42),
        0 13px 28px rgba(79, 174, 147, 0.24);
}

.btn-secondary {
    background: var(--surface);
    color: var(--ink);
    border: 1px solid var(--line);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 3px 0 rgba(183, 222, 247, 0.4);
}

.btn-secondary:hover {
    border-color: var(--mint);
    color: var(--accent-strong);
}

.scroll-indicator {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-family: var(--font-ui);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.scroll-indicator .arrow {
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(45deg);
    animation: bounce 2.2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0) rotate(45deg); }
    50% { transform: translateY(8px) rotate(45deg); }
}

.section-header {
    text-align: center;
    margin-bottom: 52px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(26px, 3.8vw, 38px);
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 12px;
    letter-spacing: 0.03em;
}

.section-subtitle {
    font-family: var(--font-ui);
    font-size: 16px;
    color: var(--ink-soft);
    max-width: 560px;
    margin: 0 auto;
}

.section-tag {
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--accent);
    margin-bottom: 10px;
    font-weight: 600;
}

/* Services */

.games-section {
    padding: 96px 0;
    background: linear-gradient(180deg, var(--bg-soft), var(--bg-main) 52%);
    border-top: 1px solid var(--line);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

@media (max-width: 992px) {
    .games-grid {
        grid-template-columns: 1fr;
    }
}

.game-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 4px 0 rgba(183, 222, 247, 0.22),
        var(--shadow-soft);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.game-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 6px 0 rgba(143, 211, 193, 0.35),
        0 22px 40px rgba(79, 174, 147, 0.2);
}

.game-card.featured {
    border-color: rgba(79, 174, 147, 0.5);
}

.game-image {
    position: relative;
    height: 168px;
    background: linear-gradient(145deg, #e4f5ef, rgba(183, 222, 247, 0.4));
}

.game-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 0%, rgba(255, 252, 245, 0.9), transparent 72%);
}

.game-icon {
    font-size: 2.9rem;
    filter: drop-shadow(2px 3px 0 rgba(196, 75, 63, 0.15));
}

.game-overlay {
    position: absolute;
    top: 12px;
    right: 12px;
}

.game-badge {
    font-family: var(--font-ui);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(44, 38, 34, 0.12);
    background: var(--surface);
    color: var(--ink-soft);
}

.game-badge.new {
    background: rgba(143, 211, 193, 0.45);
    color: var(--ink);
}

.game-badge.popular {
    background: rgba(183, 222, 247, 0.52);
    color: var(--ink);
}

.game-badge.coming {
    background: rgba(248, 217, 202, 0.75);
    color: var(--ink);
}

.game-content {
    padding: 22px 22px 24px;
}

.game-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
    line-height: 1.3;
}

.game-genre {
    font-family: var(--font-ui);
    font-size: 14px;
    color: var(--accent-strong);
    margin-bottom: 10px;
}

.game-description {
    font-family: var(--font-ui);
    font-size: 15px;
    color: var(--ink-soft);
    margin-bottom: 14px;
    line-height: 1.7;
}

.game-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.feature-tag {
    font-family: var(--font-ui);
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(244, 233, 216, 0.85);
    border: 1px solid rgba(156, 184, 168, 0.45);
    color: var(--ink-soft);
}

.game-link {
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-strong);
    text-decoration: none;
}

.game-link:hover {
    text-decoration: underline;
}

/* About */

.about-section {
    padding: 96px 0;
    border-top: 1px solid var(--line);
    background:
        radial-gradient(ellipse at 82% 20%, rgba(183, 222, 247, 0.22), transparent 55%),
        var(--bg-main);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: center;
}

@media (max-width: 900px) {
    .about-content {
        grid-template-columns: 1fr;
    }
}

.about-description {
    font-family: var(--font-ui);
    color: var(--ink-soft);
    margin-bottom: 14px;
    font-size: 16px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 26px;
}

@media (max-width: 600px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
}

.value-item {
    padding: 16px;
    background: var(--surface-soft);
    border-radius: 16px;
    border: 1px solid var(--line);
    box-shadow: 0 6px 16px rgba(79, 174, 147, 0.12);
}

.value-item h4 {
    font-family: var(--font-display);
    margin: 8px 0 6px;
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
}

.value-item p {
    font-family: var(--font-ui);
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.6;
}

.about-visual {
    position: relative;
    height: 332px;
}

.visual-card {
    position: absolute;
    border-radius: 18px;
    border: 1px solid var(--line);
    box-shadow: 0 8px 20px rgba(79, 174, 147, 0.15);
}

.visual-card.card-1 {
    width: 86%;
    height: 172px;
    top: 0;
    right: 0;
    background: linear-gradient(140deg, #d8f1e8, rgba(183, 222, 247, 0.6));
}

.visual-card.card-2 {
    width: 70%;
    height: 132px;
    bottom: 60px;
    left: 0;
    background: linear-gradient(120deg, #eaf8f3, rgba(248, 217, 202, 0.55));
}

.visual-card.card-3 {
    width: 48%;
    height: 88px;
    bottom: 0;
    right: 10%;
    background: rgba(248, 255, 252, 0.95);
}

/* Contact */

.contact-section {
    padding: 96px 0;
    background: linear-gradient(180deg, var(--bg-main) 0%, #edf8f4 100%);
    border-top: 1px solid var(--line);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.14fr;
    gap: 40px;
}

@media (max-width: 900px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
}

.info-item {
    display: flex;
    gap: 14px;
    margin-bottom: 26px;
}

.info-icon {
    font-size: 1.48rem;
    line-height: 1;
    filter: drop-shadow(2px 2px 0 rgba(196, 75, 63, 0.12));
}

.info-text h4 {
    margin-bottom: 6px;
    font-family: var(--font-display);
    font-size: 15px;
    color: var(--accent-strong);
    font-weight: 600;
}

.info-text p,
.info-text a {
    font-family: var(--font-ui);
    font-size: 15px;
    color: var(--ink);
    text-decoration: none;
    line-height: 1.65;
}

.info-text a:hover {
    color: var(--accent-strong);
    text-decoration: underline;
}

.info-note {
    font-size: 14px;
    color: var(--ink-soft);
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.social-link {
    font-family: var(--font-ui);
    font-size: 13px;
    color: var(--ink);
    text-decoration: none;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface);
    transition: border-color 0.2s ease, color 0.2s ease;
}

.social-link:hover {
    border-color: var(--mint);
    color: var(--accent-strong);
}

.contact-form {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 28px;
    box-shadow:
        0 4px 0 rgba(183, 222, 247, 0.2),
        0 16px 34px rgba(79, 174, 147, 0.14);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    margin-bottom: 14px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #f7fffc;
    color: var(--ink);
    font-family: var(--font-ui);
    font-size: 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #8bb0a6;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(79, 174, 147, 0.65);
    box-shadow: 0 0 0 4px rgba(143, 211, 193, 0.24);
}

/* Footer */

.footer {
    padding: 58px 0 26px;
    border-top: 1px dashed rgba(79, 174, 147, 0.35);
    background: radial-gradient(circle at 50% -20%, rgba(183, 222, 247, 0.24), var(--bg-main) 55%);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-bottom: 36px;
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

.footer-description {
    font-family: var(--font-ui);
    color: var(--ink-soft);
    font-size: 14px;
    margin-top: 12px;
    max-width: 280px;
    line-height: 1.7;
}

.footer-title {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--accent-strong);
    margin-bottom: 14px;
    letter-spacing: 0.04em;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    font-family: var(--font-ui);
    font-size: 14px;
    color: var(--ink);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--accent-strong);
    text-decoration: underline;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
}

.newsletter-form input {
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--ink);
    font-family: var(--font-ui);
    font-size: 14px;
}

.newsletter-form .btn-primary {
    width: 100%;
}

.footer-bottom {
    padding-top: 22px;
    border-top: 1px solid var(--line);
    text-align: center;
    font-family: var(--font-ui);
    font-size: 13px;
    color: var(--ink-soft);
}
