:root {
    --primary-blue: #026bb5;
    --primary-red: #e61a38;
    --primary-yellow: #fde047;
    --text-dark: #1e293b;
    --bg-light: #fefce8;
    --border-color: #000000;
}

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

body {
    font-family: 'Quicksand', sans-serif;
    background-color: var(--primary-blue);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Comic Book Halftone Background Effect */
.halftone-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: radial-gradient(var(--bg-light) 2px, transparent 2px);
    background-size: 16px 16px;
    opacity: 0.15;
    z-index: -1;
}

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

.site-header {
    padding: 3rem 0 1rem;
    display: flex;
    justify-content: center;
}

.title-banner {
    background-color: var(--primary-yellow);
    border: 4px solid var(--border-color);
    padding: 1rem 3rem;
    box-shadow: 8px 8px 0px var(--border-color);
    transform: rotate(-2deg);
    text-align: center;
    position: relative;
}

.title-banner::after {
    content: '♥';
    color: var(--primary-red);
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 2.5rem;
    text-shadow: 2px 2px 0 #000;
}

.title-banner h1 {
    font-family: 'Luckiest Guy', cursive;
    font-size: 4rem;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 0px #fff, 4px 4px 0px var(--border-color);
    line-height: 1;
}

.subtitle {
    font-family: 'Luckiest Guy', cursive;
    font-size: 1.5rem;
    color: var(--text-dark);
    text-transform: uppercase;
    display: block;
    margin-top: 0.5rem;
    letter-spacing: 1px;
}

.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 3rem 0;
}

.comic-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.image-frame {
    background: #fff;
    border: 5px solid var(--border-color);
    padding: 1rem;
    box-shadow: 12px 12px 0px var(--border-color);
    transform: rotate(2deg);
    transition: transform 0.3s ease;
}

.image-frame:hover {
    transform: rotate(0deg) scale(1.02);
}

.profile-image {
    width: 100%;
    height: auto;
    border: 3px solid var(--border-color);
    display: block;
}

.text-column {
    position: relative;
}

/* Comic Speech Bubble Effect */
.speech-bubble {
    background-color: var(--bg-light);
    border: 4px solid var(--border-color);
    border-radius: 30px;
    padding: 2.5rem;
    box-shadow: 10px 10px 0px rgba(0,0,0,0.2);
    position: relative;
}

.speech-bubble::before {
    content: '';
    position: absolute;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-right: 34px solid var(--border-color);
    top: 60px;
    left: -38px;
}

.speech-bubble::after {
    content: '';
    position: absolute;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    border-right: 25px solid var(--bg-light);
    top: 66px;
    left: -25px;
}

.speech-bubble h2 {
    font-family: 'Luckiest Guy', cursive;
    font-size: 3rem;
    color: var(--primary-red);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.speech-bubble h3 {
    font-size: 1.4rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-weight: 700;
    border-bottom: 2px dashed var(--primary-blue);
    padding-bottom: 0.5rem;
}

.speech-bubble p {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.speech-bubble p:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 900px) {
    .comic-card {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .title-banner h1 {
        font-size: 3rem;
    }

    .speech-bubble::before {
        top: -34px;
        bottom: auto;
        border-top: none;
        border-bottom: 30px solid var(--border-color);
        left: 50%;
        transform: translateX(-50%);
        border-left: 15px solid transparent;
        border-right: 15px solid transparent;
    }

    .speech-bubble::after {
        top: -24px;
        bottom: auto;
        border-top: none;
        border-bottom: 24px solid var(--bg-light);
        left: 50%;
        transform: translateX(-50%);
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
    }
}
