/* HostRank & HostingGiveaway Full-Fit Mobile Responsive Styles */
:root {
    --ha-bg: #F9F9F9;
    --ha-surface: #FFFFFF;
    --ha-border: #D5D5D5;
    --ha-coral: #FF4A64;
    --ha-coral-hover: #E63952;
    --ha-gold: #FFB401;
    --ha-gold-hover: #E8A401;
    --ha-green: #09553D;
    --ha-green-hover: #074230;
    --ha-blue: #106197;
    --ha-blue-soft: #E8F3FB;
    --ha-navy: #23004E;
    --ha-text: #1E293B;
    --ha-muted: #64748B;
}

/* Global Mobile Viewport Lock — Prevents Any Horizontal Overflow on Phones */
html,
body.ha-mobile-fit-active {
    max-width: 100vw !important;
    overflow-x: hidden !important;
}

.ha-site-shell,
.ha-top3-grid,
.ha-top10-wrapper,
.ha-giveaway-container,
.ha-winner-board,
.ha-dashboard-wrap,
.ha-standalone-auth,
.ha-modal-backdrop {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--ha-text);
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.ha-site-shell *,
.ha-top3-grid *,
.ha-top10-wrapper *,
.ha-giveaway-container *,
.ha-winner-board *,
.ha-dashboard-wrap *,
.ha-standalone-auth *,
.ha-modal-backdrop * {
    box-sizing: border-box;
    min-width: 0;
}

.ha-site-shell img,
.ha-top3-grid img,
.ha-top10-wrapper img,
.ha-giveaway-container img,
.ha-dashboard-wrap img {
    max-width: 100%;
    height: auto;
}

.ha-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 18px;
}

/* Touch-Friendly Buttons */
.ha-btn-coral,
.ha-btn-gold,
.ha-btn-green,
.ha-btn-outline-light,
.ha-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.25;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none !important;
    cursor: pointer;
    text-align: center;
    transition: background 0.15s ease, transform 0.1s ease;
    -webkit-tap-highlight-color: transparent;
}
.ha-btn-coral {
    background: var(--ha-coral);
    color: #FFFFFF !important;
    border: none;
}
.ha-btn-coral:hover {
    background: var(--ha-coral-hover);
}
.ha-btn-gold {
    background: var(--ha-gold);
    color: #111827 !important;
    border: none;
}
.ha-btn-gold:hover {
    background: var(--ha-gold-hover);
}
.ha-btn-green {
    background: var(--ha-green);
    color: #FFFFFF !important;
    border: none;
}
.ha-btn-green:hover {
    background: var(--ha-green-hover);
}
.ha-btn-outline-light {
    background: rgba(255,255,255,0.14);
    color: #FFFFFF !important;
    border: 1px solid rgba(255,255,255,0.45);
}
.ha-btn-outline {
    padding: 8px 16px;
    border: 1px solid var(--ha-border);
    background: #FFFFFF;
    color: var(--ha-text) !important;
    font-weight: 600;
}
.ha-btn-block {
    width: 100%;
}
.ha-btn-sm {
    min-height: 36px;
    padding: 6px 12px;
    font-size: 13px;
}

/* Sticky Top Navigation */
.ha-topbar {
    position: sticky;
    top: 0;
    z-index: 900;
    background: #FFFFFF;
    border-bottom: 1px solid var(--ha-border);
    min-height: 60px;
    width: 100%;
    display: flex;
    align-items: center;
}
.ha-topbar-inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.ha-brand {
    display: flex;
    align-items: center;
    gap: 7px;
    font-weight: 800;
    font-size: 18px;
    color: var(--ha-navy) !important;
    text-decoration: none !important;
    overflow: hidden;
}
.ha-brand-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ha-brand-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--ha-coral);
    flex-shrink: 0;
}
.ha-nav-links {
    display: flex;
    gap: 20px;
}
.ha-nav-links a {
    color: var(--ha-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}
.ha-nav-links a:hover {
    color: var(--ha-coral);
}
.ha-nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.ha-user-pill {
    background: var(--ha-blue-soft);
    color: var(--ha-blue) !important;
    border: 1px solid #BFDBFE;
    padding: 7px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}
.ha-mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 38px;
    height: 38px;
    padding: 8px;
    background: #F1F5F9;
    border: 1px solid var(--ha-border);
    border-radius: 6px;
    cursor: pointer;
    flex-shrink: 0;
}
.ha-mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--ha-text);
    border-radius: 2px;
}

