.auth-form {
    margin-bottom: 1.5rem;
}
/* ===========================
   Christmas Gift Manager Styles
   =========================== */

/* CSS Variables */
:root {
    --christmas-red: #c41e3a;
    --christmas-green: #165b33;
    --christmas-gold: #ffd700;
    --christmas-cream: #fffaf0;
    --snow-white: #f8f9fa;
    --dark-green: #0a3d1f;
    --light-red: #ff6b6b;
    --off-white: #f8f9fa;
    --dark-text: #333333;
    --light-gray: #ddd;
    --white: #ffffff;
    --forest-green: #165b33;
    --gold: #ffd700;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 12px rgba(0, 0, 0, 0.15);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', Arial, sans-serif;
    background: linear-gradient(135deg, var(--christmas-green) 0%, var(--dark-green) 100%);
    color: var(--dark-text);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Mountains of Christmas', cursive;
    font-weight: 700;
    color: var(--forest-green);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 1.8rem;
}

h3 {
    font-size: 1.2rem;
}

a {
    color: var(--christmas-red);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ===========================
   Snowfall Animation
   =========================== */
.snowflakes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5rem;
    animation: fall linear infinite;
}

.snowflake:nth-child(1) {
    left: 10%;
    animation-duration: 12s;
    animation-delay: 0s;
}

.snowflake:nth-child(2) {
    left: 20%;
    animation-duration: 15s;
    animation-delay: 2s;
}

.snowflake:nth-child(3) {
    left: 30%;
    animation-duration: 10s;
    animation-delay: 4s;
}

.snowflake:nth-child(4) {
    left: 40%;
    animation-duration: 18s;
    animation-delay: 1s;
}

.snowflake:nth-child(5) {
    left: 50%;
    animation-duration: 14s;
    animation-delay: 3s;
}

.snowflake:nth-child(6) {
    left: 60%;
    animation-duration: 16s;
    animation-delay: 5s;
}

.snowflake:nth-child(7) {
    left: 70%;
    animation-duration: 11s;
    animation-delay: 2s;
}

.snowflake:nth-child(8) {
    left: 80%;
    animation-duration: 13s;
    animation-delay: 4s;
}

.snowflake:nth-child(9) {
    left: 90%;
    animation-duration: 17s;
    animation-delay: 1s;
}

.snowflake:nth-child(10) {
    left: 95%;
    animation-duration: 20s;
    animation-delay: 0s;
}

@keyframes fall {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    100% {
        transform: translateY(100vh) translateX(50px) rotate(360deg);
    }
}

/* ===========================
   Naughty Elf Animation
   =========================== */
.naughty-elf,
.elf {
    position: fixed;
    width: 80px;
    height: 80px;
    z-index: 998;
    pointer-events: none;
    transition: all 1s ease-in-out;
    left: 100px;
    top: 100px;
    opacity: 0.85;
}

.naughty-elf .elf-body,
#naughtyElf {
    font-size: 4rem;
    animation: elfDance 0.5s infinite alternate;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.3));
}

@keyframes elfDance {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-10px);
    }
}

/* ===========================
   Navigation Bar
   =========================== */
