/* ===============================================
   VERIFIRE - Knife Verification System
   Premium Black & Gold Theme
   =============================================== */

/* --- CSS Variables --- */
:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #161616;
    --gold-primary: #d4a853;
    --gold-secondary: #f4d47c;
    --gold-dark: #b08d3a;
    --gold-gradient: linear-gradient(135deg, #d4a853 0%, #f4d47c 50%, #d4a853 100%);
    --text-primary: #f5f5f5;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --border-color: rgba(212, 168, 83, 0.2);
    --success-color: #28a745;
    --error-color: #dc3545;
    --font-heading: 'Pridi', serif;
    --font-body: 'Kanit', sans-serif;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Yantra Sacred Geometry Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(212, 168, 83, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(212, 168, 83, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(212, 168, 83, 0.03) 0%, transparent 70%);
    z-index: -2;
    animation: backgroundPulse 8s ease-in-out infinite;
}

/* Yantra Pattern Overlay - ยันต์พระเจ้า 5 พระองค์ */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400'%3E%3Cdefs%3E%3Cstyle%3E.yantra-line%7Bfill:none;stroke:%23d4a853;stroke-width:0.8;opacity:0.12%7D.yantra-circle%7Bfill:none;stroke:%23d4a853;stroke-width:0.6;opacity:0.15%7D.yantra-lotus%7Bfill:none;stroke:%23d4a853;stroke-width:0.5;opacity:0.1%7D.buddha-symbol%7Bfill:%23d4a853;opacity:0.08%7D%3C/style%3E%3C/defs%3E%3C!-- Outer sacred circles --%3E%3Ccircle class='yantra-circle' cx='200' cy='200' r='195'/%3E%3Ccircle class='yantra-circle' cx='200' cy='200' r='180'/%3E%3Ccircle class='yantra-circle' cx='200' cy='200' r='160'/%3E%3C!-- Inner sacred geometry --%3E%3Ccircle class='yantra-circle' cx='200' cy='200' r='120'/%3E%3Ccircle class='yantra-circle' cx='200' cy='200' r='80'/%3E%3Ccircle class='yantra-circle' cx='200' cy='200' r='40'/%3E%3C!-- Five Buddha positions - Center --%3E%3Ccircle class='buddha-symbol' cx='200' cy='200' r='25'/%3E%3Ccircle class='yantra-circle' cx='200' cy='200' r='30' stroke-width='1'/%3E%3C!-- North Buddha --%3E%3Ccircle class='buddha-symbol' cx='200' cy='60' r='18'/%3E%3Ccircle class='yantra-circle' cx='200' cy='60' r='22'/%3E%3C!-- South Buddha --%3E%3Ccircle class='buddha-symbol' cx='200' cy='340' r='18'/%3E%3Ccircle class='yantra-circle' cx='200' cy='340' r='22'/%3E%3C!-- East Buddha --%3E%3Ccircle class='buddha-symbol' cx='340' cy='200' r='18'/%3E%3Ccircle class='yantra-circle' cx='340' cy='200' r='22'/%3E%3C!-- West Buddha --%3E%3Ccircle class='buddha-symbol' cx='60' cy='200' r='18'/%3E%3Ccircle class='yantra-circle' cx='60' cy='200' r='22'/%3E%3C!-- Cardinal lines connecting 5 Buddhas --%3E%3Cline class='yantra-line' x1='200' y1='60' x2='200' y2='340'/%3E%3Cline class='yantra-line' x1='60' y1='200' x2='340' y2='200'/%3E%3C!-- Diagonal sacred lines --%3E%3Cline class='yantra-line' x1='60' y1='60' x2='340' y2='340'/%3E%3Cline class='yantra-line' x1='340' y1='60' x2='60' y2='340'/%3E%3C!-- Sacred diamond (Vajra shape) --%3E%3Cpolygon class='yantra-line' points='200,40 360,200 200,360 40,200'/%3E%3Cpolygon class='yantra-line' points='200,80 320,200 200,320 80,200'/%3E%3C!-- Lotus petals around center --%3E%3Cellipse class='yantra-lotus' cx='200' cy='150' rx='15' ry='30' transform='rotate(0 200 200)'/%3E%3Cellipse class='yantra-lotus' cx='200' cy='150' rx='15' ry='30' transform='rotate(45 200 200)'/%3E%3Cellipse class='yantra-lotus' cx='200' cy='150' rx='15' ry='30' transform='rotate(90 200 200)'/%3E%3Cellipse class='yantra-lotus' cx='200' cy='150' rx='15' ry='30' transform='rotate(135 200 200)'/%3E%3Cellipse class='yantra-lotus' cx='200' cy='150' rx='15' ry='30' transform='rotate(180 200 200)'/%3E%3Cellipse class='yantra-lotus' cx='200' cy='150' rx='15' ry='30' transform='rotate(225 200 200)'/%3E%3Cellipse class='yantra-lotus' cx='200' cy='150' rx='15' ry='30' transform='rotate(270 200 200)'/%3E%3Cellipse class='yantra-lotus' cx='200' cy='150' rx='15' ry='30' transform='rotate(315 200 200)'/%3E%3C!-- Sacred triangles --%3E%3Cpolygon class='yantra-line' points='200,100 260,220 140,220'/%3E%3Cpolygon class='yantra-line' points='200,300 260,180 140,180'/%3E%3C/svg%3E");
    background-size: 500px 500px;
    opacity: 0.5;
    z-index: -1;
    animation: yantraRotate 180s linear infinite;
    pointer-events: none;
}

