/* Landing Page Styles - LP Universe */

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #f39c12;
    --text-light: #ffffff;
    --text-dark: #2c3e50;
}

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

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    overflow-x: hidden;
}

/* Animated Background */
.landing-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: #0a1628;
    overflow: hidden;
}

.landing-background.image-bg {
    background-image: url('/assets/img/hyperspace.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.landing-background.gradient-bg {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #7e8ba3 100%);
    animation: gradientShift 10s ease infinite;
}

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

/* Clean Universe Background */
.landing-background.tunnel-bg {
    background: linear-gradient(135deg, #0a0e27 0%, #141b34 50%, #1a2744 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
}

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

/* Subtle overlay for depth */
.landing-background.tunnel-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(10, 22, 40, 0.1) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Custom background image with dark overlay for readability */
.landing-background:not(.tunnel-bg):not(.gradient-bg)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
    pointer-events: none;
}

/* Subtle static stars */
.tunnel-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 60%, white, transparent),
        radial-gradient(1px 1px at 33% 80%, white, transparent),
        radial-gradient(2px 2px at 10% 90%, white, transparent),
        radial-gradient(1px 1px at 15% 20%, white, transparent),
        radial-gradient(2px 2px at 75% 85%, white, transparent);
    background-size: 200% 200%;
    opacity: 0.3;
    z-index: 2;
    pointer-events: none;
}

/* Main Container */
.landing-container {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Share Buttons at Top */
.share-buttons {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 40px;
    z-index: 100;
}

.share-btn {
    width: 80px;
    height: 80px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

.share-btn:hover {
    transform: scale(1.2);
    color: rgba(255, 255, 255, 0.8);
}

.share-btn i {
    font-size: 25px;
}

/* Header Image */
.header-image-container {
    margin: 40px 0 10px;
    max-width: 100px;
    width: 100%;
}

.header-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

/* Subtitles */
.subtitles {
    text-align: center;
    margin: 15px 0 10px;
    color: white;
}

.subtitle {
    font-size: 0.9rem;
    font-weight: 500;
    margin: 25px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.subtitle:nth-child(1) {
    animation-delay: 0.1s;
}

.subtitle:nth-child(2) {
    animation-delay: 0.2s;
}

.subtitle:nth-child(3) {
    animation-delay: 0.3s;
}

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

/* Links Section */
.links-section {
    width: 100%;
    max-width: 600px;
    margin: 20px 0 10px 0;
}

.link-item-wrapper {
    margin: 15px 0;
}

.link-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    animation: shakeButton 3s ease-in-out infinite;
}

.link-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    pointer-events: none;
}

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

.link-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
    animation: none;
}

