@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Rajdhani:wght@300;400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base styles */
:root {
    --primary: #6e3bc9;
    --secondary: #2a1659;
    --warning: #ffd700;
    --danger: #ff4444;
    --success: #10b981;
    --info: #3b82f6;
    --neon-purple: #b829ff;
    --text: #ffffff;

    --primary-purple: #6e3bc9;
    --cyber-pink: #ff2d75;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --card-bg: rgba(17, 17, 27, 0.75);
    --border-color: rgba(255, 255, 255, 0.1);
    --dark-purple: #2a1659;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    font-size: clamp(14px, 2.5vw, 16px);
    line-height: 1.6;
}

/* Animated Background */
.bg-animation {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    background: linear-gradient(125deg, #0a0a0f 0%, #1a0f2e 50%, #0a0a0f 100%);
}

.bg-animation::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(232, 121, 249, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(167, 139, 250, 0.1) 0%, transparent 50%);
    animation: pulse 10s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

/* Grid Pattern Overlay */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(139, 92, 246, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

/* Floating Particles */
.particles {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--neon-purple);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-purple);
    animation: float 15s infinite;
}

@keyframes float {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-10vh) translateX(100px);
        opacity: 0;
    }
}

.container {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(10px, 3vw, 20px);
    position: relative;
    z-index: 10;
}

/* Enhanced Mobile-Responsive Disclaimer */
.disclaimer-banner {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(239, 68, 68, 0.1));
    border: 1px solid rgba(245, 158, 11, 0.5);
    border-radius: 15px;
    margin-bottom: clamp(20px, 5vw, 30px);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.disclaimer-header {
    padding: clamp(15px, 4vw, 20px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.disclaimer-title {
    color: var(--warning);
    font-size: clamp(14px, 3.5vw, 18px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    line-height: 1.4;
}

.disclaimer-toggle {
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid var(--warning);
    color: var(--warning);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
    font-size: 18px;
    font-weight: bold;
}

.disclaimer-toggle:hover {
    background: rgba(245, 158, 11, 0.3);
    transform: scale(1.1);
}

.toggle-icon {
    transition: transform 0.3s;
}

.disclaimer-content {
    padding: 0 clamp(15px, 4vw, 20px) clamp(15px, 4vw, 20px);
    color: var(--text-primary);
    line-height: 1.6;
    transition: all 0.3s ease;
    overflow: hidden;
}

.disclaimer-content.collapsed {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
}

.disclaimer-content ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.disclaimer-content li {
    padding: clamp(3px, 1vw, 5px) 0;
    padding-left: 25px;
    position: relative;
    font-size: clamp(13px, 2.8vw, 15px);
}

.disclaimer-content li::before {
    content: '⚠️';
    position: absolute;
    left: 0;
}

/* Header with Improved Font Scaling */
header {
    padding: clamp(10px, 3vw, 15px);
    text-align: center;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: clamp(15px, 4vw, 20px);
    animation: logo-bounce 2s ease-in-out infinite;
}

.logo {
    width: clamp(60px, 15vw, 80px);
    height: clamp(60px, 15vw, 80px);
    background: linear-gradient(135deg, var(--primary-purple), var(--cyber-pink));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(30px, 8vw, 40px);
    animation: logo-glow 2s ease-in-out infinite;
    box-shadow: 0 0 40px rgba(96, 93, 104, 0.5);
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

@keyframes logo-glow {

    0%,
    100% {
        box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
    }

    50% {
        box-shadow: 0 0 60px rgba(232, 121, 249, 0.8);
    }
}

h1 {
    font-family: 'Orbitron', monospace;
    font-size: clamp(1.8rem, 6vw, 3.5rem);
    font-weight: 900;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--primary-purple), var(--cyber-pink));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: clamp(1px, 0.5vw, 3px);
    margin-bottom: 10px;
    text-align: center;
    animation: glow 3s ease-in-out infinite;
}

h2 {
    font-size: clamp(1rem, 4vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 10px;
}

@keyframes glow {

    0%,
    100% {
        text-shadow: 0 0 20px rgba(110, 59, 201, 0.5);
    }

    50% {
        text-shadow: 0 0 40px rgba(255, 45, 117, 0.8);
    }
}

.tagline {
    font-size: clamp(0.9rem, 3vw, 1.2rem);
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: clamp(1px, 0.3vw, 2px);
    margin-bottom: 15px;
}

.tool-type-badge {
    display: inline-block;
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid var(--warning);
    color: var(--warning);
    padding: clamp(5px, 2vw, 8px) clamp(10px, 3vw, 15px);
    border-radius: 20px;
    font-size: clamp(10px, 2.5vw, 12px);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
    line-height: 1.3;
}

/* Enhanced Status Bar */
.status-bar {
    flex-direction: column;
    gap: 10px;
    padding: clamp(10px, 3vw, 15px);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(232, 121, 249, 0.05));
    border: 1px solid var(--border-color);
    border-radius: 15px;
    margin-bottom: clamp(20px, 5vw, 30px);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (min-width: 768px) {
    .status-bar {
        flex-direction: row;
    }
}

.status-indicators {
    display: flex;
    gap: clamp(15px, 4vw, 25px);
    flex-wrap: wrap;
    justify-content: center;
}

@media (min-width: 768px) {
    .status-indicators {
        justify-content: flex-start;
    }
}

.status-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(12px, 2.5vw, 14px);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 10px var(--success);
    animation: status-pulse 2s ease-in-out infinite;
}

.status-dot.inactive {
    background: var(--danger);
    box-shadow: 0 0 10px var(--danger);
}

@keyframes status-pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

#cache-info {
    font-size: clamp(11px, 2.3vw, 14px);
    text-align: center;
}

@media (min-width: 768px) {
    #cache-info {
        text-align: right;
    }
}