/* Hero Banner */
.ha-hero {
    background: linear-gradient(135deg, #1E0042 0%, #23004E 55%, #0F294A 100%);
    color: #FFFFFF;
    padding: 40px 0 48px;
    text-align: center;
    width: 100%;
}
.ha-updated-pill {
    display: inline-block;
    background: rgba(0, 0, 0, 0.32);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 14px;
    max-width: 100%;
}
.ha-hero h1 {
    font-size: clamp(24px, 5vw, 38px);
    line-height: 1.22;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 12px;
    word-wrap: break-word;
}
.ha-hero-sub {
    max-width: 720px;
    margin: 0 auto 22px;
    font-size: clamp(14px, 2.5vw, 17px);
    color: rgba(255,255,255,0.9);
}
.ha-hero-ctas {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Top 3 Spotlight Strip ("Our Most Popular" Positioned Slightly Lower Down) */
.ha-top3-section {
    background: var(--ha-bg);
    padding-top: 26px;
    padding-bottom: 20px;
    width: 100%;
}
.ha-top3-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 6px;
    padding-top: 14px;
    align-items: end;
}
.ha-top3-card {
    position: relative;
    background: #FFFFFF;
    border: 1px solid var(--ha-border);
    border-radius: 8px;
    padding: 24px 16px 18px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    width: 100%;
}
.ha-top3-featured {
    border: 2px solid var(--ha-green);
    margin-top: 14px;
    padding-top: 32px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.14);
}
.ha-top3-ribbon {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ha-green);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 4px;
    white-space: nowrap;
    max-width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ha-top3-logo img {
    max-height: 44px;
    margin: 0 auto 10px;
    display: block;
}
.ha-top3-score-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}
.ha-score-num {
    font-size: 26px;
    font-weight: 800;
    color: var(--ha-blue);
}
.ha-stars {
    color: var(--ha-gold);
    font-size: 14px;
    letter-spacing: 1px;
}
.ha-star-empty {
    color: #CBD5E1;
}
.ha-rating-word {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--ha-text);
}
.ha-top3-tagline {
    font-size: 14px;
    color: var(--ha-muted);
    min-height: 40px;
    margin: 0 0 14px;
}

/* Giveaway Placed Right Below Top 3 Hero */
.ha-hero-giveaway-wrap {
    margin-top: 26px;
    width: 100%;
}

/* Main Two-Column Comparison Area */
.ha-main-section {
    background: var(--ha-bg);
    padding: 20px 0 48px;
    width: 100%;
}
.ha-two-col {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 24px;
    align-items: start;
    width: 100%;
}
.ha-section-heading {
    margin-bottom: 16px;
}
.ha-section-heading h2 {
    font-size: clamp(19px, 3.2vw, 24px);
    font-weight: 800;
    margin: 0 0 4px;
}
.ha-disclosure-note {
    font-size: 12px;
    color: var(--ha-muted);
    display: block;
}

/* Filter Bar */
.ha-filter-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
    width: 100%;
}
.ha-filter-btn {
    background: #FFFFFF;
    border: 1px solid var(--ha-border);
    padding: 8px 13px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    color: var(--ha-text);
}
.ha-filter-btn.active {
    background: var(--ha-navy);
    color: #FFFFFF;
    border-color: var(--ha-navy);
}

