/* Mobile Styles for Health Card Page */

/* Material Icons */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.material-symbols-filled {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    font-family: 'Material Symbols Outlined';
}

/* Body */
body {
    min-height: max(884px, 100dvh);
}

/* Dialog Backdrop */
.dialog-backdrop {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Header Styles */
header {
    padding: 0.375rem 0.75rem;
    min-height: 40px;
}

header > div {
    padding: 0;
}

header h2 {
    margin: 0;
    padding: 0;
}

header a {
    margin: 0;
    flex-shrink: 0;
}

/* Health Card Styles - Premium */
.health-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.health-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.25);
}

.basic-card:hover {
    box-shadow: 0 20px 50px -12px rgba(59, 130, 246, 0.35);
}

.family-card:hover {
    box-shadow: 0 20px 50px -12px rgba(251, 191, 36, 0.45);
    border-color: #f59e0b;
}

/* Shine Effect Animation */
.shine-effect {
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) skewX(-15deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(200%) skewX(-15deg);
        opacity: 0;
    }
}

/* Premium Price Box */
.health-card .rounded-xl.px-4 {
    transition: all 0.3s ease;
}

.health-card:hover .rounded-xl.px-4 {
    transform: scale(1.03);
    box-shadow: 0 4px 12px -2px rgba(25, 230, 196, 0.25);
}

/* Features List */
.health-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.health-card li {
    padding: 0.25rem 0;
}

.health-card li .material-symbols-outlined {
    font-size: 1.125rem;
}

/* Buy Button - Premium */
.buy-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.buy-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.buy-btn:hover::after {
    transform: translateX(100%);
}

.buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -6px rgba(0, 0, 0, 0.3);
}

.buy-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px -2px rgba(0, 0, 0, 0.2);
}

/* Premium Badge Glow */
.family-card .rotate-12 {
    animation: badgeGlow 2s ease-in-out infinite;
}

@keyframes badgeGlow {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(251, 191, 36, 0.5);
    }
    50% {
        box-shadow: 0 6px 20px rgba(251, 191, 36, 0.7);
    }
}

/* Info Section */
.info-section {
    margin-top: 2rem;
}

/* Dialog Styles */
#purchaseDialog {
    z-index: 9999;
}

#purchaseDialog > div {
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Badge Styles - Premium */
.health-card .inline-block {
    font-weight: 700;
    letter-spacing: 0.1em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.health-card:hover .inline-block {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Gradient Text for Family Card Price */
.family-card .bg-clip-text {
    -webkit-background-clip: text;
    background-clip: text;
}

/* Card Background Gradient */
.health-card {
    backdrop-filter: blur(10px);
}

/* Premium Card Top Section - Compact */
.health-card .bg-gradient-to-br {
    min-height: 64px;
}

.health-card .h-16 {
    height: 4rem;
}

/* Card Title Styling - Compact */
.health-card h3 {
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 1rem;
}

/* Check Icons Circle Background - Compact */
.health-card .size-5,
.health-card .size-6 {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.health-card li:hover .size-5,
.health-card li:hover .size-6 {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

/* Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Focus Styles for Accessibility */
button:focus,
a:focus {
    outline: 2px solid #19e6c4;
    outline-offset: 2px;
}

/* Safe Area for Notched Devices */
@supports (padding: max(0px)) {
    body {
        padding-left: max(0px, env(safe-area-inset-left));
        padding-right: max(0px, env(safe-area-inset-right));
    }
}

/* Hide Scrollbar but Keep Functionality */
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

