/* ============================================
   SOCIAL MEDIA PAGE — Kid-friendly design
   ============================================ */

.social-hero {
    position: relative;
    background: linear-gradient(135deg, #5A7FA5 0%, #7B2D8E 45%, #E8A838 100%);
    padding: 70px 20px 90px;
    text-align: center;
    overflow: hidden;
}

.social-hero::before,
.social-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    background: #fff;
}

.social-hero::before {
    width: 280px;
    height: 280px;
    top: -80px;
    left: -60px;
}

.social-hero::after {
    width: 200px;
    height: 200px;
    bottom: 40px;
    right: -40px;
}

.social-hero-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.social-hero-star {
    position: absolute;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.45);
    animation: socialFloat 4s ease-in-out infinite;
}

.social-hero-star:nth-child(1) { top: 18%; left: 12%; animation-delay: 0s; }
.social-hero-star:nth-child(2) { top: 30%; right: 15%; animation-delay: 1s; font-size: 12px; }
.social-hero-star:nth-child(3) { bottom: 35%; left: 20%; animation-delay: 2s; font-size: 11px; }
.social-hero-star:nth-child(4) { top: 22%; right: 28%; animation-delay: 0.5s; font-size: 13px; }
.social-hero-star:nth-child(5) { bottom: 28%; right: 22%; animation-delay: 1.5s; }

.social-hero-star .fa-circle {
    font-size: 7px;
}

@keyframes socialFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(8deg); }
}

.social-hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 0 auto;
    color: #fff;
}

.social-hero-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.social-hero-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    border: 2px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(6px);
}

.social-hero-icon--accent {
    width: 60px;
    height: 60px;
    font-size: 24px;
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.5);
}

.social-hero h1 {
    font-family: 'Fredoka One', cursive;
    font-size: clamp(28px, 5vw, 42px);
    margin-bottom: 14px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.social-hero .lead {
    font-size: clamp(16px, 2.5vw, 19px);
    opacity: 0.95;
    line-height: 1.6;
    margin-bottom: 24px;
}

.social-hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.social-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
}

.social-hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

.social-hero-wave svg {
    width: 100%;
    height: 60px;
    display: block;
}

/* Welcome section */
.social-welcome {
    padding: 50px 0 30px;
    background: #FFF9F0;
}

.social-welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 960px;
    margin: 0 auto;
}

.social-welcome-text h2 {
    font-family: 'Fredoka One', cursive;
    font-size: 28px;
    color: var(--navy);
    margin-bottom: 16px;
}

.social-welcome-text p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 16px;
}

.social-perks {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-perks li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--navy);
    line-height: 1.5;
}

.social-perks li span {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #E8A838, #F5C842);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #fff;
}

.social-welcome-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-bubble-cluster {
    position: relative;
    width: 220px;
    height: 220px;
}

.social-bubble {
    position: absolute;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    box-shadow: 0 6px 20px rgba(45, 53, 97, 0.12);
    animation: socialBounce 3s ease-in-out infinite;
}

.social-bubble--main {
    width: 110px;
    height: 110px;
    background: linear-gradient(135deg, #7B2D8E, #9B6FD4);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    animation-delay: 0s;
}

.social-bubble--fb {
    width: 56px;
    height: 56px;
    background: #1877F2;
    top: 0;
    left: 20px;
    animation-delay: 0.5s;
    font-size: 22px;
}

.social-bubble--ig {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #F58529, #DD2A7B);
    top: 10px;
    right: 10px;
    animation-delay: 1s;
    font-size: 22px;
}

.social-bubble--yt {
    width: 50px;
    height: 50px;
    background: #FF0000;
    bottom: 20px;
    left: 0;
    animation-delay: 1.5s;
    font-size: 20px;
}

.social-bubble--heart {
    width: 44px;
    height: 44px;
    background: #FF6B8A;
    bottom: 30px;
    right: 20px;
    animation-delay: 2s;
    font-size: 18px;
}

@keyframes socialBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.social-bubble--main {
    animation-name: socialBounceMain;
}

@keyframes socialBounceMain {
    0%, 100% { transform: translate(-50%, -50%); }
    50% { transform: translate(-50%, calc(-50% - 8px)); }
}

/* Cards grid */
.social-cards-section {
    padding: 20px 0 60px;
    background: #FFF9F0;
}

.social-cards-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 36px;
}

