:root {
    --sand-beige: #fdf5e6;
    --soft-blue: #ebf5fb;
    --olive-green: #9e9d24;
    --wood-brown: #8d6e63;
    --text-color: #5d4037;
    --white-paper: #ffffff;
    --font-heading: 'Amatic SC', cursive;
    --font-body: 'Quicksand', sans-serif;
}

body {
    background-color: var(--soft-blue);
    color: var(--text-color);
    font-family: var(--font-body);
    /* Watercolor texture effect overlay would go here if we had an image, using gradient instead */
    background-image: linear-gradient(to bottom, var(--soft-blue) 0%, #ffffff 100%);
    overflow-x: hidden;
}

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

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

h1.hero-title {
    font-size: 4.5rem;
    color: var(--wood-brown);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 0px rgba(255, 255, 255, 0.8);
}

h2.section-title {
    font-size: 3rem;
    color: var(--wood-brown);
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 15px;
}

h2.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--olive-green);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Components */
.noah-card {
    background: var(--white-paper);
    border: 2px dashed var(--wood-brown);
    /* Stitching effect */
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(93, 64, 55, 0.1);
    margin-bottom: 2rem;
    position: relative;
}

.icon-circle {
    width: 70px;
    height: 70px;
    background: var(--sand-beige);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--wood-brown);
    font-size: 1.8rem;
}

/* Ark Animation (Hero) */
.ark-container {
    height: 250px;
    position: relative;
    margin-top: 2rem;
    overflow: hidden;
}

.ark {
    font-size: 8rem;
    color: var(--wood-brown);
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    animation: rockBoat 3s ease-in-out infinite;
    z-index: 2;
}

.waves {
    position: absolute;
    bottom: 0;
    width: 200%;
    height: 40px;
    background: #4fc3f7;
    opacity: 0.5;
    animation: waveMove 5s linear infinite;
    border-radius: 50% 50% 0 0;
}

.waves:nth-child(2) {
    bottom: 10px;
    background: #29b6f6;
    animation-duration: 7s;
    opacity: 0.3;
}

@keyframes rockBoat {

    0%,
    100% {
        transform: translateX(-50%) rotate(-3deg);
    }

    50% {
        transform: translateX(-50%) rotate(3deg);
    }
}

@keyframes waveMove {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Rainbow */
.rainbow-box {
    height: 10px;
    background: linear-gradient(to right, #ff9a9e, #fad0c4, #fad0c4, #a18cd1, #a18cd1);
    border-radius: 5px;
    margin: 20px auto;
    width: 100px;
}

/* Buttons */
.btn-noah {
    background: var(--wood-brown);
    color: white;
    font-family: var(--font-body);
    font-weight: 600;
    padding: 10px 35px;
    border-radius: 30px;
    border: none;
    transition: all 0.3s;
    font-size: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-noah:hover {
    background: var(--olive-green);
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
}

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

.count-circle {
    background: var(--sand-beige);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--white-paper);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.count-circle span {
    font-family: var(--font-heading);
    font-size: 2rem;
    line-height: 1;
    color: var(--wood-brown);
}

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

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

.btn-music-wood {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--wood-brown);
    color: white;
    border: 2px solid white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}