/* -------------------------------------------------------------------
   PLAYGROUND PAGE - Fun & Experimental Theme
---------------------------------------------------------------------- */

:root {
    --play-pink: #ff6b9d;
    --play-purple: #c44cff;
    --play-blue: #4cc9ff;
    --play-green: #00f5a0;
    --play-yellow: #ffd93d;
    --play-dark: #0d0d1a;
    --play-darker: #06060d;
    --play-card: rgba(255, 255, 255, 0.03);
    --play-border: rgba(255, 255, 255, 0.08);
}

* {
    box-sizing: border-box;
}

/* Hide left nav for this page */
.c-left-nav {
    display: none;
}

.playground-page {
    margin-top: 70px;
    font-family: 'Space Grotesk', 'DM Sans', sans-serif;
    background: var(--play-dark);
    min-height: calc(100vh - 70px);
}

/* ==========================================================================
   HERO SECTION - Animated Gradient
   ========================================================================== */

.play-hero {
    position: relative;
    padding: 120px 20px 100px;
    overflow: hidden;
    background: var(--play-darker);
}

.play-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(196, 76, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(76, 201, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 50% 80%, rgba(255, 107, 157, 0.1) 0%, transparent 50%);
    animation: auraPulse 8s ease-in-out infinite;
}

@keyframes auraPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.play-hero__grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse 70% 70% at center, black 30%, transparent 70%);
}

.play-hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeUp 1s ease-out;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.play-hero__emoji {
    font-size: 64px;
    margin-bottom: 20px;
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
}

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

.play-hero__title {
    font-size: 58px;
    font-weight: 700;
    margin: 0 0 20px;
    background: linear-gradient(135deg, var(--play-pink), var(--play-purple), var(--play-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
    line-height: 1.1;
}

.play-hero__subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-weight: 400;
}

/* ==========================================================================
   INTERACTIVE TOYS SECTION
   ========================================================================== */

.toys-section {
    padding: 80px 20px;
    position: relative;
}

.toys-section__title {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--play-purple);
    margin: 0 0 60px;
}

.toys-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.toy-card {
    background: var(--play-card);
    border: 1px solid var(--play-border);
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    animation: slideUp 0.6s ease-out backwards;
    animation-delay: var(--delay);
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.toy-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, var(--glow-color, var(--play-purple)), transparent 60%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.toy-card:hover::before {
    opacity: 1;
}

.toy-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.toy-card--pink { --glow-color: var(--play-pink); }
.toy-card--purple { --glow-color: var(--play-purple); }
.toy-card--blue { --glow-color: var(--play-blue); }
.toy-card--green { --glow-color: var(--play-green); }
.toy-card--yellow { --glow-color: var(--play-yellow); }

.toy-card__icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 36px;
    transition: transform 0.3s ease;
}

.toy-card:hover .toy-card__icon {
    transform: scale(1.1) rotate(5deg);
}

.toy-card--pink .toy-card__icon { background: linear-gradient(135deg, rgba(255, 107, 157, 0.2), rgba(255, 107, 157, 0.05)); }
.toy-card--purple .toy-card__icon { background: linear-gradient(135deg, rgba(196, 76, 255, 0.2), rgba(196, 76, 255, 0.05)); }
.toy-card--blue .toy-card__icon { background: linear-gradient(135deg, rgba(76, 201, 255, 0.2), rgba(76, 201, 255, 0.05)); }
.toy-card--green .toy-card__icon { background: linear-gradient(135deg, rgba(0, 245, 160, 0.2), rgba(0, 245, 160, 0.05)); }
.toy-card--yellow .toy-card__icon { background: linear-gradient(135deg, rgba(255, 217, 61, 0.2), rgba(255, 217, 61, 0.05)); }

.toy-card__title {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 10px;
}

.toy-card__desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    line-height: 1.6;
}

/* ==========================================================================
   STATS SECTION
   ========================================================================== */

.stats-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, transparent 0%, rgba(196, 76, 255, 0.03) 50%, transparent 100%);
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 80px;
    max-width: 900px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    animation: fadeUp 0.6s ease-out backwards;
    animation-delay: var(--delay);
}

