/* ==========================================================================
   CAPTAIN JACK CRICKET ANALYST - MODERN HIGH-CONVERTING LANDING PAGE STYLES
   ========================================================================== */

:root {
    --bg-dark: #07090e;
    --card-bg: #111622;
    --card-border: rgba(255, 183, 3, 0.15);
    --telegram-blue: #0088cc;
    --telegram-blue-hover: #00a8e8;
    --telegram-gradient: linear-gradient(135deg, #0088cc 0%, #005580 100%);
    --gold-primary: #ffb703;
    --gold-secondary: #fb8500;
    --gold-gradient: linear-gradient(135deg, #ffd700 0%, #ff9f1c 100%);
    --text-primary: #ffffff;
    --text-muted: #94a3b8;
    --accent-green: #10b981;
    --accent-green-bg: rgba(16, 185, 129, 0.12);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 8px;
    --shadow-glow: 0 0 25px rgba(0, 136, 204, 0.3);
    --shadow-gold: 0 0 20px rgba(255, 183, 3, 0.25);
}

/* Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(0, 136, 204, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 80% 100%, rgba(255, 183, 3, 0.08) 0%, transparent 50%);
    background-attachment: fixed;
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.5;
    padding-bottom: 70px;
}

.gold-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.highlight {
    color: var(--gold-primary);
    font-weight: 600;
}

/* Top Urgency Ticker Bar */
.top-ticker {
    width: 100%;
    background: linear-gradient(90deg, #0d121e 0%, #162032 50%, #0d121e 100%);
    border-bottom: 1px solid rgba(255, 183, 3, 0.2);
    padding: 8px 12px;
    font-size: 0.82rem;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.ticker-content {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    text-align: center;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-green);
    animation: pulse-green 1.5s infinite;
}

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.ticker-divider {
    color: rgba(255, 255, 255, 0.2);
}

.timer-text strong {
    color: #ff4757;
    font-size: 0.9rem;
}

/* Main Container Layout */
.main-wrapper {
    width: 100%;
    max-width: 500px;
    padding: 16px 12px;
    margin: 0 auto;
}

.card-container {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    position: relative;
}

/* Hero Cover Header & Compact Circular Image */
.hero-cover-header {
    position: relative;
    width: 100%;
    height: 110px;
    background: linear-gradient(180deg, rgba(0, 136, 204, 0.25) 0%, rgba(17, 22, 34, 0.95) 100%),
                url('assets/avatar.jpg') center/cover no-repeat;
    border-bottom: 1px solid rgba(255, 183, 3, 0.15);
}

.cover-backdrop {
    position: absolute;
    inset: 0;
    backdrop-filter: blur(12px);
    background: rgba(13, 18, 30, 0.65);
}

.header-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

.live-badge, .vip-badge {
    background: rgba(13, 18, 30, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.live-badge {
    color: var(--accent-green);
    border-color: rgba(16, 185, 129, 0.3);
}

.vip-badge {
    color: var(--gold-primary);
    border-color: rgba(255, 183, 3, 0.4);
}

/* Profile Info Section */
.profile-header {
    padding: 0 18px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.avatar-wrapper.small-circle {
    position: relative;
    margin-top: -55px;
    margin-bottom: 14px;
    z-index: 10;
    width: 115px;
    height: 115px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-glow-ring {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd700 0%, #0088cc 100%);
    box-shadow: 0 0 25px rgba(255, 183, 3, 0.4);
    animation: ring-pulse 3s ease-in-out infinite alternate;
}

@keyframes ring-pulse {
    0% { transform: scale(0.98); opacity: 0.8; }
    100% { transform: scale(1.03); opacity: 1; filter: drop-shadow(0 0 12px #ffb703); }
}

.avatar-img-circle {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 3.5px solid var(--card-bg);
    object-fit: cover;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 20px rgba(0,0,0,0.6);
    background-color: #111622;
}

.crown-icon {
    position: absolute;
    top: -14px;
    right: 2px;
    font-size: 1.6rem;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.9));
    z-index: 12;
    animation: float-crown 3s ease-in-out infinite;
}

@keyframes float-crown {
    0%, 100% { transform: translateY(0) rotate(5deg); }
    50% { transform: translateY(-4px) rotate(-5deg); }
}

.channel-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    line-height: 1.3;
}

.verified-icon {
    color: #208bfe;
    font-size: 1.1rem;
}

.subtitle-box {
    margin-top: 6px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.cricket-tag {
    font-size: 0.9rem;
    font-weight: 700;
    color: #cbd5e1;
}

.bot-handle {
    color: var(--telegram-blue);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: opacity 0.2s;
}

.bot-handle:hover {
    text-decoration: underline;
    opacity: 0.9;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    width: 100%;
    margin-bottom: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 10px 8px;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-val {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--gold-primary);
}

.stat-lbl {
    font-size: 0.68rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.bio-box {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 14px;
    margin-bottom: 20px;
    width: 100%;
    text-align: left;
}

.bio-text {
    font-size: 0.88rem;
    color: #e2e8f0;
    margin-bottom: 10px;
    line-height: 1.5;
}

.disclaimer-chip {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cta-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.btn-primary-telegram {
    position: relative;
    width: 100%;
    background: linear-gradient(135deg, #0088cc 0%, #005580 100%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    overflow: hidden;
    box-shadow: var(--shadow-glow);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary-telegram:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 136, 204, 0.5);
    background: linear-gradient(135deg, #0099e6 0%, #006699 100%);
}

.pulse-button {
    animation: cta-pulse 2s infinite;
}

@keyframes cta-pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 136, 204, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(0, 136, 204, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 136, 204, 0); }
}

.btn-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-primary-telegram:hover .btn-glow {
    opacity: 1;
}

.btn-icon {
    font-size: 2.2rem;
    color: #ffffff;
}

.btn-text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    flex-grow: 1;
    margin-left: 12px;
}

.btn-main-text {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.btn-sub-text {
    font-size: 0.75rem;
    opacity: 0.9;
    font-weight: 500;
    margin-top: 2px;
}

.btn-arrow {
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.btn-primary-telegram:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-secondary-telegram {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 12px;
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s, border-color 0.2s;
}

.btn-secondary-telegram:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.btn-copy-link {
    background: transparent;
    border: 1px dashed rgba(255, 183, 3, 0.4);
    border-radius: var(--radius-md);
    padding: 10px;
    color: var(--gold-primary);
    font-weight: 600;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-copy-link:hover {
    background: rgba(255, 183, 3, 0.1);
    border-color: var(--gold-primary);
}

.features-deck, .reports-showcase {
    width: 100%;
    background: rgba(13, 18, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 20px;
    text-align: left;
}

.deck-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #f1f5f9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(0, 136, 204, 0.15);
    border: 1px solid rgba(0, 136, 204, 0.3);
    color: var(--telegram-blue-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.feature-info h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 2px;
}

.feature-info p {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.report-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 12px;
    margin-bottom: 10px;
}

.report-card:last-child {
    margin-bottom: 0;
}

.report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.league-tag {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--gold-primary);
    background: rgba(255, 183, 3, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

.status-badge.pass {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-green);
}

.match-teams {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.vs {
    font-size: 0.7rem;
    color: var(--gold-secondary);
    background: rgba(0,0,0,0.4);
    padding: 2px 6px;
    border-radius: 4px;
}

.report-footer {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
}

.bottom-cta-box {
    width: 100%;
    margin-bottom: 24px;
}

.cta-urgency-note {
    font-size: 0.82rem;
    color: var(--gold-primary);
    font-weight: 700;
    margin-bottom: 8px;
}

.card-footer {
    margin-top: 10px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.72rem;
    color: #64748b;
}

.legal-notice {
    margin: 8px 0;
    line-height: 1.4;
}

.legal-links {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.legal-links a {
    color: #94a3b8;
    text-decoration: none;
}

.legal-links a:hover {
    text-decoration: underline;
}

.floating-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(13, 18, 30, 0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 183, 3, 0.3);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 99;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
}

.floating-cta-bar.show {
    transform: translateY(0);
}

.floating-info {
    display: flex;
    flex-direction: column;
}

.floating-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.9rem;
    color: #ffffff;
}

.floating-sub {
    font-size: 0.7rem;
    color: var(--gold-primary);
    font-weight: 600;
}

.floating-btn {
    background: var(--telegram-gradient);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 10px 18px;
    border-radius: var(--radius-md);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 0 15px rgba(0, 136, 204, 0.5);
}

.social-toast {
    position: fixed;
    bottom: 75px;
    left: 16px;
    background: rgba(17, 22, 34, 0.95);
    border: 1px solid rgba(255, 183, 3, 0.3);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.6);
    z-index: 98;
    transform: translateY(150px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 300px;
}

.social-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-avatar {
    width: 32px;
    height: 32px;
    background: rgba(0, 136, 204, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.toast-text {
    font-size: 0.78rem;
    color: #e2e8f0;
}

.toast-time {
    font-size: 0.68rem;
    color: var(--text-muted);
}

.copied-toast {
    position: fixed;
    top: 60px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: #10b981;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
    z-index: 101;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.copied-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 480px) {
    .main-wrapper {
        padding: 8px 6px;
    }
    .card-container {
        border-radius: 16px;
    }
    .channel-name {
        font-size: 1.2rem;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}
