
:root {
    --bg-color: #0F172A;
    --card-bg: rgba(30, 41, 59, 0.7);
    --primary: #F472B6;
    --text-color: #F8FAFC;
    --text-muted: #94A3B8;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    padding-top: 30px; /* Space for the credit link */
}

.made-with {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    z-index: 2000;
    font-size: 11px;
    color: var(--text-muted);
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 20px;
    border-bottom: 1px solid #333;
}

.made-with a {
    color: var(--primary);
    text-decoration: none;
    font-weight: bold;
}

.made-with a:hover {
    text-decoration: underline;
}

header {
    background-color: var(--card-bg);
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #333;
}

h1 { margin: 0; color: var(--primary); font-size: 28px; }
.purpose { margin: 5px 0 0 0; color: var(--text-muted); font-size: 16px; font-weight: normal; font-style: italic; }

.description-section {
    padding: 20px 40px 0 40px;
    max-width: 800px;
}

.description-box {
    background: rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 8px;
    line-height: 1.6;
    color: var(--text-color);
    border-left: 4px solid var(--primary);
}

.btn {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s;
}

.btn:hover {
    background-color: var(--primary);
    color: var(--bg-color);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 40px;
}

.photo-card { backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; } .btn { background: linear-gradient(to right, #F472B6, #2DD4BF); color: white; border: none; }

/* Password Protection */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #121212;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-box {
    background: #1e1e1e;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #333;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.login-box h2 { color: var(--primary); margin-top: 0; }
.login-box input {
    background: #2a2a2a;
    border: 1px solid #444;
    color: white;
    padding: 10px;
    border-radius: 4px;
    width: 200px;
    margin: 20px 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.hidden-content {
    display: none;
}

.photo-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s;
    border: 1px solid #333;
}

.photo-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.photo-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.photo-caption {
    padding: 10px;
    font-size: 13px;
    color: var(--text-muted);
    background-color: rgba(0,0,0,0.3);
    border-top: 1px solid #333;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    align-items: center;
    justify-content: center;
}

.modal-image-container {
    position: relative;
    width: 90vw;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.modal-content {
    position: absolute;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: white;
    font-size: 60px;
    cursor: pointer;
    padding: 20px;
    z-index: 1001;
}

.prev { left: 20px; }
.next { right: 20px; }

#caption {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    color: var(--text-muted);
    z-index: 1001;
}

/* Transitions */
.transition-fade { opacity: 0; }
.transition-morph { opacity: 0; transform: scale(1.5) rotate(5deg); filter: blur(10px); }
.transition-slide-next { transform: translateX(100%); opacity: 0; }
.transition-slide-prev { transform: translateX(-100%); opacity: 0; }
.transition-rotate { transform: rotateY(90deg); opacity: 0; }
