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

html {
    overflow-x: hidden;
    width: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Cormorant Garamond', Georgia, serif;
    background: linear-gradient(180deg, #faf9f6 0%, #f5f3ef 100%);
    color: #5a4a3a;
    line-height: 1.8;
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    font-size: 17px;
}

/* Scroll Indicator */
.scroll-indicator {
    text-align: center;
    padding: 14px 20px;
    color: rgba(139, 115, 85, 0.65);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(250, 249, 246, 0.7) 0%, rgba(245, 243, 239, 0.6) 100%);
    z-index: 10;
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 15px rgba(0, 0, 0, 0.02);
    border-bottom: 1px solid rgba(139, 115, 85, 0.06);
    transition: all 0.4s ease;
    cursor: pointer;
    font-family: 'Cormorant Garamond', serif;
}

.scroll-indicator:hover {
    color: rgba(139, 111, 71, 0.9);
    background: linear-gradient(180deg, rgba(250, 249, 246, 0.9) 0%, rgba(245, 243, 239, 0.8) 100%);
    border-bottom-color: rgba(139, 115, 85, 0.15);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

/* Hero Section */
.hero-section {
    width: 100%;
    height: 70vh;
    min-height: 500px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    animation: fadeIn 1.2s ease-in;
    object-fit: cover;
    filter: brightness(1.08) contrast(1.02) saturate(1.05);
    -webkit-filter: brightness(1.08) contrast(1.02) saturate(1.05);
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(250, 249, 246, 0.2) 0%, rgba(0, 0, 0, 0.15) 100%);
    z-index: 1;
}

/* Event Info Section */
.event-info {
    text-align: center;
    padding: 70px 20px;
    background: linear-gradient(180deg, rgba(250, 249, 246, 0.98) 0%, #f5f3ef 100%);
    position: relative;
    z-index: 2;
    margin-top: 70vh;
    min-height: 450px;
    padding-top: 120px;
    width: 100%;
    box-sizing: border-box;
    left: 0;
    right: 0;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    box-shadow: 0 -12px 50px rgba(0, 0, 0, 0.08), 0 -6px 25px rgba(139, 111, 71, 0.12);
    border-top: 1px solid rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    animation: slideUpFade 0.8s ease-out;
}

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

.event-info::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: linear-gradient(180deg, rgba(250, 249, 246, 0.98) 0%, #f5f3ef 100%);
    z-index: -1;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
}

.event-info::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(139, 111, 71, 0.3), transparent);
    border-radius: 2px;
    margin-top: 25px;
}

.event-date {
    font-family: 'Cormorant Garamond', serif;
    font-size: 17px;
    color: #9a8a7a;
    margin-bottom: 16px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.85;
}

.event-name {
    font-family: 'Great Vibes', cursive;
    font-size: 76px;
    font-weight: 400;
    color: #5a4a3a;
    margin-bottom: 45px;
    letter-spacing: 3px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    line-height: 1.1;
}

.upload-btn {
    background: rgba(166, 139, 111, 0.25);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    color: #5a4a3a;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 16px 48px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(139, 111, 71, 0.15), 
                0 2px 8px rgba(0, 0, 0, 0.05),
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
    font-family: 'Cormorant Garamond', serif;
}

.upload-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.upload-btn:hover::before {
    opacity: 1;
}

.upload-btn:hover {
    transform: translateY(-2px);
    background: rgba(166, 139, 111, 0.35);
    box-shadow: 0 12px 40px rgba(139, 111, 71, 0.2), 
                0 4px 12px rgba(0, 0, 0, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.5);
}

.upload-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 4px 20px rgba(139, 111, 71, 0.15), 
                0 1px 4px rgba(0, 0, 0, 0.05),
                inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* Live Feed Section */
.live-feed-section {
    padding: 70px 20px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    background-color: #f5f3ef;
    width: 100%;
    box-sizing: border-box;
}

.live-feed-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background-color: #f5f3ef;
    z-index: -1;
}

/* Ensure all sections cover full width */
body > section {
    width: 100%;
    position: relative;
    left: 0;
    right: 0;
}

.live-feed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 45px;
    flex-wrap: wrap;
    gap: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(139, 115, 85, 0.12);
}

.live-feed-title {
    font-family: 'Playfair Display', serif;
    font-size: 44px;
    color: #5a4a3a;
    font-weight: 600;
    letter-spacing: -0.3px;
    position: relative;
    display: inline-block;
}

