/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Quicksand', sans-serif;
    background: linear-gradient(135deg, #1a0011 0%, #2d0a1e 25%, #1a0a2e 50%, #0d0d2b 75%, #1a0011 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ===== LOGIN SCREEN ===== */
.login-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, #2d0a1e 0%, #1a0a2e 40%, #0a0015 70%, #000 100%);
    z-index: 50000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.login-screen.hidden {
    opacity: 0;
    transform: scale(1.1);
    pointer-events: none;
}

.login-hearts-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.login-floating-heart {
    position: absolute;
    bottom: -50px;
    animation: floatUp linear infinite;
    opacity: 0.1;
    font-size: 20px;
    user-select: none;
}

.login-container {
    text-align: center;
    padding: 50px 40px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(231, 76, 139, 0.15);
    border-radius: 30px;
    box-shadow: 0 20px 80px rgba(231, 76, 139, 0.15), 0 0 120px rgba(108, 92, 231, 0.08);
    max-width: 420px;
    width: 90%;
    position: relative;
    z-index: 1;
    animation: loginFadeIn 1s ease;
}

@keyframes loginFadeIn {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.login-icon {
    font-size: 60px;
    margin-bottom: 10px;
    animation: loginPulse 2s ease-in-out infinite;
}

@keyframes loginPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.login-title {
    font-family: 'Dancing Script', cursive;
    font-size: 36px;
    color: #f8a5c2;
    margin-bottom: 8px;
    text-shadow: 0 0 20px rgba(248, 165, 194, 0.3);
}

.login-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 30px;
    font-weight: 400;
}

.login-input-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.login-input-wrapper {
    position: relative;
}

.login-input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(231, 76, 139, 0.5);
    font-size: 16px;
}

.login-input {
    width: 100%;
    padding: 16px 20px 16px 48px;
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: white;
    font-family: 'Quicksand', sans-serif;
    font-size: 16px;
    font-weight: 500;
    outline: none;
    transition: all 0.3s ease;
    letter-spacing: 2px;
}

.login-input::placeholder {
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 1px;
}

.login-input:focus {
    border-color: rgba(231, 76, 139, 0.5);
    box-shadow: 0 0 25px rgba(231, 76, 139, 0.15);
    background: rgba(255, 255, 255, 0.08);
}

.login-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #e74c8b, #c0392b);
    color: white;
    border: none;
    border-radius: 16px;
    font-family: 'Quicksand', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 5px 25px rgba(231, 76, 139, 0.3);
    letter-spacing: 0.5px;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 35px rgba(231, 76, 139, 0.5);
}

.login-btn:active {
    transform: translateY(0);
}

.login-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.login-error {
    margin-top: 15px;
    color: #ff6b6b;
    font-size: 14px;
    font-weight: 500;
    min-height: 20px;
    transition: all 0.3s ease;
}

.login-error.shake {
    animation: loginShake 0.5s ease;
}

@keyframes loginShake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-10px); }
    40% { transform: translateX(10px); }
    60% { transform: translateX(-10px); }
    80% { transform: translateX(10px); }
}

/* ===== FLOATING HEARTS ===== */
.hearts-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-heart {
    position: absolute;
    bottom: -50px;
    animation: floatUp linear infinite;
    opacity: 0.15;
    font-size: 20px;
    user-select: none;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0.15;
    }
    50% {
        opacity: 0.25;
    }
    100% {
        transform: translateY(-110vh) rotate(360deg) scale(0.5);
        opacity: 0;
    }
}

/* ===== GIFT BOX OVERLAY ===== */
.gift-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, #2d0a1e 0%, #0a0015 70%, #000 100%);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease;
}

.gift-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.gift-container {
    text-align: center;
}

.gift-box {
    cursor: pointer;
    position: relative;
    display: inline-block;
    animation: giftPulse 2s ease-in-out infinite;
}

