* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #fffaf0;
    color: #333;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #fff;
    font-family: 'Playfair Display', serif;
}

/* Premium VIP Typography */
h1, h2, h3, .section-title, .names {
    font-family: 'Great Vibes', cursive;
}

p, input, button, .story-text {
    font-family: 'Playfair Display', serif;
}

body::-webkit-scrollbar {
    width: 8px;
}

body::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 10px;
}

/* Intro Animation Overlay */
#intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000;
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* VIP Loader (Uiverse.io) */
.loader-container {
    position: absolute;
    z-index: 2001;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    --dur: 2s;
    --hue: 35; /* Matching golden wedding theme */
    display: block;
    margin: auto;
    width: 14em;
    height: auto;
}
.loader__glare-top,
.loader__glare-bottom,
.loader__model,
.loader__motion-thick,
.loader__motion-medium,
.loader__motion-thin,
.loader__sand-drop,
.loader__sand-fill,
.loader__sand-grain-left,
.loader__sand-grain-right,
.loader__sand-line-left,
.loader__sand-line-right,
.loader__sand-mound-top,
.loader__sand-mound-bottom {
  animation-duration: var(--dur);
  animation-timing-function: cubic-bezier(0.83, 0, 0.17, 1);
  animation-iteration-count: infinite;
}
.loader__glare-top {
  animation-name: glare-top;
}
.loader__glare-bottom {
  animation-name: glare-bottom;
}
.loader__model {
  animation-name: loader-flip;
  transform-origin: 12.25px 16.75px;
}
.loader__motion-thick,
.loader__motion-medium,
.loader__motion-thin {
  transform-origin: 26px 26px;
}
.loader__motion-thick {
  animation-name: motion-thick;
}
.loader__motion-medium {
  animation-name: motion-medium;
}
.loader__motion-thin {
  animation-name: motion-thin;
}
.loader__sand-drop {
  animation-name: sand-drop;
}
.loader__sand-fill {
  animation-name: sand-fill;
}
.loader__sand-grain-left {
  animation-name: sand-grain-left;
}
.loader__sand-grain-right {
  animation-name: sand-grain-right;
}
.loader__sand-line-left {
  animation-name: sand-line-left;
}
.loader__sand-line-right {
  animation-name: sand-line-right;
}
.loader__sand-mound-top {
  animation-name: sand-mound-top;
}
.loader__sand-mound-bottom {
  animation-name: sand-mound-bottom;
  transform-origin: 12.25px 31.5px;
}

/* Loader Animations */
@keyframes loader-flip {
  from {
    transform: translate(13.75px, 9.25px) rotate(-180deg);
  }
  24%,
  to {
    transform: translate(13.75px, 9.25px) rotate(0);
  }
}
@keyframes glare-top {
  from {
    stroke: rgba(255, 255, 255, 0);
  }
  24%,
  to {
    stroke: white;
  }
}
@keyframes glare-bottom {
  from {
    stroke: white;
  }
  24%,
  to {
    stroke: rgba(255, 255, 255, 0);
  }
}
@keyframes motion-thick {
  from {
    animation-timing-function: cubic-bezier(0.33, 0, 0.67, 0);
    stroke: rgba(255, 255, 255, 0);
    stroke-dashoffset: 153.94;
    transform: rotate(0.67turn);
  }
  20% {
    animation-timing-function: cubic-bezier(0.33, 1, 0.67, 1);
    stroke: rgb(32, 32, 32);
    stroke-dashoffset: 141.11;
    transform: rotate(1turn);
  }
  40%,
  to {
    stroke: rgba(255, 255, 255, 0);
    stroke-dashoffset: 153.94;
    transform: rotate(1.33turn);
  }
}
@keyframes motion-medium {
  from,
  8% {
    animation-timing-function: cubic-bezier(0.33, 0, 0.67, 0);
    stroke: rgba(255, 255, 255, 0);
    stroke-dashoffset: 153.94;
    transform: rotate(0.5turn);
  }
  20% {
    animation-timing-function: cubic-bezier(0.33, 1, 0.67, 1);
    stroke: white;
    stroke-dashoffset: 147.53;
    transform: rotate(0.83turn);
  }
  32%,
  to {
    stroke: rgba(255, 255, 255, 0);
    stroke-dashoffset: 153.94;
    transform: rotate(1.17turn);
  }
}
@keyframes motion-thin {
  from,
  4% {
    animation-timing-function: cubic-bezier(0.33, 0, 0.67, 0);
    stroke: rgba(255, 255, 255, 0);
    stroke-dashoffset: 153.94;
    transform: rotate(0.33turn);
  }
  24% {
    animation-timing-function: cubic-bezier(0.33, 1, 0.67, 1);
    stroke: rgb(53, 53, 53);
    stroke-dashoffset: 134.7;
    transform: rotate(0.67turn);
  }
  44%,
  to {
    stroke: rgba(255, 255, 255, 0);
    stroke-dashoffset: 153.94;
    transform: rotate(1turn);
  }
}
@keyframes sand-drop {
  from,
  10% {
    animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0);
    stroke-dashoffset: 1;
  }
  70%,
  to {
    stroke-dashoffset: -107;
  }
}
@keyframes sand-fill {
  from,
  10% {
    animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0);
    stroke-dashoffset: 55;
  }
  70%,
  to {
    stroke-dashoffset: -54;
  }
}
@keyframes sand-grain-left {
  from,
  10% {
    animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0);
    stroke-dashoffset: 29;
  }
  70%,
  to {
    stroke-dashoffset: -22;
  }
}
@keyframes sand-grain-right {
  from,
  10% {
    animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0);
    stroke-dashoffset: 27;
  }
  70%,
  to {
    stroke-dashoffset: -24;
  }
}
@keyframes sand-line-left {
  from,
  10% {
    animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0);
    stroke-dashoffset: 53;
  }
  70%,
  to {
    stroke-dashoffset: -55;
  }
}
@keyframes sand-line-right {
  from,
  10% {
    animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0);
    stroke-dashoffset: 14;
  }
  70%,
  to {
    stroke-dashoffset: -24.5;
  }
}
@keyframes sand-mound-top {
  from,
  10% {
    animation-timing-function: linear;
    transform: translate(0, 0);
  }
  15% {
    animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0);
    transform: translate(0, 1.5px);
  }
  51%,
  to {
    transform: translate(0, 13px);
  }
}
@keyframes sand-mound-bottom {
  from,
  31% {
    animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1);
    transform: scale(1, 0);
  }
  56%,
  to {
    transform: scale(1, 1);
  }
}

