/* --- Global & Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Poppins:wght@400;700&display=swap');

body {
    background: #fdfbfb;
    font-family: 'Poppins', sans-serif;
    color: #444;
}

/* --- Reusable & Helper Classes --- */
.main-content-area {
    padding-top: 40px;
    padding-bottom: 60px;
}
.hidden { display: none !important; }
.page-title {
    font-family: 'Pacifico', cursive;
    color: #d63384;
    font-size: 3rem;
}

/* --- Navbar --- */
.navbar-brand {
    font-family: 'Pacifico', cursive;
}
.nav-link {
    transition: all 0.2s ease-in-out;
}
.nav-link:hover, .nav-link.active {
    color: #ffc107 !important;
    transform: translateY(-2px);
}

/* --- Home Page --- */
.title-wrapper {
    margin-bottom: 2rem;
}
.main-title {
    font-family: 'Pacifico', cursive;
    font-size: 4rem;
    color: #0d6efd;
}
.since-text {
    font-size: 1.2rem;
    color: #6c757d;
    margin-top: -10px;
}
.profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 7px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.glowing-text {
    font-weight: bold;
    font-size: 2.5rem;
    color: #fd7e14;
    animation: glow 2s ease-in-out infinite alternate;
}
@keyframes glow {
    from { text-shadow: 0 0 5px #ffc107, 0 0 10px #ffc107, 0 0 15px #fd7e14; }
    to { text-shadow: 0 0 10px #ffc107, 0 0 20px #fd7e14, 0 0 30px #fd7e14; }
}
.funny-intro {
    font-style: italic;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.marquee-container {
    overflow: hidden;
    background: #343a40;
    color: white;
    padding: 10px 0;
    border-radius: 50px;
}
.marquee {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 15s linear infinite;
    font-size: 1.2rem;
}
.marquee span { margin: 0 40px; }
@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-150%); }
}
#praise-animation {
    font-size: 1.8rem;
    font-weight: bold;
    color: #dc3545;
}
.fire-emoji {
    display: inline-block;
    font-size: 1.5rem;
    animation: fire 0.5s infinite;
}
@keyframes fire {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(5deg); }
}

/* --- Confetti --- */
#confetti-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -100;
}

/* --- About Page --- */
.kid-photo {
    width: 180px;
    border-radius: 15px;
    border: 5px solid #fff;
}
.timeline {
    position: relative;
    padding-left: 20px;
    border-left: 4px solid #0dcaf0;
}
.timeline-item {
    position: relative;
    margin-bottom: 25px;
    padding: 15px;
    background: #eefbfb;
    border-radius: 8px;
}
.timeline-item.future { background: #fffbeb; }
.timeline-item h4 { color: #0d6efd; }
.tools-box {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}
.tools-box .list-group-item {
    background: transparent;
    font-size: 1.1rem;
}
.tools-box .bi {
    color: #d63384;
    margin-right: 10px;
}

/* --- Gallery Page --- */
.gallery-card {
    transition: transform 0.3s, box-shadow 0.3s;
}
.gallery-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2) !important;
}

/* --- Game Page --- */
#game-area {
    position: relative;
    height: 400px;
    background-color: #e9f7fd;
    border: 2px dashed #0dcaf0;
    border-radius: 15px;
    overflow: hidden;
    cursor: crosshair;
}
.game-item {
    position: absolute;
    font-size: 2.5rem;
    cursor: pointer;
    transition: transform 0.1s;
}
.game-item:hover {
    transform: scale(1.2);
}

/* --- Quotes Page --- */
#quote-wall {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 250px;
    background: url('https://www.transparenttextures.com/patterns/cork-wallet.png') #f0e9d6;
    border-radius: 15px;
    padding: 20px;
}
#quote-box {
    padding: 30px;
    font-family: 'Pacifico', cursive;
    font-size: 2rem;
    color: #333;
    text-align: center;
    transform: rotate(-2deg);
    transition: all 0.3s ease;
}
#quote-box.color-1 { background-color: #aaffaa; }
#quote-box.color-2 { background-color: #aabfff; }
#quote-box.color-3 { background-color: #ffffa0; }
#quote-box.color-4 { background-color: #ffadad; }

/* --- Testimonials Page --- */
.testimonial-card {
    border-color: #6f42c1;
    border-width: 2px;
}
.testimonial-card .card-body {
    font-size: 1.2rem;
    font-style: italic;
}
.testimonial-card .card-footer {
    background-color: #6f42c1;
    color: white;
    font-weight: bold;
}

/* --- Fun Button --- */
.fun-button {
    background-image: linear-gradient(to right, #FF512F 0%, #F09819 51%, #FF512F 100%);
    padding: 15px 30px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;            
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    border: none;
    font-weight: bold;
}
.fun-button:hover {
    background-position: right center;
    color: #fff;
    text-decoration: none;
    transform: scale(1.05);
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .main-title { font-size: 2.5rem; }
    .page-title { font-size: 2.2rem; }
    .glowing-text { font-size: 2rem; }
    .timeline { border-left: none; padding-left: 0; }
    #quote-box { font-size: 1.5rem; }
}