.social-cards-intro h2 {
    font-family: 'Fredoka One', cursive;
    font-size: 26px;
    color: var(--navy);
    margin-bottom: 10px;
}

.social-cards-intro p {
    color: var(--gray);
    font-size: 15px;
    line-height: 1.6;
}

.social-kids-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.social-kid-card {
    position: relative;
    background: var(--white);
    border-radius: 20px;
    padding: 28px 24px 24px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 30px rgba(45, 53, 97, 0.08);
    border: 2px solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.social-kid-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--card-accent, #7B2D8E);
}

.social-kid-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 40px rgba(45, 53, 97, 0.14);
    border-color: rgba(123, 45, 142, 0.2);
}

.social-kid-icon-wrap {
    width: 88px;
    height: 88px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    background: var(--card-gradient, linear-gradient(135deg, #7B2D8E, #9B6FD4));
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.social-kid-card:hover .social-kid-icon-wrap {
    transform: scale(1.08) rotate(-3deg);
}

.social-kid-icon-wrap svg {
    width: 52px;
    height: 52px;
}

.social-kid-card h3 {
    font-family: 'Fredoka One', cursive;
    font-size: 22px;
    color: var(--navy);
    margin-bottom: 6px;
}

.social-kid-tagline {
    font-size: 14px;
    font-weight: 700;
    color: var(--card-accent, #7B2D8E);
    margin-bottom: 10px;
}

.social-kid-desc {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 18px;
    flex: 1;
}

.social-kid-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 50px;
    background: var(--card-accent, #7B2D8E);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    transition: gap 0.3s ease, background 0.3s ease;
}

.social-kid-card:hover .social-kid-cta {
    gap: 12px;
    filter: brightness(1.08);
}

.social-kid-sparkle {
    position: absolute;
    top: 16px;
    right: 18px;
    font-size: 14px;
    color: var(--card-accent, #7B2D8E);
    opacity: 0.45;
}

/* Parents note */
.social-parents-note {
    background: linear-gradient(135deg, var(--navy) 0%, #3d4578 100%);
    padding: 50px 20px;
    text-align: center;
    color: #fff;
}

.social-parents-note-inner {
    max-width: 640px;
    margin: 0 auto;
}

.social-parents-note h2 {
    font-family: 'Fredoka One', cursive;
    font-size: 26px;
    margin-bottom: 14px;
}

.social-parents-note p {
    font-size: 16px;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 20px;
}

.social-note-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #F5C842;
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.social-note-quote {
    margin-bottom: 0;
    font-style: italic;
    opacity: 0.85;
}

/* Empty / error states */
.social-empty {
    text-align: center;
    padding: 80px 30px;
    background: #FFF9F0;
    border-radius: 20px;
    max-width: 560px;
    margin: 0 auto;
}

.social-empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #7B2D8E;
    background: rgba(123, 45, 142, 0.1);
}

.social-empty h3 {
    font-family: 'Fredoka One', cursive;
    font-size: 28px;
    color: var(--navy);
    margin-bottom: 12px;
}

.social-empty p {
    color: var(--gray);
    font-size: 16px;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .social-hero {
        padding: 50px 16px 70px;
    }

    .social-body {
        padding: 36px 16px 50px;
    }

    .social-welcome-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .social-perks {
        align-items: center;
    }

    .social-perks li {
        text-align: left;
        max-width: 320px;
    }

    .social-welcome-illustration {
        order: -1;
    }

    .social-bubble-cluster {
        width: 180px;
        height: 180px;
    }

    .social-kids-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .social-kid-card {
        padding: 24px 20px 20px;
    }
}