.intro-scene {
    position: relative;
    width: 100%;
    height: 100%;
}

#intro-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
}

/* Golden Vignette Overlay */
.intro-scene::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle, transparent 40%, rgba(0,0,0,0.4) 100%);
    pointer-events: none;
}

.wedding-date-intro {
    position: absolute;
    font-size: 90px;
    color: var(--primary-color);
    opacity: 0;
    text-shadow: 0 0 30px rgba(0,0,0,0.8), 2px 2px 0px rgba(255,255,255,0.2);
    z-index: 101;
    text-align: center;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
}

/* Main Content Styles */
#main-content {
    background-image: linear-gradient(rgba(255,250,240,0.8), rgba(255,250,240,0.8));
    position: relative;
}

/* Premium VIP Header (User Customized) */
.header-vip {
    background-image: linear-gradient(to top, rgba(0,0,0,0.8), rgba(255,255,255,0.1)), url('https://images.unsplash.com/photo-1519741497674-611481863552?auto=format&fit=crop&q=80&w=1920');
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.heading-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    z-index: 10;
}

.logo {
    position: absolute;
    left: -100px;
    height: 100vh;
    opacity: 0.3;
    pointer-events: none;
    z-index: 1;
}

.logo2 {
    position: absolute;
    right: 40px;
    height: 60px;
    top: 40px;
    animation: rotating 8s linear infinite;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.5));
    z-index: 20;
}

.main-text {
    font-family: 'Playfair Display', serif;
}

.upper {
    display: block;
    font-size: 80px;
    font-weight: 500;
    letter-spacing: 20px;
    font-family: 'Great Vibes', cursive;
    animation: MoveInRight 3s ease-in-out;
    color: var(--primary-color);
}

.lower {
    display: block;
    font-size: 30px;
    font-weight: 300;
    letter-spacing: 10px;
    text-transform: uppercase;
    animation: MoveInLeft 3s ease-in-out;
    margin-bottom: 10px;
}

