/* Tech Placeholders Styles */
.fun-fact-box {
    background: linear-gradient(135deg, #fff3cd 0%, #ffecb5 100%);
    border-left: 4px solid #ffc107;
    padding: 20px;
    border-radius: 0 8px 8px 0;
    margin: 25px 0;
}

.fun-fact {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    color: #856404;
}

.fun-fact i {
    font-size: 1.5rem;
    color: #ffc107;
}

/* Placeholder Cards */
.placeholder-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    margin: 35px 0;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.placeholder-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.placeholder-header {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.placeholder-icon {
    font-size: 2rem;
    background: rgba(255,255,255,0.15);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-title h3 {
    margin: 0 0 5px 0;
    font-size: 1.5rem;
}

.placeholder-subtitle {
    opacity: 0.8;
    font-size: 0.95rem;
}

.placeholder-content {
    padding: 30px;
}

/* Timeline Box */
.timeline-box {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #dee2e6;
}

.timeline-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.timeline-date {
    background: #6c757d;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    min-width: 70px;
    text-align: center;
    margin-right: 15px;
}

.timeline-content {
    flex: 1;
    color: #495057;
}

/* Why Grid */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.why-item {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.why-item:hover {
    transform: translateY(-3px);
    background: #e9ecef;
}

.why-item i {
    font-size: 2rem;
    color: #6c757d;
    margin-bottom: 15px;
}

.why-item h5 {
    margin: 10px 0;
    color: #495057;
}

.why-item p {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
}

/* Funny Fact Box */
.funny-fact {
    background: #e7f5ff;
    border-left: 4px solid #339af0;
    padding: 20px;
    border-radius: 0 8px 8px 0;
    margin-top: 25px;
}

.funny-fact h4 {
    color: #1971c2;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 0;
}

.funny-fact i {
    color: #339af0;
}

/* Usage Grid */
.usage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.usage-item {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.usage-item:hover {
    border-color: #6c757d;
    transform: translateY(-2px);
}

.usage-item i {
    font-size: 1.5rem;
    color: #6c757d;
    margin-bottom: 10px;
    display: block;
}

.usage-item span {
    font-size: 0.9rem;
    color: #495057;
}

/* Family Tree */
.family-tree {
    margin: 30px 0;
}

.family-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.family-member {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.family-member:hover {
    transform: translateX(5px);
    background: #e9ecef;
}

.member-avatar {
    width: 50px;
    height: 50px;
    background: #6c757d;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.member-info {
    flex: 1;
}

.member-info strong {
    display: block;
    color: #495057;
    margin-bottom: 3px;
}

.member-info span {
    font-size: 0.85rem;
    color: #6c757d;
}

/* Real Problem Box */
.real-problem {
    background: #fff5f5;
    border-left: 4px solid #fa5252;
    padding: 20px;
    border-radius: 0 8px 8px 0;
    margin-top: 25px;
}

.real-problem h4 {
    color: #c92a2a;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 0;
}

.real-problem i {
    color: #fa5252;
}

/* Code Examples */
.code-examples {
    margin: 25px 0;
}

.code-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.code-item {
    background: #1a1a1a;
    border-radius: 6px;
    overflow: hidden;
}

.code-header {
    background: #2d2d2d;
    color: #ccc;
    padding: 8px 15px;
    font-size: 0.85rem;
    font-family: 'Courier New', monospace;
}

.code-item pre {
    margin: 0;
    padding: 15px;
}

.code-item code {
    color: #f8f9fa;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

/* Symbolism Grid */
.symbolism-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.symbol-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.symbol-icon {
    font-size: 1.8rem;
    min-width: 50px;
    text-align: center;
}

.symbol-text strong {
    display: block;
    color: #495057;
    margin-bottom: 5px;
}

.symbol-text p {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
}

/* Dessert Grid */
.dessert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.dessert-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: white;
    border: 1px solid #ffe8cc;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.dessert-item:hover {
    background: #fff4e6;
    transform: translateY(-3px);
}

.dessert-icon {
    font-size: 1.8rem;
    min-width: 40px;
}

.dessert-info {
    flex: 1;
}

.dessert-info strong {
    display: block;
    color: #495057;
    margin-bottom: 3px;
}

.dessert-info span {
    font-size: 0.85rem;
    color: #868e96;
}

/* Reason Boxes */
.reason-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.reason-box {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.reason-box i {
    font-size: 2rem;
    color: #fab005;
    margin-bottom: 15px;
}

.reason-box h5 {
    color: #e67700;
    margin: 10px 0;
}

.reason-box p {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
}

.why-ended {
    background: #fff9db;
    border: 1px solid #ffec99;
    border-radius: 8px;
    padding: 20px;
    margin: 25px 0;
}

.why-ended h5 {
    color: #e67700;
    margin-top: 0;
}

.why-ended ul {
    padding-left: 20px;
}

.why-ended li {
    margin-bottom: 8px;
    color: #5c5c5c;
}

/* Developer Nostalgia */
.developer-nostalgia {
    background: #e7f5ff;
    border-left: 4px solid #339af0;
    padding: 20px;
    border-radius: 0 8px 8px 0;
    margin-top: 25px;
    font-style: italic;
}

.developer-nostalgia h4 {
    color: #1971c2;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 0;
}

.developer-nostalgia i {
    color: #339af0;
}

/* Character Grid */
.character-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.character-card {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.character-card:hover {
    border-color: #6c757d;
    transform: translateY(-3px);
}

.character-avatar {
    width: 60px;
    height: 60px;
    background: #6c757d;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.character-info {
    flex: 1;
}

.character-info strong {
    display: block;
    color: #495057;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.character-info span {
    display: block;
    color: #868e96;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.character-desc {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
}

/* Lesson Box */
.lesson-box {
    background: #f3f0ff;
    border-left: 4px solid #7950f2;
    padding: 20px;
    border-radius: 0 8px 8px 0;
    margin-top: 25px;
}

.lesson-box h5 {
    color: #5f3dc4;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 0;
}

.lesson-box i {
    color: #7950f2;
}

/* Insights Grid */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.insight-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.insight-card:hover {
    transform: translateY(-5px);
}

.insight-icon {
    font-size: 2rem;
    color: #0078b0;
    margin-bottom: 15px;
}

.insight-card h3 {
    color: #004466;
    font-size: 1.2rem;
    margin: 15px 0;
}

.insight-card p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Professionals Approach */
.professionals-approach {
    background: #f0f9ff;
    border-radius: 10px;
    padding: 30px;
    margin: 40px 0;
}

.professionals-approach h3 {
    color: #0078b0;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.professionals-approach i {
    color: #0078b0;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.approach-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.approach-item:hover {
    transform: translateY(-3px);
}

.approach-item i {
    font-size: 2rem;
    color: #0078b0;
    margin-bottom: 15px;
}

.approach-item h4 {
    color: #004466;
    margin: 10px 0;
    font-size: 1.1rem;
}

.approach-item p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* Irony Grid */
.irony-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.irony-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-top: 4px solid #fab005;
}

.irony-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.irony-number {
    background: #fab005;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.irony-header h4 {
    margin: 0;
    color: #e67700;
    font-size: 1.1rem;
}

.irony-card p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Conclusion */
.conclusion-content {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    padding: 30px;
    margin: 30px 0;
}

.key-message {
    background: white;
    border-left: 4px solid #0078b0;
    padding: 25px;
    border-radius: 0 8px 8px 0;
    margin: 30px 0;
}

.key-message h3 {
    color: #004466;
    font-style: italic;
    margin-top: 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.key-message i {
    color: #0078b0;
    font-size: 1.5rem;
    margin-top: 5px;
}

.key-message p {
    margin: 15px 0 0 0;
    color: #666;
    line-height: 1.6;
}

/* Trivia Quiz */
.trivia-quiz {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-top: 15px;
}

.trivia-question {
    margin-bottom: 15px;
}

.trivia-question p {
    font-weight: 500;
    color: #495057;
    margin-bottom: 15px;
}

.trivia-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.trivia-option {
    padding: 10px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.trivia-option:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.trivia-option.correct {
    background: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.trivia-option.incorrect {
    background: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.trivia-answer {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    display: none;
}

.trivia-answer.correct {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    display: block;
}

.trivia-answer.incorrect {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .placeholder-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .placeholder-icon {
        margin: 0 auto;
    }
    
    .why-grid,
    .symbolism-grid,
    .reason-boxes,
    .approach-grid,
    .insights-grid,
    .irony-grid {
        grid-template-columns: 1fr;
    }
    
    .family-grid,
    .character-grid,
    .dessert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .code-grid {
        grid-template-columns: 1fr;
    }
    
    .trivia-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .family-grid,
    .character-grid,
    .dessert-grid,
    .usage-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .timeline-date {
        margin-bottom: 8px;
    }
    
    .character-card {
        flex-direction: column;
        text-align: center;
    }
    
    .character-avatar {
        margin: 0 auto;
    }
}