/* Host Cards (Top 10 List) */
.ha-host-card {
    position: relative;
    background: #FFFFFF;
    border: 1px solid var(--ha-border);
    border-radius: 8px;
    margin-bottom: 16px;
    padding: 28px 18px 18px;
    transition: box-shadow 0.15s ease;
    width: 100%;
}
.ha-host-card:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
.ha-rank-corner {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    max-width: 100%;
}
.ha-rank-num {
    background: #111827;
    color: #FFFFFF;
    font-weight: 800;
    font-size: 13px;
    padding: 4px 10px;
    border-top-left-radius: 7px;
}
.ha-rank-ribbon {
    background: var(--ha-green);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-bottom-right-radius: 6px;
}
.ha-host-card-inner {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr) 160px;
    gap: 18px;
    align-items: center;
    width: 100%;
}
.ha-host-col-logo {
    text-align: center;
}
.ha-host-col-logo img {
    max-width: 145px;
    max-height: 46px;
    margin: 0 auto 8px;
    display: block;
}
.ha-price-pill {
    display: inline-block;
    background: var(--ha-blue-soft);
    color: var(--ha-blue);
    font-weight: 700;
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 4px;
}
.ha-host-title-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}
.ha-host-title-row h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
}
.ha-host-title-row h3 a {
    color: var(--ha-text);
    text-decoration: none;
}
.ha-reviews-count {
    font-size: 12px;
    color: var(--ha-muted);
}
.ha-host-tagline {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin: 4px 0 10px;
}
.ha-host-bullets {
    list-style: none;
    margin: 0;
    padding: 0;
}
.ha-host-bullets li {
    font-size: 13px;
    color: #475569;
    margin-bottom: 5px;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    word-break: break-word;
}
.ha-check-icon {
    color: var(--ha-blue);
    font-weight: 800;
    flex-shrink: 0;
}
.ha-host-col-cta {
    text-align: center;
    border-left: 1px solid #E2E8F0;
    padding-left: 16px;
}
.ha-score-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
}
.ha-big-score {
    font-size: 26px;
    font-weight: 800;
    color: var(--ha-blue);
}
.ha-rating-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
}
.ha-coupon-note {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    color: var(--ha-green);
}

/* Sticky Sidebar */
.ha-col-sidebar {
    position: sticky;
    top: 76px;
    width: 100%;
}
.ha-side-card {
    background: #FFFFFF;
    border: 1px solid var(--ha-border);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    width: 100%;
}
.ha-side-img-link img {
    width: 100%;
    height: auto;
    display: block;
}
.ha-side-card-head {
    background: var(--ha-green);
    color: #FFFFFF;
    padding: 14px 16px;
}
.ha-side-card-head span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    opacity: 0.9;
}
.ha-side-card-head h3 {
    margin: 4px 0 0;
    font-size: 17px;
    color: #FFFFFF;
}
.ha-side-card-body {
    padding: 16px;
}
.ha-side-timer {
    background: var(--ha-bg);
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    padding: 10px;
    text-align: center;
    margin-bottom: 12px;
}
.ha-side-timer span {
    display: block;
    font-size: 12px;
    color: var(--ha-muted);
}
.ha-side-timer strong {
    font-size: 18px;
    color: var(--ha-coral);
}
.ha-side-desc {
    font-size: 13px;
    color: var(--ha-muted);
    margin: 0 0 14px;
}
.ha-side-ticket-status {
    background: var(--ha-blue-soft);
    color: var(--ha-blue);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    text-align: center;
    margin-bottom: 12px;
}
.ha-yesterday-winner {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed var(--ha-border);
    font-size: 12px;
}
.ha-yesterday-winner span {
    display: block;
    color: var(--ha-muted);
}
.ha-quick-links {
    list-style: none;
    margin: 0;
    padding: 0;
}
.ha-quick-links li {
    margin-bottom: 8px;
    font-size: 13px;
}
.ha-quick-links a {
    color: var(--ha-blue);
    text-decoration: none;
}

/* AdSense Containers */
.ha-adsense-wrapper {
    margin: 20px 0;
    padding: 10px;
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    text-align: center;
    width: 100%;
    overflow: hidden;
}
.ha-ad-label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #64748B;
    margin-bottom: 6px;
}
.ha-ad-placeholder {
    padding: 16px 10px;
    border: 1px dashed #94A3B8;
    color: #475569;
    font-size: 12px;
    background: #FFFFFF;
}

