@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Outfit:wght@200;300;400;500;600;700&display=swap');

/* --- DESIGN SYSTEM & CSS VARIABLES --- */
:root {
    --primary: #5A6955;          /* Šalvějová zelená */
    --primary-light: #8E9E89;    /* Světlá šalvěj */
    --primary-dark: #3E4B3A;     /* Tmavá šalvěj */
    --accent: #C39F68;           /* Tlumená svatební zlatá */
    --accent-hover: #AB8853;     /* Tmavší zlatá */
    --accent-light: #F4EFEB;     /* Teplá krémová/champagne */
    --bg-base: #FBF9F6;          /* Světlá hedvábná krémová */
    --bg-card: rgba(255, 255, 255, 0.85);
    --text-main: #2D392C;        /* Tmavě lesní pro skvělý kontrast */
    --text-muted: #5F6E5D;       /* Středně šalvějově šedá */
    --text-white: #FFFFFF;
    --border: rgba(90, 105, 85, 0.15);
    --border-accent: rgba(195, 159, 104, 0.3);
    --shadow: 0 10px 40px rgba(90, 105, 85, 0.05);
    --shadow-hover: 0 20px 50px rgba(90, 105, 85, 0.12);
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --radius: 16px;
    --radius-sm: 8px;
    --radius-lg: 32px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-sans);
    font-weight: 300;
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 500;
    color: var(--text-main);
    line-height: 1.2;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent);
}

p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

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

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* --- BUTTONS & INTERACTIVE ELEMENTS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    outline: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-white);
    box-shadow: 0 6px 20px rgba(90, 105, 85, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(90, 105, 85, 0.3);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--text-white);
    box-shadow: 0 6px 20px rgba(195, 159, 104, 0.2);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(195, 159, 104, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

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

/* --- NAVIGATION --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: rgba(251, 249, 246, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

nav.scrolled {
    padding: 1rem 0;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.03);
}

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

.logo {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-main);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-links a:hover::after {
    width: 100%;
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.burger-menu span {
    width: 25px;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 8rem 0 4rem 0;
    background: radial-gradient(circle at 80% 20%, var(--accent-light) 0%, var(--bg-base) 100%);
}

.hero-bg-leaves {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.leaf-particle {
    position: absolute;
    background: radial-gradient(circle, rgba(142, 158, 137, 0.25) 0%, rgba(142, 158, 137, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: floatParticle 18s infinite linear;
}

@keyframes floatParticle {
    0% {
        transform: translateY(110vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-10vh) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

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

.hero h2 {
    font-size: 2.2rem;
    font-style: italic;
    font-weight: 300;
    color: var(--accent);
    margin-bottom: 1rem;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease forwards;
}

.hero h1 {
    font-size: 5.5rem;
    font-weight: 400;
    color: var(--primary);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
    animation: fadeInUp 1.2s ease forwards;
}

.hero-date {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--text-muted);
    margin-bottom: 2rem;
    display: inline-block;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 0.8rem 2.5rem;
    animation: fadeInUp 1.4s ease forwards;
}

/* --- COUNTDOWN --- */
.countdown-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    animation: fadeInUp 1.6s ease forwards;
}

.countdown-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.2rem 1.8rem;
    min-width: 90px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: var(--transition);
}

.countdown-box:hover {
    transform: translateY(-5px);
    border-color: var(--border-accent);
}

.countdown-num {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--primary);
    display: block;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.countdown-label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-muted);
}

/* --- SECTIONS (GENERAL) --- */
.section {
    padding: 8rem 0;
    position: relative;
}

.section-alt {
    background-color: var(--accent-light);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 5rem auto;
}

.section-title {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.4rem;
    color: var(--accent);
    font-weight: 400;
}

.divider {
    width: 60px;
    height: 1px;
    background-color: var(--accent);
    margin: 1.5rem auto;
}

/* --- OUR STORY (PŘÍBĚH) --- */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-content {
    padding-right: 2rem;
}

.story-text {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 2rem;
}

.story-quote {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.5rem;
    color: var(--primary);
    border-left: 2px solid var(--accent);
    padding-left: 1.5rem;
    margin: 2rem 0;
    line-height: 1.5;
}