/* Enhanced Main Card */
.main-card {
    padding: clamp(20px, 4vw, 30px);
    margin: clamp(10px, 3vw, 15px) 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow:
        0 0 50px rgba(139, 92, 246, 0.1),
        inset 0 0 20px rgba(139, 92, 246, 0.05);
}

/* Enhanced Mobile-First Button Layout */
.input-selector {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: clamp(20px, 4vw, 25px);
}

@media (min-width: 768px) {
    .input-selector {
        flex-direction: row;
    }
}

.selector-btn {
    width: 100%;
    padding: clamp(12px, 3vw, 15px);
    font-size: clamp(14px, 3vw, 16px);
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-height: 48px;
    /* Touch-friendly */
}

@media (min-width: 768px) {
    .selector-btn {
        flex: 1;
        min-width: 140px;
    }
}

.selector-btn:hover {
    border-color: var(--primary-purple);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.selector-btn.active {
    background: linear-gradient(135deg, var(--primary-purple), var(--dark-purple));
    border-color: transparent;
    color: white;
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.4);
}

/* Input Field */
.input-group {
    margin-bottom: clamp(25px, 5vw, 30px);
}

.input-label {
    display: block;
    margin-bottom: 12px;
    font-size: clamp(12px, 2.8vw, 14px);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--neon-purple);
    font-weight: 600;
}

.input-field {
    width: 100%;
    min-height: clamp(100px, 25vw, 120px);
    font-size: 16px;
    /* Prevents iOS zoom */
    padding: clamp(12px, 3vw, 15px);
    background: rgba(10, 10, 15, 0.6);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    color: var(--text-primary);
    transition: all 0.3s;
    line-height: 1.5;
    resize: vertical;
}

.input-field:focus {
    outline: none;
    border-color: var(--neon-purple);
    background: rgba(139, 92, 246, 0.05);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.2);
}

/* Enhanced Mobile-First Action Buttons */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 2.5vw, 15px);
    margin: clamp(15px, 4vw, 20px) 0;
}

@media (min-width: 768px) {
    .action-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 15px;
    }
}

.btn {
    width: 100%;
    padding: clamp(12px, 3vw, 15px) clamp(15px, 4vw, 20px);
    font-size: clamp(14px, 3vw, 16px);
    border: none;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: clamp(1px, 0.3vw, 2px);
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    min-height: 48px;
    /* Touch-friendly */
    font-weight: 600;
}

@media (min-width: 768px) {
    .btn {
        width: auto;
        min-width: 160px;
    }
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-purple), var(--cyber-pink));
    color: white;
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--text-secondary);
    border: 2px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--primary-purple);
    color: var(--primary-purple);
    background: rgba(139, 92, 246, 0.1);
}

.btn-info {
    background: transparent;
    color: var(--info);
    border: 2px solid var(--info);
    padding: clamp(10px, 2.5vw, 12px) clamp(15px, 3vw, 25px);
    font-size: clamp(12px, 2.8vw, 14px);
}

.btn-info:hover {
    background: rgba(59, 130, 246, 0.1);
}

/* Enhanced Results Container */
#result-container {
    margin-top: clamp(30px, 6vw, 40px);
    padding: clamp(10px, 3vw, 15px);
    font-size: clamp(13px, 3vw, 15px);
    display: none;
}

