:root {
    --primary-purple: #7c3aed;
    --light-purple: #f3e8ff;
    --dark-purple: #5b21b6;
}

body {
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
        Cantarell, sans-serif;
}

.navbar-brand {
    font-weight: 700;
    color: #000 !important;
}

.btn-primary {
    background-color: var(--primary-purple);
    border-color: var(--primary-purple);
    border-radius: 25px;
    padding: 10px 25px;
}

.btn-primary:hover {
    background-color: var(--dark-purple);
    border-color: var(--dark-purple);
}

.btn-outline-primary {
    border-color: var(--primary-purple);
    color: var(--primary-purple);
    border-radius: 25px;
    padding: 10px 25px;
}

.btn-outline-primary:hover {
    background-color: var(--primary-purple);
    border-color: var(--primary-purple);
    color: white;
}

/* Hero Section */
.hero-section {
    padding: 60px 0;
    background: linear-gradient(to bottom, #ffffff 0%, #faf5ff 100%);
}

.hero-title {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 20px;
}

.hero-image {
    width: 100%;
    border-radius: 20px;
    margin-top: 30px;
}

/* Why Contests Work Section */
.why-contests-section {
    padding: 80px 0;
}

.section-subtitle {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    color: #6b7280;
    font-style: italic;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Feature Cards */
.feature-box {
    background: white;
    border: 3px solid var(--primary-purple);
    border-radius: 20px;
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.feature-box h5 {
    font-weight: 600;
    margin-top: 15px;
    margin-bottom: 10px;
}

.feature-box p {
    color: #6b7280;
    font-size: 0.95rem;
}

.feature-image-large {
    width: 100%;
    max-width: 250px;
    height: auto;
    object-fit: cover;
    border-radius: 15px;
}

/* Live Contests Section */
.live-contests-section {
    padding: 80px 0;
    background-color: #f9fafb;
}

.featured-contest {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 25px;
    padding: 0;
    overflow: hidden;
    margin-bottom: 30px;
}

.featured-contest-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.featured-contest-content {
    padding: 30px;
}

.prize-amount {
    color: #059669;
    font-size: 2.5rem;
    font-weight: 700;
}

.countdown-timer {
    font-size: 1.5rem;
    font-weight: 600;
}

.participant-avatars img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -10px;
}

.participant-avatars img:first-child {
    margin-left: 0;
}

/* Contest Gallery */
.contest-gallery-section {
    padding: 60px 0 80px;
    background-color: #f9fafb;
}

.category-tabs {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.category-tab {
    padding: 12px 30px;
    border-radius: 25px;
    background: white;
    border: 1px solid #e5e7eb;
    cursor: pointer;
    transition: all 0.3s;
}

.category-tab.active {
    background: var(--dark-purple);
    color: white;
    border-color: var(--dark-purple);
}

.contest-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    height: 100%;
}

.contest-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.contest-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    position: relative;
}

.live-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.live-indicator {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
}

.contest-content {
    padding: 25px;
}

.contest-content h5 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.contest-description {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.prize-pool-label {
    color: #6b7280;
    font-size: 0.85rem;
    margin-bottom: 5px;
}

/* How it Works Section */
.how-it-works-section {
    padding: 80px 0;
    background: white;
}

.process-card {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 20px;
    display: flex;
    align-items: start;
    gap: 20px;
}

.step-number {
    min-width: 50px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-purple);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
}

.process-card h5 {
    font-weight: 600;
    margin-bottom: 8px;
}

.process-card p {
    color: #4b5563;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.phone-mockup {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.phone-mockup img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
}

/* Success Stories Section */
.success-stories-section {
    padding: 80px 0;
    background: #f9fafb;
}

.winners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 40px;
}

.winner-card {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1;
}

.winner-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: white;
}

.faq-item {
    background: linear-gradient(135deg, #f3e8ff 0%, #faf5ff 100%);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.faq-item:hover {
    transform: translateX(5px);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-number {
    min-width: 45px;
    width: 45px;
    height: 45px;
    background-color: var(--primary-purple);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin-right: 15px;
}

.faq-toggle {
    width: 30px;
    height: 30px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
}

.faq-answer {
    margin-top: 15px;
    padding-left: 60px;
    color: #4b5563;
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    background: white;
    border-radius: 30px;
    padding: 60px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin: 80px 0;
}

.avatar-group {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.avatar-group img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid white;
    margin: 0 -15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Newsletter Section */
.newsletter-section {
    background-color: var(--dark-purple);
    color: white;
    padding: 60px 0;
}

.newsletter-input {
    border-radius: 25px;
    padding: 15px 25px;
    border: none;
}

/* Footer */
footer {
    background-color: #f9fafb;
    padding: 40px 0 20px;
}

.logo-placeholder {
    width: 40px;
    height: 40px;
    background-color: var(--light-purple);
    border-radius: 8px;
    display: inline-block;
}

/* Pagination */
.pagination {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 40px;
}

.page-link {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e7eb;
    background: white;
    color: #6b7280;
    text-decoration: none;
}

.page-link.active {
    background: var(--primary-purple);
    color: white;
    border-color: var(--primary-purple);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .contest-image {
        height: 200px;
    }

    .featured-contest-image {
        height: 200px;
    }
}
