* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-pink: #FF6B9D;
    --primary-purple: #C44569;
    --primary-yellow: #FFD93D;
    --primary-orange: #FF8C42;
    --primary-blue: #4ECDC4;
    --primary-green: #95E1D3;
    --dark-bg: #2C3E50;
    --light-bg: #FFF5F7;
    --text-dark: #2C3E50;
    --text-light: #FFFFFF;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.3);
}

body {
    font-family: 'Nunito', sans-serif;
    background: linear-gradient(135deg, #FFE5E5 0%, #FFF0F5 50%, #E8F5E9 100%);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.candy-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 107, 157, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(78, 205, 196, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 217, 61, 0.1) 0%, transparent 50%);
    animation: backgroundPulse 8s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.main-header {
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-purple) 100%);
    padding: 20px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 4px solid var(--primary-yellow);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo h1 {
    font-family: 'Fredoka One', cursive;
    font-size: 2.5rem;
    color: var(--text-light);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    margin-bottom: 5px;
    animation: logoBounce 2s ease-in-out infinite;
}

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

.logo .tagline {
    color: var(--primary-yellow);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    flex-wrap: wrap;
}

.main-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.main-nav a:hover,
.main-nav a.active {
    background: var(--primary-yellow);
    color: var(--text-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 217, 61, 0.4);
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.1) 0%, rgba(78, 205, 196, 0.1) 100%);
}

.hero-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-title {
    font-family: 'Fredoka One', cursive;
    font-size: 3.5rem;
    color: var(--primary-purple);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-purple) 100%);
    color: var(--text-light);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-orange) 100%);
    color: var(--text-dark);
}

.btn-secondary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-hover);
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
    max-width: 600px;
}

.floating {
    animation: float 3s ease-in-out infinite;
}

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

.rotate-slow {
    animation: rotateSlow 20s linear infinite;
}

@keyframes rotateSlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.section-title {
    font-family: 'Fredoka One', cursive;
    font-size: 2.8rem;
    text-align: center;
    color: var(--primary-purple);
    margin-bottom: 50px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 107, 157, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.5s;
}

.feature-card:hover::before {
    animation: shine 1s;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-pink);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: iconSpin 3s ease-in-out infinite;
    min-height: 60px;
}

.feature-icon:empty {
    display: none;
}

@keyframes iconSpin {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(10deg) scale(1.1); }
}

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--primary-purple);
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-dark);
    line-height: 1.8;
}

/* Gameplay Section */
.gameplay-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(149, 225, 211, 0.2) 0%, rgba(78, 205, 196, 0.2) 100%);
}

.gameplay-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.gameplay-text h2 {
    font-family: 'Fredoka One', cursive;
    font-size: 2.5rem;
    color: var(--primary-purple);
    margin-bottom: 25px;
}

.gameplay-text p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    line-height: 1.8;
}

.gameplay-list {
    list-style: none;
    font-size: 1.1rem;
}

.gameplay-list li {
    padding: 15px 0;
    border-bottom: 2px dashed var(--primary-pink);
    transition: all 0.3s ease;
}

.gameplay-list li:hover {
    padding-left: 20px;
    color: var(--primary-purple);
    font-weight: 700;
}

.gameplay-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* Tips Preview Section */
.tips-preview-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.tip-card {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-orange) 100%);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.tip-card:hover {
    transform: translateY(-10px) rotate(2deg);
    box-shadow: var(--shadow-hover);
}

.tip-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.tip-card p {
    line-height: 1.8;
}

.text-center {
    text-align: center;
}

/* Footer */
.main-footer {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-purple) 100%);
    color: var(--text-light);
    padding: 50px 0 20px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    font-family: 'Fredoka One', cursive;
    color: var(--primary-yellow);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-yellow);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
}

/* Page Specific Styles */
.page-header {
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-purple) 100%);
    padding: 60px 0;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 50px;
}

.page-header h1 {
    font-family: 'Fredoka One', cursive;
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.content-section {
    padding: 50px 0;
}

.content-section h2 {
    font-family: 'Fredoka One', cursive;
    font-size: 2.2rem;
    color: var(--primary-purple);
    margin-bottom: 25px;
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Form Styles */
.contact-form,
.privacy-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--primary-purple);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--primary-pink);
    border-radius: 10px;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 10px rgba(255, 107, 157, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    cursor: pointer;
}

.form-message {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    font-weight: 600;
    animation: slideDown 0.5s ease;
}

.form-message.success {
    background: linear-gradient(135deg, #95E1D3 0%, #4ECDC4 100%);
    color: #2C3E50;
    border: 2px solid #4ECDC4;
}

.form-message.error {
    background: linear-gradient(135deg, #FFB6C1 0%, #FF6B9D 100%);
    color: #2C3E50;
    border: 2px solid #FF6B9D;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* News Cards */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-card-content {
    padding: 25px;
}

.news-card h3 {
    color: var(--primary-purple);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.news-card .date {
    color: var(--primary-pink);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section .container,
    .gameplay-content {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .main-nav ul {
        justify-content: center;
    }
    
    .logo h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

.animate-bounce {
    animation: bounce 2s ease-in-out infinite;
}

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