@keyframes yantraRotate {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.1);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

/* Floating Yantra Elements */
.yantra-float {
    position: fixed;
    pointer-events: none;
    z-index: -1;
    opacity: 0.1;
}

.yantra-float svg {
    width: 100%;
    height: 100%;
}

.yantra-float-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    animation: floatYantra1 25s ease-in-out infinite;
}

.yantra-float-2 {
    width: 350px;
    height: 350px;
    bottom: -80px;
    left: -80px;
    animation: floatYantra2 30s ease-in-out infinite;
}

.yantra-float-3 {
    width: 250px;
    height: 250px;
    top: 50%;
    left: 5%;
    animation: floatYantra3 20s ease-in-out infinite;
}

@keyframes floatYantra1 {

    0%,
    100% {
        transform: rotate(0deg) translateY(0);
        opacity: 0.08;
    }

    50% {
        transform: rotate(180deg) translateY(30px);
        opacity: 0.15;
    }
}

@keyframes floatYantra2 {

    0%,
    100% {
        transform: rotate(0deg) translateX(0);
        opacity: 0.1;
    }

    50% {
        transform: rotate(-180deg) translateX(40px);
        opacity: 0.18;
    }
}

@keyframes floatYantra3 {

    0%,
    100% {
        transform: rotate(0deg) scale(1);
        opacity: 0.06;
    }

    50% {
        transform: rotate(90deg) scale(1.2);
        opacity: 0.12;
    }
}

@keyframes backgroundPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--gold-primary);
    font-weight: 500;
}

a {
    color: var(--gold-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--gold-secondary);
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes checkmarkDraw {
    0% {
        stroke-dashoffset: 100;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes iconBounce {

    0%,
    100% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.2);
    }

    50% {
        transform: scale(0.95);
    }

    75% {
        transform: scale(1.1);
    }
}

/* --- Header --- */
.main-header {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: fadeInUp 0.6s ease-out;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 24px;
    text-align: center;
}

/* Main Site Button */
.btn-main-site {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-family: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-main-site:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    background: rgba(212, 168, 83, 0.1);
    box-shadow: 0 0 20px rgba(212, 168, 83, 0.15);
    transform: translateY(-2px);
}

.btn-main-site i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.btn-main-site:hover i {
    transform: scale(1.1);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    background: var(--gold-gradient);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    transition: all 0.4s ease;
}

.logo:hover {
    animation: shimmer 2s linear infinite;
    background-position: right center;
}

/* --- Main Content --- */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    min-height: calc(100vh - 140px);
}