.result-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: clamp(25px, 5vw, 35px);
    backdrop-filter: blur(20px);
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Verification Status Banner */
.verification-status {
    padding: clamp(15px, 4vw, 20px);
    border-radius: 15px;
    margin-bottom: clamp(20px, 5vw, 30px);
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: clamp(12px, 2.8vw, 14px);
}

@media (min-width: 768px) {
    .verification-status {
        flex-direction: row;
        align-items: center;
        gap: 15px;
    }
}

.verification-verified {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--success);
    color: var(--success);
}

.verification-disputed {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--danger);
    color: var(--danger);
}

.verification-unverified {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid var(--warning);
    color: var(--warning);
}

.verification-ai-only {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid var(--info);
    color: var(--info);
}

.verification-icon {
    font-size: clamp(20px, 5vw, 24px);
}

.verdict {
    text-align: center;
    padding: clamp(25px, 5vw, 30px);
    border-radius: 15px;
    margin-bottom: clamp(25px, 5vw, 30px);
}

.verdict-fake {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 0 40px rgba(239, 68, 68, 0.4);
}

.verdict-real {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.4);
}

.verdict-icon {
    font-size: clamp(40px, 10vw, 60px);
    margin-bottom: 15px;
    animation: icon-pulse 2s ease-in-out infinite;
}

@keyframes icon-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.verdict h2 {
    font-family: 'Orbitron', monospace;
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.confidence-score {
    font-size: clamp(1rem, 3.5vw, 1.3rem);
    opacity: 0.95;
}

/* Progress Bars */
.progress-bars {
    margin: clamp(25px, 5vw, 30px) 0;
}

.progress-item {
    margin-bottom: clamp(20px, 4vw, 25px);
}

.progress-label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: clamp(12px, 2.8vw, 14px);
}

@media (min-width: 768px) {
    .progress-label {
        flex-direction: row;
        justify-content: space-between;
    }
}

