/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #fff;
    background: #000;
    overflow-x: hidden;
}

/* Hide scrollbar for webkit browsers */
::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for Firefox */
html {
    scrollbar-width: none;
}

/* Hide scrollbar for IE and Edge */
body {
    -ms-overflow-style: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}


/* Hero Section */
.hero {
    height: 100dvh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(255, 107, 107, 0.1), transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(78, 205, 196, 0.1), transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 119, 198, 0.08), transparent 50%);
    animation: backgroundPulse 15s ease-in-out infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 20px 30px, #fff, transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, #fff, transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(2px 2px at 160px 30px, #fff, transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: sparkle 20s linear infinite;
}

@keyframes sparkle {
    from {
        transform: translateY(0px);
    }

    to {
        transform: translateY(-100px);
    }
}

/* Hero Logo */
.hero-logo {
    position: absolute;
    top: 50px;
    left: 50px;
    z-index: 10;
    cursor: pointer;
}

.hero-logo .logo-wrapper {
    position: relative;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
}

.hero-logo .logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: 3px;
    text-transform: lowercase;
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
}

.hero-logo:hover .logo-wrapper {
    transform: translateX(10px) scale(1.1);
}

.hero-logo:hover .logo-text {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 20px rgba(255, 107, 107, 0.3);
}

.hero-logo .logo-underline {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
    transition: width 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.hero-logo .logo-wrapper:hover .logo-underline {
    width: 100%;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-style: italic;
    font-weight: 400;
    margin-bottom: 25px;
    opacity: 0;
    letter-spacing: 1px;
    animation: fadeInUp 1.2s cubic-bezier(0.23, 1, 0.320, 1) 0.5s forwards;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(70px, 9vw, 140px);
    font-weight: 800;
    line-height: 0.85;
    margin-bottom: 35px;
    background: linear-gradient(135deg, #fff 0%, #ff6b6b 30%, #4ecdc4 70%, #ffd93d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 300% 300%;
    animation: fadeInUp 1.2s cubic-bezier(0.23, 1, 0.320, 1) 1s forwards, gradientMove 8s ease-in-out infinite;
    opacity: 0;
    text-shadow: 0 0 40px rgba(255, 107, 107, 0.3);
    letter-spacing: -2px;
}

@keyframes gradientMove {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.hero-description {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 300;
    margin-bottom: 60px;
    opacity: 0;
    letter-spacing: 0.5px;
    line-height: 1.4;
    animation: fadeInUp 1.2s cubic-bezier(0.23, 1, 0.320, 1) 1.5s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.app-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease 2s forwards;
}

.app-btn {
    display: block;
    transition: transform 0.3s ease;
}

.app-btn:hover {
    transform: translateY(-5px) scale(1.05);
}

.app-btn img {
    height: 60px;
    width: auto;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0px) rotate(45deg);
    }

    40% {
        transform: translateY(-10px) rotate(45deg);
    }

    60% {
        transform: translateY(-5px) rotate(45deg);
    }
}

/* Premium Curved Join Button */
.join-circle-container {
    position: fixed;
    top: 40px;
    right: 40px;
    width: 112px;
    height: 112px;
    z-index: 1000;
    cursor: pointer;
    opacity: 0;
    animation: elegantEntrance 1.2s cubic-bezier(0.23, 1, 0.320, 1) 2.5s forwards;
}

@keyframes elegantEntrance {
    0% {
        opacity: 0;
        transform: scale(0.6) rotate(-180deg);
        filter: blur(10px);
    }

    60% {
        opacity: 0.8;
        transform: scale(1.1) rotate(-20deg);
        filter: blur(2px);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
        filter: blur(0px);
    }
}

.join-circle {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.join-circle-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2), transparent 50%),
        linear-gradient(135deg, rgba(78, 205, 196, 0.1), rgba(69, 183, 209, 0.1));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.join-circle-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    border-radius: 50%;
    background: conic-gradient(from 0deg, #4ecdc4, #45b7d1, #ff6b6b, #4ecdc4);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    animation: rotateGlow 8s linear infinite;
}

@keyframes rotateGlow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.curved-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: rotateText 20s linear infinite;
}

@keyframes rotateText {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.curved-text-element {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 1.8px;
    fill: #ffffff;
    text-transform: uppercase;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8));
    stroke: #4ecdc4;
    stroke-width: 0.8px;
    transition: fill 0.3s ease, stroke 0.3s ease, filter 0.3s ease;
}

