@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    /* Color Palette */
    --bg-dark: #12141d;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --primary-glow: #00f2ff;
    --secondary-glow: #ff0055;
    --accent-gold: #ffcc00;
    --text-white: #ffffff;
    --text-muted: #94a3b8;

    /* Effects */
    --glass-blur: blur(20px);
    --neon-shadow: 0 0 15px rgba(0, 242, 255, 0.5);
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    overflow-x: hidden;
}

/* Background elements for depth */
.bg-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.3;
}

.bg-glow-1 {
    top: -100px;
    left: -100px;
    background: var(--primary-glow);
}

.bg-glow-2 {
    bottom: -100px;
    right: -100px;
    background: var(--secondary-glow);
}

/* Base Container */
/* Base Container */
.app-container {
    width: 100%;
    max-width: 100%;
    padding: 15px;
    position: relative;
    padding-bottom: 80px;
    /* Reduced back from 100px */
    box-sizing: border-box;
}

@media (min-width: 500px) {
    .app-container {
        max-width: 450px;
    }
}

/* Glassmorphism Components */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(to right, #fff, #94a3b8);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Action Buttons */
.btn-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

/* Main Connect Dial */
.connect-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 40px 0;
}

.dial-outer {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary-glow), var(--secondary-glow));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.3);
}

.dial-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--bg-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dial-inner:active {
    transform: scale(0.95);
}

.power-icon {
    font-size: 40px;
    margin-bottom: 5px;
    color: var(--primary-glow);
    text-shadow: 0 0 10px var(--primary-glow);
}

.connect-text {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-muted);
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 410px;
    height: 70px;
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 35px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 10px;
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 10px;
    gap: 4px;
}

.nav-item.active {
    color: var(--primary-glow);
}

.nav-item i {
    font-size: 20px;
}

/* Status Cards Grid */
/* Status Cards Grid */
.status-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 5px;
}

@media (max-width: 500px) {
    .status-grid {
        grid-template-columns: 1fr;
    }
}

.status-mini-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 8px 12px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.status-mini-card i {
    font-size: 16px;
    color: var(--primary-glow);
}

.status-mini-card .label {
    font-size: 12px;
    color: var(--text-muted);
    display: block;
}

.status-mini-card .val {
    font-size: 14px;
    font-weight: 600;
}

/* Ticket Styling for Purchase */
.ticket-card {
    background: var(--glass-bg);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    margin-left: auto;
    margin-right: auto;
    max-width: 400px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ticket-card:active {
    transform: scale(0.98);
}

.ticket-card.active {
    border-color: var(--primary-glow);
    background: rgba(0, 242, 255, 0.05);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.2);
}

.ticket-card.active .price-box {
    background: var(--primary-glow);
    color: var(--bg-dark);
}

.ticket-free {
    border-color: var(--secondary-glow);
    background: linear-gradient(135deg, rgba(255, 0, 85, 0.1), rgba(255, 0, 85, 0.05));
    margin-bottom: 25px;
}

.ticket-free.active {
    border-color: var(--secondary-glow);
    box-shadow: 0 0 15px rgba(255, 0, 85, 0.3);
}

.ticket-free.active .price-box {
    background: var(--secondary-glow);
    color: white;
}

.badge-free {
    position: absolute;
    top: 50%;
    right: -15px;
    transform: translateY(-50%) rotate(20deg);
    background: var(--secondary-glow);
    color: white;
    padding: 5px 20px;
    font-size: 10px;
    font-weight: bold;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    display: none;
    /* simpler design for now */
}

.ticket-card::before,
.ticket-card::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--bg-dark);
    border-radius: 50%;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
}

.ticket-card::after {
    left: auto;
    right: -10px;
}

.ticket-info h3 {
    margin: 0;
    font-size: 18px;
}

.ticket-info p {
    margin: 5px 0 0 0;
    font-size: 12px;
    color: var(--text-muted);
}

.ticket-price {
    text-align: right;
}

.price-box {
    background: rgba(0, 242, 255, 0.1);
    color: var(--primary-glow);
    padding: 8px 15px;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.3s ease;
}

/* Forms & Inputs */
.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--text-muted);
}

input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 15px;
    border-radius: 12px;
    color: white;
    font-family: inherit;
    font-size: 15px;
}

input:focus {
    outline: none;
    border-color: var(--primary-glow);
    background: rgba(0, 242, 255, 0.05);
}

.btn-primary {
    width: 100%;
    padding: 16px;
    border-radius: 15px;
    border: none;
    background: linear-gradient(to right, var(--primary-glow), #a855f7);
    color: var(--bg-dark);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:active {
    transform: scale(0.98);
}

/* Carousel Styles */
.carousel-container {
    width: 100%;
    aspect-ratio: 9 / 18;
    /* Match roughly approximate phone screenshot ratio */
    height: auto;
    max-height: 75vh;
    /* Cap height on desktop */
    min-height: 300px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    border-radius: 20px;
    /* Restore radius */
    margin-bottom: 15px;
    border: 1px solid var(--glass-border);
    scrollbar-width: none;
    display: flex;
    background: transparent;
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

.carousel-slide {
    display: flex;
    flex-wrap: nowrap;
    height: 100%;
}

.carousel-slide img {
    flex: 0 0 100%;
    min-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Ensure full image is visible */
    object-position: center;
    scroll-snap-align: start;
    background: transparent;
}

/* Floating Contact Icons */
.floating-contact {
    position: fixed;
    bottom: 100px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 2000;
}

.contact-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.contact-btn:hover {
    transform: scale(1.1) translateY(-5px);
}

.contact-btn.zalo {
    background: #0084ff;
    font-weight: bold;
    font-size: 14px;
}

.contact-btn.whatsapp {
    background: #25d366;
}

.contact-btn.messenger {
    background: #006aff;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 10px rgba(0, 242, 255, 0.4);
    }

    50% {
        box-shadow: 0 0 25px rgba(0, 242, 255, 0.7);
    }

    100% {
        box-shadow: 0 0 10px rgba(0, 242, 255, 0.4);
    }
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background-color: #22c55e;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: statusPulse 2s infinite;
    vertical-align: middle;
    margin-right: 5px;
}

@keyframes statusPulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}