/* ============================================
   Modern Project Page Stylesheet - Humanoid-GPT
   Fresh & Elegant Design
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* CSS Variables */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --accent-pink: #fe8e8e;
    --accent-mint: #9fd8ca;
    --accent-blue: #98d4e6;
    --accent-purple: #c8a4dd;
    --accent-gold: #ecd1aa;
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --bg-light: #fafafa;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    --shadow-soft: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 16px;
}

/* Base Styles */
body {
    font-family: 'Inter', 'Noto Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    color: var(--text-primary);
    line-height: 1.7;
}

/* Typography */
.make-font {
    font-size: 60pt;
}

@media screen and (max-width: 768px) {
    .make-font {
        font-size: 26pt;
    }
}

.high-font {
    font-size: 42pt;
    font-weight: 400;
    letter-spacing: -0.5px;
}

@media screen and (max-width: 768px) {
    .high-font {
        font-size: 18pt;
    }
}

.authors-font {
    font-size: 1.15em;
    font-weight: 500;
}

@media screen and (max-width: 768px) {
    .authors-font {
        font-size: 0.95em;
    }
}

.btn-font {
    font-size: 0.95em !important;
    font-weight: 500 !important;
}

@media screen and (max-width: 768px) {
    .btn-font {
        font-size: 0.8em !important;
    }
}

.sansfont {
    font-family: 'Inter', 'Noto Sans', sans-serif;
}

/* Animated Title */
.shakefont {
    font-size: 44.5px;
    display: inline-block;
    font-weight: 600;
}

@media screen and (max-width: 768px) {
    .shakefont {
        font-size: 28px;
    }
}

/* Button Styles */
.button.is-dark {
    background: var(--text-primary) !important;
    transition: var(--transition);
}

.button.is-dark:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    background: #1a202c !important;
}

.is-rounded {
    border-radius: 25px !important;
}

/* Cards */
.card-1 {
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    border-radius: var(--border-radius);
    margin-bottom: 24pt;
    background: var(--bg-card);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: var(--transition);
}

.card-1:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.card-1 video,
.card-1 img {
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    width: 100%;
}

.card-0 {
    margin-bottom: 32pt;
}

.card-content {
    padding: 16px 20px;
}

.prompt {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    height: auto;
    min-height: 2.5em;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Sections */
.title.is-3 {
    font-family: 'Playfair Display', 'Cormorant Garamond', Georgia, serif !important;
    font-weight: 600 !important;
    font-size: 28px !important;
    letter-spacing: -0.3px;
    text-align: center !important;
    color: var(--text-primary);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.my-block {
    margin-bottom: 3rem;
}

/* Content */
.content.has-text-justified {
    text-align: justify;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
}

.content.has-text-justified b,
.content.has-text-justified strong {
    color: var(--text-primary);
}

/* Image Styles */
.interpolation-image {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.interpolation-image:hover {
    box-shadow: var(--shadow-hover);
}

/* Citation Block */
pre code {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 20px 24px;
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

/* Footer */
footer.footer {
    background: transparent;
    padding: 2em;
}

footer.footer .content {
    color: var(--text-muted);
    font-size: 14px;
}

footer.footer a {
    color: var(--text-muted);
    transition: var(--transition);
}

footer.footer a:hover {
    color: var(--accent-pink);
}

/* Animations */
@keyframes bounce1 {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes bounce2 {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-15px); }
    60% { transform: translateY(-8px); }
}

@keyframes bounce3 {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-12px); }
    60% { transform: translateY(-4px); }
}

.word1 { animation: bounce1 1s infinite; }
.word2 { animation: bounce2 2s infinite; }
.word3 { animation: bounce3 3s infinite; }
.word4 { animation: bounce1 1.5s infinite; }
.word5 { animation: bounce2 1.0s infinite; }

/* Hero Section */
.hero-body {
    padding: 3rem 1.5rem;
}

.hero.teaser .hero-body {
    padding-top: 1rem;
    padding-bottom: 2rem;
}

/* Publication Title */
.publication-title {
    line-height: 1.3;
}

/* Author Links */
.publication-authors a {
    color: #667eea !important;
    transition: var(--transition);
}

.publication-authors a:hover {
    color: #764ba2 !important;
    text-decoration: underline;
}

/* Slider */
.custom-slider2 {
    padding: 20px 0;
}

/* Section Background */
.section {
    background: transparent;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: rgba(102, 126, 234, 0.2);
    color: var(--text-primary);
}

/* Video Container Enhancement */
.video-container video {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
}

/* Rows Enhancement */
.rows .columns .column video {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
}
