/* ==========================================
   MOBILE DISCLAIMER PAGE STYLES
   ========================================== */

.disclaimer-container {
    padding-bottom: 10rem;
}

.disclaimer-header {
    text-align: center;
    margin: 1rem 0; /* Reduced top gap for tighter mobile layout */
}

.disclaimer-header .badge {
    margin-bottom: 1rem !important; /* Tightened gap between pill and title for mobile consistency */
}

.disclaimer-header h1 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    white-space: normal;
}

.disclaimer-header h1 span {
    color: var(--gold);
}

.disclaimer-header p {
    text-align: center;
    font-size: 1rem;
    color: var(--text-dim);
    line-height: 1.6;
}

.godam-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.godam-card,
.prize-item,
.tech-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.godam-card h3,
.prize-info h4,
.tech-card h4 {
    font-size: 1.2rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.godam-card p,
.prize-info p,
.tech-card p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: center;
}

.prize-section, .faq-section, .tech-section, .logic-section {
    margin-top: 3rem;
    text-align: center;
}

.security-section {
    margin-top: 1.85rem;
}

.prize-header, .faq-header, .tech-header, .logic-header, .compatibility-header {
    width: 100%;
    max-width: none;
    margin-bottom: 1.2rem;
}

.disclaimer-section-title-row,
.logic-section-title-row {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.55rem;
}

.disclaimer-section-kicker,
.logic-section-kicker {
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.4rem;
}

.prize-header h2, .tech-header h2, .logic-header h2, .faq-header h2, .compatibility-header h2 {
    font-size: 1.65rem;
    line-height: 1.12;
    color: #fff;
    margin: 0;
    letter-spacing: -0.04em;
    text-align: left;
}

.prize-header p, .tech-header p, .logic-header p, .faq-header p, .compatibility-header p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-dim);
    text-align: justify;
    width: 100%;
    max-width: none;
}

.prize-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.prize-badge {
    display: inline-flex;
    padding: 0.25rem 0.9rem;
    border-radius: 100px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    width: fit-content;
    position: relative;
    overflow: hidden;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    border: 0.5px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: linear-gradient(135deg, rgba(255, 204, 51, 0.4) 0%, rgba(204, 153, 0, 0.5) 100%);
    box-shadow:
        0 4px 15px rgba(255, 204, 51, 0.2),
        inset 0 0 8px rgba(255, 204, 51, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    margin-bottom: 0.75rem; /* Switched to bottom margin since it's now at the top */
}

.security-badge {
    background: linear-gradient(135deg, rgba(255, 204, 51, 0.3) 0%, rgba(204, 153, 0, 0.4) 100%);
    box-shadow:
        0 4px 15px rgba(255, 204, 51, 0.2),
        inset 0 0 8px rgba(255, 204, 51, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.prize-badge::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 10%;
    width: 45%;
    height: 30%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, transparent 100%);
    filter: blur(2px);
    border-radius: 100px;
    pointer-events: none;
    z-index: 2;
}

.prize-badge::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 15%;
    width: 12px;
    height: 12px;
    background: var(--gold);
    border-radius: 50%;
    filter: blur(4px);
    opacity: 0.8;
    box-shadow: 0 0 12px var(--gold);
    pointer-events: none;
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

/* Compatibility Grid Mobile */
.compatibility-section {
    margin-top: 3rem;
    text-align: center;
}

.compatibility-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
}

.compatibility-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

/* New Static Device Card (Full Sync with Desktop) */
.device-card-v2 {
    display: flex;
    flex-direction: column;
    padding: 2rem 1.25rem !important; /* Spacious Padding for Symmetry */
    height: 480px !important; /* Balanced for mobile viewports */
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

/* Fix for scroll blocking due to lightning-card pseudo-elements */
.device-card-v2::before,
.device-card-v2::after {
    pointer-events: none !important;
}

.registry-header-mini {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--gold);
    font-size: 0.75rem; /* Matched to Desktop */
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 1rem 0 0.5rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 204, 51, 0.2);
    width: 100%;
}

.registry-header-mini i {
    font-size: 0.9rem;
}

