/* ===== Captax Runner - Modern Coming Soon Theme ===== */

/* CSS Variables - Fresh Color Palette */
:root {
    --primary-color: #FF6B6B;
    --primary-dark: #EE5A6F;
    --secondary-color: #4ECDC4;
    --accent-color: #FFE66D;
    --success-color: #95E1D3;
    
    --dark-bg: #1A1A2E;
    --darker-bg: #0F0F1E;
    --card-bg: #16213E;
    --card-border: #2A3A5C;
    
    --text-primary: #FFFFFF;
    --text-secondary: #B8B8D1;
    --text-muted: #7A7A9A;
    
    --gradient-primary: linear-gradient(135deg, #FF6B6B 0%, #EE5A6F 100%);
    --gradient-secondary: linear-gradient(135deg, #4ECDC4 0%, #44A08D 100%);
    --gradient-accent: linear-gradient(135deg, #FFE66D 0%, #FFD93D 100%);
    --gradient-dark: linear-gradient(180deg, #1A1A2E 0%, #0F0F1E 100%);
    --gradient-mesh: radial-gradient(circle at 20% 50%, rgba(255, 107, 107, 0.15) 0%, transparent 50%),
                     radial-gradient(circle at 80% 80%, rgba(78, 205, 196, 0.15) 0%, transparent 50%),
                     radial-gradient(circle at 40% 20%, rgba(255, 230, 109, 0.1) 0%, transparent 50%);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(255, 107, 107, 0.4);
    --shadow-glow-secondary: 0 0 40px rgba(78, 205, 196, 0.4);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--dark-bg);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    background: var(--gradient-dark);
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--primary-color);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary-color);
    bottom: -150px;
    right: -150px;
    animation-delay: 5s;
}

.shape-3 {
    width: 350px;
    height: 350px;
    background: var(--accent-color);
    top: 50%;
    right: -100px;
    animation-delay: 10s;
}

.shape-4 {
    width: 300px;
    height: 300px;
    background: var(--success-color);
    bottom: 20%;
    left: 10%;
    animation-delay: 15s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

/* Brand Logo */
.brand-logo {
    margin-bottom: 2rem;
}

.logo-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    background: var(--gradient-primary);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
    position: relative;
    animation: pulse-glow 3s ease-in-out infinite;
}

.logo-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: var(--gradient-primary);
    border-radius: 28px;
    opacity: 0.3;
    filter: blur(12px);
    z-index: -1;
    animation: pulse-glow 3s ease-in-out infinite;
}

.logo-icon i {
    font-size: 3rem;
    color: white;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 30px rgba(255, 107, 107, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 50px rgba(255, 107, 107, 0.6);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Main Title */
.main-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: clamp(3rem, 10vw, 6rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.title-line {
    display: block;
    color: var(--text-primary);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.title-line.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

/* Subtitle */
.subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

/* Coming Soon Badge */
.coming-soon-badge {
    display: inline-block;
    position: relative;
    margin: 2rem 0;
}

.badge-text {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
}

.badge-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50px;
    background: var(--gradient-primary);
    opacity: 0.3;
    animation: pulse-badge 2s ease-in-out infinite;
    z-index: 1;
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.1;
    }
}

/* Contact Section */
.contact-section {
    margin-top: 3rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 107, 107, 0.3);
    border-radius: 50px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.contact-link:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
    color: white;
}

.contact-link:hover::before {
    opacity: 1;
}

.contact-link i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.contact-link:hover i {
    transform: scale(1.2) rotate(10deg);
}

/* Social Links */
.social-links {
    margin-top: 3rem;
}

.social-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-icon:hover {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-glow);
}

/* Footer */
.footer {
    position: relative;
    z-index: 1;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(15, 15, 30, 0.5);
    backdrop-filter: blur(10px);
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s both;
}

.animate-fade-in-delay-3 {
    animation: fadeIn 1s ease-out 0.9s both;
}

.animate-slide-up {
    animation: slideUp 1s ease-out 0.2s both;
}

.animate-slide-up-delay {
    animation: slideUp 1s ease-out 0.5s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .main-title {
        font-size: clamp(2.5rem, 8vw, 4.5rem);
    }
    
    .logo-icon {
        width: 80px;
        height: 80px;
    }
    
    .logo-icon i {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: clamp(2rem, 7vw, 3.5rem);
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .contact-link {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .logo-icon {
        width: 70px;
        height: 70px;
    }
    
    .logo-icon i {
        font-size: 2rem;
    }
    
    .bg-shape {
        filter: blur(60px);
    }
    
    .shape-1, .shape-2, .shape-3, .shape-4 {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 576px) {
    .main-title {
        font-size: 2rem;
    }
    
    .contact-link {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem 1.5rem;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .badge-text {
        padding: 0.625rem 1.5rem;
        font-size: 0.8rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Loading Animation */
body.loaded .animate-fade-in,
body.loaded .animate-slide-up,
body.loaded .animate-fade-in-delay,
body.loaded .animate-fade-in-delay-2,
body.loaded .animate-fade-in-delay-3 {
    animation-play-state: running;
}
