/* ============================================================================
   CANDY AI - PREMIUM VISUAL DESIGN
   Production-Ready CSS for Hostinger Shared Hosting
   ============================================================================ */

:root {
    --primary-pink: #ff1493;
    --primary-pink-alt: #e85ba7;
    --secondary-pink: #ff69b4;
    --accent-cyan: #00d9ff;
    --accent-purple: #9d4edd;
    --accent-magenta: #ff00ff;
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-card: #1a1a2e;
    --bg-light: #16213e;
    --text-light: #ffffff;
    --text-muted: #b0b0b0;
    --border-color: #333333;
    --border-glow: rgba(255, 20, 147, 0.3);
    --gradient-primary: linear-gradient(135deg, #ff1493 0%, #9d4edd 100%);
    --gradient-secondary: linear-gradient(135deg, #ff1493 0%, #00d9ff 100%);
    --gradient-cyan: linear-gradient(135deg, #00d9ff 0%, #0099cc 100%);
    --shadow-pink: 0 0 20px rgba(255, 20, 147, 0.3);
    --shadow-cyan: 0 0 20px rgba(0, 217, 255, 0.2);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.6);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #050505 0%, #0a0a1a 50%, #1a0a1a 100%);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ============================================================================
   NAVBAR
   ============================================================================ */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 20, 147, 0.2);
    z-index: 1000;
    padding: 18px 0;
    box-shadow: 0 8px 32px rgba(255, 20, 147, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 26px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.nav-menu {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-pink);
    text-shadow: 0 0 10px rgba(255, 20, 147, 0.5);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

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

.btn-primary, .btn-secondary {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 0 15px rgba(255, 20, 147, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 20, 147, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-pink);
    border: 2px solid var(--primary-pink);
}

.btn-secondary:hover {
    background: rgba(255, 20, 147, 0.1);
    box-shadow: 0 0 15px rgba(255, 20, 147, 0.3);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-pink);
    transition: var(--transition);
}

/* ============================================================================
   HERO SECTION
   ============================================================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 70px;
    padding: 60px 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 20, 147, 0.8) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.6) 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
    animation: float 10s ease-in-out infinite 2s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(157, 78, 221, 0.5) 0%, transparent 70%);
    top: 50%;
    right: 10%;
    animation: float 12s ease-in-out infinite 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(30px); }
}

#background-animation {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.badge-new {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(255, 20, 147, 0.15);
    border: 1px solid rgba(255, 20, 147, 0.3);
    border-radius: 25px;
    color: var(--primary-pink);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.gradient-text {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.btn-primary-xl, .btn-secondary-xl {
    padding: 18px 40px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    display: inline-block;
}

.btn-primary-xl {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 8px 25px rgba(255, 20, 147, 0.4);
}

.btn-primary-xl:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(255, 20, 147, 0.6);
}

.btn-secondary-xl {
    background: rgba(255, 20, 147, 0.1);
    color: var(--primary-pink);
    border: 2px solid var(--primary-pink);
}

.btn-secondary-xl:hover {
    background: rgba(255, 20, 147, 0.2);
    box-shadow: 0 8px 25px rgba(255, 20, 147, 0.3);
}

.hero-stats {
    display: flex;
    gap: 50px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 20, 147, 0.2);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 8px;
}

.showcase-container {
    position: relative;
    display: flex;
    gap: 30px;
    justify-content: flex-end;
}

.showcase-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(255, 20, 147, 0.3);
    box-shadow: 0 20px 60px rgba(255, 20, 147, 0.2);
    transition: var(--transition);
}

.showcase-card.featured {
    width: 280px;
    height: 420px;
    z-index: 5;
}

.showcase-card.secondary {
    width: 200px;
    height: 320px;
    margin-top: 40px;
    opacity: 0.8;
}

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

.showcase-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-pink);
    box-shadow: 0 30px 80px rgba(255, 20, 147, 0.4);
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-pink);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.online-pulse {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 12px;
    height: 12px;
    background: #00ff00;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff00;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 10px #00ff00, 0 0 20px rgba(0, 255, 0, 0.5); }
    50% { box-shadow: 0 0 20px #00ff00, 0 0 40px rgba(0, 255, 0, 0.7); }
}

/* ============================================================================
   CHARACTERS SECTION
   ============================================================================ */

.characters-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

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

.section-header h2 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 15px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 18px;
    color: var(--text-muted);
}

.characters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.character-card {
    position: relative;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8) 0%, rgba(20, 20, 35, 0.8) 100%);
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(255, 20, 147, 0.2);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.character-card:hover {
    border-color: var(--primary-pink);
    transform: translateY(-15px);
    box-shadow: 0 30px 80px rgba(255, 20, 147, 0.3);
}

