:root {
    --primary-gradient: linear-gradient(135deg, #f87171 0%, #ef4444 50%, #dc2626 100%);
    --primary-color: #f87171;
    --secondary-color: #ef4444;
    --accent-color: #fca5a5;
    --christmas-green: #16a34a;
    --christmas-red: #f87171;
    --dark-bg: #1a1a1a;
    --card-bg: rgba(255, 255, 255, 0.98);
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --border-color: #e5e7eb;
    --success-gradient: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    --danger-gradient: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
    --warning-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

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

body {
    background: linear-gradient(135deg, #f87171 0%, #ef4444 40%, #dc2626 60%, #16a34a 100%);
    background-attachment: fixed;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
}

.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(248, 113, 113, 0.15);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 600;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand i {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.8rem;
}

.navbar-nav .nav-link {
    color: var(--text-primary) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.navbar-nav .nav-link:hover {
    background: var(--primary-gradient);
    color: white !important;
    transform: translateY(-1px);
}

.navbar-nav .nav-link i {
    margin-right: 0.4rem;
    font-size: 0.9rem;
}

.dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.2);
    padding: 0.5rem;
    margin-top: 0.5rem;
    background: var(--card-bg);
}

.dropdown-item {
    padding: 0.6rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: var(--primary-gradient);
    color: white;
}

.main-content {
    padding: 3rem 0;
    min-height: calc(100vh - 200px);
}

.card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(248, 113, 113, 0.15);
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 8px 30px rgba(248, 113, 113, 0.25);
    transform: translateY(-4px);
}

.card-header {
    background: var(--primary-gradient);
    border: none;
    padding: 1.5rem;
    font-weight: 600;
    color: white;
    border-radius: 16px 16px 0 0 !important;
}

.btn-primary {
    background: var(--primary-gradient);
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    color: white;
    box-shadow: 0 4px 15px rgba(248, 113, 113, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(248, 113, 113, 0.4);
    color: white;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

.btn-danger {
    background: var(--danger-gradient);
    border: none;
    border-radius: 8px;
    color: white;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
    color: white;
}

.btn-success {
    background: var(--success-gradient);
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

.btn-warning {
    background: var(--warning-gradient);
    border: none;
    border-radius: 8px;
    color: white;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
    color: white;
}

.btn-secondary {
    background: #718096;
    border: none;
    border-radius: 8px;
    color: white;
}

.btn-secondary:hover {
    background: #4a5568;
    color: white;
}

.hero-section {
    text-align: center;
    padding: 6rem 0 4rem;
    color: white;
}

.hero-section h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -2px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

.feature-card {
    transition: all 0.3s ease;
    height: 100%;
    border: none;
    background: var(--card-bg);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(248, 113, 113, 0.3);
}

.badge-gradient {
    background: var(--primary-gradient);
    color: white;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.badge-success-gradient {
    background: var(--success-gradient);
    color: white;
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
}

.badge-secondary-custom {
    background: #718096;
    color: white;
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
}

.badge-you {
    background: var(--primary-gradient);
    color: white;
    margin-left: 0.5rem;
}

.badge-guest {
    background: #718096;
    color: white;
    margin-left: 0.5rem;
}

.invite-code {
    background: linear-gradient(135deg, rgba(248, 113, 113, 0.1) 0%, rgba(239, 68, 68, 0.1) 100%);
    border: 2px solid rgba(248, 113, 113, 0.2);
    padding: 1rem;
    border-radius: 12px;
    font-family: 'SF Mono', 'Monaco', 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    margin: 1rem 0;
    letter-spacing: 1px;
}

.invite-code-link {
    color: inherit;
    text-decoration: none;
}

footer {
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(10px);
    color: white;
    padding: 2rem 0;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer .text-muted {
    color: #999 !important;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.alert {
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.table {
    border-radius: 12px;
    overflow: hidden;
}

.table thead {
    background: var(--primary-gradient);
    color: white;
}

.table tbody tr {
    transition: all 0.2s ease;
}

.table tbody tr:hover {
    background: rgba(248, 113, 113, 0.05);
    transform: scale(1.01);
}

.page-title {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -1px;
}

.page-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
}

.card-title-large {
    font-weight: 600;
    font-size: 1.25rem;
}

.text-small {
    font-size: 0.95rem;
    line-height: 1.5;
}

.text-xs {
    font-size: 0.9rem;
}

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

.empty-state {
    border: 2px dashed rgba(248, 113, 113, 0.3);
    background: rgba(255, 255, 255, 0.9);
}

.empty-state-icon {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 1.5rem;
}

.empty-state-title {
    font-weight: 600;
    font-size: 1.5rem;
}

.empty-state-text {
    font-size: 1rem;
}

.modal-header-gradient {
    background: var(--primary-gradient);
    color: white;
}

.icon-large {
    font-size: 3rem;
}

.icon-xl {
    font-size: 5rem;
}

.wishlist-image {
    height: 200px;
    object-fit: cover;
}

.wishlist-image-sm {
    height: 180px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.hidden {
    display: none !important;
}

.toast-container-custom {
    z-index: 9999;
}

.table-col-narrow {
    width: 50px;
}

.invite-code-small {
    font-size: 0.8rem;
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.wishlist-display-card {
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #e0e0e0;
}

.wishlist-display-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(248, 113, 113, 0.2);
}

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

.form-group-modern label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group-modern label i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.form-control-modern {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-control-modern:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.1);
    transform: translateY(-1px);
}

.form-control-modern::placeholder {
    color: #a0aec0;
}

.input-group-icon {
    position: relative;
}

.input-group-icon i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
    z-index: 5;
}

.input-group-icon .form-control-modern {
    padding-left: 2.75rem;
}

.error-message {
    color: #f87171;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.error-message i {
    font-size: 0.875rem;
}

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

