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

:root {
    --color-bg: #faf5ee;
    --color-surface: #ffffff;
    --color-card: #ffffff;
    --color-border: #e5ddd3;
    --color-border-light: #ede6dc;
    --color-text: #2c2825;
    --color-text-secondary: #5d5650;
    --color-text-muted: #9a938b;
    --color-ejk: #c44b3f;
    --color-gaza: #cf7c33;
    --color-ice: #3d7fad;
    --color-accent: #c44b3f;
    --color-success: #4a8f6a;
    --color-tape: #f0e6d3;
    --color-tape-dark: #d4c9b8;
    --font-display: 'Caveat', cursive;
    --font-body: 'Poppins', sans-serif;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition: 0.3s var(--ease);
    --nav-h: 60px;
    --section-pad: clamp(48px, 8vw, 96px);
}

html {
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar {
    display: none;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    scrollbar-width: none;
}

body::-webkit-scrollbar {
    display: none;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

.cursor-tooltip {
    position: fixed;
    pointer-events: none;
    z-index: 1000;
    background: var(--color-accent);
    color: #fff;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: var(--font-display);
    opacity: 0;
    transform: translate(-50%, -100%);
    transition: opacity 0.2s var(--ease);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cursor-tooltip--visible {
    opacity: 1;
    animation: tooltip-pop 0.35s var(--ease);
}

.cursor-tooltip--pressed {
    transform: translate(-50%, -100%) scale(0.95);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.cursor-tooltip::before {
    content: '\f245';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

@keyframes tooltip-pop {
    0% {
        transform: translate(-50%, -100%) scale(0.92);
    }
    55% {
        transform: translate(-50%, -100%) scale(1.04);
    }
    100% {
        transform: translate(-50%, -100%) scale(1);
    }
}

@media (max-width: 768px), (hover: none) {
    .cursor-tooltip {
        display: none !important;
    }
}

ul,
ol {
    list-style: none;
}

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

.section-header {
    text-align: center;
    margin-bottom: clamp(28px, 5vw, 48px);
}

.section-header__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--color-text);
}

.section-header__title i {
    color: var(--color-accent);
}

.section-header__subtitle {
    font-size: clamp(0.85rem, 1.3vw, 0.95rem);
    color: var(--color-text-muted);
    max-width: 460px;
    margin: 0 auto;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

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

::selection {
    background: rgba(196, 75, 63, 0.15);
    color: var(--color-text);
}

.bgm-toggle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    transition: color var(--transition), border-color var(--transition), box-shadow var(--transition);
    flex-shrink: 0;
    margin-left: auto;
}

.bgm-toggle:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
}

.bgm-toggle--on {
    color: var(--color-accent);
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(196, 75, 63, 0.1);
    animation: bgm-pulse 2s ease-in-out infinite;
}

@keyframes bgm-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 3px rgba(196, 75, 63, 0.1);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(196, 75, 63, 0.05);
    }
}