/* --- Checker Container (Index Page) --- */
.checker-container {
    max-width: 550px;
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 50px 45px;
    text-align: center;
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(212, 168, 83, 0.08);
    animation: fadeInScale 0.8s ease-out;
    position: relative;
    overflow: hidden;
}

.checker-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold-gradient);
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
}

.checker-container h1 {
    font-size: 2rem;
    margin-bottom: 15px;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.checker-container .lead {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 35px;
    line-height: 1.7;
}

/* Search Icon */
.search-icon-wrapper {
    width: 90px;
    height: 90px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, rgba(212, 168, 83, 0.15), rgba(212, 168, 83, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-color);
    animation: float 3s ease-in-out infinite;
}

.search-icon-wrapper i {
    font-size: 2.5rem;
    color: var(--gold-primary);
}

/* Form Styles */
.verify-form {
    margin-top: 30px;
}

.input-group {
    position: relative;
    margin-bottom: 25px;
}

.input-group i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold-primary);
    font-size: 1.2rem;
    z-index: 2;
}

.form-control {
    width: 100%;
    padding: 18px 20px 18px 55px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 14px;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-family: inherit;
    text-align: center;
    transition: all 0.4s ease;
    letter-spacing: 2px;
}

.form-control::placeholder {
    color: var(--text-muted);
    letter-spacing: 0;
}

.form-control:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 4px rgba(212, 168, 83, 0.15), 0 0 30px rgba(212, 168, 83, 0.1);
    background: var(--bg-primary);
}

/* Submit Button */
.btn-verify {
    width: 100%;
    padding: 18px 30px;
    background: var(--gold-gradient);
    background-size: 200% auto;
    border: none;
    border-radius: 14px;
    color: var(--bg-primary);
    font-size: 1.15rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.btn-verify:hover {
    background-position: right center;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 168, 83, 0.35);
}

.btn-verify:active {
    transform: translateY(-1px);
}

.btn-verify i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-verify:hover i {
    transform: translateX(5px);
}

/* --- Result Container --- */
.result-container {
    max-width: 900px;
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 50px;
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(212, 168, 83, 0.08);
    animation: fadeInScale 0.8s ease-out;
    position: relative;
    overflow: hidden;
}

/* Result Header */
.result-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

/* Success/Error Icons */
.result-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    animation: iconBounce 0.8s ease-out;
}

.result-container.success .result-icon {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.2), rgba(40, 167, 69, 0.05));
    border: 3px solid var(--success-color);
    color: var(--success-color);
}

.result-container.error .result-icon {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.2), rgba(220, 53, 69, 0.05));
    border: 3px solid var(--error-color);
    color: var(--error-color);
}

.result-status {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.result-container.success .result-status {
    color: var(--success-color);
}

.result-container.error .result-status {
    color: var(--error-color);
}

.result-code {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-secondary);
    padding: 12px 24px;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    color: var(--gold-primary);
    letter-spacing: 2px;
}

.result-code i {
    font-size: 1rem;
}

/* Item Details Grid */
.item-details {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 40px;
    align-items: start;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

/* Image Gallery Section */
.image-section {
    position: relative;
}

.main-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    background: var(--bg-secondary);
    cursor: zoom-in;
    transition: all 0.4s ease;
}

.main-image-wrapper:hover {
    border-color: var(--gold-primary);
    box-shadow: 0 0 30px rgba(212, 168, 83, 0.2);
}

