/* Content Verification Page Styles */

/* Verification Section */
.verification-section {
    padding: 6rem 0 3rem;
    background: var(--bg-dark);
    min-height: 100vh;
}

/* Hero Banner */
.hero-banner {
    text-align: center;
    margin-bottom: 3rem;
}

.hero-banner h1 {
    font-size: 2.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.hero-description {
    color: var(--text-secondary);
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Info Button */
.btn-info {
    padding: 0.6rem 1.2rem;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-info:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Verification Card */
.verification-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.verification-card h2 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.instruction {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* Verification Form */
.verification-form {
    max-width: 100%;
}

.input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.input-group input {
    flex: 1;
    padding: 1rem 1.5rem;
    background: var(--bg-dark);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.btn-verify {
    padding: 1rem 2rem;
    background: var(--gradient-1);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-verify:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

.btn-verify:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
    margin-right: 0.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.form-hint {
    color: var(--text-secondary);
    font-size: 0.85rem;
    display: block;
    margin-top: 0.5rem;
}

/* Results Section */
#resultsSection {
    margin-top: 2rem;
}

.result-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    animation: slideIn 0.4s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-card.verified {
    border-color: #00ff87;
}

.result-card.not-found {
    border-color: #f59e0b;
}

.result-card.error {
    border-color: #ef4444;
}

.result-header {
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.status-badge.verified {
    background: rgba(0, 255, 135, 0.1);
    border: 1px solid #00ff87;
    color: #00ff87;
}

.status-badge.not-found {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid #f59e0b;
    color: #f59e0b;
}

.status-badge.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    color: #ef4444;
}

.status-badge .icon {
    font-size: 1.2rem;
}

.result-title {
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 600;
    word-break: break-all;
}

.result-body {
    padding: 2rem;
}

.info-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.info-section:last-child {
    border-bottom: none;
}

.info-section h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.creator-info,
.blockchain-info,
.content-details {
    background: var(--bg-dark);
    padding: 1.5rem;
    border-radius: 8px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-row:last-child {
    border-bottom: none;
}

.info-row .label {
    color: var(--text-secondary);
    font-weight: 500;
}

.info-row .value {
    color: var(--text-primary);
    font-weight: 500;
    text-align: right;
    word-break: break-word;
    max-width: 60%;
}

.info-row .value.mono {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

/* Verification Seal */
.verification-seal {
    background: linear-gradient(135deg, rgba(0, 255, 135, 0.1) 0%, rgba(10, 10, 15, 0.5) 100%);
    border: 1px solid #00ff87;
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 2rem;
}

.seal-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.seal-text strong {
    color: #00ff87;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.seal-text p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* Warning Box */
.warning-box {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.warning-box p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.warning-box strong {
    color: #f59e0b;
}

.warning-box ul {
    color: var(--text-secondary);
    margin: 0;
    padding-left: 1.5rem;
}

.warning-box li {
    margin-bottom: 0.5rem;
}

/* Info Box */
.info-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
    margin-top: 3rem;
}

.info-box h2 {
    color: var(--text-primary);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.info-box h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.step {
    display: flex;
    gap: 1rem;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--gradient-1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    text-align: left;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Benefits */
.benefits-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg-dark);
    border-radius: 8px;
    color: var(--text-primary);
}

.benefit-icon {
    color: #00ff87;
    font-size: 1.2rem;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
    .verification-section {
        padding: 5rem 1rem 2rem;
    }

    .hero-banner h1 {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .verification-card {
        padding: 1.5rem;
    }

    .input-group {
        flex-direction: column;
    }

    .info-row {
        flex-direction: column;
        gap: 0.5rem;
    }

    .info-row .value {
        max-width: 100%;
        text-align: left;
    }

    .verification-seal {
        flex-direction: column;
        text-align: center;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
}

.modal-wide {
    max-width: 800px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    color: var(--text-primary);
    font-size: 1.3rem;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover {
    color: var(--primary-color);
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
}

.info-modal-body {
    max-height: 69vh;
    overflow-y: auto;
}

.info-content {
    color: var(--text-secondary);
    line-height: 1.7;
}

.info-section {
    margin-bottom: 0.5rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid var(--border-color);
}

.info-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.info-section h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 0.15rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.info-section p {
    margin-bottom: 0.4rem;
}

.info-section strong {
    color: var(--primary-color);
}

.info-section ul,
.info-section ol {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.info-section li {
    margin-bottom: 0.3rem;
}

.info-section a {
    color: var(--primary-color);
    text-decoration: none;
}

.info-section a:hover {
    text-decoration: underline;
}

#infoModal .modal-footer .btn-primary {
    padding: 0.7rem 2.5rem;
    font-size: 1rem;
    border-radius: 25px;
    background: var(--gradient-1);
    border: none;
    color: white;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

#infoModal .modal-footer .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}
