/* === Life is Strange - Dreamy Polaroid Theme === */
/* Color Palette: Soft coral, muted blue, warm cream, faded pink */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(180deg, #1a1820 0%, #252030 50%, #1e1a25 100%);
    color: #e0d8d0;
    min-height: 100vh;
    line-height: 1.6;
}

/* --- Intro Section --- */
.intro-container {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px;
    gap: 60px;
    align-items: center;
}

.intro-text {
    flex: 1;
}

.main-character-title {
    font-size: 1em;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #e07878;
    margin-bottom: 10px;
}

.game-title {
    font-size: 2.5em;
    background: linear-gradient(90deg, #e88888, #d06878);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
    letter-spacing: 2px;
}

.character-name {
    font-size: 4em;
    color: #f0e8e0;
    text-shadow: 0 0 40px rgba(224, 120, 120, 0.3);
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.tag-line {
    font-size: 1.2em;
    font-style: italic;
    color: #a8b8d0;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.brief-description {
    font-size: 1.1em;
    color: #c8c0b8;
    line-height: 1.8;
    border-left: 3px solid #e07878;
    padding-left: 20px;
}

.intro-image-card {
    flex: 0 0 400px;
}

.intro-image-card img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border: 8px solid #f8f4f0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(224, 120, 120, 0.15);
}

/* --- Scattered Grid Layout --- */
.scattered-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 25px;
    grid-auto-flow: dense;
}

/* Card Sizes - Scattered Layout */
.card-sm {
    grid-column: span 3;
}

.card-md {
    grid-column: span 4;
}

.card-lg {
    grid-column: span 6;
}

.card-tall {
    grid-column: span 4;
    grid-row: span 2;
}

.card-tall-md {
    grid-column: span 3;
    grid-row: span 2;
}

/* Base Card Style */
.card {
    padding: 28px;
    border-radius: 6px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(224, 120, 120, 0.12);
    background: rgba(30, 25, 35, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.card:hover {
    transform: translateY(-5px) rotate(0.5deg);
    box-shadow: 0 15px 40px rgba(224, 120, 120, 0.15);
}

/* Card Variants - Dreamy Polaroid Theme */
.bg-dark {
    background: linear-gradient(135deg, rgba(25, 22, 30, 0.95) 0%, rgba(18, 15, 22, 0.98) 100%);
}

.bg-soft {
    background: linear-gradient(135deg, rgba(224, 120, 120, 0.12) 0%, rgba(25, 22, 30, 0.92) 100%);
    border-top: 2px solid rgba(224, 136, 136, 0.4);
}

.bg-blue {
    background: linear-gradient(135deg, rgba(100, 130, 180, 0.18) 0%, rgba(22, 25, 35, 0.95) 100%);
    border-top: 2px solid rgba(130, 160, 200, 0.4);
}

.bg-warm {
    background: linear-gradient(135deg, rgba(200, 160, 120, 0.15) 0%, rgba(25, 22, 30, 0.95) 100%);
    border-top: 2px solid rgba(220, 180, 140, 0.35);
}

.storm-card {
    background: linear-gradient(135deg, rgba(60, 80, 100, 0.3) 0%, rgba(20, 18, 25, 0.95) 100%);
    border: 1px solid rgba(100, 140, 180, 0.3);
}

.memory-card {
    background: linear-gradient(to bottom right, rgba(35, 30, 40, 0.95), rgba(20, 18, 25, 0.98));
    border-left: 4px solid #e07878;
}

.dark-room-card {
    background: linear-gradient(135deg, rgba(40, 20, 25, 0.4) 0%, rgba(15, 12, 18, 0.98) 100%);
    border: 1px solid rgba(180, 80, 80, 0.25);
}

.summary-card {
    background: linear-gradient(135deg, rgba(224, 120, 120, 0.1) 0%, rgba(22, 20, 28, 0.95) 100%);
    border: 1px solid rgba(224, 120, 120, 0.2);
    text-align: center;
}

/* Typography inside cards */
h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #e8a0a0, #d08888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    border-bottom: 2px solid rgba(224, 120, 120, 0.2);
    padding-bottom: 10px;
    letter-spacing: 1px;
}

h4 {
    font-size: 1.25em;
    margin-bottom: 12px;
    color: #d8a8a8;
}

.card p {
    margin-bottom: 15px;
    text-align: left;
    font-size: 1em;
    color: #d0c8c0;
    line-height: 1.75;
}

.card b {
    color: #d8a8a8;
    display: block;
    margin-bottom: 8px;
    font-size: 1.05em;
}

.card ul {
    margin-left: 10px;
    list-style: none;
}

.card ul li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    font-size: 0.95em;
    color: #c8c0b8;
}

.card ul li::before {
    content: "❀";
    color: #e07878;
    position: absolute;
    left: 0;
    font-size: 0.9em;
}

.card ul li b {
    display: inline;
    color: #e8b8b8;
}

.note {
    font-size: 0.88em;
    font-style: italic;
    color: #a8b0c0;
    display: block;
    margin-top: 12px;
    line-height: 1.6;
}

/* --- Quote Section --- */
.quote-section {
    max-width: 1400px;
    margin: 60px auto;
    padding: 0 40px;
    text-align: center;
}

.quote-section blockquote {
    font-size: 1.8em;
    font-style: italic;
    color: #e8a8a8;
    padding: 50px 60px;
    position: relative;
    line-height: 1.6;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.quote-section blockquote::before {
    content: '"';
    font-size: 5em;
    color: rgba(224, 120, 120, 0.25);
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: Georgia, serif;
}

.quote-section cite {
    display: block;
    margin-top: 25px;
    font-size: 0.6em;
    color: #a8b8d0;
    font-style: normal;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* --- Gallery --- */
.gallery {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border: 6px solid #f8f4f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

.gallery img:hover {
    transform: scale(1.03) rotate(1deg);
    box-shadow: 0 12px 35px rgba(224, 120, 120, 0.25);
}

/* --- Responsive Design --- */
@media (max-width: 1200px) {
    .intro-container {
        flex-direction: column;
        text-align: center;
    }

    .brief-description {
        border-left: none;
        border-top: 3px solid #e07878;
        padding-left: 0;
        padding-top: 20px;
    }

    .intro-image-card {
        flex: 0 0 auto;
    }

    .scattered-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .card-sm {
        grid-column: span 3;
    }

    .card-md {
        grid-column: span 3;
    }

    .card-lg {
        grid-column: span 6;
    }

    .card-tall {
        grid-column: span 3;
    }

    .card-tall-md {
        grid-column: span 3;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .character-name {
        font-size: 2.5em;
    }

    .scattered-grid {
        grid-template-columns: 1fr;
    }

    .card-sm,
    .card-md,
    .card-lg,
    .card-tall,
    .card-tall-md {
        grid-column: span 1;
        grid-row: span 1;
    }

    .gallery {
        grid-template-columns: 1fr;
    }

    .quote-section blockquote {
        font-size: 1.3em;
        padding: 30px;
    }
}
