* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-pink: #FFB6D9;
    --primary-blue: #B6E5FF;
    --primary-yellow: #FFF4B6;
    --primary-green: #B6FFD9;
    --primary-purple: #E5B6FF;
    --primary-orange: #FFD9B6;
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    --white: #FFFFFF;
    --shadow: rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-blue) 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    text-decoration: none;
    display: inline-block;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary-pink);
    font-weight: bold;
    transition: color 0.3s;
}

.logo a:hover h1 {
    color: var(--primary-blue);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
    padding: 5px 10px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-pink);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 60px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px var(--shadow);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px var(--shadow);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-image {
    margin-top: 40px;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-yellow);
    color: var(--text-dark);
}

.btn-primary:hover {
    background: var(--primary-orange);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow);
}

.btn-secondary {
    background: var(--white);
    color: var(--text-dark);
}

.btn-secondary:hover {
    background: var(--primary-green);
    transform: translateY(-2px);
}

/* Sections */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    color: var(--white);
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px var(--shadow);
}

.features {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.3);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-pink);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-card h3 {
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Score Counter */
.score-counter-section {
    padding: 60px 0;
}

.score-display {
    text-align: center;
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 15px var(--shadow);
    max-width: 500px;
    margin: 0 auto;
}

.score-value {
    font-size: 4rem;
    font-weight: bold;
    color: var(--primary-pink);
    margin-bottom: 10px;
}

.score-label {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Leaderboard */
.leaderboard-section {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.3);
}

.leaderboard {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 15px var(--shadow);
    overflow-x: auto;
}

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
}

.leaderboard-table th {
    background: var(--primary-pink);
    color: var(--white);
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.leaderboard-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.leaderboard-table tr:hover {
    background: var(--primary-yellow);
}

/* Page Header */
.page-header {
    padding: 40px 0;
    text-align: center;
    background: rgba(255, 255, 255, 0.2);
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px var(--shadow);
}

.page-header p {
    font-size: 1.2rem;
    color: var(--white);
    text-shadow: 1px 1px 2px var(--shadow);
}

/* Game Section */
.game-section {
    padding: 40px 0;
}

.game-area {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 15px var(--shadow);
}

.game-info {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.game-stat {
    text-align: center;
}

.stat-label {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-pink);
}

.game-board {
    min-height: 400px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    overflow: visible;
}

.game-instruction {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px var(--shadow);
}

.balloon-demo {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.balloon {
    width: 80px;
    height: 100px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    cursor: pointer;
    transition: transform 0.3s, opacity 0.3s;
    position: relative;
    overflow: visible;
}

.balloon:hover {
    transform: scale(1.1);
}

.balloon-red { background: #FF6B6B; }
.balloon-blue { background: #4ECDC4; }
.balloon-yellow { background: #FFE66D; }
.balloon-green { background: #95E1D3; }
.balloon-purple { background: #A8E6CF; }

.balloon::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 30px;
    background: var(--text-dark);
}

.game-controls {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Levels Section */
.levels-section {
    padding: 40px 0;
}

.levels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.level-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow);
    transition: transform 0.3s;
}

.level-card:hover {
    transform: translateY(-5px);
}

.level-card.locked {
    opacity: 0.6;
}

.level-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-pink);
    margin-bottom: 15px;
}

.level-card h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
}

.level-card p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.level-stars {
    font-size: 1rem;
    font-weight: bold;
    color: var(--primary-yellow);
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* Bonuses Section */
.bonuses-section {
    padding: 40px 0;
}

.bonuses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.bonus-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow);
    transition: transform 0.3s;
}

.bonus-card:hover {
    transform: translateY(-5px);
}

.bonus-icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-pink);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bonus-card h3 {
    color: var(--text-dark);
    margin-bottom: 10px;
}

.bonus-card p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.bonus-reward {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-pink);
    margin-bottom: 20px;
}

/* Daily Reward */
.daily-reward-section {
    padding: 40px 0;
    background: rgba(255, 255, 255, 0.3);
}

