:root {
    --bg-color: #0f1016;
    --card-bg: #181a26;
    --primary-pink: #ff6584;
    --secondary-pink: #ff758c;
    --accent-purple: #a855f7;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --border-color: #2d3148;
    --code-bg: #11131c;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Floating background icons */
.floating-hearts {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
    display: flex;
    justify-content: space-around;
    opacity: 0.15;
    animation: floatAnim 10s infinite alternate ease-in-out;
}

.floating-hearts span {
    font-size: 2rem;
    animation: bounce 4s infinite alternate ease-in-out;
}

.floating-hearts span:nth-child(2) { animation-delay: 1s; }
.floating-hearts span:nth-child(3) { animation-delay: 2s; }
.floating-hearts span:nth-child(4) { animation-delay: 3s; }

@keyframes floatAnim {
    0% { transform: translateY(0); }
    100% { transform: translateY(-20px); }
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 6rem 2rem 4rem;
    background: linear-gradient(135deg, rgba(255, 101, 132, 0.1), rgba(168, 85, 247, 0.1));
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 101, 132, 0.15);
    color: var(--primary-pink);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 101, 132, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--primary-pink), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn.primary {
    background: linear-gradient(135deg, var(--primary-pink), var(--secondary-pink));
    color: white;
    box-shadow: 0 4px 15px rgba(255, 101, 132, 0.4);
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 101, 132, 0.6);
}

.btn.secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn.secondary:hover {
    border-color: var(--primary-pink);
    color: var(--primary-pink);
}

/* Container & Cards */
.container {
    max-width: 1000px;
    margin: 4rem auto;
    padding: 0 1.5rem;
}

.card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.card-image:hover img {
    transform: scale(1.05);
}

.image-overlay-tag {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(15, 16, 22, 0.85);
    color: var(--primary-pink);
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 101, 132, 0.3);
    font-family: 'Fira Code', monospace;
}

.card-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.card-content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* Grid Section */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 800;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.trait-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.trait-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-pink);
}

.trait-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.trait-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.anime-side, .linus-side {
    background: var(--code-bg);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    border-left: 3px solid var(--primary-pink);
}

.linus-side {
    border-left-color: var(--accent-purple);
}

.analysis-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

/* Quiz Simulator */
.simulator-card {
    display: block !important;
    text-align: center;
    background: linear-gradient(145deg, var(--card-bg), #141622);
}

.simulator-card h2 {
    margin-bottom: 0.5rem;
}

.quiz-box {
    margin-top: 2rem;
    background: var(--code-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.quote-text {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 2rem;
    color: #e2e8f0;
}

.quiz-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.anime-btn {
    background: rgba(255, 101, 132, 0.2);
    color: var(--primary-pink);
    border: 1px solid rgba(255, 101, 132, 0.4);
}

.anime-btn:hover {
    background: rgba(255, 101, 132, 0.3);
}

.linus-btn {
    background: rgba(168, 85, 247, 0.2);
    color: var(--accent-purple);
    border: 1px solid rgba(168, 85, 247, 0.4);
}

.linus-btn:hover {
    background: rgba(168, 85, 247, 0.3);
}

.quiz-result {
    margin-top: 1.5rem;
    font-weight: 600;
}

.correct { color: #4ade80; }
.incorrect { color: #f87171; }

/* Timeline */
.timeline-section {
    margin: 4rem 0;
}

.timeline {
    list-style: none;
    position: relative;
    padding-left: 2rem;
    border-left: 2px solid var(--border-color);
}

.timeline li {
    position: relative;
    margin-bottom: 2.5rem;
    padding-left: 1.5rem;
}

.timeline-badge {
    position: absolute;
    left: -2.6rem;
    top: 0;
    background: var(--primary-pink);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.timeline-panel {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 12px;
}

.timeline-panel h3 {
    margin-bottom: 0.5rem;
}

.timeline-panel p {
    color: var(--text-muted);
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem;
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

footer a {
    color: var(--primary-pink);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .card {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
}