.card-image-wrapper {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.char-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.character-card:hover .char-img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.character-card:hover .card-overlay {
    opacity: 1;
}

.overlay-btn {
    padding: 15px 35px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    font-size: 16px;
    transition: var(--transition);
}

.overlay-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(255, 20, 147, 0.6);
}

.card-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.verified-badge, .online-badge {
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 20, 147, 0.4);
}

.verified-badge {
    color: #00ff00;
}

.online-badge {
    color: var(--primary-pink);
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
}

.char-description {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.6;
}

.char-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.tag {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 20, 147, 0.15);
    border: 1px solid rgba(255, 20, 147, 0.3);
    border-radius: 15px;
    font-size: 12px;
    color: var(--primary-pink);
}

.chat-count {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.cta-section {
    text-align: center;
    margin-top: 80px;
}

/* ============================================================================
   LIVE SECTION
   ============================================================================ */

.live-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.05) 0%, rgba(0, 217, 255, 0.05) 100%);
    border-top: 1px solid rgba(255, 20, 147, 0.2);
    border-bottom: 1px solid rgba(0, 217, 255, 0.2);
}

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

.live-card {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(20, 20, 35, 0.9) 100%);
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid rgba(0, 217, 255, 0.3);
    transition: var(--transition);
}

.live-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-cyan);
    box-shadow: 0 20px 60px rgba(0, 217, 255, 0.3);
}

.live-video-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.live-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.live-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff0000;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.live-count {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 15px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}

.live-info {
    padding: 20px;
}

.live-info h4 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 8px;
}

.live-info p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.live-link {
    display: inline-block;
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
}

.live-link:hover {
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.6);
}

/* ============================================================================
   FEATURES SECTION
   ============================================================================ */

.features-section {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.6) 0%, rgba(20, 20, 35, 0.6) 100%);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(255, 20, 147, 0.15);
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    border-color: var(--primary-pink);
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(20, 20, 35, 0.9) 100%);
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(255, 20, 147, 0.2);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ============================================================================
   FAQ SECTION
   ============================================================================ */

.faq-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.03) 0%, rgba(0, 217, 255, 0.03) 100%);
}

.faq-grid {
    display: grid;
    gap: 20px;
    margin-top: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.7) 0%, rgba(20, 20, 35, 0.7) 100%);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 20, 147, 0.15);
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--primary-pink);
    box-shadow: 0 10px 30px rgba(255, 20, 147, 0.2);
}

.faq-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-header:hover {
    background: rgba(255, 20, 147, 0.05);
}

.faq-header h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

.faq-icon {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-pink);
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-body {
    max-height: 500px;
}

.faq-body p {
    padding: 0 20px 20px 20px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ============================================================================
   CTA SECTION
   ============================================================================ */

.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.1) 0%, rgba(0, 217, 255, 0.1) 100%);
    text-align: center;
    border-top: 2px solid rgba(255, 20, 147, 0.3);
}

.cta-content h2 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 15px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* ============================================================================
   FOOTER
   ============================================================================ */

.footer {
    background: linear-gradient(135deg, #050505 0%, #0a0a1a 100%);
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 20, 147, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--primary-pink);
}

.footer-col p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 10px;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--primary-pink);
    text-shadow: 0 0 10px rgba(255, 20, 147, 0.5);
}

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

.social-link {
    display: inline-block !important;
    margin: 0 !important;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 20, 147, 0.2);
    font-size: 13px;
    color: var(--text-muted);
}

/* ============================================================================
   RESPONSIVE DESIGN
   ============================================================================ */

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary-xl, .btn-secondary-xl {
        width: 100%;
        text-align: center;
    }

    .showcase-container {
        justify-content: center;
    }

    .showcase-card.featured {
        width: 220px;
        height: 330px;
    }

    .showcase-card.secondary {
        width: 160px;
        height: 240px;
    }

    .hero-stats {
        gap: 30px;
        flex-wrap: wrap;
    }

    .characters-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 36px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons a {
        width: 100%;
    }

    .live-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: auto;
        padding: 40px 0;
    }

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

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

    .section-header h2 {
        font-size: 28px;
    }

    .characters-grid {
        gap: 20px;
    }

    .card-content {
        padding: 15px;
    }

    .btn-primary-xl, .btn-secondary-xl {
        padding: 15px 30px;
        font-size: 14px;
    }

    .navbar {
        padding: 12px 0;
    }

    .logo-text {
        font-size: 20px;
    }
}