.story-photo-container {
    position: relative;
    border-radius: var(--radius);
    background: var(--bg-card);
    padding: 0.8rem;
    border: 1px solid var(--border-accent);
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.story-photo-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent);
}

.story-photo {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: calc(var(--radius) - 6px);
    filter: sepia(0.08) contrast(0.96) brightness(1.01);
    transition: var(--transition);
}

.story-photo-container:hover .story-photo {
    filter: none;
}

.story-photo-caption {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 0.8rem;
    letter-spacing: 0.5px;
}

/* --- HARMONOGRAM (TIMELINE) --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--primary-light) 10%, var(--primary-light) 90%, transparent);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    width: 100%;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 24px;
    width: 20px;
    height: 20px;
    background: var(--bg-base);
    border: 3px solid var(--accent);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 10;
    transition: var(--transition);
}

.timeline-item:hover .timeline-dot {
    background: var(--accent);
    transform: translateX(-50%) scale(1.3);
    box-shadow: 0 0 15px rgba(195, 159, 104, 0.4);
}

.timeline-content {
    position: relative;
    width: calc(50% - 40px);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-accent);
}

.timeline-item:nth-child(odd) .timeline-content {
    left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    left: calc(50% + 40px);
}

.timeline-time {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 0.5rem;
    display: block;
}

.timeline-title {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.timeline-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* --- PRAKTICKÉ INFO --- */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-accent);
}

.info-icon {
    width: 70px;
    height: 70px;
    background: var(--accent-light);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--accent);
    transition: var(--transition);
}

.info-card:hover .info-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary-light);
    color: var(--text-white);
}

.info-icon svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.info-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    color: var(--primary);
}

.info-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    flex-grow: 1;
    line-height: 1.8;
}

.dress-code-palette {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin: 1.5rem 0;
}

.color-swatch {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    position: relative;
}

.color-swatch::after {
    content: attr(data-label);
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
}

/* --- CIPHER SECTION (ŠIFRA) --- */
.cipher-box {
    max-width: 650px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius);
    padding: 4rem 3rem;
    box-shadow: var(--shadow);
    text-align: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}

.cipher-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--accent), var(--primary));
}

.cipher-form-group {
    display: flex;
    gap: 1rem;
    max-width: 450px;
    margin: 2.5rem auto 1.5rem auto;
}

.input-field {
    flex-grow: 1;
    padding: 1rem 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background-color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text-main);
    outline: none;
    transition: var(--transition);
}

.input-field:focus {
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(195, 159, 104, 0.15);
}

.cipher-error-msg {
    color: #C05646;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 0.8rem;
    height: 20px;
    opacity: 0;
    transition: var(--transition);
}

.cipher-error-msg.visible {
    opacity: 1;
}

/* SECRET AREA */
.secret-area {
    display: none;
    margin-top: 3rem;
    opacity: 0;
    transition: all 0.8s ease;
    transform: translateY(20px);
}

.secret-area.unlocked {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.secret-content-card {
    background: linear-gradient(135deg, rgba(244, 239, 235, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%);
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    padding: 3rem;
    margin-top: 2rem;
    box-shadow: 0 15px 45px rgba(195, 159, 104, 0.15);
}

.secret-tag {
    display: inline-block;
    background-color: var(--accent);
    color: var(--text-white);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.secret-area h3 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

/* --- RSVP SECTION --- */
.rsvp-box {
    max-width: 750px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 4rem 3rem;
    box-shadow: var(--shadow);
}

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

.form-full {
    grid-column: span 2;
}

.form-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}

/* Custom Checkbox/Radio Styling */
.form-radio-group {
    display: flex;
    gap: 2rem;
    margin-top: 0.5rem;
}

.radio-container, .checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    font-size: 1rem;
    user-select: none;
}

.radio-container input, .checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #EEECE7;
    border-radius: 50%;
    transition: var(--transition);
}

.checkbox-container .checkmark {
    border-radius: var(--radius-sm);
}

.radio-container:hover input ~ .checkmark,
.checkbox-container:hover input ~ .checkmark {
    background-color: #E2DFD9;
}

