:root {
    --gold-primary: #D4AF37;
    --gold-light: #FAD5A5;
    --gold-glow: #FFD700;
    --gold-sparkle: #FFEA00;
    --deep-gold: #B8860B;
    --rose-gold: #E8B4B8;
    --diamond-white: #F8F8FF;
    --black-gradient: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2d2d2d 100%);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    background: var(--black-gradient);
    color: #ffffff;
    line-height: 1.6;
}

#sparkleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.twinkling-lights {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    background-image:
        radial-gradient(2px 2px at 20px 30px, #FFF, transparent),
        radial-gradient(2px 2px at 40px 70px, var(--rose-gold), transparent),
        radial-gradient(1px 1px at 90px 40px, var(--gold-sparkle), transparent),
        radial-gradient(1px 1px at 130px 80px, #FFF, transparent),
        radial-gradient(2px 2px at 160px 30px, var(--gold-glow), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: twinkling 20s linear infinite;
}

@keyframes twinkling {

    0%,
    90%,
    100% {
        opacity: 1;
    }

    95% {
        opacity: 0.7;
    }
}

.intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 50%, var(--deep-gold) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: introSparkle 3s ease-out;
}

@keyframes introSparkle {
    0% {
        opacity: 0;
        transform: scale(1.1);
        filter: brightness(0.5);
    }

    50% {
        filter: brightness(1.2);
    }

    100% {
        opacity: 1;
        transform: scale(1);
        filter: brightness(1);
    }
}

.intro-content {
    text-align: center;
    animation: introSlideUp 2s ease-out 0.5s both;
}

@keyframes introSlideUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.intro-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 700;
    background: linear-gradient(45deg, var(--gold-light), #ffffff, var(--gold-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.6);
    animation: goldGlow 2s ease-in-out infinite alternate;
}

@keyframes goldGlow {
    0% {
        text-shadow: 0 0 20px rgba(212, 175, 55, 0.4), 0 0 40px rgba(212, 175, 55, 0.2);
    }

    100% {
        text-shadow: 0 0 40px rgba(212, 175, 55, 0.8), 0 0 80px rgba(212, 175, 55, 0.4);
    }
}

.intro-subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    opacity: 0.95;
    font-weight: 300;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.9);
}

.intro-progress {
    width: 300px;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    margin: 3rem auto 0;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-light));
    width: 0;
    animation: progressFill 3.5s ease-out forwards;
    box-shadow: 0 0 20px var(--gold-primary);
}

@keyframes progressFill {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    backdrop-filter: blur(25px);
    background: rgba(10, 10, 10, 0.9);
    border-bottom: 1px solid var(--glass-border);
    z-index: 999;
    transition: all 0.4s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--gold-primary), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 400;
    transition: all 0.4s ease;
    position: relative;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}

.nav-link i {
    margin-right: 0.5rem;
    color: var(--gold-light);
    text-shadow: 0 0 10px var(--gold-glow);
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold-light);
    text-shadow: 0 0 15px var(--gold-primary);
}

.nav-link:hover i,
.nav-link.active i {
    color: var(--gold-sparkle);
    text-shadow: 0 0 20px var(--gold-sparkle);
    animation: iconSparkle 1.5s infinite;
}

@keyframes iconSparkle {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-light));
    border-radius: 2px;
    transition: width 0.4s ease;
    box-shadow: 0 0 10px var(--gold-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.main-content {
    margin-top: 90px;
    position: relative;
    z-index: 3;
}

.hero-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 234, 0, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(248, 180, 184, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(212, 175, 55, 0.2) 0%, transparent 50%);
    animation: heroSparkle 8s ease-in-out infinite;
    z-index: 1;
}

@keyframes heroSparkle {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
    animation: heroFloat 25s ease-in-out infinite;
}

@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0px) scale(1);
    }

    33% {
        transform: translateY(-15px) scale(1.02);
    }

    66% {
        transform: translateY(-5px) scale(1.01);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3.5rem, 9vw, 7rem);
    font-weight: 700;
    background: linear-gradient(45deg, var(--gold-light), #ffffff, var(--gold-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: heroTitleGlow 4s ease-in-out infinite alternate;
}