.progress-bar {
    height: clamp(25px, 6vw, 30px);
    background: rgba(10, 10, 15, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: clamp(11px, 2.5vw, 13px);
}

.fill-fake {
    background: linear-gradient(90deg, #ef4444, #dc2626);
}

.fill-real {
    background: linear-gradient(90deg, #10b981, #059669);
}

/* Enhanced User Responsibility Section */
.responsibility-section {
    background: rgba(245, 158, 11, 0.05);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 15px;
    padding: clamp(20px, 5vw, 25px);
    margin-top: clamp(25px, 5vw, 30px);
}

.responsibility-title {
    color: var(--warning);
    font-size: clamp(16px, 4vw, 20px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.responsibility-content {
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: clamp(13px, 3vw, 15px);
}

.responsibility-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (min-width: 768px) {
    .responsibility-actions {
        flex-direction: row;
        gap: 15px;
    }
}

/* Fully Responsive Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    padding: clamp(10px, 3vw, 20px);
    overflow-y: auto;
}

.modal-content {
    width: 100%;
    max-width: 600px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: clamp(15px, 4vw, 25px);
    margin: clamp(10px, 3vw, 20px) auto;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    animation: modalSlide 0.3s ease;
    position: relative;
}

@keyframes modalSlide {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 15px;
}

.modal-title {
    color: var(--neon-purple);
    font-size: clamp(18px, 4.5vw, 24px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    flex: 1;
    line-height: 1.3;
}

.close-modal {
    color: var(--text-secondary);
    font-size: clamp(24px, 6vw, 28px);
    cursor: pointer;
    transition: color 0.3s;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.close-modal:hover {
    color: var(--danger);
    background: rgba(239, 68, 68, 0.1);
}

.modal-body {
    font-size: clamp(13px, 3vw, 15px);
    line-height: 1.7;
}

.modal-body h3 {
    font-size: clamp(16px, 4vw, 18px);
    margin-bottom: 15px;
    margin-top: 20px;
}

.modal-body h3:first-child {
    margin-top: 0;
}

.verification-steps {
    list-style: none;
    padding: 0;
}

.verification-steps li {
    background: rgba(139, 92, 246, 0.05);
    border-left: 3px solid var(--primary-purple);
    padding: clamp(12px, 3vw, 15px);
    margin-bottom: 15px;
    border-radius: 5px;
    font-size: clamp(13px, 3vw, 14px);
}

.verification-steps strong {
    color: var(--neon-purple);
    display: block;
    margin-bottom: 5px;
    font-size: clamp(14px, 3.2vw, 15px);
}

/* Analysis Section */
.analysis-section {
    margin-top: clamp(25px, 5vw, 30px);
    padding: clamp(20px, 5vw, 25px);
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 15px;
}

.analysis-section h3 {
    color: var(--neon-purple);
    margin-bottom: 15px;
    font-family: 'Orbitron', monospace;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: clamp(14px, 3.5vw, 16px);
}

/* Model Cards Grid */
.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: clamp(15px, 4vw, 20px);
    margin-top: clamp(25px, 5vw, 30px);
}

@media (max-width: 480px) {
    .models-grid {
        grid-template-columns: 1fr;
    }
}

.model-card {
    background: rgba(10, 10, 15, 0.6);
    border: 1px solid var(--border-color);
    padding: clamp(15px, 4vw, 20px);
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
}

.model-card:hover {
    border-color: var(--neon-purple);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}

.model-icon {
    font-size: clamp(28px, 7vw, 35px);
    margin-bottom: 10px;
}

.model-name {
    font-weight: 700;
    color: var(--neon-purple);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: clamp(12px, 3vw, 14px);
}

/* Enhanced Loading */
.loading {
    text-align: center;
    padding: clamp(40px, 10vw, 60px);
}

.cyber-loader {
    width: clamp(80px, 20vw, 100px);
    height: clamp(80px, 20vw, 100px);
    margin: 0 auto clamp(20px, 5vw, 30px);
    position: relative;
}

.cyber-loader div {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: var(--primary-purple);
    border-radius: 50%;
    animation: cyber-spin 1.5s linear infinite;
}

.cyber-loader div:nth-child(2) {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    border-top-color: var(--cyber-pink);
    animation-duration: 1s;
    animation-direction: reverse;
}

.cyber-loader div:nth-child(3) {
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    border-top-color: var(--neon-purple);
    animation-duration: 0.8s;
}

@keyframes cyber-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading h3 {
    font-size: clamp(16px, 4vw, 18px);
}

.loading p {
    font-size: clamp(13px, 3vw, 14px);
}

/* Enhanced Footer */
footer {
    text-align: center;
    padding: clamp(30px, 6vw, 40px) clamp(15px, 4vw, 20px);
    margin-top: clamp(50px, 10vw, 60px);
    color: var(--text-secondary);
    font-size: clamp(12px, 2.8vw, 14px);
}

.footer-disclaimer {
    background: rgba(245, 158, 11, 0.05);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 10px;
    padding: clamp(15px, 4vw, 20px);
    margin-top: 20px;
    line-height: 1.6;
    font-size: clamp(11px, 2.5vw, 13px);
}

/* Error Message */
.error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    padding: clamp(15px, 4vw, 20px);
    border-radius: 15px;
    text-align: center;
}

.error-message h3 {
    font-size: clamp(18px, 4.5vw, 24px);
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 480px) {
    .container {
        width: 98%;
        padding: 8px;
    }

    .main-card {
        border-radius: 15px;
    }

    .disclaimer-title {
        font-size: 12px;
        letter-spacing: 0.5px;
    }

    .tool-type-badge {
        font-size: 9px;
        padding: 4px 8px;
        line-height: 1.2;
    }

    .status-indicators {
        justify-content: space-around;
        gap: 10px;
    }

    .status-item {
        font-size: 11px;
    }

    .btn {
        padding: 14px 16px;
        font-size: 14px;
        letter-spacing: 1px;
    }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 600px) {
    .container {
        padding: 5px;
    }

    header {
        padding: 5px;
    }

    .main-card {
        margin: 5px 0;
        padding: 15px;
    }

    .logo {
        width: 50px;
        height: 50px;
        font-size: 25px;
    }

    h1 {
        font-size: 1.5rem;
    }

    .tagline {
        font-size: 0.8rem;
    }
}

/* High contrast mode support */
@media (forced-colors: active) {

    .btn,
    .selector-btn,
    .disclaimer-toggle {
        border: 2px solid currentColor;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {

    .bg-animation,
    .particles,
    .grid-overlay,
    .logo,
    .verdict-icon {
        animation: none;
    }

    .particles {
        display: none;
    }
}

/* Print styles */
@media print {

    .bg-animation,
    .grid-overlay,
    .particles,
    .action-buttons,
    .disclaimer-toggle {
        display: none;
    }

    .disclaimer-content.collapsed {
        max-height: none;
        padding: 15px 0;
        opacity: 1;
    }
}