:root {
    --boat-ocean: #4A8DB7;
    --boat-ocean-dark: #2c5f85;
    --boat-sand: #E6DACE;
    --boat-navy: #0D1B2A;
    --boat-white: #F8F9FA;
    --font-hand: 'Caveat', cursive;
    --font-main: 'Open Sans', sans-serif;
}

body {
    background-color: var(--boat-white);
    color: var(--boat-navy);
    font-family: var(--font-main);
    overflow-x: hidden;
}

/* Typography */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;700&family=Open+Sans:wght@300;400;700&display=swap');

h1,
h2,
h3,
h4 {
    font-family: var(--font-hand);
}

h1 {
    font-size: 4.5rem;
    color: var(--boat-navy);
    line-height: 1;
}

.section-title {
    font-size: 3rem;
    color: var(--boat-ocean);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '~ ~ ~';
    display: block;
    font-size: 1.5rem;
    color: var(--boat-sand);
    margin-top: -10px;
}

/* Components */
.boat-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(74, 141, 183, 0.15);
    border: 1px solid var(--boat-sand);
    position: relative;
    margin-bottom: 2rem;
}

.boat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: repeating-linear-gradient(90deg,
            var(--boat-ocean),
            var(--boat-ocean) 10px,
            white 10px,
            white 20px);
    border-radius: 15px 15px 0 0;
}

.btn-boat {
    background-color: var(--boat-ocean);
    color: white;
    font-family: var(--font-hand);
    font-size: 1.2rem;
    font-weight: 700;
    padding: 10px 30px;
    border-radius: 5px 25px 5px 25px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 3px 3px 0 var(--boat-navy);
}

.btn-boat:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 var(--boat-navy);
    background-color: var(--boat-ocean-dark);
    color: white;
    text-decoration: none;
}

/* Hero Section */
.hero-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #e0f7fa 0%, #ffffff 80%);
}

#waveCanvas {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 600px;
}

.hero-image-frame {
    width: 220px;
    height: 220px;
    margin: 20px auto;
    position: relative;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 8px solid white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.life-ring-bg {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border: 15px solid var(--boat-ocean);
    border-radius: 50%;
    z-index: 1;
    border-style: dashed;
}

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

.btn-music-boat {
    width: 50px;
    height: 50px;
    background: white;
    border: 2px solid var(--boat-ocean);
    border-radius: 50%;
    color: var(--boat-ocean);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Countdown */
.boat-countdown {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 2rem;
}

.count-sq {
    background: white;
    padding: 10px;
    min-width: 60px;
    border-radius: 10px;
    border: 1px solid var(--boat-sand);
    text-align: center;
    box-shadow: 0 4px 0 var(--boat-sand);
}

.count-sq span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--boat-ocean);
    display: block;
    line-height: 1;
}

.count-sq small {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--boat-navy);
}

/* Footer */
footer {
    background-color: var(--boat-sand);
    color: var(--boat-navy);
    padding: 2rem;
}