.center-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.join-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: radial-gradient(circle, #4ecdc4, transparent);
    border-radius: 50%;
    opacity: 0;
}

.particle:nth-child(1) {
    top: 20%;
    left: 80%;
    animation: floatParticle 3s ease-in-out infinite;
}

.particle:nth-child(2) {
    top: 70%;
    left: 15%;
    animation: floatParticle 3s ease-in-out infinite 0.6s;
}

.particle:nth-child(3) {
    top: 40%;
    left: 90%;
    animation: floatParticle 3s ease-in-out infinite 1.2s;
}

.particle:nth-child(4) {
    top: 85%;
    left: 60%;
    animation: floatParticle 3s ease-in-out infinite 1.8s;
}

.particle:nth-child(5) {
    top: 10%;
    left: 30%;
    animation: floatParticle 3s ease-in-out infinite 2.4s;
}

@keyframes floatParticle {

    0%,
    100% {
        opacity: 0;
        transform: translateY(0px) scale(0.5);
    }

    50% {
        opacity: 1;
        transform: translateY(-20px) scale(1);
    }
}

/* Hover Effects */
.join-circle-container:hover .join-circle {
    transform: scale(1.1);
}

.join-circle-container:hover .join-circle-glow {
    opacity: 0.6;
}

.join-circle-container:hover .center-icon {
    transform: translate(-50%, -50%) scale(1.2) rotate(180deg);
    color: #000000;
}

.join-circle-container:hover .curved-text {
    animation-duration: 3s;
}

.join-circle-container:hover .curved-text-element {
    fill: #000000 !important;
    stroke: none !important;
    stroke-width: 0 !important;
    filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.8)) !important;
}

.join-circle-container:hover .particle {
    animation-duration: 1.5s;
}

/* Active State */
.join-circle-container:active .join-circle {
    transform: scale(0.95);
}

/* Responsive Design */
@media (max-width: 768px) {
    .join-circle-container {
        top: 20px;
        right: 20px;
        width: 88px;
        height: 88px;
    }

    .curved-text-element {
        font-size: 11px;
        font-weight: 900;
        letter-spacing: 1.2px;
        stroke-width: 1px;
    }

    .center-icon svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .join-circle-container {
        width: 80px;
        height: 80px;
    }

    .curved-text-element {
        font-size: 10px;
        letter-spacing: 1px;
    }
}

/* Onboarding Page Styles */
.onboarding-container {
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.onboarding-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 25%, #0f3460 50%, #533483 75%, #7209b7 100%);
    z-index: -2;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 107, 107, 0.1), transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(78, 205, 196, 0.1), transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 119, 198, 0.15), transparent 50%);
    animation: gradientPulse 8s ease-in-out infinite;
}

@keyframes gradientPulse {

    0%,
    100% {
        opacity: 0.8;
    }

    50% {
        opacity: 1;
    }
}

.particles-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(1px 1px at 20px 30px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 40px 70px, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 255, 255, 0.1), transparent);
    background-repeat: repeat;
    background-size: 150px 100px;
    animation: floatParticles 20s linear infinite;
}

@keyframes floatParticles {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-100px);
    }
}

.onboarding-header {
    position: relative;
    z-index: 10;
    padding: 30px;
}

.onboarding-logo {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.onboarding-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    z-index: 10;
}

.onboarding-content {
    max-width: 500px;
    width: 100%;
    text-align: center;
}

.welcome-section {
    margin-bottom: 50px;
}

.onboarding-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.2;
}

.onboarding-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.welcome-text {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.onboarding-form-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
}

.form-group label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #4ecdc4;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.2);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.checkbox-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.checkbox-label:hover {
    color: #fff;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    margin-right: 10px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked+.checkmark {
    background: linear-gradient(135deg, #4ecdc4, #45b7d1);
    border-color: #4ecdc4;
}

.checkbox-label input[type="checkbox"]:checked+.checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
}

.form-actions {
    margin-top: 40px;
}

