:root {
    /* === Core Brand Colors === */
    --primary: #dc2626;             /* Gift red */
    --primary-dark: #b91c1c;        /* Darker red */
    --primary-light: #fecaca;       /* Light red */
    --secondary: #f97316;           /* Warm orange */
    --secondary-dark: #ea580c;      /* Darker orange */
    --secondary-light: #fed7aa;     /* Light orange */

    /* === Background Colors === */
    --bg-primary: #ffffff;          /* White */
    --bg-secondary: #fef3f2;        /* Soft peach */
    --bg-tertiary: #fff7ed;         /* Light amber */
    --bg-gray-light: #f8f9fa;       /* Light gray background */
    --bg-gray-medium: #e5e7eb;      /* Medium gray background */
    --bg-gray-dark: #d1d5db;        /* Dark gray background */

    /* === Text Colors === */
    --text-primary: #1a1a1a;        /* Near black */
    --text-secondary: #6b7280;      /* Medium gray */
    --text-tertiary: #4b5563;       /* Dark gray */
    --text-muted: #9ca3af;          /* Light gray */
    --text-white: #ffffff;          /* White */

    /* === Border Colors === */
    --border-light: #e0e0e0;        /* Light gray border */
    --border-medium: #e5e7eb;       /* Medium gray border */
    --border-peach: #fee2e2;        /* Peach border */
    --border-gray: #374151;         /* Dark gray border */

    /* === Accent Colors === */
    --accent-success: #059669;      /* Green */
    --accent-success-bg: #d4edda;   /* Success background */
    --accent-success-text: #155724; /* Success text */
    --accent-warning: #f59e0b;      /* Amber */
    --accent-warning-bg: #fff3cd;   /* Warning background */
    --accent-warning-text: #856404; /* Warning text */
    --accent-info: #2563eb;         /* Blue */
    --accent-info-bg: #d1ecf1;      /* Info background */
    --accent-info-text: #0c5460;    /* Info text */
    --accent-info-border: #17a2b8;  /* Info border */
    --accent-purple: #8b5cf6;       /* Purple for luxury */
    --accent-pink: #ec4899;         /* Pink */
    --accent-yellow: #fbbf24;       /* Yellow/Gold */

    /* === Legacy Support (for backwards compatibility) === */
    --success: var(--accent-success);
    --warning: var(--accent-warning);
    --danger: var(--primary);
    --light: var(--bg-gray-light);
    --dark: var(--text-primary);

    /* === Gradients - Warm Theme === */
    --gradient-1: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-2: linear-gradient(135deg, var(--secondary) 0%, var(--accent-yellow) 100%);
    --gradient-3: linear-gradient(135deg, var(--accent-pink) 0%, var(--secondary) 100%);
    --gradient-hero: linear-gradient(120deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    --gradient-btn-primary-hover: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    --gradient-footer: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);

    /* === Shadows === */
    --shadow-sm: 0 2px 8px rgba(220, 38, 38, 0.08);
    --shadow: 0 10px 40px rgba(220, 38, 38, 0.12);
    --shadow-hover: 0 15px 50px rgba(220, 38, 38, 0.18);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-cookie: 0 -4px 20px rgba(0, 0, 0, 0.15);
    --shadow-gift-card: 0 5px 20px rgba(0, 0, 0, 0.08);
    --shadow-gift-card-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-btn-primary: 0 4px 15px rgba(220, 38, 38, 0.3);
    --shadow-btn-primary-hover: 0 6px 20px rgba(220, 38, 38, 0.5);

    /* === Tag Button Colors === */
    --tag-bg-default: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    --tag-border-default: var(--border-peach);
    --tag-text-default: var(--border-gray);
    --tag-bg-selected: var(--gradient-1);
    --tag-border-selected: var(--primary);
    --tag-text-selected: var(--text-white);
    --tag-bg-hover: var(--gradient-1);
    --tag-border-hover: var(--primary);
    --tag-text-hover: var(--text-white);
    --tag-shadow-hover: 0 10px 15px -3px rgba(220, 38, 38, 0.2), 0 4px 6px -4px rgba(220, 38, 38, 0.1);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--gradient-hero);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--text-white);
    box-shadow: var(--shadow-btn-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-btn-primary-hover);
    background: var(--gradient-btn-primary-hover);
}