.navbar {
    background: var(--christmas-red);
    color: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a,
.nav-brand {
    font-family: 'Mountains of Christmas', cursive;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a,
.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav-user {
    color: var(--christmas-cream);
    font-weight: 600;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.logout-btn {
    padding: 0.5rem 1.2rem;
    background: var(--christmas-green);
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(22, 91, 51, 0.3);
}

.logout-btn:hover {
    background: var(--dark-green);
    text-decoration: none;
    transform: translateY(-2px);
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    font-family: 'Nunito', Arial, sans-serif;
}

.nav-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background-color: var(--christmas-red);
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    z-index: 1001;
    border-radius: 0 0 8px 8px;
    margin-top: 0.5rem;
}

.nav-dropdown-content.show {
    display: block;
}

.dropdown-item {
    color: var(--white);
    padding: 0.75rem 1rem;
    text-decoration: none;
    display: block;
    transition: background-color 0.2s;
}

.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile-only nav items - hidden on desktop */
.mobile-only {
    display: none;
}

/* ===========================
   Flash Messages
   =========================== */
.flash-container,
.flash-messages {
    position: fixed;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
    width: 90%;
    max-width: 600px;
}

.flash {
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border-radius: 10px;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s ease;
    border-left: 4px solid transparent;
    background: var(--white);
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.flash-success {
    background: #d4edda;
    color: #155724;
    border-left-color: #28a745;
}

.flash-error {
    background: #f8d7da;
    color: #721c24;
    border-left-color: #dc3545;
}

.flash-warning {
    background: #fff3cd;
    color: #856404;
    border-left-color: #ffc107;
}

.flash-info {
    background: #d1ecf1;
    color: #0c5460;
    border-left-color: #17a2b8;
}

/* ===========================
   Main Content
   =========================== */
.container,
.main-content {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Page Headers */
.header {
    text-align: center;
    margin-bottom: 2rem;
}

.header h1 {
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.header p {
    color: var(--christmas-cream);
    font-size: 1.2rem;
}

/* ===========================
   Authentication Pages
   =========================== */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 2rem;
}

.auth-card {
    background: var(--christmas-cream);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 450px;
    border: 3px solid var(--christmas-gold);
}

.auth-header,
.auth-title {
    text-align: center;
    margin-bottom: 0.5rem;
    font-family: 'Mountains of Christmas', cursive;
    font-size: 2.5rem;
    color: var(--christmas-red);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.auth-header p,
.auth-subtitle {
    text-align: center;
    color: var(--christmas-green);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    color: #666;
}

.auth-footer a {
    color: var(--christmas-red);
    font-weight: 600;
}

/* ===========================
   Forms
   =========================== */
.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="email"],
.form-group input[type="url"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--christmas-green);
    border-radius: 8px;
    font-family: 'Nunito', Arial, sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--christmas-red);
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group small {
    display: block;
    margin-top: 0.25rem;
    color: #666;
    font-size: 0.875rem;
}

/* ===========================
   Buttons
   =========================== */

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-family: 'Nunito', Arial, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background: var(--christmas-red);
    color: var(--white);
    width: 100%;
    box-shadow: 0 4px 10px rgba(196, 30, 58, 0.3);
}

.btn-primary:hover {
    background: #a01829;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(196, 30, 58, 0.4);
}

.btn-secondary {
    background: #6c757d;
    color: var(--white);
}

.btn-secondary:hover {
    background: #545b62;
    text-decoration: none;
}

.btn-outline {
    background: transparent;
    color: var(--christmas-green);
    border: 2px solid var(--christmas-green);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--christmas-green);
    color: var(--white);
}

.btn-success {
    background: var(--christmas-green);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(22, 91, 51, 0.3);
}

.btn-success:hover {
    background: var(--dark-green);
}

.btn-icon {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.25rem;
    transition: transform 0.2s ease;
}

.btn-icon:hover {
    transform: scale(1.2);
}

.btn-purchase {
    background-color: var(--forest-green);
    color: var(--white);
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-purchase:hover {
    background-color: #0f4024;
}

.btn-purchased-by-me {
    background-color: var(--gold);
    color: var(--dark-text);
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}

.btn-purchased-other {
    background-color: #9e9e9e;
    color: var(--white);
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: not-allowed;
    font-weight: 600;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.form-actions .btn {
    flex: 1;
}

/* ===========================
   Cards
   =========================== */
.card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

/* ===========================
   Dashboard
   =========================== */
.dashboard,
.dashboard-container {
    padding: 2rem 0;
}

.welcome-banner {
    text-align: center;
    background: linear-gradient(135deg, var(--christmas-red), #d93649);
    color: var(--white);
    padding: 3rem 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.welcome-banner h1 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.welcome-banner p {
    font-size: 1.2rem;
}

.wishlist-section,
.gifts-section {
    margin-bottom: 4rem;
    background: var(--christmas-cream);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--christmas-gold);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    margin: 0;
}

.section-header .btn-primary {
    width: auto;
}

/* ===========================
   Filter Controls
   =========================== */
.filter-controls {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 600;
    color: var(--forest-green);
    margin: 0;
}

.filter-group select {
    padding: 0.5rem;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    font-family: 'Nunito', Arial, sans-serif;
    cursor: pointer;
}

.filter-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    user-select: none;
    color: var(--forest-green);
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
}

/* ===========================
   Gift Grid
   =========================== */
.gifts-grid,
.gift-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.gift-card {
    background: var(--white);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
}

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

.my-gift {
    border-color: var(--christmas-red);
}

.other-gift {
    border-color: var(--christmas-green);
}

.gift-card.purchased {
    opacity: 0.7;
    background: #f0f0f0;
}

.gift-card-header,
.gift-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--light-gray);
}

.gift-card-header h3,
.gift-header h3 {
    margin: 0;
    flex: 1;
}

.gift-owner {
    display: block;
    color: #666;
    font-size: 0.875rem;
    font-style: italic;
    margin-top: 0.25rem;
}

.gift-card-actions,
.gift-actions {
    display: flex;
    gap: 0.5rem;
}

.gift-card-body {
    flex: 1;
    margin-bottom: 1rem;
}

.gift-card-body p {
    margin-bottom: 0.75rem;
    word-wrap: break-word;
}

.gift-card-body p:last-child {
    margin-bottom: 0;
}

.gift-card-body strong {
    color: var(--forest-green);
}

.gift-description {
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.gift-notes {
    background: #fff9e6;
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 3px solid var(--christmas-gold);
    font-size: 0.95rem;
}

.gift-url {
    margin-bottom: 1rem;
}

.gift-url a {
    color: var(--christmas-red);
    font-weight: 600;
}

.gift-url a:hover {
    text-decoration: underline;
}

.gift-card-footer,
.gift-footer {
    padding-top: 1rem;
    border-top: 1px solid var(--light-gray);
    text-align: center;
}

.purchase-status-hidden,
.gift-privacy {
    color: #666;
    font-style: italic;
    font-size: 0.875rem;
}

/* ===========================
   Empty State
   =========================== */
.empty-state {
    text-align: center;
    padding: 3rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    grid-column: 1 / -1;
}

.empty-state p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 0.5rem;
}

/* ===========================
   Form Container
   =========================== */
.form-container {
    display: flex;
    justify-content: center;
    padding: 2rem 0;
}

.form-card {
    background: var(--christmas-cream);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 600px;
    border: 3px solid var(--christmas-gold);
}

.form-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.form-header h1,
.form-title {
    margin-bottom: 0.5rem;
    font-family: 'Mountains of Christmas', cursive;
    font-size: 2.2rem;
    color: var(--christmas-red);
}

.form-header p,
.form-subtitle {
    color: var(--christmas-green);
    margin-bottom: 1.5rem;
}

/* ===========================
   Warning Card
   =========================== */
.warning-card {
    border: 3px solid var(--gold);
}

.warning-header h1 {
    color: var(--gold);
}

.warning-box {
    background-color: #fffbea;
    border: 3px solid var(--gold);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
}

.warning-box h3 {
    margin-bottom: 0.5rem;
    color: var(--dark-text);
}

.info-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: var(--off-white);
    border-radius: 8px;
}

