:root {
    --op-beige: #F4E4BC;
    --op-dark: #1A1A1A;
    --op-red: #D32F2F;
    --op-gold: #FFD700;
    --op-blue: #0077BE;
    --font-heading: 'Pirata One', cursive;
    --font-sub: 'Rye', serif;
    --font-body: 'Lato', sans-serif;
}

body {
    background-color: var(--op-beige);
    color: var(--op-dark);
    font-family: var(--font-body);
    background-image: url('https://www.transparenttextures.com/patterns/aged-paper.png');
    /* Texture fallback */
}

/* Typography */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Pirata+One&family=Rye&display=swap');

h1,
h2,
h3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
}

h1 {
    font-size: 4rem;
    color: var(--op-dark);
    text-shadow: 2px 2px 0 var(--op-red);
}

.section-title {
    font-size: 3rem;
    color: var(--op-red);
    margin-bottom: 2rem;
    text-align: center;
    text-shadow: 1px 1px 0 var(--op-dark);
}

/* Components */
.op-card {
    background: #fff8e7;
    padding: 2rem;
    border: 3px solid var(--op-dark);
    box-shadow: 5px 5px 0 var(--op-dark);
    margin-bottom: 2rem;
    border-radius: 5px;
    position: relative;
}

.op-card::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px dashed var(--op-dark);
    pointer-events: none;
}

.btn-op {
    background-color: var(--op-red);
    color: white;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    padding: 10px 40px;
    border: 2px solid var(--op-dark);
    box-shadow: 4px 4px 0 var(--op-dark);
    transition: all 0.2s;
    text-transform: uppercase;
}

.btn-op:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--op-dark);
    color: white;
    text-decoration: none;
    background-color: #b71c1c;
}

/* Hero - WANTED POSTER */
.hero-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 20px;
}

#seaCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.3;
}

.wanted-poster {
    background: #F4E4BC;
    padding: 30px 20px 20px;
    /* Top padding for WANTED text */
    border: 5px solid #5c4033;
    /* Brown border */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    max-width: 450px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 10;
    transform: rotate(-2deg);
    background-image: url('https://www.transparenttextures.com/patterns/aged-paper.png');
}

.wanted-title {
    font-family: 'Rye', serif;
    font-size: 3.5rem;
    color: #4A3B2A;
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: 5px;
}

.wanted-photo-container {
    background: #a0886b;
    padding: 5px;
    margin-bottom: 10px;
}

.wanted-photo {
    width: 100%;
    height: 300px;
    object-fit: cover;
    filter: sepia(0.3) contrast(1.1);
    border: 2px solid #4a3b2a;
}

.wanted-name {
    font-family: 'Rye', serif;
    font-size: 2.5rem;
    text-transform: uppercase;
    color: #4A3B2A;
    margin: 10px 0;
}

.wanted-reward {
    font-family: 'Rye', serif;
    font-size: 1.5rem;
    color: #4A3B2A;
    border-top: 2px solid #4A3B2A;
    border-bottom: 2px solid #4A3B2A;
    padding: 10px 0;
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.belly-symbol {
    font-weight: bold;
    font-size: 1.2rem;
}

/* Audio */
.music-control {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
}

.btn-music-op {
    width: 60px;
    height: 60px;
    background: var(--op-dark);
    border: 2px solid var(--op-gold);
    border-radius: 50%;
    color: var(--op-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    font-size: 1.5rem;
}

/* Map / Location */
.map-container {
    background: white;
    padding: 10px;
    border: 2px dashed var(--op-dark);
    transform: rotate(1deg);
}

/* Footer */
footer {
    background: var(--op-dark);
    color: var(--op-beige);
    padding: 3rem 0;
    border-top: 5px solid var(--op-red);
}