/* Modern Dark Theme for Datanla Photo Booth */

:root {
    --bg-dark: #0f1824;
    --bg-card: #1a2942;
    --accent: #00D9FF;
    --success: #00ff88;
    --error: #ff4d6d;
    --text: #ffffff;
    --text-gray: #94a3b8;
}

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

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(0, 217, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(0, 217, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.hidden {
    display: none !important;
}

/* Page System */
.page {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1;
}

.page.active {
    display: flex;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* WELCOME PAGE */
.welcome-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    gap: 2rem;
}

.logo-section {
    text-align: center;
}

.logo-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--accent), #0099cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.4);
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 40px rgba(0, 217, 255, 0.6);
    }
}

.logo-icon i {
    font-size: 3rem;
    color: var(--text);
}

.logo-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--text), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.feature-box {
    background: var(--bg-card);
    padding: 1.5rem 2rem;
    border-radius: 1rem;
    text-align: center;
    border: 1px solid rgba(0, 217, 255, 0.1);
    max-width: 400px;
    width: 100%;
}

.feature-box i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.feature-box p {
    color: var(--text-gray);
    font-size: 1rem;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--accent), #0099cc);
    color: var(--text);
    border: none;
    padding: 1rem 2rem;
    border-radius: 1rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 217, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 217, 255, 0.5);
}

.btn-large {
    width: 100%;
    max-width: 400px;
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 1rem;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
}

.alternative-options {
    text-align: center;
}

.btn-link {
    background: none;
    border: none;
    color: var(--accent);
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    transition: all 0.2s;
}

.btn-link:hover {
    color: #00ffcc;
    transform: translateY(-1px);
}

/* SCAN PAGE */
.scan-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.btn-back-scan {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.btn-back-scan:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.camera-view {
    width: 100%;
    height: 100%;
    position: relative;
    background: #000;
}

#videoPreview {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.face-detection-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.face-frame {
    position: relative;
    width: 280px;
    height: 360px;
    border: 2px solid var(--accent);
    border-radius: 50% 50% 45% 45%;
    animation: framePulse 2s ease-in-out infinite;
}

@keyframes framePulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.02);
    }
}

.corner {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 3px solid var(--accent);
}

.corner-tl {
    top: -2px;
    left: -2px;
    border-right: none;
    border-bottom: none;
    border-radius: 16px 0 0 0;
}

.corner-tr {
    top: -2px;
    right: -2px;
    border-left: none;
    border-bottom: none;
    border-radius: 0 16px 0 0;
}

.corner-bl {
    bottom: -2px;
    left: -2px;
    border-right: none;
    border-top: none;
    border-radius: 0 0 0 16px;
}

.corner-br {
    bottom: -2px;
    right: -2px;
    border-left: none;
    border-top: none;
    border-radius: 0 0 16px 0;
}

.scan-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    box-shadow: 0 0 10px var(--accent);
    animation: scanMove 3s linear infinite;
}

