@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

.container {
    position: relative;
    width: 100%;
    height: 100vh;
    background-image: url('images/scene over lake.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Translucent Navigation Bar */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 32px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 44px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.logo-text {
    font-size: 18px;
    font-weight: 600;
    color: white;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu-btn {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 8px;
    width: 44px;
    height: 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.menu-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.menu-btn span {
    width: 20px;
    height: 2px;
    background: white;
    border-radius: 2px;
}

/* About Button */
.about-btn {
    position: absolute;
    top: 92px;
    right: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    z-index: 99;
    transition: transform 0.3s ease;
}

.about-btn:hover {
    transform: translateY(-3px);
}

.about-btn svg {
    opacity: 0.7;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.about-btn span {
    font-size: 11px;
    font-weight: 600;
    color: white;
    letter-spacing: 1.2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Main Content */
.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 10;
    margin-top: -100px;
}

.invite-text {
    font-size: 16px;
    font-weight: 300;
    color: white;
    letter-spacing: 3px;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.passcode-heading {
    font-size: 72px;
    font-weight: 700;
    color: white;
    letter-spacing: 2px;
    margin-bottom: 40px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

/* Passcode Form */
.passcode-form {
    width: 100%;
    max-width: 400px;
}

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

.passcode-input {
    width: 100%;
    padding: 18px 60px 18px 24px;
    font-size: 16px;
    border: none;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    color: white;
    outline: none;
    transition: all 0.3s ease;
}

.passcode-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.passcode-input:focus {
    background: rgba(255, 255, 255, 0.35);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.submit-btn {
    position: absolute;
    right: 6px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: white;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.submit-btn:hover {
    background: #f0f0f0;
    transform: scale(1.05);
}

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

/* Bottom Object */
.bottom-object {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 200px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
    z-index: 5;
}

/* Copyright */
.copyright {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

/* Modal Window */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(240, 240, 240, 0.8);
}

.modal-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    letter-spacing: 1px;
}

.close-btn {
    background: none;
    border: none;
    font-size: 32px;
    color: #666;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #333;
}

.modal-body {
    padding: 32px 24px;
    overflow-y: auto;
    max-height: calc(80vh - 80px);
}

.files-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.file-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.file-item:hover {
    transform: translateY(-4px);
}

.file-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.file-name {
    font-size: 24px;
    color: #666;
    text-align: center;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .files-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .file-icon {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .files-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .file-icon {
        width: 50px;
        height: 50px;
    }

    .file-name {
        font-size: 20px;
    }
}

/* .vault-placeholder {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(80, 80, 80, 0.8) 0%, rgba(40, 40, 40, 0.9) 100%);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

.vault-placeholder::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 3px solid rgba(150, 150, 150, 0.6);
    border-radius: 50%;
}

.vault-placeholder::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: rgba(100, 100, 100, 0.8);
    border-radius: 50%;
} */

/* Responsive Design */
@media (max-width: 768px) {
    .passcode-heading {
        font-size: 48px;
    }

    .invite-text {
        font-size: 14px;
    }

    .logo {
        font-size: 16px;
    }

    .navbar {
        padding: 20px 24px;
    }

    .about-btn {
        right: 24px;
        top: 90px;
    }

    .about-btn svg {
        width: 50px;
        height: 50px;
    }

    .passcode-form {
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .passcode-heading {
        font-size: 36px;
    }

    .invite-text {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .passcode-form {
        max-width: 280px;
    }

    .passcode-input {
        padding: 16px 55px 16px 20px;
        font-size: 14px;
    }

    .submit-btn {
        width: 40px;
        height: 40px;
    }
}
