/* ==========================================
   DESKTOP DISCLAIMER PAGE STYLES
   ========================================== */

.disclaimer-container {
    padding-bottom: 120px;
}

.disclaimer-header {
    text-align: left;
    margin: 1rem 0 3rem; /* Reduced top margin from 4rem to 1rem to match Homepage */
    width: 100%;
}

.disclaimer-header h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 0.75rem;
    letter-spacing: -0.04em;
    color: #fff;
    white-space: nowrap;
}

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

.disclaimer-header p {
    text-align: justify;
    text-justify: inter-word;
    width: 100%;
    font-size: 1.15rem;
    color: var(--text-dim);
    line-height: 1.6;
    margin: 0;
}

.godam-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 0.75rem;
}

.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.25rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    text-align: center;
    width: 100%;
}

.godam-card p,
.prize-info p,
.tech-card p {
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 1.7;
    text-align: justify;
    text-justify: inter-word;
    margin: 0;
}

/* Sections Spacing */
.prize-section, .faq-section, .tech-section, .logic-section {
    margin-top: 5rem;
}

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

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

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

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

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

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

.prize-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Prize info header now handled by global card headings above */

.prize-badge {
    display: inline-flex;
    padding: 0.3rem 1.1rem;
    border-radius: 100px;
    font-size: 0.7rem;
    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.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: 15px;
    height: 15px;
    background: var(--gold);
    border-radius: 50%;
    filter: blur(5px);
    opacity: 0.8;
    box-shadow: 0 0 15px var(--gold);
    pointer-events: none;
}

.prize-badge {
    margin-bottom: 0.75rem; /* Gap between pill and title below */
    align-self: center; /* Center-align for liquid glass pills */
}

.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);
}

/* Tech Grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Switched from 4 to 3 columns as requested */
    gap: 1.5rem;
}

/* Tech cards now use the global .lightning-card component */

/* Compatibility Grid */
.compatibility-section {
    margin-top: 5rem;
}

.compatibility-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

/* New Static Device Card (Replacing Flip Cards) */
.device-card-v2 {
    display: flex;
    flex-direction: column;
    padding: 2rem 1.5rem !important; 
    height: 440px !important; /* Calibrated to fit Tablet View (5 rows) exactly */
    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;
    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;
    opacity: 0.9;
}

.registry-scroll-area {
    width: 100%;
    flex: 1; 
    overflow-y: auto;
    overflow-x: hidden;
    padding-top: 0.85rem;
    padding-right: 12px;
    padding-bottom: 0.5rem; /* Reduced buffer to fit Tablet baseline perfectly */
    margin-bottom: 0; 
    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: 6px;
}

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

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

.registry-scroll-area::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
    box-shadow: 0 0 10px rgba(255, 204, 51, 0.4);
}

.registry-table {
    width: 100%;
    border-collapse: collapse;
    pointer-events: auto !important; /* Ensure children are interactable */
}

.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; /* Aligned with value column */
}

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

.registry-table tr:last-child td {
    border-bottom: none;
}

.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.55rem;
}

.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: 1.15rem;
    height: 1.15rem;
    font-size: 0.7rem;
    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-scroll-list {
    flex: 1;
    overflow-y: auto;
    padding-right: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

/* Custom Scrollbar for List */
.device-scroll-list::-webkit-scrollbar {
    width: 4px;
}

.device-scroll-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

.device-scroll-list::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 10px;
}

.device-list-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.6rem 0.8rem;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    transition: all 0.3s ease;
}

.device-list-item:hover {
    background: rgba(255, 204, 51, 0.08);
    border-color: rgba(255, 204, 51, 0.3);
    transform: translateX(5px);
}

.device-list-item span:first-child {
    font-weight: 850;
    color: var(--gold);
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.02em;
}

.device-list-item span:last-child {
    color: var(--text-dim);
    font-size: 0.75rem;
    text-align: right;
    max-width: 60%;
}


/* Removed Device Box Components */

.device-size {
    display: inline-flex;
    padding: 0.3rem 1.1rem;
    border-radius: 100px;
    font-size: 0.7rem;
    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.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);
    margin-bottom: 0.6rem; /* Tighter gap */
    align-self: center;
}

/* Mirror the glass highlights for the mini badges */
.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; /* Removed bottom padding to achieve perfect card symmetry */
    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%;
}

/* Original FAQ Logic Below... */

/* FAQ List */

/* FAQ List */

/* FAQ List */
.faq-list {
    display: flex;
    flex-direction: column;
}

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

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

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

.faq-answer p {
    color: var(--text-dim);
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.7;
    margin-top: 0.5rem;
}

/* Logic Accordion & Math */
.logic-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.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;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    margin-bottom: -1px; /* Overlap borders for single-line look */
    box-shadow: 
        inset 0 1.5px 0.5px rgba(255, 255, 255, 0.1),
        inset 0 -1.5px 0.5px rgba(0, 0, 0, 0.5),
        0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.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-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 
        inset 0 1.5px 0.5px rgba(255, 255, 255, 0.3),
        0 12px 30px rgba(0, 0, 0, 0.4);
}

.logic-item.active {
    border-color: rgba(255, 204, 51, 0.4);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.logic-toggle {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    transition: color 0.3s ease;
}

.logic-toggle span {
    transition: color 0.3s ease;
}

.logic-item:hover .logic-toggle span {
    color: var(--gold);
}

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

.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,
                padding 0.4s ease;
    background: rgba(0, 0, 0, 0.15);
}

.logic-item.active .logic-content {
    max-height: 3500px; /* Increased significantly for cards + tables */
    opacity: 1;
    overflow: visible;
}

.step-guide {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-dim);
}

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

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

.step-guide strong,
.step-guide b {
    color: #eee !important;
}

.step-guide h5 {
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.step-guide ol {
    margin: 0 0 1.5rem 1.5rem;
    color: var(--text-dim);
    line-height: 1.7;
}

.math-block {
    background: rgba(0, 0, 0, 0.4);
    padding: 2rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    text-align: center;
    font-size: 1.6rem;
    color: #fff;
    border-left: 4px solid var(--gold);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
}

.logic-sub-header {
    text-align: center;
    color: var(--gold);
    font-size: 1.2rem;
    font-weight: 900;
    margin: 4rem 0 1.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

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

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

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

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

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

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

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

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

/* Methodology Visual Aids */
.methodology-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.methodology-table th {
    background: rgba(255, 204, 51, 0.1);
    color: var(--gold);
    text-align: left;
    padding: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

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

.info-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.info-card {
    background: rgba(255, 255, 255, 0.04);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 204, 51, 0.2);
    transform: translateY(-2px);
}

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

.info-card .card-value {
    color: #eee;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.5;
}

.badge-pill {
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 800;
    margin-right: 0.75rem;
}

.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: 6rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}