.start-btn {
    position: relative;
    width: 100%;
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4, #45b7d1);
    background-size: 300% 300%;
    border: none;
    border-radius: 15px;
    padding: 20px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    animation: gradientFlow 3s ease-in-out infinite;
    box-shadow:
        0 15px 35px rgba(255, 107, 107, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.btn-text {
    display: block;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.btn-subtext {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 400;
}

.btn-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.start-btn:hover {
    transform: translateY(-3px);
    box-shadow:
        0 25px 50px rgba(255, 107, 107, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        0 0 40px rgba(78, 205, 196, 0.3);
}

.start-btn:hover .btn-glow {
    opacity: 1;
}

.onboarding-footer {
    position: relative;
    z-index: 10;
    padding: 30px;
    text-align: center;
}

.onboarding-footer p {
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .onboarding-title {
        font-size: 36px;
    }

    .onboarding-subtitle {
        font-size: 20px;
    }

    .onboarding-form-container {
        padding: 30px 25px;
        margin: 0 10px;
    }

    .checkbox-group {
        grid-template-columns: 1fr;
    }

    .onboarding-header {
        padding: 20px;
    }

    .onboarding-logo {
        font-size: 24px;
    }
}

/* Card Stack Section */
.card-stack-section {
    padding: 120px 0;
    background: #000;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-stack-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 107, 107, 0.15), transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(78, 205, 196, 0.15), transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 119, 198, 0.1), transparent 50%);
    animation: backgroundPulse 15s ease-in-out infinite;
    pointer-events: none;
}

@keyframes backgroundPulse {

    0%,
    100% {
        opacity: 0.7;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.card-stack-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 25px 35px, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(1px 1px at 75px 85px, rgba(255, 107, 107, 0.08), transparent),
        radial-gradient(1px 1px at 125px 45px, rgba(78, 205, 196, 0.08), transparent);
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: floatingDots 20s linear infinite;
    pointer-events: none;
}

@keyframes floatingDots {
    0% {
        transform: translateY(0px) translateX(0px);
    }

    100% {
        transform: translateY(-200px) translateX(-200px);
    }
}

.card-stack {
    position: relative;
    width: 800px;
    height: 600px;
    margin: 0 auto;
    perspective: 1000px;
    z-index: 2;
}

.card {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 25px;
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid transparent;
    background-clip: padding-box;
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.320, 1);
    cursor: pointer;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transform-style: preserve-3d;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 25px;
    padding: 1px;
    background: linear-gradient(45deg,
            rgba(255, 107, 107, 0.3) 0%,
            rgba(78, 205, 196, 0.3) 25%,
            rgba(255, 255, 255, 0.2) 50%,
            rgba(147, 51, 234, 0.3) 75%,
            rgba(255, 107, 107, 0.3) 100%);
    background-size: 300% 300%;
    animation: borderGlow 4s ease-in-out infinite;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    z-index: -1;
}

@keyframes borderGlow {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.card-1 {
    transform: translateZ(0) rotateY(0deg) translateX(0);
    z-index: 3;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.4);
}

.card-2 {
    transform: translateZ(-80px) rotateY(-12deg) translateX(150px);
    z-index: 2;
    opacity: 0.9;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
}

.card-3 {
    transform: translateZ(-160px) rotateY(-20deg) translateX(280px);
    z-index: 1;
    opacity: 0.8;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.card:hover {
    transform: translateY(-20px) scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.card:hover::before {
    animation-duration: 2s;
    background: linear-gradient(45deg,
            rgba(255, 107, 107, 0.6) 0%,
            rgba(78, 205, 196, 0.6) 25%,
            rgba(255, 255, 255, 0.4) 50%,
            rgba(147, 51, 234, 0.6) 75%,
            rgba(255, 107, 107, 0.6) 100%);
}

.card-1:hover {
    transform: translateZ(50px) rotateY(5deg) translateY(-20px) scale(1.05);
}

.card-2:hover {
    transform: translateZ(-30px) rotateY(-7deg) translateX(150px) translateY(-20px) scale(1.05);
}

.card-3:hover {
    transform: translateZ(-110px) rotateY(-15deg) translateX(280px) translateY(-20px) scale(1.05);
}

.card-content {
    padding: 60px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    position: relative;
    z-index: 2;
}

.card-text {
    margin: 30px 0;
    text-align: center;
}

.card-image {
    width: 280px;
    height: 160px;
    margin-bottom: 30px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.card:hover .card-image {
    transform: scale(1.08) rotateY(5deg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    filter: brightness(0.9) saturate(1.1);
}

.card:hover .card-image img {
    transform: scale(1.15);
    filter: brightness(1.1) saturate(1.3) contrast(1.1);
}

/* Remove card-image-2 styles as we're using single image layout */

.card-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 3.5vw, 42px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    color: #fff;
    letter-spacing: -1px;
    text-align: center;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
    justify-content: center;
}

.tag {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    backdrop-filter: blur(10px);
}

.tag:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

/* Particle Section */
.particle-section {
    position: relative;
    padding: 150px 0;
    background: #000;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

@media (max-width: 768px) {
    .particle-section {
        padding: 80px 20px;
        min-height: 80vh;
    }
}

.particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    background-image:
        radial-gradient(2px 2px at 25px 35px, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(1px 1px at 75px 85px, rgba(255, 107, 107, 0.08), transparent),
        radial-gradient(1px 1px at 125px 45px, rgba(78, 205, 196, 0.08), transparent);
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: floatingDots 20s linear infinite;
    pointer-events: none;
}

@keyframes particleMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-50px, -50px);
    }
}

.particle-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
}

.particle-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-style: italic;
    font-weight: 400;
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 1px;
}

.particle-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(60px, 7vw, 95px);
    font-weight: 900;
    line-height: 1.05;
    background: linear-gradient(135deg, #fff 0%, #ff6b6b 30%, #4ecdc4 70%, #ffd93d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 300% 300%;
    animation: gradientMove 6s ease-in-out infinite;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.2);
    letter-spacing: -2px;
}

/* Invite Section */
.invite-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.invite-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1540575467063-178a50c2df87?w=1920&h=1080&fit=crop') center/cover;
}

.invite-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.invite-content {
    text-align: center;
    z-index: 2;
    max-width: 600px;
}

.invite-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 45px;
    color: #fff;
    letter-spacing: 4px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.invite-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(70px, 9vw, 120px);
    font-weight: 900;
    line-height: 0.85;
    margin-bottom: 25px;
    color: #fff;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
    letter-spacing: -1px;
}