.radio-container input:checked ~ .checkmark,
.checkbox-container input:checked ~ .checkmark {
    background-color: var(--primary);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.radio-container input:checked ~ .checkmark:after,
.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.radio-container .checkmark:after {
    top: 6px;
    left: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

textarea.input-field {
    resize: vertical;
    min-height: 100px;
    border-radius: var(--radius);
}

.rsvp-submit-btn {
    width: 100%;
    margin-top: 1rem;
}

.rsvp-thankyou {
    display: none;
    text-align: center;
    padding: 3rem 1rem;
}

.rsvp-thankyou svg {
    width: 80px;
    height: 80px;
    fill: var(--accent);
    margin-bottom: 2rem;
    animation: scaleUp 0.6s ease forwards;
}

@keyframes scaleUp {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.rsvp-thankyou h3 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* --- FOOTER & HIDDEN ADMIN TRIGGER --- */
footer {
    padding: 4rem 0;
    background-color: var(--primary-dark);
    color: var(--accent-light);
    text-align: center;
    font-size: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-text {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.admin-trigger {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
}

.admin-trigger:hover {
    color: var(--accent);
    transform: scale(1.1);
}

.admin-trigger svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* --- ADMIN DASHBOARD MODAL --- */
.admin-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(45, 57, 44, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.admin-modal.visible {
    display: flex;
    opacity: 1;
}

.admin-modal-content {
    background-color: var(--bg-base);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius);
    width: 90%;
    max-width: 1100px;
    max-height: 85vh;
    box-shadow: 0 30px 80px rgba(0,0,0,0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-modal.visible .admin-modal-content {
    transform: scale(1);
}

.admin-header {
    background-color: var(--primary);
    color: var(--text-white);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.admin-header h2 {
    font-size: 1.8rem;
    color: var(--text-white);
    margin: 0;
}

.admin-close-btn {
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.8rem;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.admin-close-btn:hover {
    color: var(--accent);
}

.admin-body {
    padding: 2rem;
    overflow-y: auto;
    flex-grow: 1;
}

/* Admin Auth State */
.admin-auth-container {
    max-width: 400px;
    margin: 4rem auto;
    text-align: center;
}

/* Admin Dashboard Active State */
.admin-dashboard {
    display: none;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
}

.stat-value {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.admin-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.admin-actions-right {
    display: flex;
    gap: 1rem;
}

.table-responsive {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background-color: var(--bg-card);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    text-align: left;
}

.admin-table th, .admin-table td {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid var(--border);
}

.admin-table th {
    background-color: rgba(90, 105, 85, 0.05);
    font-weight: 600;
    color: var(--primary-dark);
}

.admin-table tbody tr:hover {
    background-color: rgba(90, 105, 85, 0.02);
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
}

.badge-success {
    background-color: rgba(142, 158, 137, 0.2);
    color: var(--primary-dark);
}

.badge-danger {
    background-color: rgba(192, 86, 70, 0.15);
    color: #C05646;
}

.delete-row-btn {
    background: none;
    border: none;
    color: #C05646;
    cursor: pointer;
    padding: 0.25rem;
    transition: var(--transition);
}

.delete-row-btn:hover {
    color: #9E3729;
    transform: scale(1.1);
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 4rem;
    }
    
    .story-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .story-content {
        padding-right: 0;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-dot {
        left: 20px;
    }
    
    .timeline-content {
        width: calc(100% - 50px);
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        left: 50px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-base);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        text-align: center;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .burger-menu {
        display: flex;
    }
    
    .hero h1 {
        font-size: 3.2rem;
    }
    
    .hero h2 {
        font-size: 1.6rem;
    }
    
    .countdown-container {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .countdown-box {
        min-width: 80px;
        padding: 1rem;
    }
    
    .section-title {
        font-size: 2.8rem;
    }
    
    .rsvp-form {
        grid-template-columns: 1fr;
    }
    
    .form-full {
        grid-column: span 1;
    }
    
    .cipher-form-group {
        flex-direction: column;
    }
    
    .admin-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .admin-actions-right {
        justify-content: space-between;
    }
}
