/* index.css - Ultra-Premium Shin-chan Experience */
@import url('https://fonts.googleapis.com/css2?family=Gaegu:wght@400;700&family=Noto+Sans+KR:wght@300;400;500;700;900&display=swap');

:root {
    --primary-red: #FF4B5C;
    --secondary-yellow: #FFD700;
    --accent-blue: #3498DB;
    --bg-light: #FFFDF0;
    --text-dark: #2C3E50;
    --glass-white: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.06);
    --shadow-strong: 0 20px 60px rgba(255, 75, 92, 0.25);
    --transition-smooth: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.8;
    overflow-x: hidden;
}

h1, h2, h3, .gaegu-font {
    font-family: 'Gaegu', cursive;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    border-radius: 10px;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes floating {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 75, 92, 0.4); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 20px rgba(255, 75, 92, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 75, 92, 0); }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

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

/* Glass Card System */
.glass-card {
    background: var(--glass-white);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 40px;
    padding: 60px;
    border: 3px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
    margin-bottom: 60px;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: var(--secondary-yellow);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

/* Header & Hero */
header {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at top right, #FFF9C4 0%, #fff 70%);
    text-align: center;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="%23FF4B5C" fill-opacity="0.1"/></svg>');
    background-size: 50px 50px;
    animation: floating 20s linear infinite;
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2;
}

.hero-img {
    width: 380px;
    max-width: 90%;
    margin-bottom: 40px;
    filter: drop-shadow(0 40px 60px rgba(0,0,0,0.15));
    animation: floating 5s ease-in-out infinite;
}

h1 {
    font-size: clamp(4rem, 12vw, 8rem);
    color: var(--primary-red);
    margin-bottom: 20px;
    letter-spacing: -3px;
    text-shadow: 8px 8px 0px var(--secondary-yellow);
}

.subtitle {
    font-size: 1.8rem;
    color: var(--text-dark);
    background: white;
    padding: 15px 45px;
    border-radius: 100px;
    box-shadow: var(--shadow-soft);
    display: inline-block;
    border: 4px solid var(--secondary-yellow);
    font-weight: 700;
}

/* Sections */
section {
    padding: 140px 20px;
    max-width: 1300px;
    margin: 0 auto;
}

h2 {
    font-size: 3.5rem;
    color: var(--primary-red);
    margin-bottom: 80px;
    text-align: center;
    position: relative;
}

h2::after {
    content: '🎉';
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
}

/* Profile Section */
.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.info-item {
    background: white;
    padding: 40px;
    border-radius: 35px;
    transition: var(--transition-smooth);
    border-bottom: 10px solid var(--primary-red);
    box-shadow: 0 15px 35px rgba(0,0,0,0.03);
}

.info-item:hover {
    transform: translateY(-20px);
    box-shadow: var(--shadow-strong);
}

.info-item h4 {
    color: var(--primary-red);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Family Section */
.family-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}

.family-card {
    background: white;
    padding: 50px 30px;
    border-radius: 40px;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.family-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 8px;
    background: linear-gradient(90deg, var(--secondary-yellow), var(--primary-red));
}

.family-card:hover {
    transform: translateY(-15px) rotate(1deg);
    box-shadow: var(--shadow-strong);
}

.family-icon {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 6px solid #FFF9C4;
    margin-bottom: 30px;
    transition: var(--transition-smooth);
}

.family-card:hover .family-icon {
    transform: scale(1.1) rotate(-5deg);
    border-color: var(--primary-red);
}

/* Tags Cloud */
.list-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.tag {
    padding: 12px 25px;
    border-radius: 20px;
    font-weight: 700;
    transition: var(--transition-smooth);
    cursor: pointer;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.likes .tag { border: 2px solid #27ae60; color: #27ae60; }
.dislikes .tag { border: 2px solid #e74c3c; color: #e74c3c; }

.tag:hover {
    transform: scale(1.1) rotate(3deg);
    background: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
}

/* Traits Section */
.traits-highlight {
    background: linear-gradient(135deg, #FF4B5C 0%, #FF6B6B 100%);
    color: white;
    padding: 100px 60px;
    border-radius: 50px;
    text-align: center;
    box-shadow: var(--shadow-strong);
    position: relative;
}

.traits-highlight h3 {
    font-size: 3.5rem;
    margin-bottom: 40px;
}

.traits-highlight p {
    font-size: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
    line-height: 2;
    word-break: keep-all;
}

/* CTA Button */
.btn-primary {
    display: inline-block;
    padding: 25px 70px;
    background: var(--primary-red);
    color: white;
    text-decoration: none;
    border-radius: 100px;
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 60px;
    transition: var(--transition-smooth);
    box-shadow: 0 20px 40px rgba(255, 75, 92, 0.4);
    animation: pulse 3s infinite;
}

.btn-primary:hover {
    transform: scale(1.1);
    background: var(--secondary-yellow);
    color: var(--text-dark);
}

/* Footer */
footer {
    background: #1A252F;
    color: rgba(255,255,255,0.7);
    padding: 100px 20px;
    text-align: center;
}

footer strong { color: white; display: block; margin-bottom: 20px; font-size: 1.5rem; }

/* Mobile Responsive */
@media (max-width: 768px) {
    h1 { font-size: 4rem; }
    h2 { font-size: 2.5rem; }
    .hero-img { width: 280px; }
    .glass-card { padding: 40px 20px; }
    .traits-highlight { padding: 60px 30px; }
    .traits-highlight p { font-size: 1.2rem; }
}
