* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #7e22ce 100%);
    min-height: 100vh;
    color: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #7e22ce 100%);
    min-height: 100vh;
    color: #fff;
}

/* Password Protection Styles */
.password-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.password-container {
    background: rgba(30, 41, 59, 0.9);
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.password-container h1 {
    font-size: 2.5rem;
    background: linear-gradient(to right, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.password-container p {
    color: #cbd5e1;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.password-container form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.password-container input {
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(15, 23, 42, 0.6);
    color: #fff;
    font-size: 1rem;
    text-align: center;
}

.password-container input::placeholder {
    color: #64748b;
}

.password-container button {
    padding: 15px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(to right, #fbbf24, #f59e0b);
    color: #1e293b;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.password-container button:hover {
    transform: scale(1.05);
}

.password-error {
    color: #ef4444;
    font-size: 0.9rem;
    min-height: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.hero {
    background: rgba(30, 41, 59, 0.8);
    border-radius: 20px;
    padding: 60px 40px;
    margin-bottom: 30px;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.emoji-corner {
    position: absolute;
    font-size: 2.5rem;
}

.top-left { top: 20px; left: 20px; }
.top-right { top: 20px; right: 20px; }
.bottom-left { bottom: 20px; left: 20px; }
.bottom-right { bottom: 20px; right: 20px; }

.hero-content {
    text-align: center;
}

.save-date {
    font-size: 0.9rem;
    letter-spacing: 3px;
    color: #94a3b8;
    margin-bottom: 20px;
}

.title {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(to right, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.date {
    font-size: 2rem;
    color: #e2e8f0;
    margin-bottom: 20px;
}

.tagline {
    font-size: 1.1rem;
    color: #cbd5e1;
    max-width: 700px;
    margin: 0 auto 50px;
}

.countdown {
    margin-top: 40px;
}

.countdown-number {
    font-size: 6rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.countdown-label {
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: #94a3b8;
    margin-top: 10px;
}

.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab {
    flex: 1;
    min-width: 150px;
    padding: 15px 20px;
    background: rgba(30, 41, 59, 0.6);
    border: 2px solid transparent;
    border-radius: 10px;
    color: #cbd5e1;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.tab:hover {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(251, 191, 36, 0.3);
}

.tab.active {
    background: rgba(251, 191, 36, 0.2);
    border-color: #fbbf24;
    color: #fff;
}

.content {
    background: rgba(30, 41, 59, 0.8);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #fbbf24;
}

.tab-content h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #fbbf24;
}

.event-overview {
    background: rgba(15, 23, 42, 0.6);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
    text-align: center;
}

.event-overview h3 {
    font-size: 1.5rem;
    color: #fbbf24;
    margin-bottom: 15px;
}

.event-overview p {
    color: #e2e8f0;
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.event-overview p strong {
    color: #fbbf24;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.detail-card {
    background: rgba(15, 23, 42, 0.6);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #fbbf24;
}

.detail-card p {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 10px;
}

.detail-card ul {
    list-style: none;
    padding-left: 0;
}

.detail-card li {
    color: #cbd5e1;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-card li:last-child {
    border-bottom: none;
}

.chat-container {
    max-width: 800px;
    margin: 0 auto;
}

.messages {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 15px;
    padding: 20px;
    height: 400px;
    overflow-y: auto;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.message {
    background: rgba(30, 41, 59, 0.6);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.message-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.message-header strong {
    color: #fbbf24;
}

.message-time {
    color: #64748b;
    font-size: 0.85rem;
}

.message p {
    color: #e2e8f0;
    line-height: 1.5;
}

.chat-input {
    display: flex;
    gap: 10px;
}

.chat-input input {
    flex: 1;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(15, 23, 42, 0.6);
    color: #fff;
    font-size: 1rem;
}

.chat-input input::placeholder {
    color: #64748b;
}

.chat-input button {
    padding: 15px 30px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(to right, #fbbf24, #f59e0b);
    color: #1e293b;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.chat-input button:hover {
    transform: scale(1.05);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.faq-header h2 {
    margin-bottom: 0;
}

.add-faq-btn {
    padding: 12px 24px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(to right, #fbbf24, #f59e0b);
    color: #1e293b;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.add-faq-btn:hover {
    transform: scale(1.05);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(15, 23, 42, 0.6);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item h3 {
    font-size: 1.2rem;
    color: #fbbf24;
    margin-bottom: 10px;
}

.faq-item p {
    color: #cbd5e1;
    line-height: 1.6;
}

.faq-item p {
    color: #cbd5e1;
    line-height: 1.6;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: rgba(30, 41, 59, 0.95);
    padding: 30px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-content h3 {
    color: #fbbf24;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.modal-content label {
    display: block;
    text-align: left;
    margin-bottom: 8px;
    margin-top: 10px;
    color: #e2e8f0;
    font-weight: 500;
    font-size: 0.95rem;
}

.modal-content label:first-of-type {
    margin-top: 0;
}

.modal-content input,
.modal-content textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(15, 23, 42, 0.6);
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
}

.modal-content input::placeholder,
.modal-content textarea::placeholder {
    color: #64748b;
}

.modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.btn-cancel,
.btn-save {
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-cancel {
    background: rgba(100, 116, 139, 0.3);
    color: #cbd5e1;
}

.btn-cancel:hover {
    background: rgba(100, 116, 139, 0.5);
}

.btn-save {
    background: linear-gradient(to right, #fbbf24, #f59e0b);
    color: #1e293b;
}

.btn-save:hover {
    transform: scale(1.05);
}

.btn-save:hover {
    transform: scale(1.05);
}

/* Attendees Styles */
.attendees-container {
    max-width: 800px;
    margin: 0 auto;
}

.confirm-attendance-btn {
    display: block;
    margin: 0 auto 30px;
    padding: 15px 30px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(to right, #10b981, #059669);
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.confirm-attendance-btn:hover {
    transform: scale(1.05);
}

.attendees-list {
    background: rgba(15, 23, 42, 0.6);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.attendees-list h3 {
    color: #fbbf24;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.no-attendees {
    color: #94a3b8;
    text-align: center;
    padding: 20px;
    font-style: italic;
}

.attendee-card {
    background: rgba(30, 41, 59, 0.6);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.attendee-card h4 {
    color: #fbbf24;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.attendee-card p {
    color: #cbd5e1;
    font-size: 0.95rem;
    margin: 5px 0;
}

.modal-content form input[type="date"] {
    color-scheme: dark;
}

.modal-content form input[type="date"] {
    color-scheme: dark;
}

/* Photos Styles */
.photos-container {
    max-width: 1000px;
    margin: 0 auto;
}

.add-photo-btn {
    display: block;
    margin: 0 auto 30px;
    padding: 15px 30px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(to right, #fbbf24, #f59e0b);
    color: #1e293b;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.add-photo-btn:hover {
    transform: scale(1.05);
}

.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.no-photos {
    grid-column: 1 / -1;
    color: #94a3b8;
    text-align: center;
    padding: 40px;
    font-style: italic;
}

.photo-card {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.2s;
}

.photo-card:hover {
    transform: scale(1.02);
}

.photo-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.photo-info {
    padding: 15px;
}

.photo-info p {
    color: #cbd5e1;
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }
    
    .date {
        font-size: 1.5rem;
    }
    
    .countdown-number {
        font-size: 4rem;
    }
    
    .hero {
        padding: 40px 20px;
    }
    
    .content {
        padding: 20px;
    }
    
    .tabs {
        flex-direction: column;
    }
    
    .tab {
        width: 100%;
    }
    
    .emoji-corner {
        font-size: 1.5rem;
    }
}
