/* =========================================================
   Pudica.net - 랜딩 페이지
   Theme: Sky Blue / Light Mode
   ========================================================= */

:root {
    --sky-50:  #f0f9ff;
    --sky-100: #e0f2fe;
    --sky-200: #bae6fd;
    --sky-300: #7dd3fc;
    --sky-400: #38bdf8;
    --sky-500: #0ea5e9;
    --sky-600: #0284c7;
    --sky-700: #0369a1;
    --sky-800: #075985;
    --sky-900: #0c4a6e;

    --ink:      #0f2438;
    --ink-soft: #475c70;
    --white:    #ffffff;
    --border:   rgba(14, 165, 233, 0.16);
    --shadow:   0 14px 36px -16px rgba(2, 132, 199, 0.4);
    --shadow-h: 0 22px 50px -14px rgba(2, 132, 199, 0.52);

    --font-display: "Outfit", "Noto Sans KR", sans-serif;
    --font-body:    "Noto Sans KR", "Outfit", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: linear-gradient(160deg, var(--sky-100) 0%, var(--sky-50) 50%, #ffffff 100%);
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Background orbs */
.sky-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(72px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}
.sky-orb-1 {
    width: 440px; height: 440px;
    top: -130px; right: -110px;
    background: radial-gradient(circle, var(--sky-300), transparent 70%);
}
.sky-orb-2 {
    width: 370px; height: 370px;
    bottom: -140px; left: -120px;
    background: radial-gradient(circle, var(--sky-200), transparent 70%);
}

.container {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
    padding: 52px 20px 40px;
}

/* ===================== Header ===================== */
header {
    text-align: center;
    margin-bottom: 36px;
}

.brand-name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.55rem;
    letter-spacing: 0.06em;
    color: var(--sky-800);
    margin-bottom: 14px;
}
.brand-dot { color: var(--sky-400); }

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 0.13em;
    color: var(--sky-700);
    background: var(--white);
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
    box-shadow: 0 4px 14px -8px rgba(2,132,199,0.45);
}
.live-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #ef4444;
    animation: livePulse 1.6s infinite;
    flex-shrink: 0;
}
@keyframes livePulse {
    0%   { box-shadow: 0 0 0 0 rgba(239,68,68,.6); }
    70%  { box-shadow: 0 0 0 8px rgba(239,68,68,0); }
    100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); }
}

.headline {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.5rem, 5.5vw, 2.05rem);
    line-height: 1.3;
    color: var(--sky-900);
    margin-bottom: 11px;
}
.headline strong { color: var(--sky-500); }

.tagline {
    font-size: 0.93rem;
    color: var(--ink-soft);
    line-height: 1.65;
    max-width: 460px;
    margin: 0 auto;
}

/* ===================== Links Grid ===================== */
.links-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.link-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 17px 18px;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}
.link-card::before {
    content: "";
    position: absolute;
    inset: 0;
    left: 0; width: 4px;
    background: linear-gradient(180deg, var(--sky-400), var(--sky-600));
    border-radius: 4px 0 0 4px;
    opacity: 0;
    transition: opacity 0.22s ease;
}
.link-card:hover,
.link-card:focus-visible {
    transform: translateY(-3px);
    box-shadow: var(--shadow-h);
    border-color: var(--sky-200);
    outline: none;
}
.link-card:hover::before,
.link-card:focus-visible::before { opacity: 1; }
.link-card:active { transform: translateY(-1px); }

.card-icon {
    flex-shrink: 0;
    width: 50px; height: 50px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sky-100);
    color: var(--sky-600);
    transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}
.card-icon svg { width: 25px; height: 25px; }
.link-card:hover .card-icon,
.link-card:focus-visible .card-icon {
    background: linear-gradient(135deg, var(--sky-400), var(--sky-600));
    color: var(--white);
    transform: scale(1.05);
}

.card-info { flex: 1; min-width: 0; }
.card-info h2 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.04rem;
    color: var(--sky-900);
    margin-bottom: 2px;
}
.card-info p {
    font-size: 0.82rem;
    color: var(--ink-soft);
    line-height: 1.45;
}

.card-arrow {
    flex-shrink: 0;
    color: var(--sky-300);
    display: flex;
    align-items: center;
    transition: transform 0.22s ease, color 0.22s ease;
}
.card-arrow svg { width: 20px; height: 20px; }
.link-card:hover .card-arrow,
.link-card:focus-visible .card-arrow {
    transform: translateX(4px);
    color: var(--sky-600);
}

/* Card icon accent colours */
.card-youtube .card-icon { color: #dc2626; background: #fee2e2; }
.card-youtube:hover .card-icon,
.card-youtube:focus-visible .card-icon { background: linear-gradient(135deg,#f87171,#dc2626); color:#fff; }

.card-kakao .card-icon { color: #78350f; background: #fef9c3; }
.card-kakao:hover .card-icon,
.card-kakao:focus-visible .card-icon { background: linear-gradient(135deg,#fde047,#facc15); color:#78350f; }

.card-band .card-icon { color: #15803d; background: #dcfce7; }
.card-band:hover .card-icon,
.card-band:focus-visible .card-icon { background: linear-gradient(135deg,#4ade80,#16a34a); color:#fff; }

/* ===================== Footer ===================== */
footer {
    text-align: center;
    margin-top: 38px;
    font-size: 0.76rem;
    color: var(--ink-soft);
    opacity: 0.8;
}
/* ===================== Responsive ===================== */
@media (max-width: 480px) {
    .container { padding: 36px 15px 32px; }
    .link-card { padding: 15px; gap: 12px; }
    .card-icon { width: 44px; height: 44px; }
    .card-icon svg { width: 22px; height: 22px; }
    .card-info h2 { font-size: 0.97rem; }
    .card-info p { font-size: 0.78rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
