/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #424242;
    background: linear-gradient(135deg, #FFF8E1 0%, #FFAB91 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 248, 225, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #B71C1C;
}

.nav-date {
    font-family: 'Dancing Script', cursive;
    font-size: 1.2rem;
    color: #FF5722;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.3), rgba(255, 171, 145, 0.4));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 2rem;
}

.greeting-text {
    margin-bottom: 3rem;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #B71C1C;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
}

/* Code Terminal */
.code-terminal {
    background: #2d3748;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    margin: 0 auto;
    animation: slideInUp 1s ease-out 0.5s both;
}

.terminal-header {
    background: #4a5568;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.terminal-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.btn.red { background: #ff5f56; }
.btn.yellow { background: #ffbd2e; }
.btn.green { background: #27ca3f; }

.terminal-title {
    color: #e2e8f0;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
}

.terminal-body {
    padding: 1.5rem;
    font-family: 'Fira Code', monospace;
    font-size: 1rem;
    line-height: 1.8;
}

.code-line {
    margin-bottom: 0.5rem;
    animation: typewriter 0.8s steps(20) forwards;
    opacity: 0;
}

.code-line:nth-child(1) { animation-delay: 1s; }
.code-line:nth-child(2) { animation-delay: 1.5s; }
.code-line:nth-child(3) { animation-delay: 2s; }

.code-keyword { color: #ff79c6; }
.code-function { color: #8be9fd; }
.code-string { color: #f1fa8c; }

.code-output {
    margin-top: 1rem;
    padding: 0.75rem;
    background: rgba(139, 233, 253, 0.1);
    border-radius: 6px;
    border-left: 3px solid #8be9fd;
    animation: fadeIn 1s ease-out 2.5s both;
}

.output-text {
    color: #50fa7b;
    font-weight: 500;
}

/* Board Section */
.board-section {
    padding: 6rem 0;
    background: rgba(255, 248, 225, 0.8);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #B71C1C;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-style: italic;
    color: #666;
    margin-bottom: 3rem;
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.board-item {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.board-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.placeholder-text {
    font-size: 1.2rem;
    color: #999;
    text-align: center;
}

.note-card {
    background: linear-gradient(135deg, #FFD700, #FFC107);
}

.note-content h3 {
    font-family: 'Playfair Display', serif;
    color: #B71C1C;
    margin-bottom: 0.5rem;
}

/* Character Section */
.character-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #FFAB91 0%, #FF8A65 100%);
}

.character-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.character-tagline {
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 2rem;
    font-style: italic;
    color: #B71C1C;
}

.character-tagline em {
    color: #FF5722;
    font-weight: 600;
}

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

.trait-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.trait-item:hover {
    transform: scale(1.02);
    background: rgba(255, 215, 0, 0.2);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.trait-emoji {
    font-size: 2rem;
    flex-shrink: 0;
}

.trait-text p {
    margin: 0;
    line-height: 1.6;
}

.character-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(183, 28, 28, 0.2);
}

.catchy-text {
    font-family: 'Dancing Script', cursive;
    font-size: 1.3rem;
    color: #FF5722;
}

/* Summary Section */
.summary-section {
    padding: 6rem 0;
    background: rgba(255, 248, 225, 0.9);
}

.summary-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
    position: relative;
}

.tldr-badge {
    position: absolute;
    top: -15px;
    left: 2rem;
    background: #FF5722;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.summary-content {
    margin: 1rem 0 2rem 0;
    font-size: 1.1rem;
    line-height: 1.8;
}

.tags-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.tag {
    background: #81C784;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.psychology-tag {
    background: #4CAF50;
}

/* Activity Section */
.activity-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #FF8A65 0%, #FFAB91 100%);
}

.activity-table {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.activity-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s ease;
}

.activity-row:hover {
    background: rgba(255, 215, 0, 0.05);
}

.activity-row:last-child {
    border-bottom: none;
}

.activity-label {
    background: #FFD700;
    padding: 1.5rem;
    font-weight: 600;
    color: #B71C1C;
    display: flex;
    align-items: center;
}

.activity-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.activity-main {
    font-weight: 500;
}

.activity-main.highlight {
    color: #FF5722;
    font-weight: 600;
}

.activity-main.negative {
    color: #B71C1C;
}

.activity-secondary {
    color: #666;
    font-size: 0.9rem;
}

.activity-placeholder {
    color: #999;
    font-style: italic;
}

.activity-notes {
    margin-top: 3rem;
}

.activity-notes h3 {
    font-family: 'Playfair Display', serif;
    color: #B71C1C;
    margin-bottom: 1rem;
}

.note-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.reaction-gif {
    margin-top: 1rem;
    text-align: center;
}

.gif-placeholder {
    background: #f5f5f5;
    padding: 2rem;
    border-radius: 8px;
    color: #999;
    font-style: italic;
}

.work-tag {
    margin-top: 1rem;
}

/* Attention Section */
.attention-section {
    padding: 6rem 0;
    position: relative;
    background: #f8f9fa;
}

.attention-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.nature-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.attention-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(129, 199, 132, 0.8), rgba(76, 175, 80, 0.6));
}

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

.theory-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    margin-top: 2rem;
}

.theory-intro {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    color: #424242;
}

.attention-types {
    margin: 2rem 0;
    display: grid;
    gap: 2rem;
}

.attention-type {
    padding: 2rem;
    background: rgba(129, 199, 132, 0.1);
    border-radius: 12px;
    border-left: 4px solid #4CAF50;
}

.attention-type h3 {
    font-family: 'Playfair Display', serif;
    color: #2E7D32;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.attention-description p {
    line-height: 1.7;
    margin: 0;
}

.theory-conclusion {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.theory-conclusion p {
    margin: 0;
    font-weight: 500;
    line-height: 1.7;
}

/* Footer */
.footer {
    background: #2d3748;
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.footer-text {
    font-family: 'Dancing Script', cursive;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.footer-date {
    color: #a0aec0;
    font-size: 0.9rem;
}

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

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes typewriter {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    .nav-title {
        font-size: 1.2rem;
    }
    
    .nav-date {
        font-size: 1rem;
    }
    
    .character-card,
    .theory-card {
        padding: 2rem;
    }
    
    .traits-grid {
        grid-template-columns: 1fr;
    }
    
    .activity-row {
        grid-template-columns: 1fr;
    }
    
    .activity-label {
        border-bottom: 1px solid #e0e0e0;
    }
    
    .terminal-body {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .code-terminal {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .character-card,
    .theory-card,
    .summary-card {
        padding: 1.5rem;
    }
}