.vip-names {
    display: block;
    font-size: 50px;
    font-family: 'Great Vibes', cursive;
    margin-top: 10px;
    color: #fff;
    text-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.header-date-vip {
    font-size: 24px;
    letter-spacing: 5px;
    margin: 20px 0;
    opacity: 0.9;
}

.white-button {
    padding: 15px 40px;
    background-color: white;
    border-radius: 100px;
    color: #000;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    font-family: Arial, sans-serif;
    animation: MoveUp 3s ease-out;
    transition: all 0.3s;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.white-button:hover {
    transform: translateY(-5px) scale(1.05);
    background-color: var(--primary-color);
    color: white;
}

/* Animations */
@keyframes MoveInRight {
    0% { opacity: 0; transform: translateX(-100px); }
    80% { transform: translateX(20px); }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes MoveInLeft {
    0% { opacity: 0; transform: translateX(100px); }
    80% { transform: translateX(-10px); }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes MoveUp {
    0% { opacity: 0; transform: translateY(50px); }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes rotating {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Floating Elements for Site */
.floating-particle {
    position: fixed;
    pointer-events: none;
    z-index: 1500;
    opacity: 0.6;
}

section {
    padding: 120px 40px;
    max-width: 1200px;
    margin: 80px auto;
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 60px 10px 60px 10px;
    box-shadow: 0 30px 70px rgba(0,0,0,0.07);
    border: 1px solid rgba(212, 175, 55, 0.2);
    position: relative;
    overflow: hidden;
}

/* Golden Corner Decoration */
section::before {
    content: '❦';
    position: absolute;
    top: 20px;
    left: 20px;
    color: var(--primary-color);
    font-size: 30px;
    opacity: 0.5;
}

.section-title {
    font-size: 60px;
    margin-bottom: 40px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
}

.story-text {
    font-size: 26px;
    line-height: 2;
    color: #444;
    padding: 0 40px;
}

.location-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    text-align: left;
    margin-top: 40px;
}

.location-info {
    flex: 1;
    padding: 40px;
    background: #fdfaf4;
    border-left: 5px solid var(--primary-color);
    border-radius: 0 30px 30px 0;
}

.location-info h2 {
    font-size: 45px;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.location-info p {
    font-size: 20px;
    margin-bottom: 15px;
    color: #666;
}

.location-map {
    flex: 1.2;
    height: 400px;
    border-radius: 30px;
    border: 10px solid #fff;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    overflow: hidden;
    position: relative;
}

.map-vip-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.static-map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
    filter: brightness(0.8);
}

.map-overlay-vip {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    transition: background 0.3s;
}

.map-icon-vip {
    font-size: 50px;
    margin-bottom: 10px;
    animation: bounce 2s infinite;
}

.map-overlay-vip span {
    background: var(--primary-color);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.location-map:hover .static-map-img {
    transform: scale(1.1);
    filter: brightness(1);
}

.location-map:hover .map-overlay-vip {
    background: rgba(0,0,0,0.1);
}

.location-map:hover {
    transform: scale(1.02);
}

.location-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wish-money-section {
    background: linear-gradient(135deg, #fff 0%, #fef9ef 100%);
}

.btn {
    padding: 20px 50px;
    background: linear-gradient(45deg, var(--primary-color), #b8962f);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.4);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.btn:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 45px rgba(212, 175, 55, 0.5);
}

.honor-text {
    font-size: 35px;
    color: var(--primary-color);
    margin: 40px 0;
}

/* VIP Modal Improvements */
.modal-content {
    background: #fff;
    padding: 60px;
    border-radius: 40px;
    border: 2px solid var(--primary-color);
}

.modal-content h3 {
    font-family: 'Great Vibes', cursive;
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 30px;
}

input {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 18px;
    transition: all 0.3s;
    background: #fafafa;
}

input:focus {
    background: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
}

footer {
    padding: 80px;
    background: #0f0f0f;
    color: #fff;
    position: relative;
    clip-path: polygon(50% 10%, 100% 0, 100% 100%, 0 100%, 0 0);
}

footer p {
    font-size: 20px;
    opacity: 0.8;
}

/* Scroll Hint */
.scroll-hint {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    text-align: center;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateX(-50%) translateY(0);}
    40% {transform: translateX(-50%) translateY(-10px);}
    60% {transform: translateX(-50%) translateY(-5px);}
}

@media (max-width: 992px) {
    .location-container {
        flex-direction: column;
        gap: 30px;
    }
    .names {
        font-size: 60px;
        letter-spacing: 5px;
    }
    .upper {
        font-size: 50px;
        letter-spacing: 10px;
    }
    .lower {
        font-size: 20px;
        letter-spacing: 5px;
    }
    .vip-names {
        font-size: 35px;
    }
    .section-title {
        font-size: 40px;
    }
    .story-text {
        font-size: 18px;
        padding: 0 10px;
    }
    section {
        padding: 60px 20px;
        margin: 40px 15px;
        border-radius: 30px 10px 30px 10px;
    }
    .location-info {
        padding: 20px;
        border-radius: 20px;
    }
    .location-info h2 {
        font-size: 32px;
    }
    .wedding-date-intro {
        font-size: 40px;
    }
    .loader {
        width: 10em;
    }
    .btn {
        padding: 15px 30px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .names {
        font-size: 45px;
    }
    .upper {
        font-size: 40px;
        letter-spacing: 5px;
    }
    .wedding-date-intro {
        font-size: 30px;
    }
    .logo2 {
        right: 20px;
        height: 40px;
        top: 20px;
    }
}