.registry-scroll-area {
    width: 100%;
    flex: 1; 
    overflow-y: auto;
    overflow-x: hidden;
    padding-top: 0.85rem;
    padding-right: 8px;
    padding-bottom: 1.5rem; /* Internal scroll buffer */
    margin-bottom: 0; /* Crucial for Symmetry */
    min-height: 0;
    position: relative;
    z-index: 10;
    /* Firefox Support */
    scrollbar-width: thin;
    scrollbar-color: var(--gold) rgba(255, 255, 255, 0.05);
}

/* Custom Webkit Scrollbar for Registry */
.registry-scroll-area::-webkit-scrollbar {
    width: 5px;
}

.registry-scroll-area::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
}

.registry-scroll-area::-webkit-scrollbar-thumb {
    background: rgba(255, 204, 51, 0.6);
    border-radius: 10px;
}

.registry-table {
    width: 100%;
    border-collapse: collapse;
    pointer-events: auto !important;
}

.registry-table th {
    font-size: 0.6rem;
    color: var(--text-dim);
    text-transform: uppercase;
    text-align: left;
    padding-bottom: 0.5rem;
    letter-spacing: 0.05em;
    font-weight: 800;
}

.registry-table th:last-child {
    text-align: right; 
}

.registry-table td {
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.8rem;
    vertical-align: middle;
}

.compatibility-section .registry-table td:first-child {
    color: var(--gold);
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    width: 50%;
    white-space: nowrap;
}

.compatibility-section .registry-resolution {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.compatibility-section .registry-table td:last-child {
    color: var(--text-dim);
    line-height: 1.3;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem;
}

.compatibility-section .registry-device-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.compatibility-section .registry-status.neo-help-btn {
    margin-left: 0;
    width: 0.95rem;
    height: 0.95rem;
    font-size: 0.58rem;
    font-weight: 900;
    flex-shrink: 0;
    position: relative;
    overflow: visible;
    z-index: 1;
}

.compatibility-section .registry-status.status-unverified {
    color: #f87171;
    background: rgba(239, 68, 68, 0.14);
    border-color: rgba(239, 68, 68, 0.35);
}

.compatibility-section .registry-status.status-unverified:hover {
    color: #f87171;
    background: rgba(239, 68, 68, 0.22);
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.22);
}

.compatibility-section .registry-status.status-verified {
    color: #4ade80;
    background: rgba(34, 197, 94, 0.14);
    border-color: rgba(34, 197, 94, 0.35);
}

.compatibility-section .registry-status.status-verified:hover {
    color: #4ade80;
    background: rgba(34, 197, 94, 0.22);
    border-color: rgba(34, 197, 94, 0.5);
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.22);
}

.device-list-item span:first-child {
    font-weight: 800;
    color: var(--gold);
}


/* Original Front Components - Scoped */
/* Removed Obsolete Components */

.device-size {
    display: inline-flex;
    padding: 0.3rem 1.1rem !important;
    border-radius: 100px;
    font-size: 0.7rem !important;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    width: fit-content;
    position: relative;
    overflow: hidden;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    border: 0.5px solid rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: linear-gradient(135deg, rgba(255, 204, 51, 0.3) 0%, rgba(204, 153, 0, 0.4) 100%) !important;
    box-shadow:
        0 4px 15px rgba(255, 204, 51, 0.2),
        inset 0 0 8px rgba(255, 204, 51, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    margin-bottom: 0.75rem; 
    align-self: center;
}

/* Glass Highlights */
.device-size::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 10%;
    width: 45%;
    height: 30%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, transparent 100%);
    filter: blur(2px);
    border-radius: 100px;
    pointer-events: none;
    z-index: 2;
}

.device-info-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin: 0;
    padding: 0; 
    flex: 1;
    width: 100%;
    overflow: hidden; 
}

.device-card-v2 h3 {
    font-size: 1.25rem !important;
    color: var(--gold);
    margin-bottom: 0.5rem !important;
    text-transform: uppercase;
    text-align: center;
    width: 100%;
    font-weight: 700;
}

.device-card-v2 p {
    color: var(--text-dim) !important;
    font-size: 1rem !important;
    line-height: 1.7 !important;
    text-align: justify;
    text-justify: inter-word;
    margin: 0;
    width: 100%;
}

