:root {
    --rsvp-bg: #ffffff;
    --rsvp-text: var(--text-pirate);
    --input-bg: #f9f9f9;
    --input-border: rgba(0,0,0,0.15);
    --input-text: var(--text-pirate);
    --input-placeholder: rgba(0,0,0,0.4);
    --pirate-bg: #8b5a2b;
    --pirate-dark: #3e2723;
    --pirate-gold: #ffd700;
    --pirate-red: #d32f2f;
    --paper-color: #f4e8c1;
    --text-pirate: #2b1d0e;
    --cover-bg: var(--paper-color);
    --hero-bg: linear-gradient(140deg, #1a237e 0%, #0d47a1 45%, #01579b 100%);
    --footer-bg: linear-gradient(135deg, #01579b 0%, #1a237e 100%);
}
/* Theme 12 - One Piece Voyage */



body.theme-onepiece {
    font-family: 'Roboto', sans-serif;
    background: url('https://www.transparenttextures.com/patterns/wood-pattern.png'), var(--pirate-bg);
    color: var(--text-pirate);
}

.theme-onepiece h1, .theme-onepiece h2, .theme-onepiece h3, .theme-onepiece .cover-title, .title-pirate {
    font-family: 'Pirata One', cursive;
    color: var(--pirate-dark);
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
    letter-spacing: 2px;
}

.scroll-map {
    background: url('https://www.transparenttextures.com/patterns/old-map.png'), var(--paper-color);
    border: 5px dashed var(--pirate-dark);
    border-radius: 5px;
    padding: 50px 30px;
    box-shadow: inset 0 0 50px rgba(139, 69, 19, 0.5), 0 15px 35px rgba(0,0,0,0.8);
    position: relative;
    max-width: 450px;
    margin: 0 auto;
}

.btn-pirate {
    background: var(--pirate-red);
    color: var(--pirate-gold);
    border: 3px solid var(--pirate-dark);
    padding: 15px 30px;
    font-family: 'Pirata One', cursive;
    font-size: 24px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    box-shadow: 4px 4px 0 var(--pirate-dark);
}

.btn-pirate:hover {
    background: var(--pirate-dark);
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--pirate-dark);
}

.theme-onepiece .couple-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.card-pirate, .container-pirate {
    background: var(--paper-color);
    border: 2px solid var(--pirate-dark);
    box-shadow: 5px 5px 0 rgba(0,0,0,0.3);
    padding: 20px;
    border-radius: 5px;
}

.text-pirate {
    color: var(--pirate-dark);
    font-weight: bold;
}

/* Wanted Poster CSS */
.wanted-poster {
    background: url('https://www.transparenttextures.com/patterns/worn-dots.png'), var(--paper-color);
    border: 1px solid #d4c59d;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.2), 0 10px 20px rgba(0,0,0,0.5);
    padding: 20px 15px;
    text-align: center;
    max-width: 320px;
    position: relative;
    transform: rotate(-2deg);
    transition: transform 0.3s;
}

.wanted-poster:nth-child(even) {
    transform: rotate(3deg);
}

.wanted-poster:hover {
    transform: scale(1.05) rotate(0deg);
    z-index: 10;
}

.wanted-title {
    font-family: 'Pirata One', cursive;
    font-size: 3.5rem;
    color: var(--pirate-dark);
    margin: 0;
    line-height: 1;
    letter-spacing: 5px;
}

.wanted-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 15px;
    color: var(--pirate-dark);
}

.wanted-photo-frame {
    width: 100%;
    height: 250px;
    border: 4px solid var(--pirate-dark);
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
    margin-bottom: 15px;
    background: #000;
    overflow: hidden;
}

.wanted-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(0.6) contrast(1.2); /* Make it look like an old photo */
}

.wanted-name {
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.wanted-bounty {
    font-family: 'Pirata One', cursive;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--pirate-dark);
}

.role-pirate {
    background: var(--pirate-dark);
    color: var(--paper-color);
    padding: 5px 15px;
    display: inline-block;
    border-radius: 3px;
    margin-bottom: 10px;
}

/* Ship Animation */
#ship-container {
    position: fixed;
    bottom: 20px;
    left: -150px;
    width: 100vw;
    height: 150px;
    pointer-events: none;
    z-index: 50;
    overflow: hidden;
}

.ship {
    width: 100px;
    height: 100px;
    background: url('../../foto/gomu.webp') no-repeat center;
    background-size: contain;
    position: absolute;
    bottom: 10px;
    animation: sail 20s linear infinite, bob 2s ease-in-out infinite alternate;
}

@keyframes sail {
    0% { left: -150px; }
    100% { left: 110vw; }
}

@keyframes bob {
    0% { transform: translateY(0) rotate(-2deg); }
    100% { transform: translateY(-10px) rotate(2deg); }
}

/* Custom inputs and contrast fixes */
.theme-onepiece .countdown-number, 
.theme-onepiece .countdown-label,
.theme-onepiece .form-group label,
.theme-onepiece .form-group input, 
.theme-onepiece .form-group textarea,
.theme-onepiece .form-group select,
.theme-onepiece .cover-subtitle,
.theme-onepiece .cover-guest-label,
.theme-onepiece .cover-guest-name {
    color: #000000 !important;
}

.theme-onepiece .form-group input, 
.theme-onepiece .form-group textarea {
    background: rgba(0, 0, 0, 0.05);
    border: 2px solid var(--pirate-dark);
    font-family: 'Roboto', sans-serif;
    color: #000000 !important;
}

.theme-onepiece .form-group input::placeholder, 
.theme-onepiece .form-group textarea::placeholder {
    color: rgba(0, 0, 0, 0.6);
}


@media (max-width: 600px) {
    /* Gallery grid removed for Swiper */
}


@media (max-width: 768px) {
    .couple-container, .event-container { gap: 20px !important; }
    .hero-names { font-size: 2.5rem !important; }
}

.cover-label, .cover-subtitle, .cover-guest-label, .cover-guest-name { color: var(--rsvp-text) !important; }