.invite-subtitle {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 26px;
    font-weight: 300;
    margin-bottom: 60px;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.5px;
}

/* Gallery Section */
.gallery-section {
    padding: 120px 0;
    background: #000;
    position: relative;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 70%, rgba(255, 107, 107, 0.1), transparent),
        radial-gradient(circle at 70% 30%, rgba(78, 205, 196, 0.1), transparent);
    pointer-events: none;
}

.gallery-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.gallery-header {
    text-align: center;
    margin-bottom: 80px;
}

.gallery-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #ff6b6b 50%, #4ecdc4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gallery-subtitle {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.5px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    grid-auto-rows: 300px;
    gap: 25px;
    width: 100%;
    align-items: stretch;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 100%;
    min-height: 300px;
}

.terms-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(25px);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.terms-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.05),
            transparent);
    transition: left 1s ease;
}

.terms-content:hover::before {
    left: 100%;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 1;
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item.wide {
    grid-column: span 2;
    grid-row: span 1;
}

.gallery-item.featured {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    filter: brightness(0.9) saturate(1.1);
}

.gallery-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(255, 107, 107, 0.2);
    border-color: rgba(255, 107, 107, 0.3);
}

.gallery-item:hover img {
    transform: scale(1.15);
    filter: brightness(1.1) saturate(1.3) contrast(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: #fff;
    padding: 30px 25px 25px;
    transform: translateY(100%);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
    backdrop-filter: blur(20px);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
}

.gallery-overlay p {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 107, 107, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    backdrop-filter: blur(10px);
    z-index: 2;
}

.gallery-item:hover::after {
    opacity: 1;
    transform: scale(1);
}

/* Footer */
.footer {
    background: #000;
    padding: 100px 0 0;
    position: relative;
    overflow: hidden;
}

.footer-grain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grainMove 20s linear infinite;
}

@keyframes grainMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-50px, -50px);
    }
}

.footer-content {
    position: relative;
    z-index: 2;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 80px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: 3px;
    text-transform: lowercase;
    position: relative;
    transition: all 0.3s ease;
}

.footer-brand::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
    transition: width 0.3s ease;
}

.footer-brand:hover::after {
    width: 100%;
}

.footer-brand:hover {
    color: rgba(255, 255, 255, 0.9);
}

.footer-tagline {
    margin-top: 15px;
}

.tagline-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 5px;
}

.tagline-highlight {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 500;
    font-style: italic;
    color: #ff6b6b;
    letter-spacing: 1px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: flex-end;
    text-align: right;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-link {
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 107, 0.3), transparent);
    transition: left 0.6s ease;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    border-color: #ff6b6b;
    color: #fff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.2);
}

.contact-email {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
}

.contact-email::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #4ecdc4;
    transition: width 0.3s ease;
}

.contact-email:hover {
    color: #4ecdc4;
}

.contact-email:hover::after {
    width: 100%;
}

.footer-bottom {
    padding: 40px 0;
}