.stat-item__number {
    font-size: 72px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--play-blue), var(--play-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-item__label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

/* ==========================================================================
   QUOTES SECTION
   ========================================================================== */

.quotes-section {
    padding: 100px 20px;
}

.quotes-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.quote-card {
    background: var(--play-card);
    border: 1px solid var(--play-border);
    border-radius: 32px;
    padding: 60px 50px;
    position: relative;
}

.quote-card::before {
    content: '"';
    position: absolute;
    top: 30px;
    left: 40px;
    font-size: 120px;
    font-family: Georgia, serif;
    background: linear-gradient(135deg, var(--play-pink), var(--play-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    line-height: 1;
}

.quote-card__text {
    font-size: 28px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0 0 30px;
    position: relative;
    z-index: 1;
}

.quote-card__author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.quote-card__avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--play-purple), var(--play-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.quote-card__info {
    text-align: left;
}

.quote-card__name {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.quote-card__role {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin: 4px 0 0;
}

/* ==========================================================================
   FLOATING ELEMENTS
   ========================================================================== */

.floating-shapes {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.floating-shape--1 {
    width: 300px;
    height: 300px;
    background: var(--play-pink);
    top: 20%;
    left: -100px;
    animation: floatAround 20s ease-in-out infinite;
}

.floating-shape--2 {
    width: 400px;
    height: 400px;
    background: var(--play-purple);
    bottom: 10%;
    right: -150px;
    animation: floatAround 25s ease-in-out infinite reverse;
}

.floating-shape--3 {
    width: 200px;
    height: 200px;
    background: var(--play-blue);
    top: 60%;
    left: 30%;
    animation: floatAround 18s ease-in-out infinite;
}

@keyframes floatAround {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -30px) rotate(90deg); }
    50% { transform: translate(-20px, 20px) rotate(180deg); }
    75% { transform: translate(20px, 30px) rotate(270deg); }
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */

.play-cta {
    padding: 100px 20px;
    text-align: center;
    position: relative;
}

.play-cta__content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.play-cta__title {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px;
}

.play-cta__desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 40px;
}

.play-cta__buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.play-btn {
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.play-btn--primary {
    background: linear-gradient(135deg, var(--play-pink), var(--play-purple));
    color: white;
    box-shadow: 0 10px 40px rgba(196, 76, 255, 0.3);
}

.play-btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(196, 76, 255, 0.4);
}

.play-btn--secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.play-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* ==========================================================================
   FOOTER OVERRIDE
   ========================================================================== */

.playground-page + .ct-footer {
    margin: 0;
    padding: 30px 20%;
    background: var(--play-darker);
    border-top: 1px solid var(--play-border);
    color: rgba(255, 255, 255, 0.5);
}

.playground-page + .ct-footer a {
    color: rgba(255, 255, 255, 0.5);
}

.playground-page + .ct-footer a:hover {
    color: var(--play-pink);
}

/* ==========================================================================
   RESPONSIVE STYLES
   ========================================================================== */

@media (max-width: 900px) {
    .toys-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        gap: 40px;
    }
    
    .stat-item__number {
        font-size: 56px;
    }
}

@media (max-width: 768px) {
    .play-hero {
        padding: 80px 20px 60px;
    }
    
    .play-hero__title {
        font-size: 38px;
    }
    
    .play-hero__emoji {
        font-size: 48px;
    }
    
    .toys-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .toy-card {
        padding: 30px 24px;
    }
    
    .stats-grid {
        flex-direction: column;
        gap: 30px;
    }
    
    .quote-card {
        padding: 40px 30px;
    }
    
    .quote-card__text {
        font-size: 22px;
    }
    
    .quote-card::before {
        font-size: 80px;
        top: 20px;
        left: 20px;
    }
    
    .play-cta__title {
        font-size: 32px;
    }
    
    .play-cta__buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .play-btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .playground-page + .ct-footer {
        padding: 30px;
        text-align: center;
    }
}
