/* ========== Landing Page V2 (Style Gallery) ========== */
.landing-page-v2 {
    width: 100%;
    min-height: 100vh;
    background-image: url('images/landing-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start; /* Changed from center to allow top alignment on scroll */
    padding: 0 10%;
    position: relative;
    /* overflow-y: auto;  Handled by body usually, but ok here */
}

/* Dark Overlay */
.landing-page-v2::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    z-index: 0;
}

.landing-content-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1200px;
    padding-top: 60px;
    padding-bottom: 20px; /* Reduced */
    flex-grow: 1; /* Allow content to push footer */
}

/* Header Text */
.landing-title {
    font-size: 56px; /* Slightly reduced */
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.landing-subtitle {
    font-size: 16px; 
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 60px; /* Reduced from 80px */
    max-width: 100%;
    line-height: 1.6;
}

/* ========== Gallery Layout ========== */
.gallery-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    margin-bottom: 20px;
}

.gallery-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.section-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.5);
    font-weight: 700;
}

.section-line {
    height: 1px;
    flex-grow: 1;
    background: rgba(255,255,255,0.1);
    max-width: 200px;
}

/* === ID Photo Card === */
.id-photo-card {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(30, 58, 138, 0.3));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 16px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    max-width: 400px;
}

.id-photo-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.2);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.25), rgba(30, 58, 138, 0.4));
}

.id-card-icon {
    width: 64px; height: 64px;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 32px;
    margin-right: 20px;
    flex-shrink: 0;
}

.id-card-content h3 {
    font-size: 20px; font-weight: 700; margin-bottom: 6px; color: white;
}

.id-card-content p {
    font-size: 14px; color: rgba(255,255,255,0.7); margin: 0;
}

/* === Style Grid === */
.style-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); /* 180px for smaller screens */
    gap: 16px;
    width: 100%;
}

.style-card {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: #1e293b;
}

.style-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255,255,255,0.4);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    z-index: 5;
}

.style-bg {
    width: 100%; height: 100%;
    background-size: cover; background-position: center;
    transition: transform 0.5s;
}

.style-card:hover .style-bg { transform: scale(1.1); }

/* Style Gradients */
.bg-minimalist { background: linear-gradient(to bottom right, #334155, #0f172a); }
.bg-magazine { background: linear-gradient(to bottom right, #db2777, #7c3aed); }
.bg-korean { background: linear-gradient(to bottom right, #fca5a5, #fcd34d); }
.bg-mood { background: linear-gradient(to bottom right, #1e1b4b, #312e81); }
.bg-light { background: linear-gradient(to bottom right, #bae6fd, #e0f2fe); }
.bg-cyberpunk { background: linear-gradient(to bottom right, #0ea5e9, #d946ef); }

.style-info {
    position: absolute; bottom: 0; left: 0; width: 100%;
    padding: 16px 12px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
    display: flex; flex-direction: column; gap: 4px;
}

.style-name { font-size: 16px; font-weight: 700; color: white; }
.style-desc {
    font-size: 12px; color: rgba(255,255,255,0.7);
    opacity: 0; transform: translateY(10px); transition: all 0.3s; height: 0;
}
.style-card:hover .style-desc { opacity: 1; transform: translateY(0); height: auto; }

/* ========== Footer (Fixed) ========== */
.landing-footer {
    width: 100%;
    /* No fixed margin-top, it flows after content */
    padding-bottom: 40px;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    background: transparent;
    z-index: 10;
    position: relative; /* Ensure it's in flow */
}

.landing-footer .footer-links {
    display: flex; align-items: center; gap: 12px;
}

.landing-footer a {
    color: rgba(255, 255, 255, 0.5); /* Improved visibility */
    text-decoration: none; font-size: 12px; transition: color 0.2s;
}
.landing-footer a:hover { color: rgba(255, 255, 255, 0.9); }
.landing-footer .separator { color: rgba(255, 255, 255, 0.2); font-size: 10px; }
.landing-footer .copyright { color: rgba(255, 255, 255, 0.3); font-size: 12px; }

/* Laptop Adaptation (13-14 inch) */
@media (max-width: 1440px) {
    .landing-content-wrapper { padding-top: 40px; }
    .landing-subtitle { margin-bottom: 40px; }
    .gallery-container { gap: 20px; }
    .landing-title { font-size: 48px; }
    .landing-footer { padding-bottom: 30px; }
}

/* Mobile Adaptation */
@media (max-width: 768px) {
    .landing-page-v2 {
        padding: 40px 20px;
        height: auto;
    }
    .landing-title { font-size: 36px; }
    .style-grid { grid-template-columns: repeat(2, 1fr); }
    .landing-footer { align-items: center; padding-bottom: 20px; }
}

/* Loading Overlay */
.loading-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex; justify-content: center; align-items: center; flex-direction: column;
}
.loading-text { color: #ffffff; font-size: 20px; margin-bottom: 12px; font-weight: 600; margin-top: 16px; }
.loading-gif { width: 250px; height: auto; border-radius: 12px; mix-blend-mode: screen; }
.loading-status { width: 100%; display: flex; justify-content: space-between; color: rgba(255,255,255,0.8); font-size: 14px; margin-bottom: 8px; }
.progress-bar-container { width: 100%; height: 12px; background: rgba(255,255,255,0.1); border-radius: 6px; overflow: hidden; }
.progress-bar-fill { height: 100%; width: 0%; background: linear-gradient(90deg, #3b82f6, #8b5cf6); border-radius: 6px; transition: width 0.3s ease-out; }