.info-section h3 {
    color: var(--forest-green);
    margin-bottom: 1rem;
}

.info-box {
    background-color: #e3f2fd;
    border: 2px solid #2196F3;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 2rem;
}

.info-box p {
    margin: 0;
    color: var(--dark-text);
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: var(--christmas-red);
    color: var(--white);
    text-align: center;
    padding: 1.5rem;
    margin-top: 3rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.footer p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .nav-container {
        flex-wrap: wrap;
        position: relative;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-only {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        gap: 0;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--christmas-red);
        box-shadow: 0 8px 16px rgba(0,0,0,0.3);
        padding: 1rem 0;
        margin-top: 1rem;
        border-radius: 8px;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links a,
    .nav-link {
        width: 100%;
        text-align: left;
        padding: 1rem 1.5rem;
        border-radius: 0;
    }

    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown-btn {
        width: 100%;
        justify-content: space-between;
        text-align: left;
        padding: 1rem 1.5rem;
    }

    .nav-dropdown-content {
        position: static;
        box-shadow: none;
        margin-top: 0;
        border-radius: 0;
        background-color: rgba(0, 0, 0, 0.2);
    }

    .dropdown-item {
        padding: 0.75rem 2rem;
    }

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

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .filter-controls {
        flex-direction: column;
        gap: 1rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .auth-card,
    .form-card {
        padding: 2rem 1.5rem;
    }

    .main-content {
        padding: 0 1rem;
    }

    .welcome-banner {
        padding: 2rem 1rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .gift-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===========================
   Landing Page Styles
   =========================== */

.landing-main {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--christmas-red), #d93649);
    color: var(--white);
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    position: relative;
}

.hero h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.hero-actions .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.hero-actions .btn-primary {
    background: var(--white);
    color: var(--christmas-red);
}

.hero-actions .btn-primary:hover {
    background: var(--christmas-cream);
    color: var(--christmas-red);
}

.hero-actions .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.hero-actions .btn-outline:hover {
    background: var(--white);
    color: var(--christmas-red);
}

.hero-visual {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-ornament {
    position: absolute;
    font-size: 4rem;
    opacity: 0.2;
    animation: float 6s ease-in-out infinite;
}

.hero-ornament:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.hero-ornament:nth-child(2) { top: 20%; right: 15%; animation-delay: 2s; }
.hero-ornament:nth-child(3) { bottom: 15%; left: 20%; animation-delay: 4s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Features Section */
.features {
    padding: 5rem 2rem;
    background: var(--white);
    text-align: center;
}

.section-heading {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-heading h2 {
    font-size: 2.5rem;
    color: var(--christmas-red);
    margin-bottom: 1rem;
}

.section-heading p {
    font-size: 1.2rem;
    color: #666;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    padding: 2rem;
    border-radius: 15px;
    background: var(--christmas-cream);
    transition: transform 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--christmas-gold);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    color: var(--forest-green);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Pricing Section */
.pricing {
    padding: 5rem 2rem;
    background: var(--christmas-cream);
    text-align: center;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.highlight {
    border: 3px solid var(--christmas-gold);
    transform: scale(1.05);
    z-index: 1;
}

.pricing-card.highlight:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--light-gray);
}

.pricing-header h3 {
    color: var(--christmas-red);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--forest-green);
}

.pricing-details {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pricing-details li {
    margin-bottom: 1rem;
    color: #555;
}

/* CTA Section */
.cta {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--forest-green), var(--dark-green));
    color: var(--white);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cta-actions .btn-primary {
    background: var(--christmas-gold);
    color: var(--dark-text);
}

.cta-actions .btn-primary:hover {
    background: #e6c200;
}

.cta-actions .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.cta-actions .btn-outline:hover {
    background: var(--white);
    color: var(--forest-green);
}

/* Responsive adjustments for Landing */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .pricing-card.highlight {
        transform: none;
    }
    
    .pricing-card.highlight:hover {
        transform: translateY(-10px);
    }
}

/* ===========================
   Print Styles
   =========================== */
@media print {
    .navbar,
    .snowflakes,
    .elf,
    .flash-container,
    .btn,
    .form-actions,
    .filter-controls {
        display: none !important;
    }

    body {
        background: white;
    }

    .gift-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}
