:root {
    --primary-red: #e62227;
    --primary-blue: #1d70b8;
    --primary-yellow: #fcd53f;
    --panel-bg: #fffdf5;
    --text-dark: #111111;
    --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: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.2) 20%, transparent 20%);
    background-position: 0 0, 10px 10px;
    background-size: 20px 20px;
    z-index: -1;
    opacity: 0.8;
}

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

/* Header */
.site-header {
    padding: 3rem 0 2rem;
    text-align: center;
}

.title-banner {
    display: inline-block;
    background-color: var(--primary-yellow);
    border: 4px solid var(--border-color);
    padding: 1rem 3rem;
    transform: rotate(-2deg);
    box-shadow: 8px 8px 0px rgba(0,0,0,0.9);
    position: relative;
}

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

/* Main Layout */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 2rem 0 4rem;
}

.comic-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: flex-start;
}

/* Image Column */
.image-column {
    display: flex;
    justify-content: center;
}

.image-frame {
    border: 6px solid var(--border-color);
    background-color: #fff;
    padding: 0.75rem;
    box-shadow: 10px 10px 0px rgba(0,0,0,0.9);
    transform: rotate(1deg);
    position: relative;
    max-width: 100%;
}

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

/* Text Column (Comic Text Panel) */
.text-column {
    display: flex;
    flex-direction: column;
}

.comic-panel {
    background-color: var(--panel-bg);
    border: 5px solid var(--border-color);
    box-shadow: 12px 12px 0px rgba(0,0,0,0.9);
    padding: 2.5rem;
    position: relative;
    border-radius: 4px;
}

/* Small square tape accents for the panel */
.comic-panel::before, .comic-panel::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--primary-red);
    border: 2px solid var(--border-color);
}

.comic-panel::before {
    top: -10px;
    left: -10px;
}

.comic-panel::after {
    bottom: -10px;
    right: -10px;
}

.comic-panel h2 {
    font-family: 'Luckiest Guy', cursive;
    font-size: 2.5rem;
    color: var(--primary-blue);
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    border-bottom: 3px dashed var(--primary-red);
    padding-bottom: 0.5rem;
}

.comic-panel h3 {
    font-size: 1.4rem;
    color: var(--primary-red);
    margin: 1.5rem 0 0.5rem;
    font-weight: 700;
}

.comic-panel p {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.comic-panel ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.comic-panel li {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    padding-left: 1.5rem;
    position: relative;
}

.comic-panel li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--primary-yellow);
    -webkit-text-stroke: 1px var(--border-color);
}

.comic-panel a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid var(--primary-blue);
    transition: color 0.2s, border-color 0.2s;
}

.comic-panel a:hover {
    color: var(--primary-red);
    border-color: var(--primary-red);
}

/* Responsive */
@media (max-width: 900px) {
    .comic-card {
        grid-template-columns: 1fr;
    }
    
    .title-banner h1 {
        font-size: 3rem;
    }
    
    .image-frame {
        transform: rotate(0);
        margin-bottom: 1rem;
    }
    
    .comic-panel {
        padding: 1.5rem;
    }
}
