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

:root {
    --primary-color: #e5767c;
    --secondary-color: #96CF90;
    --danger-color: #dc3545;
    --text-color: #1a1a2e;
    --text-muted: #6c757d;
    --light-bg: #fafafa;
    --white: #ffffff;
    --border-color: #e9ecef;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-lg: 20px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--light-bg);
    min-height: 100vh;
}

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

/* Header */
header {
    background: var(--white);
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

header h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    letter-spacing: -0.5px;
}

header h1 span {
    color: var(--primary-color);
}

.subtitle {
    display: none;
}

.admin-link {
    padding: 0.6rem 1.2rem;
    background: transparent;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
}

.admin-link:hover {
    background: var(--light-bg);
    color: var(--text-color);
}

/* Menu Navigation */
.menu-nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.menu-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

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

.menu-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.menu-link:hover::after {
    width: 100%;
}

/* Responsive menu */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .menu-nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .menu-link {
        font-size: 0.9rem;
    }
}

/* Banner */
.banner {
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.3) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.3) 1px, transparent 1px),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.25) 1.5px, transparent 1.5px),
        radial-gradient(circle at 60% 20%, rgba(255, 255, 255, 0.25) 1.5px, transparent 1.5px),
        radial-gradient(circle at 10% 60%, rgba(255, 255, 255, 0.2) 2px, transparent 2px),
        radial-gradient(circle at 90% 40%, rgba(255, 255, 255, 0.2) 2px, transparent 2px),
        radial-gradient(circle at 30% 10%, rgba(255, 255, 255, 0.35) 1px, transparent 1px),
        radial-gradient(circle at 70% 90%, rgba(255, 255, 255, 0.35) 1px, transparent 1px),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.15) 2px, transparent 2px),
        radial-gradient(circle at 15% 85%, rgba(255, 215, 0, 0.4) 1px, transparent 1px),
        radial-gradient(circle at 85% 15%, rgba(255, 215, 0, 0.4) 1px, transparent 1px),
        radial-gradient(circle at 25% 45%, rgba(255, 215, 0, 0.3) 1.5px, transparent 1.5px),
        radial-gradient(circle at 75% 55%, rgba(255, 215, 0, 0.3) 1.5px, transparent 1.5px),
        linear-gradient(135deg, var(--primary-color) 0%, #f0989c 50%, var(--primary-color) 100%);
    background-size: 
        100px 100px, 100px 100px, 80px 80px, 80px 80px,
        120px 120px, 120px 120px, 60px 60px, 60px 60px,
        90px 90px, 70px 70px, 70px 70px, 50px 50px, 50px 50px, 100% 100%;
    padding: 2.5rem 0;
    text-align: center;
    margin-bottom: 2rem;
}

.banner h2 {
    color: var(--white);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Main Content */
main {
    background: transparent;
    padding: 0 0 3rem 0;
}

h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Prestations Grid */
.prestations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.prestation-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.prestation-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: transparent;
}

.prestation-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: var(--light-bg);
}

.prestation-content {
    padding: 1.25rem;
}

.prestation-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-color);
}

.prestation-price {
    font-size: 1.5rem;
    color: var(--text-color);
    font-weight: 700;
    margin: 0.75rem 0 1rem 0;
}

.prestation-price::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
}

/* Custom Voucher Section */
.custom-voucher-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.custom-voucher-card {
    max-width: 400px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.custom-voucher-content {
    text-align: center;
}

.custom-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    opacity: 0.9;
}

.custom-voucher-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-color);
}

.custom-voucher-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.custom-input-group {
    position: relative;
    margin-bottom: 1rem;
}

.custom-amount-input {
    width: 100%;
    padding: 0.875rem 3rem 0.875rem 1rem;
    font-size: 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    text-align: center;
    transition: all 0.2s ease;
    background: var(--light-bg);
}

.custom-amount-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(229, 118, 124, 0.1);
}

.currency {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: #d4656b;
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.btn-large {
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
}

/* Footer */
footer {
    background: transparent;
    padding: 2rem 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    header h1 {
        font-size: 1.25rem;
    }

    .prestations-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .container {
        padding: 0 1rem;
    }

    .custom-voucher-card {
        padding: 1.5rem;
    }
}

/* Loading State */
.loading {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
    background: var(--white);
    border-radius: var(--radius);
    border: 1px dashed var(--border-color);
}

.empty-state-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    opacity: 0.5;
}

.empty-state p {
    font-size: 0.9rem;
    line-height: 1.6;
}