.link-content {
    flex: 1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.link-content i {
    margin-right: 10px;
}

.link-share-btn {
    background: transparent;
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    position: relative;
    z-index: 2;
}

.link-share-btn:hover {
    transform: scale(1.2);
    color: rgba(255, 255, 255, 0.8);
}

.link-share-btn i {
    font-size: 18px;
}

/* Shake Animation - Tipping/Rocking effect */
@keyframes shakeButton {
    0%, 80%, 100% {
        transform: rotate(0deg);
    }
    82% {
        transform: rotate(2deg);
    }
    84% {
        transform: rotate(-2deg);
    }
    86% {
        transform: rotate(2deg);
    }
    88% {
        transform: rotate(-2deg);
    }
    90% {
        transform: rotate(1.5deg);
    }
    92% {
        transform: rotate(-1.5deg);
    }
    94% {
        transform: rotate(1deg);
    }
    96% {
        transform: rotate(-1deg);
    }
    98% {
        transform: rotate(0.5deg);
    }
    99% {
        transform: rotate(0deg);
    }
}

/* Carousel Section */
.carousel-section {
    width: 100%;
    max-width: 600px;
    margin: 10px 0 15px 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.swiper {
    width: 100%;
    height: 600px;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* App Store Section */
.app-store-section {
    width: 100%;
    max-width: 600px;
    margin: -20px 0 10px 0;
}

.app-store-item-wrapper {
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.app-store-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 18px 24px;
    background: #2c2c2c;
    border: none;
    border-radius: 12px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.app-store-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
    pointer-events: none;
}

.app-store-item:hover::before {
    left: 100%;
}

.app-store-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    background: #333333;
}

/* White rounded square container for logo - standalone outside link */
.app-logo-container {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.app-logo-container i {
    font-size: 28px;
    color: #2c2c2c;
}

.app-logo-container .link-image {
    width: 70px;
    height: 70px;
    background-size: 34px;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
}

.app-store-item i {
    font-size: 28px;
    color: #2c2c2c;
}

.app-store-item .link-image {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.app-store-text {
    flex: 1;
    text-align: left;
    color: white;
    font-weight: 600;
}

/* Social Media Section */
.social-section {
    width: 100%;
    max-width: 600px;
    margin: 10px 0 40px 0;
}

.social-title {
    text-align: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 6px;
    border-radius: 6px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.social-link i {
    font-size: 22px;
    margin-right: 12px;
}

.social-link.facebook {
    background: linear-gradient(135deg, #1877f2 0%, #0c63d4 100%);
}

.social-link.instagram {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.twitter {
    background: linear-gradient(135deg, #1da1f2 0%, #0c8bd9 100%);
}

.social-link.telegram {
    background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
}

.social-link.whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #1faa52 100%);
}

.social-link.youtube {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
}

.social-link.tiktok {
    background: linear-gradient(135deg, #000000 0%, #ff0050 50%, #00f2ea 100%);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    margin: 10% auto;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    z-index: 10;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #3498db;
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #2980b9;
    transform: rotate(90deg);
}

#qrcode {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

/* Share Modal Specific Styles */
.share-modal-content {
    max-width: 450px;
    padding: 0;
    overflow: hidden;
}

.share-modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 25px 30px;
    border-bottom: 1px solid #e5e7eb;
}

.share-modal-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.share-modal-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

/* URL Container */
.share-url-container {
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #e5e7eb;
}

.share-url-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    color: #2c3e50;
    background: #f9fafb;
}

.share-copy-icon {
    width: 45px;
    height: 45px;
    background: #f3f4f6;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #6b7280;
}

.share-copy-icon:hover {
    background: #3498db;
    border-color: #3498db;
    color: white;
}

.share-copy-icon.copied {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

/* Share Options */
.share-options {
    padding: 10px 0;
}

.share-option {
    display: flex;
    align-items: center;
    padding: 18px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f3f4f6;
}

.share-option:hover {
    background: #f9fafb;
}

.share-option:last-child {
    border-bottom: none;
}

.share-option-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: #f3f4f6;
    color: #6b7280;
    margin-right: 15px;
}

.share-option-icon.facebook-icon {
    background: #1877f2;
    color: white;
}

.share-option-icon.telegram-icon {
    background: #0088cc;
    color: white;
}

.share-option-icon.twitter-icon {
    background: #1da1f2;
    color: white;
}

.share-option-icon.linkedin-icon {
    background: #0077b5;
    color: white;
}

.share-option-icon.email-icon {
    background: #ea4335;
    color: white;
}

.share-option-text {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    color: #2c3e50;
}

.share-option-arrow {
    color: #9ca3af;
    font-size: 14px;
}

/* Old copy button style (for QR modal) */
.copy-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .landing-container {
        padding: 1rem 0.5rem;
    }

    .header-image-container {
        margin-top: 60px;
    }

    .subtitle {
        font-size: 1rem;
    }

    .link-item {
        font-size: 1rem;
        padding: 15px 20px;
    }
    
    .link-content {
        font-size: 0.95rem;
    }
    
    .link-share-btn {
        width: 36px;
        height: 36px;
        margin-left: 10px;
    }
    
    .link-share-btn i {
        font-size: 16px;
    }
    
    .app-store-item {
        font-size: 1rem;
        padding: 15px 20px;
    }
    
    .app-logo-container {
        width: 45px;
        height: 45px;
        margin-right: 12px;
    }
    
    .app-store-item i {
        font-size: 24px;
    }
    
    .app-store-item .link-image {
        width: 35px;
        height: 35px;
    }

    .swiper {
        height: 300px;
    }

    .share-buttons {
        top: 10px;
        right: 10px;
    }
    
    .modal-content {
        width: 95%;
        margin: 5% auto;
        padding: 20px;
    }
    
    .share-modal-header {
        padding: 20px 20px;
    }
    
    .share-modal-logo {
        width: 35px;
        height: 35px;
    }
    
    .share-modal-title {
        font-size: 1.1rem;
    }
    
    .share-url-container {
        padding: 15px 20px;
    }
    
    .share-url-input {
        font-size: 13px;
        padding: 10px 12px;
    }
    
    .share-copy-icon {
        width: 40px;
        height: 40px;
    }
    
    .share-option {
        padding: 15px 20px;
    }
    
    .share-option-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
        margin-right: 12px;
    }
    
    .share-option-text {
        font-size: 14px;
    }
    
    .modal-close {
        width: 30px;
        height: 30px;
        font-size: 20px;
        top: 12px;
        right: 15px;
    }
}