/* Free Giveaway Q&A Container */
.ha-giveaway-container {
    background: #FFFFFF;
    border: 2px solid var(--ha-green);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(9, 85, 61, 0.10);
    width: 100%;
}
.ha-giveaway-paused {
    padding: 24px;
    text-align: center;
    border-color: var(--ha-border);
}
.ha-badge-muted {
    display: inline-block;
    background: #E2E8F0;
    color: #475569;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 8px;
}
.ha-giveaway-banner {
    background: linear-gradient(135deg, var(--ha-green) 0%, #063F2D 100%);
    color: #FFFFFF;
    padding: 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    align-items: center;
    gap: 20px;
    width: 100%;
}
.ha-giveaway-banner-media img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.28);
    display: block;
}
.ha-badge-gold {
    display: inline-block;
    background: var(--ha-gold);
    color: #111827;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 8px;
}
.ha-badge-green {
    display: inline-block;
    background: var(--ha-green);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 6px;
}
.ha-giveaway-banner h2 {
    margin: 0 0 8px;
    color: #FFFFFF;
    font-size: clamp(20px, 3.4vw, 26px);
}
.ha-giveaway-banner p {
    margin: 0 0 16px;
    font-size: 14px;
    color: rgba(255,255,255,0.92);
}
.ha-giveaway-stats {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.ha-stat-box {
    background: rgba(255,255,255,0.15);
    padding: 10px 14px;
    border-radius: 8px;
    text-align: center;
    flex: 1 1 120px;
}
.ha-stat-box span {
    display: block;
    font-size: 11px;
    opacity: 0.9;
}
.ha-stat-box strong {
    font-size: 19px;
    font-weight: 800;
}
.ha-guest-notice {
    background: #FFFBEB;
    border-bottom: 1px solid #FDE68A;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.ha-guest-notice span {
    display: block;
    font-size: 13px;
    color: #92400E;
}
.ha-member-strip {
    background: var(--ha-blue-soft);
    border-bottom: 1px solid #BFDBFE;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.ha-member-strip span {
    display: block;
    font-size: 12px;
    color: #1E40AF;
}
.ha-whatsapp-prompt {
    background: #ECFDF5;
    border-bottom: 1px solid #A7F3D0;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.ha-whatsapp-prompt span {
    display: block;
    font-size: 13px;
    color: #065F46;
}
.ha-inline-wa-form {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 380px;
}
.ha-inline-wa-form input {
    flex: 1 1 160px;
    min-height: 42px;
    padding: 8px 12px;
    border: 1px solid var(--ha-border);
    border-radius: 6px;
    font-size: 14px;
}
.ha-quiz-card {
    padding: 22px 24px;
    background: #FFFFFF;
}
.ha-quiz-progress-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: var(--ha-muted);
    margin-bottom: 14px;
}
.ha-edu-box {
    background: var(--ha-blue-soft);
    border-left: 4px solid var(--ha-blue);
    padding: 14px 16px;
    border-radius: 6px;
    margin-bottom: 18px;
}
.ha-edu-tag {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--ha-blue);
}
.ha-edu-box h4 {
    margin: 4px 0 6px;
    font-size: 15px;
}
.ha-edu-box p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.55;
    color: #334155;
}
.ha-question-heading {
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 14px;
}
.ha-options-grid {
    display: grid;
    gap: 10px;
    margin-bottom: 16px;
}
.ha-option-card {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 11px 14px;
    border: 1px solid var(--ha-border);
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
    width: 100%;
}
.ha-option-card:hover {
    border-color: var(--ha-blue);
    background: #F8FAFC;
}
.ha-opt-letter {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #E2E8F0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 12px;
    flex-shrink: 0;
}
.ha-opt-text {
    font-size: 14px;
    line-height: 1.4;
    word-break: break-word;
}
.ha-quiz-feedback {
    padding: 12px 14px;
    border-radius: 6px;
    margin-bottom: 14px;
    font-size: 14px;
}
.ha-quiz-feedback.correct {
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
    color: #065F46;
}
.ha-quiz-feedback.incorrect {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #991B1B;
}

/* Winner Board */
.ha-winner-board {
    background: #FFFFFF;
    border: 1px solid var(--ha-border);
    border-radius: 8px;
    padding: 20px;
    margin-top: 24px;
    width: 100%;
}
.ha-winner-board-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}
.ha-winner-board-header h3 {
    margin: 4px 0;
    font-size: 19px;
}
.ha-winner-board-header p {
    margin: 0;
    font-size: 13px;
    color: var(--ha-muted);
}
.ha-countdown-pill {
    background: var(--ha-bg);
    border: 1px solid var(--ha-border);
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 13px;
}
.ha-winner-table-wrap {
    width: 100%;
    overflow-x: auto;
}
.ha-winner-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}
.ha-winner-table th,
.ha-winner-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #E2E8F0;
    text-align: left;
}
.ha-ticket-badge {
    background: var(--ha-blue-soft);
    color: var(--ha-blue);
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
}
.ha-status-done {
    color: var(--ha-green);
    font-weight: 700;
}
.ha-status-claimed {
    color: var(--ha-blue);
    font-weight: 700;
}
.ha-status-pending {
    color: #B45309;
    font-weight: 700;
}