.footer-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin-bottom: 30px;
    position: relative;
}

.footer-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #ff6b6b, transparent);
    animation: lineMove 4s ease-in-out infinite;
}

@keyframes lineMove {

    0%,
    100% {
        left: -30%;
    }

    50% {
        left: 100%;
    }
}

.footer-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links-bottom {
    display: flex;
    gap: 30px;
}

.footer-link {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #4ecdc4;
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: #4ecdc4;
}

.footer-link:hover::after {
    width: 100%;
}

.copyright {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.5px;
}

.footer-time {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
}

.timezone {
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 768px) {

    /* Ensure all sections have black background */
    body {
        background: #000 !important;
    }

    .hero,
    .card-stack-section,
    .particle-section,
    .invite-section,
    .gallery-section,
    .footer {
        background: #000 !important;
    }

    .hero-logo {
        top: 30px;
        left: 30px;
    }

    .hero-logo .logo-text {
        font-size: 28px;
        letter-spacing: 2px;
    }

    .page-logo {
        top: 20px;
        left: 20px;
    }

    .page-logo .logo-text {
        font-size: 24px;
        letter-spacing: 1px;
    }

    .footer-brand {
        font-size: 28px;
        letter-spacing: 2px;
    }

    .gallery-container {
        padding: 0 20px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        grid-auto-rows: 250px;
        gap: 20px;
    }

    .gallery-item {
        min-height: 250px;
    }

    .gallery-item.large,
    .gallery-item.wide,
    .gallery-item.featured {
        grid-column: span 1;
        grid-row: span 1;
    }

    .gallery-item.tall {
        grid-row: span 1;
    }

    .hero-title {
        font-size: 70px;
        letter-spacing: -1px;
    }

    .hero-description {
        font-size: 18px;
    }

    .card-stack {
        width: 100%;
        max-width: 600px;
        height: 500px;
    }

    .card {
        position: relative;
        margin-bottom: 40px;
        transform: none !important;
        opacity: 1 !important;
    }

    .card-1,
    .card-2,
    .card-3 {
        position: relative;
        transform: none !important;
        opacity: 1 !important;
    }

    .card:hover {
        transform: translateY(-10px) scale(1.02) !important;
    }

    .card-content {
        grid-template-columns: 1fr;
        padding: 25px;
        gap: 20px;
    }

    .card-text h2 {
        font-size: 32px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gallery-item.large,
    .gallery-item.wide {
        grid-column: span 1;
    }

    .footer-main {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-contact {
        align-items: center;
        text-align: center;
    }

    .footer-brand {
        font-size: 36px;
    }

    .footer-meta {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 100vh;
        padding: 80px 20px 60px;
        background: #000;
    }

    .hero-title {
        font-size: 50px;
    }

    .hero-subtitle {
        font-size: 22px;
    }

    .hero-logo {
        top: 20px;
        left: 20px;
    }

    .hero-logo .logo-text {
        font-size: 24px;
        letter-spacing: 1px;
    }

    .page-logo {
        top: 20px;
        left: 20px;
    }

    .page-logo .logo-text {
        font-size: 24px;
        letter-spacing: 1px;
    }

    .footer-brand {
        font-size: 24px;
        letter-spacing: 1px;
    }

    /* Card Stack Mobile Fixes */
    .card-stack-section {
        padding: 80px 20px;
        min-height: auto;
        background: #000 !important;
    }

    .card-stack {
        width: 100%;
        height: auto;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 30px;
        position: relative;
        z-index: 5;
    }

    .card {
        height: auto;
        min-height: 400px;
        margin-bottom: 0;
        position: relative;
        transform: none !important;
        opacity: 1 !important;
        background: rgba(20, 20, 20, 0.95) !important;
        border: 1px solid transparent;
        background-clip: padding-box;
    }

    .card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 20px;
        padding: 1px;
        background: linear-gradient(45deg,
                rgba(255, 107, 107, 0.4) 0%,
                rgba(78, 205, 196, 0.4) 25%,
                rgba(255, 255, 255, 0.3) 50%,
                rgba(147, 51, 234, 0.4) 75%,
                rgba(255, 107, 107, 0.4) 100%);
        background-size: 300% 300%;
        animation: borderGlow 3s ease-in-out infinite;
        mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        mask-composite: xor;
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        z-index: -1;
        border-radius: 20px;
        backdrop-filter: blur(10px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .card-1,
    .card-2,
    .card-3 {
        position: relative;
        transform: none !important;
        opacity: 1 !important;
        display: block !important;
        visibility: visible !important;
    }

    .card-content {
        padding: 40px 25px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        color: #fff;
    }

    .card-text {
        color: #fff !important;
    }

    .card-text h2 {
        font-size: 24px;
        line-height: 1.2;
        margin-bottom: 20px;
        color: #fff !important;
        font-weight: 700;
    }

    .card-image {
        width: 100%;
        max-width: 280px;
        height: 150px;
        margin-bottom: 25px;
        border-radius: 15px;
        overflow: hidden;
    }

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

    .card:hover {
        transform: translateY(-5px) scale(1.02) !important;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
    }

    .card:hover::before {
        animation-duration: 2s;
        background: linear-gradient(45deg,
                rgba(255, 107, 107, 0.6) 0%,
                rgba(78, 205, 196, 0.6) 25%,
                rgba(255, 255, 255, 0.4) 50%,
                rgba(147, 51, 234, 0.6) 75%,
                rgba(255, 107, 107, 0.6) 100%);
    }

    /* Invite Section Mobile */
    .invite-section {
        padding: 80px 20px;
        min-height: 80vh;
        background: #000 !important;
        position: relative;
        z-index: 1;
    }

    .invite-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.2);
        z-index: 2;
    }

    .invite-background {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #000;
        background-image:
            radial-gradient(circle at 20% 80%, rgba(255, 107, 107, 0.15), transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(78, 205, 196, 0.15), transparent 50%),
            radial-gradient(circle at 40% 40%, rgba(120, 119, 198, 0.1), transparent 50%);
        animation: backgroundPulse 15s ease-in-out infinite;
        z-index: 1;
    }

    .invite-content {
        padding: 0 20px;
        text-align: center;
        position: relative;
        z-index: 5;
        color: #fff;
    }

    .invite-logo {
        font-family: 'Playfair Display', serif;
        font-size: 24px;
        font-weight: 700;
        color: #fff;
        margin-bottom: 30px;
        letter-spacing: 2px;
        text-transform: lowercase;
    }

    .invite-title {
        font-size: 48px;
        margin-bottom: 20px;
        color: #fff !important;
        font-weight: 900;
        letter-spacing: 3px;
    }

    .invite-subtitle {
        font-size: 18px;
        margin-bottom: 40px;
        color: rgba(255, 255, 255, 0.9);
        font-style: italic;
    }

    .app-buttons {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .app-btn {
        display: block;
        width: 200px;
        height: auto;
    }

    .app-btn img {
        width: 100%;
        height: auto;
    }

    /* Gallery Mobile */
    .gallery-section {
        padding: 80px 0;
        background: #000 !important;
        position: relative;
        z-index: 1;
    }

    .gallery-header {
        text-align: center;
        margin-bottom: 50px;
        padding: 0 20px;
    }

    .gallery-header h2 {
        color: #fff !important;
        font-size: 36px;
        margin-bottom: 20px;
    }

    .gallery-header p {
        color: rgba(255, 255, 255, 0.8) !important;
        font-size: 16px;
    }

    .gallery-container {
        padding: 0 20px;
        position: relative;
        z-index: 5;
    }

    .gallery-grid {
        display: grid;
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
        gap: 20px;
    }

    .gallery-item {
        min-height: 250px;
        border-radius: 20px;
        overflow: hidden;
        position: relative;
        background: rgba(20, 20, 20, 0.8);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

    .gallery-item:hover img {
        transform: scale(1.1);
    }

    .gallery-item.large,
    .gallery-item.wide,
    .gallery-item.tall,
    .gallery-item.featured {
        grid-column: span 1;
        grid-row: span 1;
    }

    /* Particle Section Mobile */
    .particle-section {
        padding: 80px 20px;
        min-height: 80vh;
        background: #000 !important;
        position: relative;
        z-index: 1;
    }

    .particle-canvas {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #000;
        background-image:
            radial-gradient(2px 2px at 25px 35px, rgba(255, 255, 255, 0.1), transparent),
            radial-gradient(1px 1px at 75px 85px, rgba(255, 107, 107, 0.08), transparent),
            radial-gradient(1px 1px at 125px 45px, rgba(78, 205, 196, 0.08), transparent);
        background-repeat: repeat;
        background-size: 200px 200px;
        animation: floatingDots 20s linear infinite;
        z-index: 1;
    }

    .particle-content {
        padding: 0 20px;
        position: relative;
        z-index: 5;
        text-align: center;
    }

    .particle-subtitle {
        color: rgba(255, 255, 255, 0.7) !important;
        font-size: 16px;
        margin-bottom: 20px;
    }

    .particle-title {
        font-size: 36px;
        line-height: 1.2;
        margin-bottom: 20px;
        color: #fff !important;
        font-weight: 900;
        letter-spacing: 2px;
    }

    /* Footer Mobile */
    .footer {
        padding: 80px 20px 40px;
        background: #000 !important;
    }

    .footer-container {
        max-width: 100%;
        padding: 0;
    }

    .footer-main {
        flex-direction: column;
        gap: 40px;
        text-align: center;
        align-items: center;
    }

    .footer-brand {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .footer-tagline {
        text-align: center;
    }

    .tagline-text {
        font-size: 16px;
        color: rgba(255, 255, 255, 0.7);
    }

    .footer-contact {
        text-align: center;
        align-items: center;
    }

    .contact-info {
        margin-bottom: 30px;
    }

    .contact-email {
        font-size: 18px;
        color: #fff;
        margin-bottom: 10px;
    }

    .social-links {
        justify-content: center;
        gap: 20px;
    }

    .social-link {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .footer-links {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding-top: 40px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-meta {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-links-bottom {
        display: flex;
        gap: 30px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-links-bottom a {
        color: rgba(255, 255, 255, 0.7);
        font-size: 14px;
    }

    .terms-content,
    .contact-content {
        padding: 60px 15px 30px;
        max-width: 100%;
        margin: 0;
    }

    .terms-body,
    .contact-body {
        padding: 20px;
        margin: 0;
        border-radius: 15px;
    }

    .terms-header,
    .contact-header {
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .terms-title,
    .contact-title {
        font-size: 32px;
        margin-bottom: 12px;
        line-height: 1.2;
    }

    .terms-subtitle,
    .contact-subtitle {
        font-size: 15px;
        line-height: 1.4;
    }

    .terms-section {
        margin-bottom: 25px;
    }

    .terms-section h2 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .terms-section p {
        font-size: 14px;
        line-height: 1.5;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .terms-footer,
    .contact-footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .social-links-contact {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {

    /* Ensure all sections have black background on small screens */
    body {
        background: #000 !important;
    }

    .hero,
    .card-stack-section,
    .particle-section,
    .invite-section,
    .gallery-section,
    .footer {
        background: #000 !important;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-description {
        font-size: 16px;
    }

    .card-stack-section {
        padding: 60px 15px;
    }

    .card {
        min-height: 350px;
    }

    .card::before {
        border-radius: 20px;
    }

    .card-text h2 {
        font-size: 20px;
    }

    .card-image {
        max-width: 250px;
        height: 130px;
    }

    .particle-title {
        font-size: 28px;
    }

    .invite-title {
        font-size: 36px;
    }

    .gallery-container {
        padding: 0 15px;
    }

    .gallery-grid {
        grid-auto-rows: 200px;
        gap: 15px;
    }

    .app-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .app-btn {
        width: 180px;
    }

    .footer {
        padding: 60px 15px 30px;
        background: #000 !important;
    }

    .footer-brand {
        font-size: 24px;
    }

    .social-links {
        justify-content: center;
    }

    .terms-content,
    .contact-content {
        padding: 50px 10px 20px;
        max-width: 100%;
        margin: 0;
    }

    .terms-body,
    .contact-body {
        padding: 15px;
        margin: 0;
        border-radius: 12px;
    }

    .contact-form-card {
        padding: 20px;
    }

    .terms-header,
    .contact-header {
        margin-bottom: 25px;
        padding: 0 5px;
    }

    .terms-title,
    .contact-title {
        font-size: 24px;
        margin-bottom: 8px;
        line-height: 1.1;
    }

    .terms-subtitle,
    .contact-subtitle {
        font-size: 13px;
        line-height: 1.3;
    }

    .terms-section {
        margin-bottom: 20px;
    }

    .terms-section h2 {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .terms-section p {
        font-size: 13px;
        line-height: 1.4;
        margin-bottom: 15px;
    }

    .contact-card {
        padding: 20px;
        margin-bottom: 15px;
    }

    .contact-card h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .contact-card p {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .contact-email-link {
        font-size: 14px;
    }
}

/* Terms & Contact Pages */
.terms-page,
.contact-page {
    min-height: 100vh;
    position: relative;
    padding: 0;
    margin: 0;
}

.terms-background,
.contact-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
}

.terms-background::before,
.contact-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 107, 107, 0.12), transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(78, 205, 196, 0.12), transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 119, 198, 0.08), transparent 50%);
    animation: backgroundPulse 18s ease-in-out infinite;
}

.terms-background::after,
.contact-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 25px 35px, rgba(255, 255, 255, 0.08), transparent),
        radial-gradient(1px 1px at 75px 85px, rgba(255, 107, 107, 0.06), transparent),
        radial-gradient(1px 1px at 125px 45px, rgba(78, 205, 196, 0.06), transparent);
    background-repeat: repeat;
    background-size: 180px 180px;
    animation: floatingDots 22s linear infinite;
}

.terms-overlay,
.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
}

.terms-particles,
.contact-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(1px 1px at 30px 40px, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(1px 1px at 80px 90px, rgba(255, 107, 107, 0.08), transparent),
        radial-gradient(1px 1px at 130px 50px, rgba(78, 205, 196, 0.08), transparent);
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: floatingDots 25s linear infinite;
}

.page-logo {
    position: absolute;
    top: 50px;
    left: 50px;
    z-index: 10;
    cursor: pointer;
}

.page-logo a {
    text-decoration: none;
}

.page-logo .logo-wrapper {
    position: relative;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
}

.page-logo .logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 3px;
    text-transform: lowercase;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
}

.page-logo:hover .logo-wrapper {
    transform: translateX(10px) scale(1.1);
}

.page-logo:hover .logo-text {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 20px rgba(255, 107, 107, 0.3);
}

.terms-content,
.contact-content {
    position: relative;
    z-index: 5;
    max-width: 1000px;
    margin: 0 auto;
    padding: 120px 40px 60px;
    color: #fff;
}

.terms-header,
.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.terms-title,
.contact-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #ff6b6b 50%, #4ecdc4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.terms-subtitle,
.contact-subtitle {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.5px;
}

.terms-body {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.terms-section {
    margin-bottom: 40px;
}

.terms-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
}

.terms-section p {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.terms-link {
    color: #4ecdc4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.terms-link:hover {
    color: #fff;
}

.terms-list>li {
    list-style-type: none;
}

.terms-footer,
.contact-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.last-updated,
.response-time {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.back-link {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    color: #4ecdc4;
    text-decoration: none;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: #fff;
    transform: translateX(-5px);
}

/* Contact Page Specific */
.contact-body {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.contact-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}

.contact-card p {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

.contact-email-link {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    color: #4ecdc4;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-email-link:hover {
    color: #fff;
}

.contact-form-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 30px;
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-bottom-color: #4ecdc4;
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 0;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-group input:focus+label,
.form-group textarea:focus+label,
.form-group input:valid+label,
.form-group textarea:valid+label {
    top: -10px;
    font-size: 12px;
    color: #4ecdc4;
}

.submit-btn {
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.3);
}

.contact-social {
    text-align: center;
    margin-bottom: 40px;
}

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

.text-left {
    text-align: left;
}

.highlight-text {
    text-align: center;
}

.highlight-text h2 {
    font-weight: bolder;
    font-size: 30px;
}

.highlight-text p {
    font-size: 18px;
}

.content-box {
    background: rgb(86 86 86 / 85%);
    color: #222;
    border-radius: 15px;
    border: 2px solid #fff;
    padding: 32px 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    font-size: 1.15rem;
}

.contact-social h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #fff;
    margin-bottom: 20px;
}

.social-links-contact {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.social-link-contact {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.social-link-contact:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateY(-2px);
}

/* Location Cards */
.contact-locations {
    margin-bottom: 50px;
    text-align: center;
}

.contact-locations h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: #fff;
    margin-bottom: 30px;
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.location-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-align: left;
}

.location-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.location-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    text-align: center;
}

.location-details p {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    line-height: 1.5;
}

.location-details strong {
    color: #4ecdc4;
    font-weight: 600;
}

.location-details a {
    color: #4ecdc4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.location-details a:hover {
    color: #fff;
}

.image-section {
    margin-bottom: 60px;
}

.image-section>img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid #353535;
}

/* Mobile styles for location cards */
@media (max-width: 768px) {
    .location-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .location-card {
        padding: 20px;
    }

    .location-card h4 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .location-details p {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .contact-locations h3 {
        font-size: 22px;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .location-grid {
        gap: 15px;
    }

    .location-card {
        padding: 15px;
    }

    .location-card h4 {
        font-size: 16px;
    }

    .location-details p {
        font-size: 12px;
    }

    .contact-locations h3 {
        font-size: 20px;
    }
}