/* Bet9ja Professional Design System - Green/Gold Theme */

:root {
    /* Bet9ja Brand Colors */
    --background: hsl(0, 0%, 100%);
    --foreground: hsl(140, 8%, 15%);
    
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(140, 8%, 15%);
    
    /* Bet9ja Green Primary */
    --primary: hsl(140, 85%, 25%);
    --primary-foreground: hsl(0, 0%, 100%);
    --primary-hover: hsl(140, 85%, 20%);
    
    /* Gold Accents */
    --secondary: hsl(45, 95%, 55%);
    --secondary-foreground: hsl(140, 8%, 15%);
    --secondary-hover: hsl(45, 95%, 50%);
    
    /* Muted Colors */
    --muted: hsl(140, 20%, 95%);
    --muted-foreground: hsl(140, 8%, 45%);
    
    /* Accent Colors */
    --accent: hsl(140, 25%, 90%);
    --accent-foreground: hsl(140, 8%, 15%);
    
    --destructive: hsl(0, 84.2%, 60.2%);
    --destructive-foreground: hsl(0, 0%, 100%);
    
    --border: hsl(140, 15%, 88%);
    --input: hsl(140, 15%, 88%);
    --ring: hsl(140, 85%, 25%);
    
    /* Design System Extensions */
    --success: hsl(140, 85%, 35%);
    --success-foreground: hsl(0, 0%, 100%);
    
    --warning: hsl(45, 95%, 55%);
    --warning-foreground: hsl(140, 8%, 15%);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, hsl(140, 85%, 25%), hsl(140, 85%, 35%));
    --gradient-secondary: linear-gradient(135deg, hsl(45, 95%, 55%), hsl(45, 95%, 65%));
    --gradient-hero: linear-gradient(135deg, hsl(140, 85%, 25%) 0%, hsl(140, 85%, 35%) 50%, hsl(45, 95%, 55%) 100%);
    --gradient-card: linear-gradient(145deg, hsl(0, 0%, 100%) 0%, hsl(140, 20%, 98%) 100%);
    
    /* Shadows */
    --shadow-primary: 0 10px 25px -5px hsla(140, 85%, 25%, 0.25);
    --shadow-secondary: 0 10px 25px -5px hsla(45, 95%, 55%, 0.25);
    --shadow-elegant: 0 20px 40px -10px hsla(140, 85%, 25%, 0.15);
    --shadow-card: 0 4px 6px -1px hsla(140, 20%, 80%, 0.3);
    
    /* Animation Easings */
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    --radius: 0.5rem;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--background);
    color: var(--foreground);
    line-height: 1.6;
}

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

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background-image: url('src/assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    opacity: 0.9;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 1rem;
    max-width: 64rem;
    margin: 0 auto;
}

.hero-animation {
    animation: fadeIn 0.8s ease-out;
}

.hero-icon {
    width: 5rem;
    height: 5rem;
    margin: 0 auto 2rem;
    animation: scaleIn 0.6s ease-out;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-accent {
    display: block;
    color: var(--secondary);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--primary-foreground);
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
    .hero-description {
        font-size: 1.5rem;
    }
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--secondary);
    color: var(--secondary-foreground);
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow-secondary);
    transition: all 0.3s var(--ease-smooth);
    transform: scale(1);
}

.btn-primary:hover {
    background: var(--secondary-hover);
    transform: scale(1.05);
}

.btn-icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: var(--gradient-card);
}

.features-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeIn 0.8s ease-out;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--foreground);
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    max-width: 32rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

.features-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background: var(--gradient-card);
    padding: 2rem;
    text-align: center;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    transition: all 0.3s var(--ease-smooth);
    animation: slideUp 0.6s ease-out;
}

.feature-card:hover {
    box-shadow: var(--shadow-elegant);
    transform: scale(1.05);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.star-icon {
    background: hsla(140, 85%, 25%, 0.1);
    color: var(--primary);
}

.award-icon {
    background: hsla(45, 95%, 55%, 0.1);
    color: var(--secondary);
}

.users-icon {
    background: hsla(140, 85%, 35%, 0.1);
    color: var(--success);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--muted-foreground);
}

/* Feedback Page */
.feedback-page {
    min-height: 100vh;
    background: var(--gradient-card);
    padding: 3rem 0;
}

.feedback-container {
    max-width: 42rem;
}

.feedback-header {
    text-align: center;
    margin-bottom: 2rem;
    animation: fadeIn 0.8s ease-out;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    margin-bottom: 1rem;
    transition: color 0.3s var(--ease-smooth);
}

.back-link:hover {
    color: var(--primary-hover);
}

.back-icon {
    width: 1rem;
    height: 1rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.page-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
}

@media (min-width: 768px) {
    .page-title {
        font-size: 3rem;
    }
}

/* Form */
.form-card {
    background: var(--card);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-elegant);
    animation: slideUp 0.8s ease-out;
}

.form-section {
    margin-bottom: 1.5rem;
}

.form-section .section-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.form-row {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-weight: 500;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.required {
    color: var(--destructive);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--background);
    color: var(--foreground);
    font-size: 1rem;
    transition: border-color 0.3s var(--ease-smooth);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--ring);
    box-shadow: 0 0 0 2px hsla(140, 85%, 25%, 0.2);
}

.form-textarea {
    resize: vertical;
    min-height: 6rem;
}

/* Star Rating */
.rating-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.star-rating {
    display: flex;
    gap: 0.25rem;
}

.star {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s var(--ease-smooth);
    transform: scale(1);
}

.star:hover {
    transform: scale(1.1);
}

.star svg {
    width: 2rem;
    height: 2rem;
    fill: transparent;
    stroke: var(--muted-foreground);
    transition: all 0.2s var(--ease-smooth);
}

.star.active svg,
.star:hover svg {
    fill: var(--secondary);
    stroke: var(--secondary);
}

.rating-text {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 0.75rem 1.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    box-shadow: var(--shadow-primary);
    transition: all 0.3s var(--ease-smooth);
    transform: scale(1);
}

.btn-submit:hover:not(:disabled) {
    background: var(--primary-hover);
    transform: scale(1.02);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-text {
    transition: opacity 0.3s var(--ease-smooth);
}

.loading-spinner {
    display: none;
}

.btn-submit.loading .btn-text,
.btn-submit.loading .btn-icon {
    opacity: 0;
}

.btn-submit.loading .loading-spinner {
    display: block;
}

.spinner {
    width: 1rem;
    height: 1rem;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-elegant);
    padding: 1rem 1.5rem;
    transform: translateX(100%);
    transition: transform 0.3s var(--ease-smooth);
    z-index: 1000;
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    border-left: 4px solid var(--success);
}

.toast.error {
    border-left: 4px solid var(--destructive);
}

.toast-message {
    color: var(--foreground);
    font-weight: 500;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}