/* Blog Grid & Footer */
.ha-blog-section {
    padding: 36px 0;
    background: #FFFFFF;
    border-top: 1px solid var(--ha-border);
    width: 100%;
}
.ha-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.ha-blog-card {
    background: var(--ha-bg);
    border: 1px solid var(--ha-border);
    border-radius: 8px;
    padding: 18px;
}
.ha-blog-date {
    font-size: 12px;
    color: var(--ha-muted);
}
.ha-blog-card h3 {
    font-size: 17px;
    margin: 8px 0;
}
.ha-blog-card h3 a {
    color: var(--ha-text);
    text-decoration: none;
}
.ha-read-more {
    color: var(--ha-coral);
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
}
.ha-footer {
    background: var(--ha-navy);
    color: rgba(255,255,255,0.85);
    padding: 32px 0;
    font-size: 13px;
    width: 100%;
}
.ha-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* Modals & Dedicated Front-End Member Dashboard */
.ha-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}
.ha-modal-box {
    position: relative;
    background: #FFFFFF;
    width: 100%;
    max-width: 450px;
    max-height: 92vh;
    overflow-y: auto;
    border-radius: 10px;
    padding: 22px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.28);
}
.ha-modal-box-wide {
    max-width: 820px;
    padding: 0;
}
.ha-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: 1px solid var(--ha-border);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: var(--ha-text);
}
.ha-auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 14px 0;
}
.ha-auth-tab {
    min-height: 40px;
    padding: 8px;
    border: 1px solid var(--ha-border);
    background: var(--ha-bg);
    font-weight: 700;
    font-size: 13px;
    border-radius: 6px;
    cursor: pointer;
}
.ha-auth-tab.active {
    background: var(--ha-navy);
    color: #FFFFFF;
    border-color: var(--ha-navy);
}
.ha-form-group {
    margin-bottom: 12px;
}
.ha-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
}
.ha-form-group input {
    width: 100%;
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid var(--ha-border);
    border-radius: 6px;
    font-size: 14px;
}
.ha-alert {
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 12px;
    background: #FEF2F2;
    color: #991B1B;
}
.ha-alert.success {
    background: #ECFDF5;
    color: #065F46;
}

/* Front-End Member Dashboard Styling */
.ha-dashboard-wrap {
    background: #FFFFFF;
    border: 1px solid var(--ha-border);
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
}
.ha-dash-top-banner {
    background: linear-gradient(135deg, var(--ha-navy) 0%, #106197 100%);
    color: #FFFFFF;
    padding: 24px 48px 24px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}
.ha-dash-top-banner h2 {
    margin: 4px 0;
    color: #FFFFFF;
    font-size: 22px;
}
.ha-dash-top-banner p {
    margin: 0;
    font-size: 13px;
    color: rgba(255,255,255,0.88);
}
.ha-dash-header-btns {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.ha-dash-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding: 18px 20px 0;
}
.ha-dash-kpi {
    background: var(--ha-bg);
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 12px 14px;
    text-align: center;
}
.ha-dash-kpi span {
    display: block;
    font-size: 11.5px;
    color: var(--ha-muted);
    font-weight: 600;
}
.ha-dash-kpi strong {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: var(--ha-green);
    margin-top: 4px;
}
.ha-dash-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 18px 20px;
}
.ha-dash-card {
    background: var(--ha-bg);
    border: 1px solid var(--ha-border);
    border-radius: 8px;
    padding: 18px;
}
.ha-dash-card h3 {
    margin: 0 0 6px;
    font-size: 16px;
}
.ha-muted-sm {
    font-size: 13px;
    color: var(--ha-muted);
    margin: 0 0 12px;
}
.ha-ref-stat {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 10px;
}
.ha-ref-copy-row,
.ha-claim-row {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    flex-wrap: wrap;
}
.ha-ref-copy-row input,
.ha-claim-row input {
    flex: 1 1 160px;
    min-height: 42px;
    padding: 8px 10px;
    border: 1px solid var(--ha-border);
    border-radius: 6px;
    font-size: 13px;
}
.ha-winner-claim-box {
    background: #ECFDF5;
    border-bottom: 2px solid var(--ha-green);
    padding: 18px 20px;
}
.ha-dash-history {
    padding: 0 20px 22px;
}
.ha-dash-history h3 {
    font-size: 16px;
    margin: 0 0 10px;
}

