/* CSS for Kawaii Landing Page */

/* Kawaii Palette:
Pink: #FFC0CB
Hot Pink: #FF69B4
Mocha: #5D4037
Glass: rgba(255, 255, 255, 0.85)
*/

body {
    background-image: url('assets/banner.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    font-family: 'Nunito', sans-serif;
    color: #5D4037;
    /* Warmer, more readable mocha color */
    margin: 0;
    padding: 0;
    text-align: center;
}

header {
    background: rgb(255 219 192 / 70%);
    /* Semi-transparent warm peach/pink */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 30px 10px;
    border-bottom: 3px solid rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
}

header .logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

header h1 {
    font-family: 'Fredoka One', cursive;
    color: #fff;
    text-shadow: 3px 3px 0px #FF69B4, 0 0 10px rgba(0, 0, 0, 0.2);
    font-size: 2.8em;
    margin: 0;
}

.subtitle {
    font-family: 'Nunito', sans-serif;
    color: #fff;
    font-weight: bold;
    font-size: 1.2em;
    margin-top: 5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

main {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

/* Glassmorphism Sections */
.glass-card,
.carousel-section,
.cta-section {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 3px solid rgba(255, 255, 255, 0.4);
    border-radius: 30px;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 8px 32px 0 rgba(255, 105, 180, 0.2);
    /* Soft pink shadow */
    content-visibility: auto;
    contain-intrinsic-size: 1px 300px;
}

.about-section h2 {
    color: #FF69B4;
    font-family: 'Fredoka One', cursive;
    margin-bottom: 15px;
}

.about-section p {
    color: #5D4037;
    font-size: 1.1em;
    line-height: 1.6;
}

/* Carousel Specific */
.carousel-container {
    position: relative;
    overflow: hidden;
    padding: 10px;
    margin-top: 15px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 10px;
}

.carousel-img {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 20px;
    flex-shrink: 0;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #FFC0CB;
    font-size: 1.5em;
    cursor: pointer;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF69B4;
    transition: all 0.3s;
    z-index: 10;
}

.carousel-btn:hover {
    background: #FF69B4;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 5px;
}

.next-btn {
    right: 5px;
}

/* Mascot */
.mascot-img {
    max-width: 220px;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 10px 5px rgba(0, 0, 0, 0.1));
    animation: bunny-hop 3s infinite ease-in-out;
}

@keyframes bunny-hop {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-15px) rotate(2deg);
    }
}

h2 {
    font-family: 'Fredoka One', cursive;
    color: #FF69B4;
    font-size: 1.8em;
    margin-top: 0;
    text-shadow: 1px 1px 0 #fff;
}

p {
    font-size: 1.1em;
    line-height: 1.6;
}

.kawaii-btn {
    background-color: #FF69B4;
    color: #fff;
    border: none;
    padding: 18px 40px;
    font-size: 1.4em;
    font-family: 'Fredoka One', cursive;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 6px 0 #DB7093;
    transition: all 0.1s;
    text-transform: uppercase;
    margin-top: 10px;
}

.kawaii-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 0 #DB7093;
}

.kawaii-btn:active {
    transform: translateY(4px);
    box-shadow: 0 2px 0 #DB7093;
}

/* Captcha Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 192, 203, 0.4);
    /* Pinkish overlay */
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.modal.visible {
    display: flex;
}

.modal-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 30px;
    text-align: center;
    border: 4px solid #FFC0CB;
    position: relative;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.modal-title {
    font-family: 'Fredoka One', cursive;
    color: #FF69B4;
    font-size: 1.6em;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #FFC0CB;
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover {
    color: #FF69B4;
}

.captcha-container {
    display: flex;
    justify-content: center;
    margin: 25px 0;
    background: #fdfdfd;
    padding: 10px;
    border-radius: 10px;
    min-height: 78px;
    /* Stable height for reCAPTCHA */
    min-width: 302px;
    /* Stable width for reCAPTCHA */
}

/* Footer */
footer {
    padding: 60px 20px;
    background: rgba(93, 64, 55, 0.1);
    /* Subtle dark overlay for bottom anchor */
    margin-top: 50px;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
}

.copyright-text {
    color: #fff;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    /* Critical for legibility on banner */
    font-size: 1.1em;
    margin: 0;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    color: #FF69B4;
    text-decoration: none;
    font-family: 'Fredoka One', cursive;
    transition: transform 0.2s;
}

.social-icon:hover {
    transform: scale(1.1);
}