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

html, body { height: 100%; }

body {
    font-family: 'Montserrat', sans-serif;
    overflow: hidden;
    background: #000;
}

.container {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#bgVideo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
    z-index: 2;
}

/* subtle noise/texture */
.overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.05;
    background-image:
      radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,.5) 50%, transparent 51%),
      radial-gradient(1px 1px at 30% 80%, rgba(255,255,255,.35) 50%, transparent 51%),
      radial-gradient(1px 1px at 70% 40%, rgba(255,255,255,.4) 50%, transparent 51%),
      radial-gradient(1px 1px at 90% 60%, rgba(255,255,255,.3) 50%, transparent 51%);
    mix-blend-mode: overlay;
}

.content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    width: min(92vw, 800px);
    padding: clamp(16px, 4vw, 32px);
    padding-top: calc(clamp(16px, 4vw, 32px) + env(safe-area-inset-top));
    padding-bottom: calc(clamp(16px, 4vw, 32px) + env(safe-area-inset-bottom));
    padding-left: calc(clamp(16px, 4vw, 32px) + env(safe-area-inset-left));
    padding-right: calc(clamp(16px, 4vw, 32px) + env(safe-area-inset-right));
    animation: fadeInUp 1.2s ease-out;
}

.brand-section {
    margin-bottom: 2rem;
    animation: fadeInUp 1.5s ease-out 0.3s both;
}

.brand-name {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: none;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    animation: brandGlow 3s ease-in-out infinite;
}

.logo-container {
    margin-bottom: 0;
    animation: logoFloat 3s ease-in-out infinite;
}

.logo {
    max-width: 140px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(255, 255, 255, 0.3));
    transition: transform .3s ease;
}

.title {
    font-size: clamp(0.9rem, 2.8vw, 1.2rem);
    font-weight: 300;
    margin-bottom: .8rem;
    background: linear-gradient(45deg, #ffffff, #f0f0f0, #ffffff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite, glowPulse 4s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeIn 2s ease-out .5s both;
}

.divider {
    width: 60%;
    height: 1px;
    margin: 1.2rem auto 1.6rem;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent);
}

.contact-info {
    margin-bottom: 1.6rem;
    animation: fadeIn 1.4s ease-out 0.6s both;
}

/* contact item base tweaks */
.contact-item {
    display: inline-flex;
    align-items: center;
    margin: 0 .6rem;
    padding: .7rem 1.2rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: all 0.3s ease;
    gap: .6rem;
}

.contact-item:hover { background: rgba(255,255,255,0.16); transform: translateY(-3px); }
.contact-item:active { transform: scale(.98); }

.contact-item i {
    margin-right: .5rem;
    font-size: 1.1rem;
    color: #ffffff;
}

.contact-item a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 300;
    transition: color 0.3s ease;
}

.contact-item a:hover { color: #f0f0f0; }

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-element {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
    animation-delay: var(--delay);
}

.floating-element:nth-child(1) { top: 20%; left: 10%; }
.floating-element:nth-child(2) { top: 60%; left: 80%; }
.floating-element:nth-child(3) { top: 80%; left: 20%; }
.floating-element:nth-child(4) { top: 30%; left: 70%; }

/* Animations */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(50px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes logoFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@keyframes gradientShift { 0%,100%{background-position:0% 50%} 50%{background-position:100% 50%} }
@keyframes glowPulse { 0%,100%{ text-shadow:0 0 30px rgba(255,255,255,.45);} 50%{ text-shadow:0 0 60px rgba(255,255,255,.7);} }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); opacity: .6; } 50% { transform: translateY(-20px) rotate(180deg); opacity: 1; } }
@keyframes brandGlow { 0%,100%{ text-shadow:0 0 20px rgba(255,255,255,.3);} 50%{ text-shadow:0 0 30px rgba(255,255,255,.5);} }

/* Responsive */
@media (max-width: 768px) {
    .overlay { background: linear-gradient(135deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.6) 50%, rgba(0,0,0,.88) 100%); }
    .content { padding: clamp(20px, 6vw, 32px); }
    .brand-name { font-size: clamp(1.3rem, 6vw, 1.8rem); margin-bottom: 1.2rem; }
    .logo { max-width: clamp(90px, 22vw, 120px); }
    .title { font-size: clamp(0.7rem, 3.5vw, 1rem); }
    .divider { width: 80%; margin: 1.5rem auto 2rem; }

    /* Centering fix */
    .contact-info { 
        display: flex; 
        flex-direction: column; 
        align-items: center; 
        justify-content: center;
        gap: 14px; 
        width: 100%;
    }
    .contact-item { 
        width: min(100%, 420px); 
        margin: 0 auto; 
        padding: .9rem 1.1rem; 
        border-radius: 18px; 
    }
    .contact-item a { font-size: 1rem; }
    .contact-item i { font-size: 1rem; }
}

@media (max-width: 480px) {
    .content { padding: clamp(24px, 8vw, 32px); }
    .brand-name { font-size: clamp(1.1rem, 7vw, 1.5rem); margin-bottom: 1rem; }
    .title { font-size: clamp(0.6rem, 4.5vw, 0.8rem); }

    /* Centering fix */
    .contact-info { gap: 12px; width: 100%; }
    .contact-item {
        width: min(100%, 360px);
        margin: 0 auto;
        padding: .8rem 1rem;
        border-radius: 14px;
        background: rgba(15, 15, 15, 0.55);
        border: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    }
    .contact-item a { font-size: .95rem; }
    .contact-item i { font-size: .95rem; }
    .divider { width: 85%; margin: 1.4rem auto 1.8rem; }
}

@media (max-width: 360px) {
    .content { padding: clamp(28px, 10vw, 32px); }
    .brand-name { font-size: clamp(1rem, 8vw, 1.3rem); }
    .title { font-size: clamp(0.5rem, 5.5vw, 0.7rem); }

    /* Centering fix */
    .contact-item { width: 100%; margin: 0 auto; padding: .75rem .9rem; border-radius: 12px; }
    .contact-item a { font-size: .92rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
    .floating-elements { display: none; }
}
