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

body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background-color: #f0f9ff;
    position: relative;
    overflow-x: hidden;
}

/* Fun background elements */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y="50" font-size="30" fill="%23fbbf24" opacity="0.1">🌟</text></svg>') 150px 100px,
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y="50" font-size="25" fill="%23f59e0b" opacity="0.08">🚗</text></svg>') 800px 200px,
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y="50" font-size="28" fill="%23ec4899" opacity="0.1">🍭</text></svg>') 400px 300px,
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y="50" font-size="32" fill="%2310b981" opacity="0.08">🐉</text></svg>') 1000px 150px,
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y="50" font-size="26" fill="%236366f1" opacity="0.09">🎨</text></svg>') 200px 500px,
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y="50" font-size="24" fill="%23ef4444" opacity="0.08">🏰</text></svg>') 700px 450px,
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y="50" font-size="22" fill="%2384cc16" opacity="0.07">🌈</text></svg>') 50px 350px,
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y="50" font-size="30" fill="%23a855f7" opacity="0.09">✨</text></svg>') 900px 400px;
    background-size: 80px 80px;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: -1;
}

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

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid #fbbf24;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}

.nav-logo a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-logo a:hover {
    transform: scale(1.05);
}

.nav-logo h2 {
    font-family: 'Fredoka', sans-serif;
    background: linear-gradient(45deg, #f59e0b, #ec4899, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    font-size: 1.8rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #374151;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 20px;
    position: relative;
}

.nav-menu a:hover {
    color: #8b5cf6;
    background: rgba(139, 92, 246, 0.1);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #f472b6 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y="50" font-size="40" fill="white" opacity="0.15">🎈</text></svg>') 100px 80px,
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y="50" font-size="35" fill="white" opacity="0.12">🎪</text></svg>') 800px 120px,
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y="50" font-size="38" fill="white" opacity="0.13">🎠</text></svg>') 600px 300px,
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y="50" font-size="42" fill="white" opacity="0.14">🎯</text></svg>') 200px 250px;
    background-size: 120px 120px;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-family: 'Fredoka', sans-serif;
    font-size: 4rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.tagline {
    font-size: 1.4rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-family: 'Fredoka', sans-serif;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.btn:hover::before {
    width: 100%;
    height: 100%;
}

.btn-primary {
    background: linear-gradient(45deg, #f59e0b, #ec4899);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #d97706, #db2777);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 3px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #8b5cf6;
    transform: translateY(-3px);
}

.btn-demo {
    background: linear-gradient(45deg, #10b981, #06b6d4);
    color: white;
}

.btn-demo:hover {
    background: linear-gradient(45deg, #059669, #0891b2);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-coming-soon {
    background: linear-gradient(45deg, #9ca3af, #6b7280);
    color: white;
    cursor: not-allowed;
    opacity: 0.7;
}

.btn-coming-soon:hover {
    background: linear-gradient(45deg, #9ca3af, #6b7280);
    transform: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Projects Section */
.projects {
    padding: 80px 0;
    background: linear-gradient(135deg, #fef3c7 0%, #ddd6fe 100%);
    position: relative;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y="50" font-size="35" fill="%23f59e0b" opacity="0.08">🎮</text></svg>') 150px 100px,
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y="50" font-size="30" fill="%23ec4899" opacity="0.07">🎲</text></svg>') 800px 200px,
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y="50" font-size="32" fill="%238b5cf6" opacity="0.06">🏆</text></svg>') 600px 300px;
    background-size: 100px 100px;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 1;
}

.projects .container {
    position: relative;
    z-index: 2;
}

.projects h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 60px;
    color: #374151;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.project-card {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    text-align: center;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #f59e0b, #ec4899, #8b5cf6, #10b981);
}

.project-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: #8b5cf6;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.project-card h3 {
    color: #374151;
    margin-bottom: 20px;
    font-size: 1.6rem;
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
}

.project-card p {
    color: #6b7280;
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 1.05rem;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #fef7cd 0%, #fde68a 100%);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y="50" font-size="28" fill="%23f59e0b" opacity="0.08">📧</text></svg>') 200px 100px,
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y="50" font-size="25" fill="%23ec4899" opacity="0.07">💌</text></svg>') 700px 150px,
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y="50" font-size="30" fill="%2310b981" opacity="0.06">📝</text></svg>') 100px 350px;
    background-size: 80px 80px;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 1;
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 60px;
    color: #374151;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3 {
    color: #374151;
    margin-bottom: 20px;
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
}

.contact-info p {
    margin-bottom: 20px;
    color: #4b5563;
    font-size: 1.05rem;
}

.contact-item {
    margin-bottom: 15px;
}

.contact-item a {
    color: #8b5cf6;
    text-decoration: none;
    font-weight: 600;
}

.contact-item a:hover {
    color: #7c3aed;
}

.contact-form {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 3px solid #fbbf24;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #d1d5db;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: 'Nunito', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
    transform: scale(1.02);
}



/* Privacy and Terms Sections */
.privacy,
.terms {
    padding: 80px 0;
    background: white;
}

.privacy h2,
.terms h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #1e293b;
}

.policy-content,
.terms-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.policy-content h3,
.terms-content h3 {
    color: #1e293b;
    margin: 30px 0 15px 0;
}

.policy-content ul,
.terms-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.policy-content a,
.terms-content a {
    color: #2563eb;
    text-decoration: none;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: 12px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    z-index: 10001;
    background: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.modal-close:hover {
    color: #333;
}

.modal-header {
    padding: 20px 30px;
    border-bottom: 1px solid #e5e5e5;
    background: #f8fafc;
    border-radius: 12px 12px 0 0;
}

.modal-header h2 {
    margin: 0;
    color: #1e293b;
    font-size: 1.8rem;
}

.modal-body {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
    line-height: 1.6;
}

.policy-section {
    margin-bottom: 40px;
}

.policy-section h3 {
    color: #1e293b;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.policy-section h4 {
    color: #374151;
    margin: 25px 0 10px 0;
    font-size: 1.1rem;
}

.policy-section ul {
    margin: 15px 0;
    padding-left: 20px;
}

.policy-section a {
    color: #2563eb;
    text-decoration: none;
}

.policy-section a:hover {
    text-decoration: underline;
}

.terms-section {
    border-top: 1px solid #e5e5e5;
    padding-top: 30px;
}

.terms-section h3 {
    color: #1e293b;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.terms-section h4 {
    color: #374151;
    margin: 25px 0 10px 0;
    font-size: 1.1rem;
}

.terms-section ul {
    margin: 15px 0;
    padding-left: 20px;
}

.terms-section a {
    color: #2563eb;
    text-decoration: none;
}

.terms-section a:hover {
    text-decoration: underline;
}

.modal-footer {
    padding: 20px 30px;
    border-top: 1px solid #e5e5e5;
    background: #f8fafc;
    border-radius: 0 0 12px 12px;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.modal-footer .btn {
    padding: 10px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.modal-footer .btn-secondary {
    background: #6b7280;
    color: white;
}

.modal-footer .btn-secondary:hover {
    background: #4b5563;
}

.modal-footer .btn-primary {
    background: #2563eb;
    color: white;
}

.modal-footer .btn-primary:hover {
    background: #1d4ed8;
}

/* Responsive modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 20px;
    }

    .modal-footer {
        flex-direction: column;
    }

    .modal-footer .btn {
        width: 100%;
    }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    color: white;
    padding: 60px 0 20px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y="50" font-size="20" fill="white" opacity="0.05">⭐</text></svg>') 100px 50px,
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y="50" font-size="18" fill="white" opacity="0.04">🌙</text></svg>') 500px 80px,
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y="50" font-size="16" fill="white" opacity="0.03">✨</text></svg>') 300px 120px;
    background-size: 60px 60px;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 1;
}

.footer .container {
    position: relative;
    z-index: 2;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: #f9fafb;
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
}

.footer-section h3 {
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer-section a:hover {
    color: #fbbf24;
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 2px solid #4b5563;
    color: #d1d5db;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .container {
        padding: 0 15px;
    }
}

/* Button group for multiple buttons in project cards */
.button-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

/* Buy button styling */
.btn-buy {
    background: linear-gradient(45deg, #16a34a, #15803d);
    color: white;
}

.btn-buy:hover {
    background: linear-gradient(45deg, #15803d, #166534);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Stripe button container for better centering */
.stripe-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}