@keyframes heroTitleGlow {
    0% {
        text-shadow: 0 0 30px rgba(212, 175, 55, 0.5), 0 0 60px rgba(212, 175, 55, 0.3);
    }

    100% {
        text-shadow: 0 0 50px rgba(212, 175, 55, 0.8), 0 0 100px rgba(212, 175, 55, 0.5);
    }
}

.hero-subtitle {
    font-size: clamp(1.3rem, 3vw, 2rem);
    opacity: 0.9;
    margin-top: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.1em;
}

.section-header {
    max-width: 1200px;
    margin: 6rem auto 4rem;
    padding: 0 2rem;
    text-align: center;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 700;
    background: linear-gradient(45deg, var(--gold-light), #ffffff, var(--gold-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.2rem;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}

.section-subtitle {
    font-size: 1.3rem;
    opacity: 0.85;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.05em;
}

.locations {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.location-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 2.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0.7;
    position: relative;
    overflow: hidden;
}

.location-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
    transition: left 0.6s;
}

.location-item:hover::before {
    left: 100%;
}

.location-item:hover,
.location-item.active {
    background: rgba(212, 175, 55, 0.15);
    opacity: 1;
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(212, 175, 55, 0.3), 0 0 40px rgba(212, 175, 55, 0.2);
    border-color: var(--gold-primary);
}

.location-icon {
    font-size: 1.8rem;
}

.photo-count {
    font-size: 0.95rem;
    opacity: 0.8;
    font-weight: 500;
}

.memories-section {
    padding: 0 0 100px 0;
}

.photo-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    min-height: 400px;
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.loader {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(212, 175, 55, 0.2);
    border-top: 4px solid var(--gold-primary);
    border-radius: 50%;
    animation: spin 1.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.photo-item {
    aspect-ratio: 1;
    background: linear-gradient(45deg, rgba(212, 175, 55, 0.1), rgba(0, 0, 0, 0.2));
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    opacity: 0;
    transform: translateY(60px);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.photo-item.loaded {
    opacity: 1;
    transform: translateY(0);
    animation: photoReveal 0.8s ease-out forwards;
}

@keyframes photoReveal {
    0% {
        transform: scale(0.8) translateY(60px);
        opacity: 0;
    }

    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.photo-item:hover {
    transform: scale(1.08) translateY(-15px) rotate(1deg);
    box-shadow:
        0 40px 80px rgba(212, 175, 55, 0.4),
        0 0 60px rgba(212, 175, 55, 0.3),
        inset 0 0 20px rgba(212, 175, 55, 0.1);
    border-color: var(--gold-primary);
}

.photo-item:hover img {
    transform: scale(1.15) rotate(2deg);
}

.tiktok-item {
    aspect-ratio: 9/16;
    background: linear-gradient(45deg, rgba(255, 234, 0, 0.2), rgba(212, 175, 55, 0.1));
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s ease;
    position: relative;
    border: 2px solid rgba(255, 234, 0, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(60px);
}

.tiktok-item.loaded {
    opacity: 1;
    transform: translateY(0);
    animation: photoReveal 0.8s ease-out forwards;
}

.tiktok-item:hover {
    transform: scale(1.08) rotate(1deg);
    box-shadow:
        0 40px 80px rgba(255, 234, 0, 0.4),
        0 0 60px rgba(255, 234, 0, 0.3),
        inset 0 0 20px rgba(255, 234, 0, 0.1);
    border-color: var(--gold-sparkle);
}

.tiktok-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.tiktok-item:hover .video-play-icon {
    opacity: 0;
}

.contact-section {
    padding: 100px 0;
}

.contact-form {
    max-width: 700px;
    margin: 4rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 0 2rem;
}

.contact-form input,
.contact-form textarea {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 2px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.5rem;
    font-size: 1.1rem;
    color: #ffffff;
    transition: all 0.4s ease;
    font-family: 'Inter', sans-serif;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow:
        0 0 0 4px rgba(212, 175, 55, 0.2),
        0 0 30px rgba(212, 175, 55, 0.3);
    background: rgba(212, 175, 55, 0.05);
}

.cta-button {
    background: linear-gradient(45deg, var(--gold-primary), var(--gold-light));
    color: #0a0a0a;
    border: none;
    padding: 1.4rem 3.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow:
        0 15px 35px rgba(212, 175, 55, 0.4),
        0 0 30px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow:
        0 25px 50px rgba(212, 175, 55, 0.6),
        0 0 50px rgba(212, 175, 55, 0.5);
}

.cta-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.97);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(15px);
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 95%;
    max-height: 95%;
}

.lightbox-media {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 0 100px rgba(212, 175, 55, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -60px;
    right: 0;
    background: rgba(212, 175, 55, 0.2);
    border: 2px solid var(--gold-primary);
    color: #ffffff;
    font-size: 2.2rem;
    cursor: pointer;
    padding: 0.8rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: var(--gold-primary);
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.7);
}

.lightbox-nav {
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 2rem;
    background: rgba(212, 175, 55, 0.15);
    padding: 1rem 2rem;
    border-radius: 50px;
    backdrop-filter: blur(20px);
    border: 2px solid var(--glass-border);
}

.photo-counter {
    color: var(--gold-light);
    font-weight: 500;
    font-size: 1.2rem;
    min-width: 80px;
    text-align: center;
}

.lightbox-nav button {
    background: linear-gradient(45deg, var(--gold-primary), var(--gold-light));
    border: none;
    color: #0a0a0a;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.lightbox-nav button:hover {
    transform: scale(1.15) translateY(-3px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.6);
}

@media (max-width: 768px) {
    .nav-menu {
        gap: 1.5rem;
    }

    .nav-link {
        font-size: 0.95rem;
    }

    .locations {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .photo-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .nav-container {
        padding: 1rem;
    }

    .section-header {
        margin: 4rem auto 3rem;
    }

    .lightbox-nav {
        bottom: -60px;
        gap: 1.5rem;
        padding: 0.8rem 1.5rem;
    }

    .lightbox-nav button {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .photo-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .locations {
        gap: 1rem;
        padding: 0 1rem;
    }

    .location-item {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .nav-menu {
        gap: 0.8rem;
    }

    .hero-title {
        font-size: clamp(2rem, 6vw, 4rem);
    }

    .section-title {
        font-size: clamp(1.8rem, 5vw, 3rem);
    }

    .contact-form {
        padding: 0 1rem;
    }

    .lightbox-media video,
    .lightbox-image {
        max-height: 80vh;
    }
}



.music-controls {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
}

#musicToggle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--gold-primary), var(--gold-light));
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
    opacity: 0.8;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

#musicToggle:hover {
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.6);
}

#musicToggle:active {
    transform: scale(0.95);
}

#bgMusic {
    position: fixed;
    left: -9999px;
}


















.password-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2d2d2d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    backdrop-filter: blur(15px);
}

.password-overlay.hidden {
    display: none;
}

.password-box {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(0, 0, 0, 0.3) 100%);
    border: 2px solid #D4AF37;
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    max-width: 450px;
    box-shadow: 0 0 60px rgba(212, 175, 55, 0.5), 0 0 100px rgba(212, 175, 55, 0.3);
    animation: passwordPop 0.6s ease-out;
}

@keyframes passwordPop {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.password-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    background: linear-gradient(45deg, #FAD5A5, #ffffff, #D4AF37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.password-box input {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
    border: 2px solid #D4AF37;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    margin-bottom: 1.5rem;
    box-sizing: border-box;
    transition: all 0.3s ease;
    letter-spacing: 0.15em;
}

.password-box input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.password-box input:focus {
    outline: none;
    border-color: #FAD5A5;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6), inset 0 0 20px rgba(212, 175, 55, 0.1);
}

.password-box button {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(45deg, #D4AF37, #FAD5A5);
    color: #0a0a0a;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.password-box button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.6);
}

.password-box button:active {
    transform: translateY(-1px);
}

#errorMsg {
    color: #ff6b6b;
    font-size: 0.95rem;
    margin-top: 1rem;
    min-height: 20px;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@media (max-width: 480px) {
    .password-box {
        padding: 2rem;
        margin: 1rem;
    }

    .password-box h2 {
        font-size: 1.8rem;
    }

    .password-box input,
    .password-box button {
        padding: 1rem;
        font-size: 1rem;
    }
}