.live-feed-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, #a68b6f, #8b7355);
    border-radius: 2px;
    opacity: 0.6;
}

.live-feed-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.action-btn {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #8b7355;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 25px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
    font-family: 'Cormorant Garamond', serif;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.7);
    color: #6d5637;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.action-btn:active {
    transform: translateY(0) scale(0.97);
}

.action-btn .icon {
    font-size: 12px;
}

/* Feed Filters */
.feed-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 35px;
    padding: 25px 0;
    border-bottom: 1px solid rgba(139, 115, 85, 0.08);
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    color: #8b7355;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06),
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
    font-family: 'Cormorant Garamond', serif;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.filter-btn:hover::before {
    opacity: 1;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.55);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
    color: #6d5637;
}

.filter-btn.active {
    background: rgba(166, 139, 111, 0.3);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-color: rgba(255, 255, 255, 0.6);
    color: #5a4a3a;
    box-shadow: 0 6px 25px rgba(139, 111, 71, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.filter-btn.active:hover {
    background: rgba(166, 139, 111, 0.4);
    box-shadow: 0 8px 32px rgba(139, 111, 71, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
    color: #5a4a3a;
}

.filter-icon {
    font-size: 17px;
    display: inline-block;
    transition: transform 0.3s ease;
}

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

.filter-btn.active .filter-icon {
    animation: gentlePulse 2.5s ease-in-out infinite;
}

@keyframes gentlePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Live Feed Content */
.live-feed-content {
    min-height: 400px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(200px, auto);
    gap: 28px;
    transition: opacity 0.4s ease;
}

.live-feed-content.filtering {
    opacity: 0.6;
}

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 120px 20px;
    color: #9a8a7a;
}

.empty-icon {
    font-size: 72px;
    margin-bottom: 28px;
    opacity: 0.5;
    animation: float 3.5s ease-in-out infinite;
}

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

.empty-state p {
    font-size: 21px;
    font-weight: 400;
    opacity: 0.75;
    font-family: 'Cormorant Garamond', serif;
}

/* Feed Item */
.feed-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 3px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(139, 115, 85, 0.08);
    position: relative;
    cursor: pointer;
}

.feed-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #a68b6f, #8b7355, #a68b6f);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feed-item:hover::before {
    opacity: 0.7;
}

.feed-item:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 10px 45px rgba(0, 0, 0, 0.12);
    border-color: rgba(139, 115, 85, 0.15);
}