.btn-secondary {
    background: var(--bg-primary);
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

/* Tag Buttons */
.tag-btn {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    border-width: 1px;
    border-style: solid;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    background: var(--tag-bg-default);
    border-color: var(--tag-border-default);
    color: var(--tag-text-default);
}

.tag-btn:hover {
    background: var(--tag-bg-hover);
    border-color: var(--tag-border-hover);
    color: var(--tag-text-hover);
    transform: translateY(-2px);
    box-shadow: var(--tag-shadow-hover);
}

.tag-btn-selected,
.tag-btn-selected:hover {
    background: var(--gradient-1) !important;
    border-color: var(--primary) !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3) !important;
}

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

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

/* Layout */
.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.card {
    background: var(--bg-primary);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.hero {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--gradient-1);
    color: var(--text-white);
    border-radius: 30px;
    margin-bottom: 3rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s;
}

.hero p {
    font-size: 1.3rem;
    opacity: 0.95;
    animation: fadeInUp 1s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Forms */
.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-light);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s;
    margin-bottom: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Alerts */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    animation: slideIn 0.5s;
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.alert-success {
    background: var(--accent-success-bg);
    color: var(--accent-success-text);
    border-left: 4px solid var(--success);
}

.alert-warning {
    background: var(--accent-warning-bg);
    color: var(--accent-warning-text);
    border-left: 4px solid var(--warning);
}

.alert-info {
    background: var(--accent-info-bg);
    color: var(--accent-info-text);
    border-left: 4px solid var(--accent-info-border);
}

/* Gift Cards */
.gift-card {
    background: var(--bg-primary);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 5px solid var(--primary);
    box-shadow: var(--shadow-gift-card);
    transition: all 0.3s;
}

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

.gift-card h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 0.5rem;
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
    margin-top: 4rem;
}

/* Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    box-shadow: var(--shadow-cookie);
    padding: 1.5rem;
    z-index: 10000;
    display: none;
    animation: slideUp 0.5s ease;
}

.cookie-consent-banner.show {
    display: block;
}

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

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-consent-text {
    flex: 1;
    min-width: 300px;
}

.cookie-consent-text h3 {
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.cookie-consent-text p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-consent-text a {
    color: var(--primary);
    text-decoration: underline;
}

.cookie-consent-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-consent-buttons .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

.btn-accept {
    background: var(--gradient-1);
    color: white;
}

.btn-reject {
    background: var(--bg-gray-medium);
    color: var(--text-primary);
}

.btn-reject:hover {
    background: var(--bg-gray-dark);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
        margin: 1rem auto;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

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

    .cookie-consent-content {
        flex-direction: column;
        gap: 1rem;
    }

    .cookie-consent-text {
        min-width: 100%;
    }

    .cookie-consent-buttons {
        width: 100%;
        flex-direction: column;
    }

    .cookie-consent-buttons .btn {
        width: 100%;
    }
}

/* Footer Styles */
.site-footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-medium);
    margin-top: 4rem;
    padding: 0;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 2rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-medium);
}

.footer-column h3 {
    color: var(--primary);
    font-size: 1.25rem;
    margin: 0 0 0.75rem 0;
    font-weight: 700;
}

.footer-column h4 {
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0 0 1.25rem 0;
}

.footer-license {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 0.75rem;
    background: var(--bg-primary);
    border-radius: 8px;
    border: 1px solid var(--border-medium);
}

.footer-license i {
    color: var(--primary);
    font-size: 1.1rem;
}

.license-text {
    line-height: 1.4;
}

.footer-license a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 500;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(3px);
}

.footer-links i {
    width: 16px;
    text-align: center;
    color: var(--secondary);
    font-size: 0.85rem;
}

.footer-bottom {
    background: var(--gradient-footer);
    border-top: 1px solid var(--border-peach);
    margin-top: 2rem;
    padding: 1.25rem 0;
    margin-left: -2rem;
    margin-right: -2rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.footer-bottom-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-note {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.footer-note a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.footer-note a:hover {
    text-decoration: underline;
}

.footer-separator {
    color: var(--bg-gray-dark);
    font-size: 0.85rem;
}

/* Footer Tablet breakpoint */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

/* Footer Mobile breakpoint */
@media (max-width: 599px) {
    .site-footer {
        margin-top: 2rem;
    }

    .footer-container {
        padding: 2rem 1rem 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-column h3 {
        font-size: 1.1rem;
    }

    .footer-column h4 {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }

    .footer-tagline {
        font-size: 0.85rem;
    }

    .footer-license {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.6rem;
    }

    .license-text {
        font-size: 0.8rem;
    }

    .footer-links a {
        font-size: 0.85rem;
    }

    .footer-bottom {
        margin-left: -1rem;
        margin-right: -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-copyright {
        font-size: 0.8rem;
    }

    .footer-note {
        font-size: 0.8rem;
    }

    .footer-social {
        flex-wrap: wrap;
        justify-content: center;
    }
}