.main-image {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.main-image-wrapper:hover .main-image {
    transform: scale(1.05);
}

/* Zoom Hint */
.zoom-hint {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--gold-primary);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.main-image-wrapper:hover .zoom-hint {
    opacity: 1;
}

/* Thumbnail Gallery */
.thumbnail-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 15px;
}

.thumbnail-item {
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.thumbnail-item:hover,
.thumbnail-item.active {
    border-color: var(--gold-primary);
    opacity: 1;
    box-shadow: 0 0 15px rgba(212, 168, 83, 0.3);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.thumbnail-item:hover img {
    transform: scale(1.1);
}

/* Info Section */
.info-section {
    padding-top: 10px;
}

.item-name {
    font-size: 1.8rem;
    margin-bottom: 25px;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.info-list li {
    display: flex;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    gap: 15px;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list .info-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(212, 168, 83, 0.15), rgba(212, 168, 83, 0.05));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-list .info-icon i {
    color: var(--gold-primary);
    font-size: 1rem;
}

.info-list .info-content {
    flex: 1;
}

.info-list .info-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.info-list .info-value {
    color: var(--text-primary);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Description Box */
.description-box {
    background: var(--bg-secondary);
    padding: 25px;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    margin-top: 20px;
}

.description-box h4 {
    font-size: 1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.description-box p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Back Button */
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 40px;
}

.btn-back:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    background: rgba(212, 168, 83, 0.1);
}

.btn-back i {
    transition: transform 0.3s ease;
}

.btn-back:hover i {
    transform: translateX(-5px);
}

/* Error State */
.error-content {
    text-align: center;
    padding: 40px 0;
}

.error-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 500px;
    margin: 0 auto;
}

/* --- Lightbox / Image Zoom Modal --- */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    cursor: zoom-out;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    animation: fadeInScale 0.4s ease-out;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: var(--gold-primary);
    border-color: var(--gold-primary);
    color: var(--bg-primary);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-nav:hover {
    background: var(--gold-primary);
    border-color: var(--gold-primary);
    color: var(--bg-primary);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-counter {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 25px;
    border-radius: 30px;
    color: white;
    font-size: 0.95rem;
}

/* --- Magnifier Glass Effect --- */
.magnifier-container {
    position: relative;
    overflow: hidden;
}

.magnifier-glass {
    position: absolute;
    width: 180px;
    height: 180px;
    border: 3px solid var(--gold-primary);
    border-radius: 50%;
    cursor: none;
    background-repeat: no-repeat;
    box-shadow:
        0 0 0 5px rgba(0, 0, 0, 0.3),
        0 20px 40px rgba(0, 0, 0, 0.5),
        inset 0 0 30px rgba(212, 168, 83, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 100;
}

.magnifier-container:hover .magnifier-glass {
    opacity: 1;
}

/* --- Footer --- */
.main-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 25px 20px;
    text-align: center;
}

.main-footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .item-details {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .image-section {
        max-width: 400px;
        margin: 0 auto;
    }

    .thumbnail-gallery {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 768px) {
    .checker-container {
        padding: 35px 25px;
    }

    .checker-container h1 {
        font-size: 1.6rem;
    }

    .result-container {
        padding: 35px 25px;
    }

    .result-status {
        font-size: 1.4rem;
    }

    .item-name {
        font-size: 1.4rem;
    }

    .thumbnail-gallery {
        grid-template-columns: repeat(4, 1fr);
    }

    .lightbox-nav {
        width: 45px;
        height: 45px;
    }

    .lightbox-prev {
        left: 15px;
    }

    .lightbox-next {
        right: 15px;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 30px 15px;
    }

    .checker-container {
        padding: 30px 20px;
    }

    .search-icon-wrapper {
        width: 70px;
        height: 70px;
    }

    .search-icon-wrapper i {
        font-size: 2rem;
    }

    .form-control {
        padding: 15px 15px 15px 45px;
        font-size: 1rem;
    }

    .btn-verify {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .result-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }

    .thumbnail-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}