.feed-item-image,
.feed-item-video {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.feed-item:hover .feed-item-image,
.feed-item:hover .feed-item-video {
    transform: scale(1.04);
}

.feed-item-message {
    padding: 28px;
    background: linear-gradient(135deg, #faf9f6 0%, #ffffff 100%);
    min-height: 130px;
    display: flex;
    align-items: center;
}

.feed-item-message p {
    font-size: 16px;
    line-height: 1.9;
    color: #5a4a3a;
    font-style: italic;
    font-family: 'Cormorant Garamond', serif;
}

.feed-item-voicemail {
    padding: 28px;
    background: linear-gradient(135deg, #faf9f6 0%, #ffffff 100%);
}

.feed-item-info {
    padding: 20px 22px;
    border-top: 1px solid rgba(232, 224, 213, 0.5);
    background: rgba(250, 249, 246, 0.4);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.feed-item-name {
    font-weight: 600;
    color: #5a4a3a;
    font-size: 16px;
    letter-spacing: 0.2px;
    font-family: 'Cormorant Garamond', serif;
}

.feed-item-time {
    font-size: 13px;
    color: #9a8a7a;
    font-weight: 400;
    opacity: 0.8;
    font-family: 'Cormorant Garamond', serif;
}

.feed-item-anonymous {
    font-style: italic;
    color: #9a8a7a;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.4s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: linear-gradient(135deg, #faf9f6 0%, #f5f3ef 100%);
    padding: 50px;
    border-radius: 28px;
    max-width: 580px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

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

.modal-close {
    position: absolute;
    top: 22px;
    right: 22px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    font-size: 26px;
    color: #8b7355;
    cursor: pointer;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.4s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    font-family: 'Cormorant Garamond', serif;
}

.modal-close:hover {
    background: #8b7355;
    color: white;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: #5a4a3a;
    margin-bottom: 15px;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.modal-description {
    color: #9a8a7a;
    margin-bottom: 35px;
    line-height: 1.8;
    font-size: 16px;
    font-family: 'Cormorant Garamond', serif;
}

/* Upload Type Options */
.upload-type-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.upload-type-btn {
    background: rgba(166, 139, 111, 0.25);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    color: #5a4a3a;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 20px 32px;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    box-shadow: 0 8px 32px rgba(139, 111, 71, 0.12),
                0 2px 8px rgba(0, 0, 0, 0.04),
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
    font-family: 'Cormorant Garamond', serif;
}

.upload-type-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.upload-type-btn:hover::before {
    opacity: 1;
}

.upload-type-btn:hover {
    background: rgba(166, 139, 111, 0.35);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(139, 111, 71, 0.18),
                0 4px 12px rgba(0, 0, 0, 0.06),
                inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.upload-type-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 4px 20px rgba(139, 111, 71, 0.12),
                inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* File Drop Zone */
.file-drop-zone {
    border: 2.5px dashed #a68b6f;
    border-radius: 18px;
    padding: 75px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s ease;
    margin-bottom: 28px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 249, 246, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.file-drop-zone::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(166, 139, 111, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.file-drop-zone:hover::before {
    opacity: 1;
}

.file-drop-zone:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(250, 249, 246, 1) 100%);
    border-color: #8b7355;
    transform: scale(1.01);
    box-shadow: 0 8px 30px rgba(139, 111, 71, 0.12);
}

.file-drop-zone.dragover {
    background: linear-gradient(135deg, #f5f3ef 0%, #faf9f6 100%);
    border-color: #6d5637;
    border-width: 3px;
    transform: scale(1.02);
}

.drop-zone-text {
    color: #8b7355;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.5px;
    font-family: 'Cormorant Garamond', serif;
}

/* Recording Container */
.recording-container {
    margin-bottom: 28px;
}

.recording-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    padding: 45px 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 249, 246, 0.95) 100%);
    border-radius: 18px;
    border: 2px solid rgba(139, 111, 71, 0.15);
}

.record-btn,
.stop-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 42px;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12),
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
    font-family: 'Cormorant Garamond', serif;
    position: relative;
    overflow: hidden;
}

.record-btn::before,
.stop-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.record-btn:hover::before,
.stop-btn:hover::before {
    opacity: 1;
}

.record-btn {
    background: rgba(166, 139, 111, 0.25);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    color: #5a4a3a;
}

.record-btn:hover {
    background: rgba(166, 139, 111, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(139, 111, 71, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.5);
}

.stop-btn {
    background: rgba(211, 47, 47, 0.25);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    color: #8b2a2a;
}

.stop-btn:hover {
    background: rgba(211, 47, 47, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(211, 47, 47, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.5);
}

.record-btn:active,
.stop-btn:active {
    transform: translateY(0) scale(0.98);
}

.record-icon,
.stop-icon {
    font-size: 24px;
}

.recording-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.recording-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #d32f2f;
    font-weight: 500;
    font-size: 17px;
    font-family: 'Cormorant Garamond', serif;
}

.recording-dot {
    width: 12px;
    height: 12px;
    background: #d32f2f;
    border-radius: 50%;
    animation: gentlePulse 1.8s ease-in-out infinite;
}

.recording-timer {
    font-size: 36px;
    font-weight: 600;
    color: #5a4a3a;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
}

.audio-preview {
    margin-top: 22px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 15px;
    border: 1px solid rgba(139, 115, 85, 0.15);
    text-align: center;
}

.audio-preview audio {
    width: 100%;
    margin-bottom: 18px;
    border-radius: 10px;
}

/* Upload Options */
.upload-options {
    margin-bottom: 28px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    border: 1px solid rgba(139, 115, 85, 0.12);
}

.toggle-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #5a4a3a;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Cormorant Garamond', serif;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    width: 54px;
    height: 30px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #d4c5b0;
    transition: 0.4s;
    border-radius: 30px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.08);
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.toggle-switch input:checked + .toggle-slider {
    background: linear-gradient(135deg, #a68b6f 0%, #8b7355 100%);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

/* Form Elements */
.form-group {
    margin-bottom: 26px;
}

.form-group label {
    display: block;
    margin-bottom: 11px;
    color: #5a4a3a;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.3px;
    font-family: 'Cormorant Garamond', serif;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 20px;
    color: #9a8a7a;
    font-size: 19px;
    z-index: 1;
}

.form-input {
    width: 100%;
    padding: 15px 20px 15px 55px;
    border: 2px solid rgba(212, 197, 176, 0.4);
    border-radius: 15px;
    font-size: 16px;
    background-color: white;
    color: #5a4a3a;
    transition: all 0.4s ease;
    font-weight: 400;
    font-family: 'Cormorant Garamond', serif;
}

.form-input:focus {
    outline: none;
    border-color: #a68b6f;
    box-shadow: 0 0 0 5px rgba(166, 139, 111, 0.08);
    background-color: #faf9f6;
}

.form-textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(212, 197, 176, 0.4);
    border-radius: 15px;
    font-size: 16px;
    background-color: white;
    color: #5a4a3a;
    font-family: 'Cormorant Garamond', serif;
    resize: vertical;
    transition: all 0.4s ease;
    font-weight: 400;
    line-height: 1.8;
}

.form-textarea:focus {
    outline: none;
    border-color: #a68b6f;
    box-shadow: 0 0 0 5px rgba(166, 139, 111, 0.08);
    background-color: #faf9f6;
}

/* Selected Files */
.selected-files {
    margin-bottom: 28px;
}

.file-preview {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 249, 246, 0.95) 100%);
    border-radius: 15px;
    margin-bottom: 14px;
    border: 1px solid rgba(139, 115, 85, 0.12);
    transition: all 0.4s ease;
}

.file-preview:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.file-preview img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.file-preview-info {
    flex: 1;
    font-size: 15px;
    color: #5a4a3a;
    font-family: 'Cormorant Garamond', serif;
}

.file-preview-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.file-preview-size {
    font-size: 13px;
    color: #9a8a7a;
    font-weight: 400;
}

/* Modal Actions */
.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 10px;
}

.primary-btn {
    background: rgba(166, 139, 111, 0.25);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    color: #5a4a3a;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 17px 32px;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    box-shadow: 0 8px 32px rgba(139, 111, 71, 0.15),
                0 2px 8px rgba(0, 0, 0, 0.05),
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
    font-family: 'Cormorant Garamond', serif;
}

.primary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.primary-btn:hover::before {
    opacity: 1;
}

.primary-btn:hover {
    background: rgba(166, 139, 111, 0.35);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(139, 111, 71, 0.2),
                0 4px 12px rgba(0, 0, 0, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.primary-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 4px 20px rgba(139, 111, 71, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.primary-btn:disabled {
    background: rgba(212, 197, 176, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    opacity: 0.6;
}

.cancel-btn {
    background: none;
    border: none;
    color: #8b7355;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    padding: 14px;
    text-align: center;
    transition: all 0.3s ease;
    border-radius: 10px;
    font-family: 'Cormorant Garamond', serif;
}

.cancel-btn:hover {
    background: rgba(139, 115, 85, 0.08);
    color: #6d5637;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f5f3ef;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #a68b6f, #8b7355);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #8b7355, #a68b6f);
}

/* Responsive Design */
@media (max-width: 768px) {
    .event-name {
        font-size: 60px;
    }

    .live-feed-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .live-feed-title {
        font-size: 36px;
    }

    .live-feed-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }

    .modal-content {
        padding: 40px 28px;
    }

    .hero-section {
        height: 50vh;
        min-height: 350px;
    }

    .event-info {
        margin-top: 50vh;
        padding-top: 90px;
    }

    .feed-filters {
        gap: 8px;
    }

    .filter-btn {
        padding: 9px 18px;
        font-size: 14px;
    }

    .filter-icon {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .event-name {
        font-size: 48px;
    }

    .upload-btn {
        padding: 15px 40px;
        font-size: 15px;
    }

    .modal-content {
        padding: 35px 22px;
        border-radius: 24px;
    }

    .live-feed-title {
        font-size: 30px;
    }

    .hero-section {
        height: 45vh;
        min-height: 300px;
    }

    .event-info {
        border-top-left-radius: 30px;
        border-top-right-radius: 30px;
    }
}

/* Slideshow Modal */
.slideshow-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.4s ease;
    overflow: hidden;
}

.slideshow-modal.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.slideshow-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 24px;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2001;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    line-height: 1;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.slideshow-close:hover {
    background: rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

.slideshow-close:active {
    transform: scale(0.95);
}

.slideshow-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 28px;
    cursor: pointer;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2001;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    line-height: 1;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    user-select: none;
}

.slideshow-nav:hover {
    background: rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

.slideshow-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.slideshow-prev {
    left: 30px;
}

.slideshow-next {
    right: 30px;
}

.slideshow-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 100px 150px;
    box-sizing: border-box;
}

.slideshow-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.slideshow-item {
    display: none;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    animation: fadeInSlide 0.5s ease;
    align-items: center;
    justify-content: center;
}

.slideshow-item.active {
    display: flex;
}

.slideshow-item img,
.slideshow-item video {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.slideshow-item-message,
.slideshow-item-voicemail {
    background: linear-gradient(135deg, rgba(250, 249, 246, 0.95) 0%, rgba(245, 243, 239, 0.95) 100%);
    padding: 60px;
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
    max-height: 80%;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.slideshow-item-message p {
    font-size: 24px;
    line-height: 1.9;
    color: #5a4a3a;
    font-style: italic;
    font-family: 'Cormorant Garamond', serif;
    text-align: center;
}

.slideshow-item-voicemail audio {
    width: 100%;
    margin-top: 20px;
    max-width: 600px;
}

.slideshow-info {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    padding: 22px 42px;
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    min-width: 300px;
    z-index: 2001;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.slideshow-counter {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: 1px;
}

.slideshow-item-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
    font-family: 'Cormorant Garamond', serif;
}

.slideshow-item-time {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Cormorant Garamond', serif;
}

.slideshow-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 18px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    padding: 16px 28px;
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    z-index: 2001;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.slideshow-control-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 18px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    user-select: none;
}

.slideshow-control-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.35);
    transform: scale(1.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slideshow-control-btn:active {
    transform: scale(0.95);
}

.slideshow-progress {
    width: 200px;
    height: 5px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.slideshow-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 1));
    width: 0%;
    transition: width 0.1s linear;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Slideshow */
@media (max-width: 768px) {
    .slideshow-container {
        padding: 60px 20px 180px;
    }

    .slideshow-nav {
        width: 50px;
        height: 50px;
        font-size: 24px;
        border-radius: 12px;
    }

    .slideshow-prev {
        left: 20px;
    }

    .slideshow-next {
        right: 20px;
    }

    .slideshow-close {
        top: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
        font-size: 22px;
        border-radius: 10px;
    }

    .slideshow-info {
        bottom: 110px;
        padding: 18px 32px;
        min-width: 250px;
        border-radius: 14px;
    }

    .slideshow-item-name {
        font-size: 18px;
    }

    .slideshow-item-message,
    .slideshow-item-voicemail {
        padding: 40px 30px;
    }

    .slideshow-item-message p {
        font-size: 20px;
    }

    .slideshow-controls {
        bottom: 25px;
        padding: 14px 22px;
        border-radius: 14px;
        gap: 15px;
    }

    .slideshow-control-btn {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        font-size: 16px;
    }

    .slideshow-progress {
        width: 150px;
        height: 4px;
    }
}

@media (max-width: 480px) {
    .slideshow-container {
        padding: 50px 15px 160px;
    }

    .slideshow-nav {
        width: 46px;
        height: 46px;
        font-size: 22px;
        border-radius: 11px;
    }

    .slideshow-prev {
        left: 15px;
    }

    .slideshow-next {
        right: 15px;
    }

    .slideshow-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 20px;
        border-radius: 10px;
    }

    .slideshow-info {
        bottom: 100px;
        padding: 16px 24px;
        min-width: 200px;
        border-radius: 12px;
    }

    .slideshow-counter {
        font-size: 12px;
    }

    .slideshow-item-name {
        font-size: 16px;
    }

    .slideshow-item-time {
        font-size: 12px;
    }

    .slideshow-item-message,
    .slideshow-item-voicemail {
        padding: 30px 20px;
    }

    .slideshow-item-message p {
        font-size: 18px;
    }

    .slideshow-controls {
        bottom: 20px;
        padding: 12px 18px;
        gap: 12px;
        border-radius: 12px;
    }

    .slideshow-progress {
        width: 120px;
        height: 4px;
    }

    .slideshow-control-btn {
        width: 38px;
        height: 38px;
        font-size: 15px;
        border-radius: 10px;
    }
}