@keyframes giftPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.gift-body {
    width: 200px;
    height: 160px;
    background: linear-gradient(135deg, #e74c8b, #c0392b);
    border-radius: 10px;
    position: relative;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(231, 76, 139, 0.4);
    overflow: hidden;
}

.gift-ribbon-v {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 30px;
    height: 100%;
    background: linear-gradient(135deg, #f1c40f, #f39c12);
}

.gift-ribbon-h {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 30px;
    background: linear-gradient(135deg, #f1c40f, #f39c12);
}

.gift-lid {
    width: 220px;
    height: 40px;
    background: linear-gradient(135deg, #c0392b, #e74c8b);
    border-radius: 8px 8px 0 0;
    margin: 0 auto;
    position: relative;
    transition: transform 0.6s ease;
    z-index: 2;
    box-shadow: 0 -5px 20px rgba(231, 76, 139, 0.3);
}

.gift-box.opened .gift-lid {
    transform: translateY(-80px) rotate(-30deg);
}

.gift-bow {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 30px;
    background: linear-gradient(135deg, #f1c40f, #f39c12);
    border-radius: 50% 50% 0 0;
}

.gift-bow::before, .gift-bow::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 25px;
    background: linear-gradient(135deg, #f1c40f, #f39c12);
    border-radius: 50%;
    top: 5px;
}

.gift-bow::before { left: -10px; }
.gift-bow::after { right: -10px; }

.gift-text {
    margin-top: 30px;
    font-family: 'Dancing Script', cursive;
    font-size: 24px;
    color: #e74c8b;
    animation: textGlow 2s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% { text-shadow: 0 0 10px rgba(231, 76, 139, 0.5); }
    50% { text-shadow: 0 0 30px rgba(231, 76, 139, 0.9), 0 0 60px rgba(231, 76, 139, 0.4); }
}

.gift-content {
    animation: fadeInUp 0.8s ease;
    max-width: 500px;
    margin: 0 auto;
}

.gift-content img {
    max-width: 100%;
    max-height: 50vh;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(231, 76, 139, 0.4);
    border: 3px solid rgba(231, 76, 139, 0.5);
}

.gift-note {
    margin-top: 20px;
    font-family: 'Dancing Script', cursive;
    font-size: 22px;
    color: #f8a5c2;
    text-shadow: 0 0 10px rgba(248, 165, 194, 0.3);
    line-height: 1.6;
}

.gift-close-btn {
    margin-top: 25px;
    padding: 12px 30px;
    background: linear-gradient(135deg, #e74c8b, #c0392b);
    color: white;
    border: none;
    border-radius: 30px;
    font-family: 'Quicksand', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(231, 76, 139, 0.4);
}

.gift-close-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(231, 76, 139, 0.6);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== APP CONTAINER ===== */
.app-container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* ===== TOP LEFT BUTTONS ===== */
.top-left-buttons {
    position: fixed;
    top: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 100;
}

.icon-btn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    color: white;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.map-btn {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
}

.map-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 30px rgba(108, 92, 231, 0.5);
}

.puzzle-btn {
    background: linear-gradient(135deg, #00b894, #55efc4);
}

.puzzle-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 30px rgba(0, 184, 148, 0.5);
}

/* ===== COUNTDOWN ===== */
.countdown-area {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 100;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 15px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 220px;
}

.countdown-emoji {
    font-size: 22px;
}

.countdown-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.countdown-value {
    font-size: 14px;
    font-weight: 700;
    color: #f8a5c2;
    margin-left: auto;
    font-variant-numeric: tabular-nums;
}

/* ===== PHOTO VIEWER ===== */
.photo-viewer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    max-width: 900px;
    width: 100%;
    position: relative;
    margin-bottom: 20px;
}

.main-photo-container {
    width: 100%;
    max-width: 700px;
    aspect-ratio: 4/3;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 2px solid rgba(231, 76, 139, 0.2);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.no-photo-placeholder {
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
}

.no-photo-placeholder i {
    font-size: 60px;
    margin-bottom: 15px;
    color: rgba(231, 76, 139, 0.3);
}

.no-photo-placeholder p {
    font-size: 18px;
    font-family: 'Dancing Script', cursive;
}

.no-photo-placeholder .sub-text {
    font-size: 14px;
    margin-top: 8px;
    font-family: 'Quicksand', sans-serif;
}

#mainPhoto {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 18px;
}

.photo-note-display {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    font-family: 'Dancing Script', cursive;
    font-size: 18px;
    color: #f8a5c2;
    text-align: center;
}

.add-photo-btn {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #e74c8b, #c0392b);
    color: white;
    font-size: 22px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(231, 76, 139, 0.4);
}

.add-photo-btn:hover {
    transform: scale(1.15) rotate(90deg);
    box-shadow: 0 8px 30px rgba(231, 76, 139, 0.6);
}

.delete-photo-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #e74c8b, #c0392b);
    color: white;
    font-size: 22px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(231, 76, 139, 0.4);
}

.delete-photo-btn:hover {
    transform: scale(1.15) rotate(90deg);
    box-shadow: 0 8px 30px rgba(231, 76, 139, 0.6);
}

.nav-arrow {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav-arrow:hover {
    background: rgba(231, 76, 139, 0.3);
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(231, 76, 139, 0.3);
}

/* ===== THUMBNAIL STRIP ===== */
.thumbnail-strip {
    display: flex;
    gap: 10px;
    padding: 15px;
    max-width: 900px;
    width: 100%;
    overflow-x: auto;
    justify-content: center;
    flex-wrap: nowrap;
}

.thumbnail-strip::-webkit-scrollbar {
    height: 6px;
}

.thumbnail-strip::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.thumbnail-strip::-webkit-scrollbar-thumb {
    background: rgba(231, 76, 139, 0.3);
    border-radius: 3px;
}

.thumbnail-item {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.thumbnail-item:hover {
    transform: scale(1.15);
    border-color: rgba(231, 76, 139, 0.5);
}

.thumbnail-item.active {
    border-color: #e74c8b;
    box-shadow: 0 0 20px rgba(231, 76, 139, 0.5);
    transform: scale(1.1);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== MODALS ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: linear-gradient(135deg, #1a0a2e, #2d0a1e);
    border: 1px solid rgba(231, 76, 139, 0.2);
    border-radius: 25px;
    padding: 30px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: rgba(231, 76, 139, 0.3);
    border-radius: 3px;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(231, 76, 139, 0.5);
    transform: scale(1.1);
}

.modal-title {
    font-family: 'Dancing Script', cursive;
    font-size: 28px;
    color: #f8a5c2;
    text-align: center;
    margin-bottom: 20px;
}

/* Map Modal */
.map-modal {
    width: 95%;
    max-width: 1100px;
}

.map-container {
    width: 100%;
    position: relative;
}

.turkey-map {
    width: 100%;
    height: auto;
}

.turkey-map .province {
    fill: rgba(108, 92, 231, 0.15);
    stroke: rgba(108, 92, 231, 0.4);
    stroke-width: 0.5;
    transition: all 0.3s ease;
    cursor: default;
}

.turkey-map .province:hover {
    fill: rgba(108, 92, 231, 0.3);
}

.turkey-map .province.has-photo {
    fill: rgba(231, 76, 139, 0.3);
    stroke: rgba(231, 76, 139, 0.7);
    cursor: pointer;
    animation: mapPulse 2s ease-in-out infinite;
}

.turkey-map .province.has-photo:hover {
    fill: rgba(231, 76, 139, 0.5);
}

@keyframes mapPulse {
    0%, 100% { fill: rgba(231, 76, 139, 0.3); }
    50% { fill: rgba(231, 76, 139, 0.45); }
}

.map-marker {
    position: absolute;
    transform: translate(-50%, -100%);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.map-marker:hover {
    transform: translate(-50%, -100%) scale(1.2);
}

.map-marker img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 3px solid #e74c8b;
    object-fit: cover;
    box-shadow: 0 3px 15px rgba(231, 76, 139, 0.5);
}

.map-marker::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #e74c8b;
}

.map-city-photos {
    position: absolute;
    background: rgba(26, 10, 46, 0.95);
    border: 1px solid rgba(231, 76, 139, 0.3);
    border-radius: 15px;
    padding: 15px;
    z-index: 20;
    max-width: 300px;
    max-height: 280px;
    overflow-y: auto;
    display: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.map-city-photos::-webkit-scrollbar {
    width: 5px;
}

.map-city-photos::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.map-city-photos::-webkit-scrollbar-thumb {
    background: rgba(231, 76, 139, 0.4);
    border-radius: 3px;
}

.map-city-photos.active {
    display: block;
}

.map-city-photos h3 {
    font-family: 'Dancing Script', cursive;
    color: #f8a5c2;
    margin-bottom: 10px;
    font-size: 18px;
    text-align: center;
}

.map-photo-viewer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
}

.map-photo-main {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s;
    border: 2px solid rgba(231, 76, 139, 0.3);
}

.map-photo-main:hover {
    transform: scale(1.02);
}

.map-nav-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(231, 76, 139, 0.3);
    color: white;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.map-nav-btn:hover {
    background: rgba(231, 76, 139, 0.6);
    transform: scale(1.1);
}

.map-photo-note {
    margin-top: 8px;
    font-family: 'Dancing Script', cursive;
    font-size: 14px;
    color: #f8a5c2;
    text-align: center;
    line-height: 1.4;
}

/* Puzzle Modal */
.puzzle-modal {
    width: 95%;
    max-width: 700px;
}

.puzzle-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 4px;
    max-width: 450px;
    margin: 0 auto;
    aspect-ratio: 1;
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    padding: 10px;
}

.puzzle-piece {
    border-radius: 8px;
    cursor: grab;
    transition: transform 0.2s, box-shadow 0.2s;
    background-size: 300% 300%;
    aspect-ratio: 1;
    border: 2px solid rgba(255,255,255,0.1);
}

.puzzle-piece:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 20px rgba(231, 76, 139, 0.3);
}

.puzzle-piece.dragging {
    opacity: 0.5;
    cursor: grabbing;
}

.puzzle-piece.correct {
    border-color: #00b894;
    box-shadow: 0 0 15px rgba(0, 184, 148, 0.5);
}

.puzzle-status {
    text-align: center;
    margin-top: 15px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.puzzle-status.completed {
    color: #55efc4;
    font-family: 'Dancing Script', cursive;
    font-size: 24px;
    animation: textGlow 2s ease-in-out infinite;
}

/* Upload Modal */
.upload-modal {
    width: 95%;
    max-width: 600px;
}

.upload-area {
    text-align: center;
    padding: 20px;
}

.upload-btn {
    padding: 20px 40px;
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 18px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.upload-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(108, 92, 231, 0.5);
}

.upload-btn i {
    font-size: 24px;
}

.upload-preview-list {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: 50vh;
    overflow-y: auto;
}

.upload-preview-item {
    display: flex;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    align-items: flex-start;
}

.upload-preview-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.upload-preview-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.upload-preview-info select,
.upload-preview-info textarea {
    width: 100%;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: white;
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.upload-preview-info select:focus,
.upload-preview-info textarea:focus {
    border-color: rgba(231, 76, 139, 0.5);
}

.upload-preview-info select option {
    background: #1a0a2e;
    color: white;
}

.upload-preview-info textarea {
    resize: vertical;
    min-height: 50px;
}

.upload-preview-info textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.save-all-btn {
    width: 100%;
    margin-top: 15px;
    padding: 14px;
    background: linear-gradient(135deg, #e74c8b, #c0392b);
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 16px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.save-all-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(231, 76, 139, 0.4);
}

/* Lightbox */
.lightbox-modal {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0,0,0,0.9);
    padding: 20px;
}

.lightbox-modal img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 15px;
    object-fit: contain;
}

.lightbox-note {
    margin-top: 15px;
    font-family: 'Dancing Script', cursive;
    font-size: 20px;
    color: #f8a5c2;
    text-align: center;
}

/* ===== SPARKLE BURST ===== */
.sparkle {
    position: fixed;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 20000;
    animation: sparkleFade 0.8s ease forwards;
}

@keyframes sparkleFade {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0) translateY(-30px); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .login-container {
        padding: 40px 25px;
    }

    .login-title {
        font-size: 28px;
    }

    .login-icon {
        font-size: 48px;
    }

    .photo-viewer {
        gap: 8px;
    }

    .nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .top-left-buttons {
        top: 10px;
        left: 10px;
    }

    .icon-btn {
        width: 42px;
        height: 42px;
        font-size: 17px;
    }

    .countdown-area {
        top: 10px;
        right: 10px;
    }

    .countdown-item {
        padding: 8px 12px;
        min-width: 180px;
    }

    .countdown-value {
        font-size: 12px;
    }

    .add-photo-btn {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .delete-photo-btn {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .thumbnail-item {
        width: 55px;
        height: 55px;
    }

    .gift-body {
        width: 150px;
        height: 120px;
    }

    .gift-lid {
        width: 170px;
        height: 35px;
    }

    .gift-text {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .main-photo-container {
        aspect-ratio: 3/4;
    }

    .countdown-item {
        min-width: 150px;
        padding: 6px 10px;
    }

    .countdown-label {
        font-size: 10px;
    }

    .countdown-value {
        font-size: 11px;
    }

    .upload-preview-item {
        flex-direction: column;
        align-items: center;
    }
}

/* Confetti */
.confetti-piece {
    position: fixed;
    width: 10px;
    height: 10px;
    z-index: 20001;
    pointer-events: none;
    animation: confettiFall linear forwards;
}

@keyframes confettiFall {
    0% { opacity: 1; transform: translateY(0) rotate(0deg); }
    100% { opacity: 0; transform: translateY(100vh) rotate(720deg); }
}
