/* Template 53 - Bubblegum Pop / Y2K Retro */
@import url('https://fonts.googleapis.com/css2?family=Bungee&family=Fredoka:wght@400;500;600;700&family=Rubik+Bubbles&display=swap');

:root {
    --bubble-pink: #ff69b4;
    --bubble-blue: #00bfff;
    --bubble-purple: #da70d6;
    --bubble-yellow: #fff44f;
    --bubble-green: #7fff00;
    --bubble-orange: #ff6347;
    --bg-light: #fff0f5;
    --bg-white: #ffffff;
    --text-dark: #2d1b4e;
    --text-mid: #5a4080;
    --shadow-color: rgba(218, 112, 214, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Fredoka', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--bg-light);
    font-weight: 400;
    font-size: 1.05rem;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(255, 105, 180, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 90% 80%, rgba(0, 191, 255, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 50% 50%, rgba(218, 112, 214, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Bubbly Header */
.site-header {
    background: linear-gradient(135deg, var(--bubble-pink) 0%, var(--bubble-purple) 50%, var(--bubble-blue) 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-radius: 0 0 50px 50px;
    box-shadow: 0 10px 30px var(--shadow-color);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo a {
    font-family: 'Rubik Bubbles', cursive;
    font-size: 2.25rem;
    color: var(--bg-white);
    text-decoration: none;
    text-shadow: 3px 3px 0 var(--bubble-purple), 
                 -1px -1px 0 var(--bubble-yellow);
    transition: all 0.3s ease;
    animation: wobble 3s ease-in-out infinite;
}

@keyframes wobble {
    0%, 100% { transform: rotate(-2deg); }
    50% { transform: rotate(2deg); }
}

.site-logo a:hover {
    transform: scale(1.1);
    animation: none;
}

.site-nav ul {
    list-style: none;
    display: flex;
    gap: 0.5rem;
}

.site-nav a {
    color: var(--bg-white);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    display: block;
    border: 2px solid transparent;
}

.site-nav a:hover {
    background: var(--bg-white);
    color: var(--bubble-pink);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px var(--shadow-color);
}

/* Hero Section */
.section.head {
    padding: 6rem 0;
    text-align: center;
    position: relative;
}

.section.head::before,
.section.head::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    opacity: 0.5;
    animation: float 6s ease-in-out infinite;
}

.section.head::before {
    top: 20%;
    left: 10%;
    background: var(--bubble-yellow);
    animation-delay: 0s;
}

.section.head::after {
    bottom: 20%;
    right: 10%;
    background: var(--bubble-green);
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.1); }
}

.section.head h1 {
    font-family: 'Bungee', cursive;
    font-size: 4rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-shadow: 4px 4px 0 var(--bubble-pink),
                 8px 8px 0 var(--bubble-blue);
    animation: rainbow 5s linear infinite;
}

@keyframes rainbow {
    0% { text-shadow: 4px 4px 0 var(--bubble-pink), 8px 8px 0 var(--bubble-blue); }
    33% { text-shadow: 4px 4px 0 var(--bubble-blue), 8px 8px 0 var(--bubble-purple); }
    66% { text-shadow: 4px 4px 0 var(--bubble-purple), 8px 8px 0 var(--bubble-pink); }
    100% { text-shadow: 4px 4px 0 var(--bubble-pink), 8px 8px 0 var(--bubble-blue); }
}

.section.head p {
    font-size: 1.25rem;
    color: var(--text-mid);
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 30px;
    box-shadow: 0 10px 30px var(--shadow-color);
    border: 3px dashed var(--bubble-pink);
}

/* Section Styling */
.section {
    padding: 5rem 0;
    position: relative;
}

.section header {
    text-align: center;
    margin-bottom: 4rem;
}

.section header h2 {
    font-family: 'Bungee', cursive;
    font-size: 2.5rem;
    color: var(--text-dark);
    text-shadow: 3px 3px 0 var(--bubble-purple);
    display: inline-block;
    padding: 0.5rem 2rem;
    background: linear-gradient(135deg, var(--bubble-yellow), var(--bubble-orange));
    border-radius: 20px;
    transform: rotate(-1deg);
}

.section header p {
    font-size: 1.1rem;
    color: var(--text-mid);
    max-width: 600px;
    margin: 1.5rem auto 0;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--bubble-blue) 0%, var(--bubble-purple) 50%, var(--bubble-pink) 100%);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    border-radius: 50px 50px 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background: var(--bubble-yellow);
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(255, 244, 79, 0.5);
}

.footer::after {
    content: '\2605';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.5rem;
    color: var(--text-dark);
}

.footer-columns {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.footer-about {
    flex: 1;
    max-width: 400px;
}

.footer-tagline {
    color: var(--bg-white);
    line-height: 1.8;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--bg-white);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.2);
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    background: var(--bg-white);
    color: var(--bubble-pink);
    transform: scale(1.1) rotate(3deg);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px dashed rgba(255,255,255,0.3);
}

.copyright a {
    color: var(--bg-white);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: popIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0.5) rotate(-5deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

body:not(.faq) h3,
:not(section.faq) h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-top: 15px;
    margin-bottom: 10px;
    text-align: left;
    padding-left: 1rem;
    border-left: 4px solid var(--bubble-pink);
}