/* =========================================================
   MOBILE & TABLET FULL-FIT VIEWPORT RULES
   ========================================================= */
@media (max-width: 960px) {
    .ha-two-col {
        grid-template-columns: minmax(0, 1fr);
    }
    .ha-col-sidebar {
        position: static;
    }
    .ha-giveaway-banner {
        grid-template-columns: minmax(0, 1fr);
    }
    .ha-giveaway-banner-media {
        max-width: 460px;
        margin: 0 auto;
    }
    .ha-blog-grid,
    .ha-dash-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .ha-dash-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .ha-mobile-menu-toggle {
        display: flex;
    }
    .ha-nav-links {
        display: none;
        position: absolute;
        top: 59px;
        left: 0;
        right: 0;
        width: 100%;
        background: #FFFFFF;
        border-bottom: 1px solid var(--ha-border);
        flex-direction: column;
        gap: 0;
        padding: 8px 18px 14px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    }
    .ha-nav-links.open {
        display: flex;
    }
    .ha-nav-links a {
        padding: 11px 0;
        border-bottom: 1px solid #F1F5F9;
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .ha-container {
        padding: 0 12px;
    }
    .ha-hero {
        padding: 32px 0 40px;
    }
    .ha-top3-section {
        padding-top: 22px;
    }
    .ha-top3-grid {
        grid-template-columns: minmax(0, 1fr);
        margin-top: 4px;
        padding-top: 12px;
        gap: 16px;
    }
    .ha-top3-featured {
        order: -1;
        margin-top: 10px;
    }
    .ha-top3-tagline {
        min-height: auto;
    }
    .ha-host-card {
        padding: 34px 14px 14px;
    }
    .ha-host-card-inner {
        grid-template-columns: minmax(0, 1fr);
        text-align: left;
        gap: 12px;
    }
    .ha-host-col-logo {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        text-align: left;
    }
    .ha-host-col-logo img {
        margin: 0;
        max-width: 125px;
    }
    .ha-host-col-cta {
        border-left: none;
        border-top: 1px solid #E2E8F0;
        padding-left: 0;
        padding-top: 12px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
    .ha-score-box {
        justify-content: flex-start;
    }
    .ha-giveaway-banner,
    .ha-quiz-card {
        padding: 16px 14px;
    }
    .ha-btn-mobile-full {
        width: 100%;
    }
    .ha-dash-top-banner {
        padding: 20px 44px 20px 16px;
    }
    .ha-dash-kpis,
    .ha-dash-grid {
        padding: 14px;
    }
    .ha-dash-history {
        padding: 0 14px 18px;
    }
}

@media (max-width: 480px) {
    .ha-brand {
        font-size: 15px;
        max-width: 140px;
    }
    .ha-user-pill {
        padding: 6px 9px;
        font-size: 11px;
    }
    .ha-hero-ctas a {
        width: 100%;
    }
    .ha-winner-table thead {
        display: none;
    }
    .ha-winner-table,
    .ha-winner-table tbody,
    .ha-winner-table tr,
    .ha-winner-table td {
        display: block;
        width: 100%;
    }
    .ha-winner-table tr {
        border: 1px solid #E2E8F0;
        border-radius: 6px;
        padding: 10px 12px;
        margin-bottom: 10px;
        background: #F8FAFC;
    }
    .ha-winner-table td {
        border-bottom: none;
        padding: 4px 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
    }
    .ha-winner-table td::before {
        content: attr(data-label);
        font-weight: 700;
        font-size: 12px;
        color: var(--ha-muted);
    }
}

.ha-footer { display: none !important; }