/* FAQ Mobile */
.faq-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-question {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0.5rem;
}

.faq-question h3 {
    font-size: 1.1rem;
    text-transform: uppercase;
    margin: 0;
    text-align: center;
    color: #fff;
}

.faq-answer p {
    color: var(--text-dim);
    text-align: justify;
    line-height: 1.6;
    margin-top: 0.5rem;
    font-size: 0.88rem;
}

/* Logic Accordion Mobile */
.logic-item {
    background: linear-gradient(135deg, 
        rgba(10, 14, 23, 0.8) 0%, 
        rgba(15, 20, 31, 0.7) 50%, 
        rgba(10, 14, 23, 0.8) 100%) !important;
    background-size: 200% 200%;
    animation: watery-shift 12s ease-in-out infinite;
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    margin-bottom: -1px; /* Overlap borders for single-line look */
    overflow: hidden;
    box-shadow: 
        inset 0 1.5px 0.3px rgba(255, 255, 255, 0.1),
        inset 0 -1.5px 0.5px rgba(0, 0, 0, 0.5),
        0 6px 20px rgba(0, 0, 0, 0.4);
}

.logic-item:first-child {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.logic-item:last-child {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.logic-group {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
}

.logic-toggle {
    padding: 1.25rem;
    font-size: 1rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.logic-toggle i {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: var(--text-dim);
}

.logic-item.active .logic-toggle i {
    transform: rotate(180deg);
    color: var(--gold);
}

.logic-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.4s ease;
    background: rgba(0, 0, 0, 0.2);
}

.logic-item.active .logic-content {
    max-height: 3000px;
    opacity: 1;
    overflow: visible; /* Allow tables/shadows to breathe when active */
}

.step-guide {
    padding: 1.25rem;
    color: var(--text-dim);
}

.step-guide p, 
.step-guide li, 
.step-guide span:not(.math-tex) {
    color: var(--text-dim) !important;
}

.step-guide strong,
.step-guide b {
    color: #eee !important; /* Slightly brighter for emphasis but not pure white */
}

.math-block {
    padding: 1.25rem;
    font-size: 1.1rem;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    border-left: 3px solid var(--gold);
    margin: 1rem 0;
}

.logic-sub-header {
    text-align: center;
    color: var(--gold);
    font-size: 1.1rem;
    font-weight: 900;
    margin: 2.5rem 0 1.25rem 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.logic-sub-header::before,
.logic-sub-header::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 204, 51, 0.3), transparent);
}

/* Methodology Visual Aids */
.methodology-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    overflow: hidden;
}

.methodology-table th {
    background: rgba(255, 204, 51, 0.1);
    color: var(--gold);
    text-align: left;
    padding: 0.75rem;
    font-weight: 700;
}

.methodology-table td {
    padding: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-dim);
}

.info-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}

.info-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-card .card-label {
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-card .card-value {
    color: #eee;
    font-size: 1rem;
    font-weight: 600;
}

.badge-pill {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-right: 0.5rem;
}

.badge-safe { background: rgba(34, 197, 94, 0.15); color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.3); }
.badge-caution { background: rgba(234, 179, 8, 0.15); color: #facc15; border: 1px solid rgba(234, 179, 8, 0.3); }
.badge-danger { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }

.disclaimer-footer {
    margin-top: 3rem;
    padding: 2rem 1rem;
}

.logic-method-section {
    margin-top: 3rem;
}

.logic-method-section:first-of-type {
    margin-top: 1.75rem;
}

.logic-method-kicker {
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.logic-method-title {
    color: #fff;
    font-size: 2rem;
    line-height: 1.05;
    margin: 0 0 0.85rem;
    letter-spacing: -0.04em;
}

.logic-method-description {
    width: 100%;
    color: var(--text-dim);
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.7;
    font-size: 0.98rem;
    margin: 0 0 1.4rem;
}

.logic-bullet-list {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--text-dim);
    line-height: 1.7;
}

.logic-bullet-list li + li {
    margin-top: 0.5rem;
}

.step-guide p {
    text-align: justify;
    text-justify: inter-word;
}
