/*
Theme Name: Gym Corelab Coming Soon
Author: Always Ahead
Description: V44 - Android & Mobile fully synced (Animation enabled, Dual Video).
Version: 44.0
*/

/* --- FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&family=Montserrat:wght@400;500;600;700;800;900&display=swap');

:root {
    --bg-dark: #0a0a0a;            
    --grey-accent: #c6cbd1;        
    --text-main: #ffffff; 
    --text-muted: #999999;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; 
    position: relative;
    overflow-x: hidden; 
}

/* --- GREY GLOW --- */
.mint-glow {
    position: absolute;
    top: 0%; 
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1200px;
    height: 1200px;
    background: radial-gradient(
        circle, 
        rgba(160, 159, 163, 0.45) 0%,   
        rgba(198, 198, 198, 0.3) 25%,   
        rgba(198, 198, 198, 0.05) 60%,   
        transparent 80%                
    );
    filter: blur(20px);
    z-index: 0;
    pointer-events: none;
}

/* --- TOP HEADER --- */
.top-header {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1600px;
    padding: 40px 60px;
    display: flex;
    justify-content: flex-end; 
    align-items: center;
    margin-bottom: 20px;
}

.logo-container { display: none; }

.lang-switch {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;    
    font-size: 1.3rem;
    letter-spacing: 1px;
}

.lang-switch a {
    text-decoration: none;
    margin: 0 8px;
    transition: color 0.3s;
}

/* --- MAIN CIRCLE CONTAINER --- */
main.circle-container {
    z-index: 1;
    text-align: center;
    position: relative;
    
    margin-top: 10px; 
    width: 800px;  
    height: 900px; 
    border-radius: 50%;
    background: transparent;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
    gap: 10px; 
    
    padding: 40px;
    padding-bottom: 160px; 
}

/* --- GRADIENT BORDER --- */
main.circle-container::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%; 
    padding: 6px; 
    background: linear-gradient(
        to bottom,
        #ffffff 0%,                  
        rgba(255,255,255,0.9) 20%,   
        rgba(255,255,255,0) 60%      
    );
    -webkit-mask: 
       linear-gradient(#fff 0 0) content-box, 
       linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}

/* --- VIDEO INTRO STYLES --- */
.intro-video {
    width: 480px;
    max-width: 100%;
    height: auto;
    display: block;
    outline: none;
    border: none;
    object-fit: contain;
    margin: 0;
    margin-bottom: 15px; 
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* --- TYPEWRITER SUBTITLE --- */
.subtitle-container {
    display: inline-block;
    margin-bottom: 30px; 
    min-height: 1.5em;
}

.typewriter {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.9rem; 
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff; 
    line-height: 1.1;
    
    overflow: hidden; 
    border-right: 3px solid #ffffff; 
    white-space: nowrap; 
    margin: 0 auto; 
    width: 0;
    
    /* 4s Delay Animation */
    animation: 
        typing 3.5s steps(40, end) 4s forwards,
        blink-caret .75s step-end infinite;
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: #ffffff; } 
}

/* --- MAIN TITLE (Fitness Loading) --- */
h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.0rem; 
    font-weight: 700;
    letter-spacing: 4px; 
    color: #fff;
    line-height: 1;
    text-transform: uppercase;
    margin: 0;
    opacity: 0.9;
}

/* --- ADDRESS TEXT --- */
.address-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    color: #e0e0e0;
    font-weight: 500;
    opacity: 0.95;
    margin: 0;
    margin-top: 15px; 
}

/* --- EMAIL TEXT --- */
.email-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    margin: 0;
    margin-top: 10px;
    opacity: 0.9;
}

.email-text a {
    color: var(--mint-accent);
    text-decoration: none;
    transition: opacity 0.25s ease;
}

.email-text a:hover {
    opacity: 0.8;
}

/* --- DOTS ANIMATION --- */
.dot {
    display: inline-block;
    animation: bounce 1.4s infinite ease-in-out both;
    margin-left: 6px;
    color: #fff; 
}
.dot:nth-child(1) { animation-delay: -0.32s; }
.dot:nth-child(2) { animation-delay: -0.16s; }
.dot:nth-child(3) { animation-delay: 0s; }
@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); opacity: 0.3; }
    40% { transform: scale(1); opacity: 1; }
}

/* --- SOCIAL ICONS --- */
.social-icons {
    display: flex;
    gap: 25px;
    justify-content: center;
    margin: 0;
    margin-top: 20px; 
}

.social-icon {
    width: 60px;
    height: 60px;
    border: 2px solid rgba(255,255,255,0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.social-icon svg {
    width: 28px;
    height: 28px;
    fill: #fff;
    transition: fill 0.3s ease;
}

.social-icon:hover {
    background: var(--mint-accent);
    border-color: var(--mint-accent);
    transform: translateY(-3px);
}

.social-icon:hover svg {
    fill: var(--bg-dark);
}

/* Responsive Scaling */
@media (max-width: 900px) {
    main.circle-container {
        width: 650px;
        height: 700px;
        padding-bottom: 120px;
    }
    .typewriter { font-size: 1.6rem; } 
    h1 { font-size: 0.9rem; }
    .intro-video { width: 350px; }
}

/* --- MOBILE SPECIFIC FIXES (V44) --- */
@media (max-width: 600px) {
    main.circle-container { 
        width: 95vw; 
        height: 95vw; 
        max-width: 500px; 
        max-height: 550px; 
        
        padding-top: 60px; 
        margin-top: 60px; 
        gap: 8px; 
        padding-bottom: 60px;
    }
    
    .typewriter { 
        font-size: 0.85rem; 
        letter-spacing: 0.5px; 
        white-space: nowrap; 
        border: none; 
        width: 0; 
        margin: 0 auto;
        border-right: 2px solid #ffffff; 
        
        /* ENABLED ANIMATION ON MOBILE (4s Delay) */
        animation: 
            typing 3.5s steps(40, end) 4s forwards,
            blink-caret .75s step-end infinite;
            
        text-align: center; 
        line-height: 1.2; 
    } 
    
    h1 { font-size: 0.7rem; letter-spacing: 2px; }
    .subtitle-container { margin-bottom: 15px; } 
    .address-text { font-size: 0.9rem; }
    .intro-video { width: 200px; margin-bottom: 10px; } 
    .social-icon { width: 40px; height: 40px; }
    .social-icon svg { width: 18px; height: 18px; }
}
