/*
Theme Name: Metaverse4Children
Theme URI: https://example.com/metaverse4children
Author: Antigravity AI
Author URI: https://google.deepmind.com
Description: A beautiful, playful, and modern WordPress theme for children's metaverse, featuring glassmorphism, 3D elements, and smooth animations.
Version: 1.0.0
License: MIT
License URI: https://opensource.org/licenses/MIT
Text Domain: metaverse4children
Tags: children, gaming, metaverse, playful, colorful, animation, glassmorphism
*/

/* Core Design System derived from React/Tailwind Config */
:root {
    /* Colors - HSL */
    --color-primary: 280, 70%, 55%;    /* Purple */
    --color-secondary: 200, 80%, 55%;  /* Blue */
    --color-accent: 330, 80%, 60%;     /* Pink */
    
    --color-m4c-teal: 175, 70%, 50%;
    --color-m4c-orange: 30, 90%, 55%;
    --color-m4c-lime: 85, 70%, 50%;
    --color-m4c-pink: 330, 80%, 65%;

    /* Typography */
    --font-heading: 'Fredoka', cursive;
    --font-body: 'Nunito', sans-serif;
}

body {
    background: linear-gradient(135deg, hsl(260 60% 95%) 0%, hsl(280 50% 90%) 50%, hsl(200 60% 92%) 100%);
    min-height: 100vh;
    overflow-x: hidden;
    font-family: var(--font-body);
    color: #1f2937; /* gray-800 */
}

/* Glassmorphism Utilities */
.glass-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    transition: all 0.3s ease;
}

.glass-card:hover {
    box-shadow: 0 12px 48px 0 rgba(31, 38, 135, 0.15);
    border-color: rgba(255, 255, 255, 0.8);
}

/* Text Gradients */
.text-gradient-brand {
    background: linear-gradient(to right, hsl(280, 70%, 55%), hsl(330, 80%, 60%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 15px rgba(168, 85, 247, 0.4); }
    50% { box-shadow: 0 0 25px rgba(168, 85, 247, 0.7); }
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float 8s ease-in-out infinite 2s;
}

.animate-pulse-glow {
    animation: pulse-glow 3s infinite;
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Enhancements for "Mastery" */
.hover-rotate-pop {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.hover-rotate-pop:hover {
    transform: rotate(2deg) scale(1.05);
}

/* Selection */
::selection {
    background: hsl(280, 70%, 90%);
    color: hsl(280, 70%, 20%);
}