@keyframes scanMove {
    0% {
        top: 0;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

.grid-lines {
    position: absolute;
    inset: 0;
    opacity: 0.3;
}

.grid-line {
    position: absolute;
    background: var(--accent);
}

.grid-h {
    left: 0;
    right: 0;
    height: 1px;
}

.grid-v {
    top: 0;
    bottom: 0;
    width: 1px;
}

.scan-progress {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
}

.progress-ring {
    transform: rotate(-90deg);
}

.progress-bg {
    fill: none;
    stroke: rgba(0, 217, 255, 0.2);
    stroke-width: 6;
}

.progress-bar {
    fill: none;
    stroke: var(--accent);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 327;
    stroke-dashoffset: 327;
    transition: stroke-dashoffset 0.3s ease;
    filter: drop-shadow(0 0 8px var(--accent));
}

.progress-info {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.progress-percent {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent);
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

.progress-label {
    font-size: 0.75rem;
    color: var(--text);
    margin-top: 0.25rem;
}

.scan-guide {
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 1rem 2rem;
    border-radius: 2rem;
    backdrop-filter: blur(10px);
}

.scan-guide i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.camera-error {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 1rem;
    max-width: 300px;
}

.camera-error i {
    font-size: 3rem;
    color: var(--error);
    margin-bottom: 1rem;
}

.btn-capture {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #0099cc);
    border: 4px solid var(--text);
    color: var(--text);
    font-size: 2rem;
    cursor: pointer;
    box-shadow: 0 4px 24px rgba(0, 217, 255, 0.5);
    transition: all 0.3s;
}

.btn-capture:hover {
    transform: translateX(-50%) scale(1.1);
}

/* UPLOAD PAGE */
.upload-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow-y: auto;
}

.upload-content {
    max-width: 500px;
    margin: 0 auto;
    padding: 5rem 2rem 2rem;
}

.upload-content h2 {
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.upload-subtitle {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.tips-box {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(0, 217, 255, 0.1);
    margin-bottom: 2rem;
}

.tips-box h3 {
    color: var(--accent);
    font-size: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tips-box ul {
    list-style: none;
}

.tips-box li {
    color: var(--text-gray);
    padding: 0.25rem 0;
    font-size: 0.9rem;
}

.upload-zone {
    text-align: center;
    margin-bottom: 1.5rem;
}

.btn-upload {
    width: 100%;
    padding: 2rem;
    background: rgba(0, 217, 255, 0.05);
    border: 2px dashed var(--accent);
    border-radius: 1rem;
    color: var(--accent);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s;
}

.btn-upload:hover {
    background: rgba(0, 217, 255, 0.1);
    border-color: #00ffcc;
}

.btn-upload i {
    font-size: 3rem;
}

.upload-preview {
    margin-top: 1.5rem;
}

.upload-preview img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* RESULTS PAGE */
.results-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.results-header {
    padding: 1rem 1.5rem;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(0, 217, 255, 0.1);
}

.btn-back {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
}

.header-info h2 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.header-info p {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.photos-grid {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.photo-card {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s;
}

.photo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.photo-card.selected {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(0, 217, 255, 0.2);
}

.photo-card.printed {
    border-color: #f59e0b;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.2);
}

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

.photo-score {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: linear-gradient(135deg, var(--accent), #0099cc);
    color: var(--text);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.photo-id {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(0, 0, 0, 0.7);
    color: var(--text);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.7rem;
}

.photo-price {
    position: absolute;
    bottom: 0.5rem;
    left: 0.5rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--bg-dark);
    padding: 0.375rem 0.875rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
}

.photo-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 217, 255, 0.2);
    display: none;
    align-items: center;
    justify-content: center;
}

.photo-card.selected .photo-overlay {
    display: flex;
}

.photo-printed {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    background: rgba(245, 158, 11, 0.9);
    color: #0f172a;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.check-icon {
    width: 60px;
    height: 60px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text);
    box-shadow: 0 4px 16px rgba(0, 217, 255, 0.5);
    animation: checkPop 0.3s ease;
}

@keyframes checkPop {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(0, 217, 255, 0.2);
    backdrop-filter: blur(20px);
    animation: slideUp 0.3s ease;
    z-index: 50;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.action-info {
    margin-bottom: 0.75rem;
}

.selected-count {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.pickup-note {
    font-size: 0.8rem;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pickup-note i {
    color: var(--accent);
}

.action-buttons {
    display: flex;
    gap: 0.75rem;
}

.btn-action {
    flex: 1;
    padding: 0.875rem;
    border-radius: 1rem;
    border: none;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.btn-clear {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-print {
    background: linear-gradient(135deg, var(--accent), #0099cc);
    color: var(--text);
    box-shadow: 0 4px 16px rgba(0, 217, 255, 0.3);
}

.btn-print:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 217, 255, 0.5);
}

/* CONFIRMATION PAGE */
.confirmation-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    overflow-y: auto;
    gap: 2rem;
}

.success-circle {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--success), #00cc66);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(0, 255, 136, 0.4);
    animation: successPop 0.6s ease;
}

@keyframes successPop {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.success-circle i {
    font-size: 3rem;
    color: var(--text);
}

.success-title {
    font-size: 2rem;
    color: var(--accent);
}

.success-subtitle {
    color: var(--text-gray);
}

.user-card {
    text-align: center;
}

.user-avatar {
    width: 80px;
    height: 80px;
    background: var(--bg-card);
    border: 3px solid var(--accent);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.user-avatar i {
    font-size: 2rem;
    color: var(--accent);
}

.user-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent);
}

.pickup-code-card {
    background: linear-gradient(135deg, #1e3a5f, #2c5282);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.code-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.pickup-code {
    font-size: 3rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(0, 217, 255, 0.5);
}

.btn-copy-code {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text);
    padding: 0.75rem 1.5rem;
    border-radius: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.btn-copy-code:hover {
    background: rgba(255, 255, 255, 0.2);
}

.order-info {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 1rem;
    max-width: 400px;
    width: 100%;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-row:last-child {
    border-bottom: none;
}

.info-row span {
    color: var(--text-gray);
}

.confirmation-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    width: 100%;
}

/* MODALS */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(0, 217, 255, 0.2);
    border-top-color: var(--accent);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.modal-content i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1rem;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

#lightboxImage {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 1rem;
}

.toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 3000;
}

.toast {
    background: var(--bg-card);
    border-left: 4px solid var(--accent);
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    margin-bottom: 0.75rem;
    min-width: 250px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast.success {
    border-left-color: var(--success);
}

.toast.error {
    border-left-color: var(--error);
}

.floating-controls {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 500;
}

.btn-float {
    width: 48px;
    height: 48px;
    background: var(--bg-card);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 50%;
    color: var(--accent);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: all 0.3s;
}

.btn-float:hover {
    transform: scale(1.1);
    background: var(--accent);
    color: var(--text);
}

@media (min-width: 600px) {
    .photos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 900px) {
    .photos-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (orientation: landscape) and (max-height: 600px) {
    .logo-icon {
        width: 70px;
        height: 70px;
    }
    
    .logo-icon i {
        font-size: 2rem;
    }
    
    .logo-section h1 {
        font-size: 2rem;
    }
    
    .photos-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 0.75rem;
    }
}

body.pos-mode .photos-grid {
    grid-template-columns: repeat(4, 1fr);
}

body.pos-mode .photo-card {
    aspect-ratio: 1;
}

.photos-grid {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem; /* tăng khoảng cách giữa ảnh */
}

.photo-card {
    aspect-ratio: 3/4;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s;
}
