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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
    background-color: #0a0a0a;
    color: #ffffff;
}

/* Section Styles */
.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

.content-wrapper {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

/* Intro Section */
.intro-section {
    background-image: url('Images/Starting.jpeg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: #f5f5dc;
    position: relative;
}

.intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.intro-section .content-wrapper {
    position: relative;
    z-index: 1;
    text-align: center;
}

.intro-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    animation: fadeIn 1.5s ease-in;
}

.intro-section p {
    font-size: 2rem;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
    animation: fadeIn 2s ease-in 0.5s both;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Memory Sections */
.memory-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.memory-section:nth-child(odd) {
    background: linear-gradient(135deg, #0f3460 0%, #16213e 100%);
}

.memory-container {
    display: flex;
    gap: 3rem;
    align-items: center;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.memory-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.memory-container.reverse {
    flex-direction: row-reverse;
}

.memory-image {
    flex: 1;
    max-width: 500px;
}

.memory-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

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

.memory-text {
    flex: 1;
    padding: 2rem;
}

.year-title {
    font-size: 4rem;
    color: #ffd700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.memory-dialogue {
    font-size: 1.5rem;
    line-height: 1.8;
    font-style: italic;
    color: #e0e0e0;
}

/* Finale Section */
.finale-section {
    background: linear-gradient(135deg, #1a0000 0%, #330000 50%, #1a0000 100%);
    padding: 4rem 2rem;
}

.threat-alert {
    max-width: 900px;
    margin: 0 auto;
}

.alert-header {
    text-align: center;
    margin-bottom: 2rem;
}

.alert-badge {
    display: inline-block;
    background: #ff0000;
    color: white;
    padding: 0.5rem 2rem;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

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

.alert-title {
    font-size: 2.5rem;
    color: #ff6b6b;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.wanted-poster {
    background: #f5f5dc;
    color: #000;
    border: 10px solid #8b4513;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    transform: rotate(-1deg);
    transition: transform 0.3s ease;
}

.wanted-poster:hover {
    transform: rotate(0deg) scale(1.02);
}

.poster-header {
    text-align: center;
    border-bottom: 3px solid #8b4513;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.poster-header h1 {
    font-size: 3rem;
    color: #ff0000;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
}

.poster-header h2 {
    font-size: 1.8rem;
    color: #000;
    font-weight: bold;
}

.poster-image {
    text-align: center;
    margin: 2rem 0;
}

.poster-image img {
    max-width: 400px;
    width: 100%;
    height: auto;
    border: 5px solid #000;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.poster-content {
    text-align: center;
}

.sub-headline {
    font-size: 1.3rem;
    color: #8b0000;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.threat-details {
    text-align: left;
    background: rgba(255, 255, 255, 0.5);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
}

.threat-details p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.threat-details ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.threat-details li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.birthday-message {
    text-align: center;
    font-size: 1.5rem !important;
    color: #ff1493;
    margin-top: 2rem !important;
    padding: 1rem;
    background: rgba(255, 215, 0, 0.2);
    border-radius: 8px;
    border: 2px dashed #ff1493;
}

/* Responsive Design - Tablet */
@media (max-width: 768px) {
    .intro-section h1 {
        font-size: 2.5rem;
    }
    
    .intro-section p {
        font-size: 1.5rem;
    }
    
    .memory-container,
    .memory-container.reverse {
        flex-direction: column;
        gap: 2rem;
    }
    
    .memory-image {
        max-width: 100%;
    }
    
    .year-title {
        font-size: 3rem;
    }
    
    .memory-dialogue {
        font-size: 1.2rem;
    }
    
    .alert-title {
        font-size: 2rem;
    }
    
    .poster-header h1 {
        font-size: 2.5rem;
    }
    
    .poster-header h2 {
        font-size: 1.5rem;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 480px) {
    .section {
        padding: 1rem;
    }
    
    .intro-section h1 {
        font-size: 2rem;
    }
    
    .intro-section p {
        font-size: 1.2rem;
    }
    
    .year-title {
        font-size: 2.5rem;
    }
    
    .memory-dialogue {
        font-size: 1rem;
    }
    
    .memory-text {
        padding: 1rem;
    }
    
    .alert-badge {
        font-size: 1rem;
        padding: 0.4rem 1.5rem;
    }
    
    .alert-title {
        font-size: 1.5rem;
    }
    
    .wanted-poster {
        padding: 1rem;
    }
    
    .poster-header h1 {
        font-size: 2rem;
    }
    
    .poster-header h2 {
        font-size: 1.2rem;
    }
    
    .sub-headline {
        font-size: 1.1rem;
    }
    
    .threat-details {
        padding: 1rem;
    }
    
    .threat-details p,
    .threat-details li {
        font-size: 0.95rem;
    }
    
    .birthday-message {
        font-size: 1.2rem !important;
    }
    
    .poster-image img {
        max-width: 100%;
    }
}

/* Made with Bob */