.reward-calendar {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.reward-day {
    background: var(--white);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    min-width: 120px;
    box-shadow: 0 3px 10px var(--shadow);
}

.reward-day.completed {
    background: var(--primary-green);
    color: var(--white);
}

.reward-day.active {
    background: var(--primary-yellow);
    border: 3px solid var(--primary-pink);
}

.day-number {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.day-reward {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.day-status {
    font-size: 0.8rem;
}

/* FAQ Section */
.faq-section {
    padding: 40px 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 10px var(--shadow);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: var(--primary-yellow);
}

.faq-question h3 {
    color: var(--text-dark);
    font-size: 1.2rem;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-pink);
    font-weight: bold;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Contact Section */
.contact-section {
    padding: 40px 0;
}

.contact-info-full {
    max-width: 900px;
    margin: 0 auto;
}

.contact-info-full h2 {
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px var(--shadow);
    text-align: center;
}

.contact-info-full > p {
    color: var(--white);
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px var(--shadow);
    text-align: center;
}

.contact-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.contact-item-full {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow);
}

.contact-item-full h3 {
    color: var(--primary-pink);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.contact-item-full p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 10px;
}

.contact-item-full a {
    color: var(--primary-pink);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.contact-item-full a:hover {
    color: var(--text-dark);
    text-decoration: underline;
}

.contact-note {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

.contact-image {
    text-align: center;
    margin-top: 40px;
}

.contact-image img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-pink);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    margin-top: 3px;
}

/* Privacy Section */
.privacy-section {
    padding: 40px 0;
}

.privacy-content {
    max-width: 100%;
}

.privacy-text {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 15px var(--shadow);
    margin-bottom: 40px;
}

.privacy-text h2 {
    color: var(--text-dark);
    margin-top: 30px;
    margin-bottom: 15px;
}

.privacy-text h2:first-child {
    margin-top: 0;
}

.privacy-text p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.privacy-text ul {
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-light);
}

.privacy-text li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.consent-form-wrapper {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 15px var(--shadow);
    max-width: 800px;
    margin: 0 auto;
}

.consent-form-wrapper h2 {
    color: var(--text-dark);
    margin-bottom: 15px;
    text-align: center;
}

.consent-form-wrapper > p {
    color: var(--text-light);
    margin-bottom: 20px;
    text-align: center;
}

/* Instructions */
.how-to-play {
    padding: 40px 0;
    background: rgba(255, 255, 255, 0.3);
}

.instructions {
    max-width: 800px;
    margin: 0 auto;
}

.instruction-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 3px 10px var(--shadow);
}

.instruction-number {
    width: 50px;
    height: 50px;
    background: var(--primary-pink);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.instruction-content h3 {
    color: var(--text-dark);
    margin-bottom: 10px;
}

.instruction-content p {
    color: var(--text-light);
    line-height: 1.6;
}

.level-features {
    padding: 40px 0;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow);
}

.feature-item img {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.feature-item h3 {
    color: var(--text-dark);
    margin-bottom: 10px;
}

.feature-item p {
    color: var(--text-light);
}

/* Footer */
.footer {
    background: var(--white);
    padding: 30px 0;
    margin-top: 60px;
    text-align: center;
}

.footer p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--primary-pink);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--text-dark);
}

/* Bubble Effects */
#bubbleContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    animation: bubble-float 15s infinite;
}

@keyframes bubble-float {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px var(--shadow);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .privacy-text,
    .consent-form-wrapper {
        padding: 20px;
    }
    
    .consent-form-wrapper {
        max-width: 100%;
        margin: 20px 0;
    }
    
    .consent-form-wrapper h2 {
        font-size: 1.5rem;
    }
    
    .consent-form-wrapper > p {
        font-size: 0.9rem;
    }

    .contact-details-grid {
        grid-template-columns: 1fr;
    }

    .instruction-item {
        flex-direction: column;
        text-align: center;
    }

    .instruction-number {
        margin: 0 auto;
    }

    .score-value {
        font-size: 3rem;
    }

    .game-info {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .features-grid,
    .levels-grid,
    .bonuses-grid {
        grid-template-columns: 1fr;
    }
    
    .privacy-text,
    .consent-form-wrapper {
        padding: 15px;
        border-radius: 15px;
    }
    
    .privacy-text h2 {
        font-size: 1.3rem;
        margin-top: 20px;
    }
    
    .consent-form-wrapper h2 {
        font-size: 1.3rem;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

