/* Стили для сайта Департамент Оккультных Услуг США */

/* Ban Screen Styles */
.ban-screen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.ban-screen {
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: banScreenSlide 0.5s ease-out;
}

@keyframes banScreenSlide {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.ban-header {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    padding: 3rem 2rem 2rem;
    border-radius: 20px 20px 0 0;
    text-align: center;
    position: relative;
}

.ban-icon-large {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.ban-header h1 {
    margin: 0 0 0.5rem 0;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.ban-subtitle {
    margin: 0;
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 400;
}

.ban-content {
    padding: 2.5rem;
}

.ban-details-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    border-left: 5px solid #ff6b6b;
}

.ban-details-card h2 {
    margin: 0 0 1.5rem 0;
    color: #333;
    font-size: 1.4rem;
    font-weight: 600;
}

.ban-info-grid {
    display: grid;
    gap: 1rem;
}

.ban-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ban-info-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.ban-info-item.description-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.info-label {
    font-weight: 600;
    color: #666;
    font-size: 0.95rem;
}

.info-value {
    font-weight: 500;
    color: #333;
    text-align: right;
    max-width: 60%;
}

.info-value.reason {
    color: #ff6b6b;
    font-weight: 600;
}

.info-value.permanent {
    color: #dc3545;
    font-weight: 700;
}

.info-value.date {
    color: #495057;
}

.info-value.description {
    color: #495057;
    background: #f8f9fa;
    padding: 0.75rem;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
    font-style: italic;
    line-height: 1.4;
    width: 100%;
    margin-top: 0.25rem;
}

.info-value.status {
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.info-value.status.temporary {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.info-value.status.permanent {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.ban-contact-section {
    background: #e3f2fd;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    border-left: 5px solid #2196f3;
}

.ban-contact-section h3 {
    margin: 0 0 1.5rem 0;
    color: #1976d2;
    font-size: 1.3rem;
    font-weight: 600;
}

.contact-methods {
    display: grid;
    gap: 1rem;
}

.contact-method {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-method:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.contact-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-label {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.contact-value {
    color: #666;
    font-size: 0.9rem;
}

.contact-btn {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.contact-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3);
}

.ban-actions {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    border-radius: 15px;
    border: 1px solid #4a5568;
}

.refresh-btn,
.ban-screen .refresh-btn {
    background: linear-gradient(135deg, #1a202c, #2d3748) !important;
    color: white !important;
    border: 1px solid #4a5568 !important;
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 15px rgba(26, 32, 44, 0.4) !important;
    position: relative;
    overflow: hidden;
}

.refresh-btn:hover,
.ban-screen .refresh-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 32, 44, 0.6) !important;
    background: linear-gradient(135deg, #2d3748, #4a5568) !important;
    border-color: #718096 !important;
}

.refresh-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.refresh-icon {
    font-size: 1.2rem;
    animation: spin 2s linear infinite paused;
}

.refresh-btn:hover .refresh-icon {
    animation-play-state: running;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.refresh-text {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.refresh-note,
.ban-screen .refresh-note {
    margin: 0;
    color: #e2e8f0 !important;
    font-size: 0.95rem;
    line-height: 1.5;
    background: linear-gradient(135deg, #1a202c, #2d3748) !important;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #4299e1 !important;
    border: 1px solid #4a5568 !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 500px;
    margin: 0 auto;
}

.note-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Стили для таймера обратного отсчета */
.countdown-item {
    background: linear-gradient(135deg, #1a202c, #2d3748) !important;
    border: 1px solid #4a5568 !important;
    border-left: 4px solid #4299e1 !important;
}

.countdown-item .info-label {
    color: #e2e8f0 !important;
}

.info-value.countdown {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    text-align: center !important;
    max-width: none !important;
    animation: countdownPulse 2s ease-in-out infinite;
}

@keyframes countdownPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Responsive Ban Screen */
@media (max-width: 768px) {
    .ban-screen {
        margin: 1rem;
        max-height: calc(100vh - 2rem);
    }
    
    .ban-header {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .ban-header h1 {
        font-size: 2rem;
    }
    
    .ban-content {
        padding: 1.5rem;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .contact-info {
        align-items: center;
    }
    
    .ban-info-item {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .info-value {
        max-width: 100%;
    }
}

/* CSS Variables */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f8f9fa;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --accent-blue: #0066cc;
    --accent-blue-hover: #004499;
    --border-color: #e5e5e5;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #f8f9fa;
    opacity: 1;
}

/* Fix for data-hidden elements */
[data-hidden="true"] {
    display: none !important;
}

/* Spirit functions title */
.spirit-functions-title {
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
    color: #1a1a1a;
}

/* Login link styling */
.login-link {
    color: #0066cc !important;
    font-weight: 600 !important;
}

/* Header Section */
.security-banner {
    background: #2c3e50;
    color: white;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    border-bottom: 2px solid #34495e;
}

.security-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.security-icon {
    color: #27ae60;
}

.security-badge {
    background: #27ae60;
    padding: 0.2rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 2px solid #20c997;
    box-shadow: 0 0 8px rgba(39, 174, 96, 0.3);
}

.header {
    background: #ffffff;
    border-bottom: 3px solid #0066cc;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.us-flag {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    border: 2px solid #003366;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 4px 8px rgba(0,102,204,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.us-flag::before {
    content: '';
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1v7z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}

/* Small black shield button */
.shield-btn {
    width: 20px;
    height: 20px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.shield-btn:hover {
    background: #333;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.shield-btn::before {
    content: '';
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1v7z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
}

.site-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.2rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

/* Navigation */
.nav-links {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
    height: 100%;
}

.nav-links a {
    text-decoration: none;
    color: #0066cc;
    font-weight: 600;
    transition: all 0.2s ease;
    padding: 0.8rem 1rem;
    border-radius: 0;
    position: relative;
    border-right: 1px solid #e5e5e5;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 90px;
    max-width: 140px;
    text-align: center;
    white-space: nowrap;
    font-size: 0.9rem;
}

.nav-links a[href="#legal"] {
    min-width: 160px;
    max-width: 180px;
}

.nav-links a:hover {
    background: #0066cc;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,102,204,0.2);
}

.nav-links a:active {
    transform: translateY(0);
    background: #004499;
}

.nav-links li {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-links li:first-child a {
    border-left: none;
}



/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    background: #0066cc;
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    margin-left: 1rem;
    transition: background-color 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: #004499;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid #e5e5e5;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 1000;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
}

.mobile-nav li {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-nav a {
    display: block;
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
    padding: 1rem 2rem;
    transition: all 0.2s ease;
}

.mobile-nav a:hover {
    background: #0066cc;
    color: white;
}



/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    padding: 4rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -1px;
    transition: color 0.3s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.6;
    font-weight: 400;
    transition: color 0.3s ease;
}

.government-seal {
    width: 140px;
    height: 140px;
    margin: 0 auto 2rem;
    background: radial-gradient(circle, #000000 0%, #1a1a1a 70%, #000000 100%);
    border: 4px solid #d4af37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
    box-shadow: 
        0 0 25px rgba(212, 175, 55, 0.4),
        inset 0 0 15px rgba(212, 175, 55, 0.2);
    overflow: hidden;
}

.government-seal.small {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    border-width: 2px;
}

.government-seal::before {
    content: 'S';
    color: #d4af37;
    font-size: 5rem;
    font-weight: bold;
    font-family: 'Georgia', serif;
    text-shadow: 
        0 0 10px rgba(212, 175, 55, 0.8),
        0 0 20px rgba(212, 175, 55, 0.6),
        0 0 30px rgba(212, 175, 55, 0.4);
    animation: sunPulse 4s ease-in-out infinite alternate;
    position: absolute;
    z-index: 1;
}

.government-seal.small::before {
    font-size: 2.5rem;
}

/* Буквы U и N внутри буквы S */
.government-seal::after {
    content: 'U\A N';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.1rem;
    font-weight: bold;
    color: #000000;
    line-height: 1.6;
    text-align: center;
    white-space: pre;
    text-shadow: 
        0 0 3px rgba(212, 175, 55, 0.3),
        0 1px 2px rgba(0, 0, 0, 0.8);
    z-index: 2;
    font-family: 'Georgia', serif;
}

.government-seal.small::after {
    font-size: 0.7rem;
    line-height: 1.4;
}

@keyframes sunPulse {
    0% { 
        text-shadow: 
            0 0 10px rgba(212, 175, 55, 0.8),
            0 0 20px rgba(212, 175, 55, 0.6),
            0 0 30px rgba(212, 175, 55, 0.4);
        transform: scale(1);
    }
    50% {
        text-shadow: 
            0 0 15px rgba(212, 175, 55, 1),
            0 0 30px rgba(212, 175, 55, 0.8),
            0 0 45px rgba(212, 175, 55, 0.6);
        transform: scale(1.05);
    }
    100% { 
        text-shadow: 
            0 0 10px rgba(212, 175, 55, 0.8),
            0 0 20px rgba(212, 175, 55, 0.6),
            0 0 30px rgba(212, 175, 55, 0.4);
        transform: scale(1);
    }
}

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

/* Ancient support styling */
.ancient-support {
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 0.75rem;
    text-align: center;
}

.support-line {
    margin-bottom: 0.3rem;
}

.ancient-text {
    color: #ffd700;
    font-family: 'Times New Roman', serif;
    font-style: italic;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
    letter-spacing: 0.5px;
    cursor: help;
}

.latin-text {
    color: #c9ada7;
    font-family: 'Times New Roman', serif;
    font-style: italic;
    font-size: 0.7rem;
    text-shadow: 0 0 6px rgba(201, 173, 167, 0.4);
    letter-spacing: 0.3px;
    cursor: help;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 1rem;
}

.stat-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow-light);
    border-top: 4px solid var(--accent-blue);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px var(--shadow-medium);
    border-top-color: var(--accent-blue-hover);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,102,204,0.05), transparent);
    transition: left 0.5s ease;
}

.stat-item:hover::before {
    left: 100%;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
    line-height: 1.1;
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
    transition: color 0.3s ease;
}

/* Government Notice */
.government-notice {
    background: #fff3cd;
    border-top: 3px solid #ffc107;
    border-bottom: 3px solid #ffc107;
    padding: 1.5rem 0;
}

.notice-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.notice-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.notice-text {
    color: #856404;
    font-weight: 500;
    line-height: 1.5;
}

/* Verification Section */
.verification-section {
    padding: 4rem 0;
    background: var(--bg-tertiary);
    transition: background-color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.section-description {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    transition: color 0.3s ease;
}

.verification-tool {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow-light);
    border: 1px solid var(--border-color);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.search-container {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.search-input {
    flex: 1;
    padding: 1rem;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.search-input:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0,102,204,0.1);
}

.search-button {
    background: #0066cc;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.search-button:hover {
    background: #004499;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,102,204,0.3);
}

.search-icon {
    font-size: 1.1rem;
}

.verification-results {
    min-height: 100px;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px dashed #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-style: italic;
}

.verification-results.has-results {
    background: white;
    border: 1px solid #e5e5e5;
    border-left: 4px solid #28a745;
}

/* Main Content Layout */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.content-section {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow-light);
    border-left: 5px solid var(--accent-blue);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Spirit Passport */
.spirit-passport {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 100%);
    color: #ffffff;
    padding: 2.5rem;
    border-radius: 15px;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.spirit-passport::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M50 10 L60 35 L85 35 L65 50 L75 75 L50 60 L25 75 L35 50 L15 35 L40 35 Z" fill="%23ffd700"/></svg>');
    background-size: contain;
    opacity: 0.1;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.passport-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.passport-left {
    flex: 1;
}

.passport-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.passport-subtitle {
    font-size: 1rem;
    color: #bdc3c7;
    font-style: italic;
}

.passport-right {
    text-align: right;
}

.passport-id {
    font-family: 'Courier New', monospace;
    color: #ecf0f1;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.passport-verification {
    color: #27ae60;
    font-size: 0.9rem;
    font-weight: 600;
}

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

.info-item {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    border-left: 3px solid #ffd700;
    backdrop-filter: blur(10px);
}

.info-label {
    font-size: 0.8rem;
    color: #bdc3c7;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
}

.info-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffd700;
}

.status-active {
    background: #28a745 !important;
    color: white !important;
    padding: 0.25rem 0.75rem !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    border: 1px solid #20a03a !important;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3) !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2) !important;
}

.power-bar {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.2);
    border-radius: 3px;
    margin-top: 0.5rem;
    overflow: hidden;
}

.power-fill {
    height: 100%;
    background: linear-gradient(90deg, #27ae60, #2ecc71, #ffd700);
    border-radius: 3px;
    animation: powerPulse 2s ease-in-out infinite alternate;
}

@keyframes powerPulse {
    from { opacity: 0.8; }
    to { opacity: 1; }
}

.digital-signature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    border: 1px solid rgba(255,215,0,0.3);
}

.signature-seal {
    font-size: 2rem;
    color: #1a1a1a;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.signature-text {
    font-size: 0.9rem;
    color: #bdc3c7;
}

.signature-hash {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: #95a5a6;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-item {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,102,204,0.05), transparent);
    transition: left 0.5s ease;
}

.feature-item:hover::before {
    left: 100%;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #0066cc;
}

.feature-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 0;
}

.feature-rating {
    color: #ffd700;
    font-size: 1.1rem;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.8rem;
}

.feature-description {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.feature-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.detail-badge {
    background: #e8f4f8;
    color: #0066cc;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Compliance Section */
.compliance-section {
    margin: 3rem 0;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
}

.compliance-section h3 {
    font-size: 1.4rem;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    text-align: center;
}

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.compliance-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border-left: 3px solid #27ae60;
}

.compliance-icon {
    color: #27ae60;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Testimonials - styles moved to premium-testimonials.css */
.testimonials-section {
    margin: 3rem 0;
}



/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-card {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow-light);
    border-top: 4px solid var(--accent-blue);
    transition: all 0.3s ease;
    position: relative;
}

.sidebar-card:hover {
    box-shadow: 0 8px 25px var(--shadow-medium);
    transform: translateY(-2px);
}

.logged-in-message {
    background: linear-gradient(135deg, #28a745, #20c997);
    border-top: 4px solid #20c997;
    color: white;
}

.logged-in-message .sidebar-title {
    color: white;
}

.logged-in-content {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
}

.logged-in-content p {
    margin-bottom: 1rem;
}

.logged-in-content a.dashboard-link {
    color: #fff;
    text-decoration: underline;
    font-weight: 600;
    transition: all 0.3s ease;
}

.logged-in-content a.dashboard-link:hover {
    color: #f8f9fa;
    text-decoration: none;
}

.sidebar-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

/* Status Card */
.status-card {
    border-top-color: #27ae60;
}

.status-indicator {
    color: #27ae60;
    font-size: 0.8rem;
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

.status-info {
    margin-bottom: 1.5rem;
}

.status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.status-item:last-child {
    border-bottom: none;
}

.status-value {
    font-weight: 600;
    color: #0066cc;
}

.refresh-btn {
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    padding: 0.8rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    justify-content: center;
    font-weight: 500;
}

.refresh-btn:hover {
    background: #e9ecef;
    border-color: #0066cc;
}

.refresh-icon {
    transition: transform 0.3s ease;
}

.refresh-btn:hover .refresh-icon {
    transform: rotate(180deg);
}

/* Pricing */
.price-comparison {
    margin-bottom: 2rem;
}

.price-option {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.price-option.current {
    border-color: #0066cc;
    background: linear-gradient(135deg, #0066cc, #004499);
    color: white;
}

.price-label {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.price-amount {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 1.5rem;
}

.price-savings {
    background: #27ae60;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

.payment-methods {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.payment-methods h4 {
    margin-bottom: 1rem;
    color: #1a1a1a;
    font-size: 1rem;
}

.payment-icons {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.payment-icon {
    font-size: 1.5rem;
}

.payment-text {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* Buttons */
.cta-button {
    background: #0066cc;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0,102,204,0.2);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: #004499;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,102,204,0.3);
}

.cta-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0,102,204,0.3);
}

.cta-button.primary {
    background: linear-gradient(135deg, #0066cc, #004499);
    font-size: 1.1rem;
    padding: 1.2rem 2rem;
}

.cta-button.secondary {
    background: #6c757d;
    margin-top: 1rem;
}

.cta-button.secondary:hover {
    background: #5a6268;
}

.cta-button:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.button-icon {
    font-size: 1.1rem;
}

.action-buttons {
    margin-top: 2rem;
}

/* Requirements List */
.requirements-list {
    list-style: none;
    margin: 1.5rem 0;
}

.requirements-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
}

.requirements-list li::before {
    content: '✓';
    color: #27ae60;
    font-weight: bold;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.requirements-list li:last-child {
    border-bottom: none;
}

.requirements-categories {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.req-category h4 {
    color: #0066cc;
    font-size: 1rem;
    margin-bottom: 0.8rem;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 0.3rem;
}

/* Forms */
.form-progress {
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e5e5e5;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0066cc, #004499);
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

.progress-text {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.step-title {
    color: #0066cc;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e5e5;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1a1a1a;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0,102,204,0.1);
    transform: translateY(-1px);
}

.form-group input:invalid,
.form-group textarea:invalid,
.form-group select:invalid {
    border-color: #dc3545;
}

.form-group input:valid,
.form-group textarea:valid,
.form-group select:valid {
    border-color: #28a745;
}

.input-feedback {
    font-size: 0.85rem;
    margin-top: 0.3rem;
    min-height: 1.2rem;
}

.char-counter {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.3rem;
}

/* Checkbox Styling */
.checkbox-group {
    margin-bottom: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    cursor: pointer;
    padding: 1.2rem 1rem 1.2rem 2.5rem;
    border-radius: 8px;
    transition: background 0.2s ease;
    margin-left: 1.5rem;
    line-height: 1.5;
}

.checkbox-label:hover {
    background: #f8f9fa;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    opacity: 0;
    position: absolute;
}

.checkmark {
    width: 36px;
    height: 36px;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkmark::before {
    content: '☉';
    font-size: 1.2rem;
    color: #9ca3af;
    transition: all 0.3s ease;
}

.checkmark:hover {
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #f8f9fa;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.2);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::before {
    color: #111827;
    font-size: 1.4rem;
    transform: scale(1.1);
}

.terms-link {
    color: #0066cc;
    text-decoration: underline;
}

.terms-link:hover {
    color: #004499;
}

.final-verification {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.verification-box h5 {
    color: #856404;
    margin-bottom: 1rem;
}

.verification-box p {
    color: #856404;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.signature-line label {
    color: #856404;
    font-weight: 600;
}

.signature-line input {
    border-color: #ffc107;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e5e5;
}

.nav-button {
    background: #6c757d;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.nav-button:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

.nav-button:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
}

/* Warning Box */
.warning-box {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-left: 4px solid #ffc107;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.warning-title {
    font-weight: 600;
    color: #856404;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.warning-text {
    color: #856404;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Emergency Section */
.emergency-section {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    padding: 3rem 0;
    margin: 3rem 0;
}

.emergency-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
}

.emergency-icon {
    font-size: 3rem;
    animation: pulse 1.5s ease-in-out infinite;
}

.emergency-text h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.emergency-text p {
    opacity: 0.9;
    line-height: 1.5;
}

.emergency-contacts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.emergency-btn {
    background: white;
    color: #dc3545;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.emergency-btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.emergency-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.emergency-btn.secondary:hover {
    background: white;
    color: #dc3545;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #ffffff;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #333;
}

.footer-seal {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.seal-text div:first-child {
    color: #0066cc;
    font-weight: 600;
    font-size: 1.1rem;
}

.seal-text div:last-child {
    color: #666;
    font-size: 0.9rem;
}

.footer-certifications {
    display: flex;
    gap: 2rem;
}

.cert-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: #2c3e50;
    border-radius: 8px;
}

.cert-icon {
    font-size: 1.5rem;
}

.cert-item div:last-child {
    font-size: 0.8rem;
    font-weight: 600;
    color: #0066cc;
}

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

.footer-section h3 {
    color: #0066cc;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 0.3rem 0;
    display: block;
    border-radius: 4px;
}

.footer-links a:hover {
    color: #0066cc;
    padding-left: 0.5rem;
    background: rgba(0,102,204,0.1);
}

.footer-middle {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: #2c3e50;
    border-radius: 8px;
}

.office-info h4,
.hours-info h4,
.social-links h4 {
    color: #0066cc;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-link {
    color: #ccc;
    text-decoration: none;
    transition: color 0.2s ease;
}

.social-link:hover {
    color: #0066cc;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
}

.footer-legal {
    flex: 1;
}

.footer-legal p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.footer-badges {
    display: flex;
    gap: 1rem;
}

.footer-badges .security-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #2c3e50;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
}

.footer-badges .security-badge:first-child {
    border: 2px solid #20c997;
    box-shadow: 0 0 8px rgba(39, 174, 96, 0.3);
}

.badge-icon {
    color: #27ae60;
}

/* Floating Help Button */
.floating-help {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #0066cc;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,102,204,0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.floating-help:hover {
    background: #004499;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0,102,204,0.4);
}

.help-icon {
    font-size: 1.2rem;
}

.help-text {
    display: none;
}

@media (min-width: 768px) {
    .floating-help:hover .help-text {
        display: inline;
    }
}

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

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

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

.modal-header h3 {
    color: #1a1a1a;
    font-size: 1.3rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.modal-close:hover {
    color: #000;
}

.modal-body {
    padding: 2rem;
}

.help-options {
    display: grid;
    gap: 1rem;
}

.help-option {
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    padding: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
    position: relative;
}

.help-option:hover {
    background: #0066cc;
    color: white;
    border-color: #0066cc;
}

.help-option-icon {
    font-size: 1.5rem;
}

/* FAQ Modal */
.faq-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.faq-modal .modal-content {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.faq-modal .modal-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 16px 16px 0 0;
}

.faq-modal .modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
}

.faq-modal .close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.faq-modal .close-btn:hover {
    background: rgba(255,255,255,0.2);
}

.faq-modal .modal-body {
    padding: 1.5rem;
}

.faq-list {
    margin-bottom: 1.5rem;
}

.faq-item {
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.faq-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 1rem;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.faq-question::after {
    content: '▼';
    margin-left: auto;
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1rem 1rem;
    color: #666;
    line-height: 1.6;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-contact {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.faq-contact p {
    margin: 0.5rem 0;
}

.faq-contact a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.faq-contact a:hover {
    text-decoration: underline;
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.cookie-settings-modal .modal-content {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-settings-modal .modal-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 16px 16px 0 0;
}

.cookie-settings-modal .modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
}

.cookie-settings-modal .close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.cookie-settings-modal .close-btn:hover {
    background: rgba(255,255,255,0.2);
}

.cookie-settings-modal .modal-body {
    padding: 1.5rem;
}

.cookie-info {
    margin-bottom: 1.5rem;
}

.cookie-info ul {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.cookie-info li {
    margin: 0.25rem 0;
    color: #666;
}

.cookie-categories {
    margin-bottom: 1.5rem;
}

.cookie-category {
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    padding: 1rem;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #667eea;
}

input:disabled + .slider {
    background-color: #999;
    cursor: not-allowed;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.category-info h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    color: #333;
}

.category-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.cookie-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.cookie-settings-modal .cookie-btn {
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
    flex: 1;
    min-width: 120px;
}

.cookie-btn.accept-all {
    background: #28a745;
    color: white;
}

.cookie-btn.accept-all:hover {
    background: #218838;
}

.cookie-btn.accept-selected {
    background: #667eea;
    color: white;
}

.cookie-btn.accept-selected:hover {
    background: #5a67d8;
}

.cookie-btn.reject-all {
    background: #6c757d;
    color: white;
}

.cookie-btn.reject-all:hover {
    background: #5a6268;
}

.cookie-policy {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.cookie-policy a {
    color: #667eea;
    text-decoration: none;
}

.cookie-policy a:hover {
    text-decoration: underline;
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2c3e50;
    color: white;
    padding: 1rem 0;
    z-index: 99999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    pointer-events: auto;
}

.cookie-notice.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-text {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 6px;
    cursor: pointer !important;
    font-weight: 600;
    transition: all 0.2s ease;
    pointer-events: auto !important;
    position: relative;
    z-index: 99999 !important;
    background-color: #27ae60;
    color: white;
    display: inline-block;
    user-select: none;
}

.cookie-btn.accept {
    background: #27ae60;
    color: white;
}

.cookie-btn.accept:hover {
    background: #229954;
}

.cookie-btn.settings {
    background: transparent;
    color: white;
    border: 1px solid white;
}

.cookie-btn.settings:hover {
    background: white;
    color: #2c3e50;
}

/* Loading States */
.loading {
    position: relative;
    color: transparent !important;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Messages */
.message {
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    font-weight: 500;
    line-height: 1.5;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-left: 4px solid #28a745;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-left: 4px solid #dc3545;
}

/* Responsive Design */
/* Tablet and small desktop */
@media (max-width: 1024px) {
    .header-container {
        padding: 0 1.5rem;
    }

    .hero-container,
    .container {
        padding: 0 1.5rem;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .main-content {
        gap: 2.5rem;
        padding: 2.5rem 1.5rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .spirit-functions-main .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile landscape and smaller tablets */
@media (max-width: 768px) {
    /* Header adjustments */
    .header-container {
        position: relative;
        padding: 0 1rem;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .logo-section {
        flex: 1;
        min-width: 0;
    }

    .site-title {
        font-size: 1.3rem;
    }

    .site-subtitle {
        font-size: 0.85rem;
    }

    /* Navigation */
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
        order: 3;
    }

    .mobile-nav {
        width: 100%;
        order: 4;
        margin-top: 1rem;
    }

    /* Hero section */
    .hero {
        padding: 3rem 0;
    }

    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }

    .hero-container {
        padding: 0 1rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2.5rem;
    }

    .stat-item {
        padding: 1.5rem 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* Government seal */
    .government-seal {
        width: 120px;
        height: 120px;
        margin-bottom: 1.5rem;
    }

    /* Main content layout */
    .main-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1rem;
    }

    .sidebar {
        order: -1;
    }

    .content-section,
    .sidebar-card {
        padding: 1.5rem;
    }

    /* Verification section */
    .verification-section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .search-container {
        flex-direction: column;
        gap: 1rem;
    }

    .search-button {
        width: 100%;
        justify-content: center;
    }

    /* Spirit passport */
    .spirit-info {
        grid-template-columns: 1fr;
    }

    .passport-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .passport-right {
        text-align: center;
    }

    /* Features grid */
    .features-grid {
        grid-template-columns: 1fr;
    }

    .spirit-functions-main .features-grid {
        grid-template-columns: 1fr;
    }

    /* Forms */
    .form-navigation {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-button,
    .cta-button {
        width: 100%;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-middle {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-badges {
        justify-content: center;
    }

    .footer-top {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-certifications {
        justify-content: center;
    }

    /* Emergency section */
    .emergency-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

    /* Cookie notice */
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .cookie-actions {
        width: 100%;
        justify-content: center;
    }

    /* Stats grid for religion selector */
    .stats-grid {
        grid-template-columns: 1fr;
    }

    /* Modal adjustments */
    .modal-content {
        width: 95%;
        margin: 1rem;
    }

    /* Help options */
    .help-options {
        grid-template-columns: 1fr;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Mobile portrait - small screens */
@media (max-width: 480px) {
    /* Header */
    .header-container {
        padding: 0 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .logo-section {
        width: 100%;
        justify-content: space-between;
    }

    .site-title {
        font-size: 1.1rem;
        line-height: 1.2;
    }

    .site-subtitle {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .mobile-menu-toggle {
        position: absolute;
        top: 50%;
        right: 1rem;
        transform: translateY(-50%);
    }

    /* Hero section */
    .hero {
        padding: 2rem 0;
    }

    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
        line-height: 1.4;
    }

    .government-seal {
        width: 100px;
        height: 100px;
        margin-bottom: 1rem;
    }

    .government-seal::before {
        font-size: 3.5rem;
    }
    
    .government-seal::after {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .hero-stats {
        gap: 1rem;
        margin-top: 2rem;
    }

    .stat-item {
        padding: 1.2rem 0.8rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    /* Main content */
    .main-content {
        padding: 1.5rem 1rem;
        gap: 1.5rem;
    }

    .content-section,
    .sidebar-card {
        padding: 1rem;
        border-radius: 8px;
    }

    /* Verification section */
    .verification-section {
        padding: 2rem 0;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }

    .section-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .verification-tool {
        padding: 1.5rem;
    }

    .search-input,
    .search-button {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    /* Spirit passport */
    .spirit-passport {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }

    .passport-title {
        font-size: 1.4rem;
    }

    .passport-subtitle {
        font-size: 0.9rem;
    }

    .spirit-info {
        gap: 0.8rem;
    }

    .info-item {
        padding: 0.8rem;
    }

    .info-label {
        font-size: 0.7rem;
    }

    .info-value {
        font-size: 1rem;
    }

    /* Features grid */
    .feature-item {
        padding: 1.5rem;
    }

    .feature-icon {
        font-size: 2rem;
    }

    .feature-title {
        font-size: 1.1rem;
    }

    .feature-description {
        font-size: 0.9rem;
    }

    /* Forms */
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .checkbox-label {
        padding: 1rem 0.8rem 1rem 2rem;
        margin-left: 1rem;
        font-size: 0.9rem;
    }

    .checkmark {
        width: 32px;
        height: 32px;
    }

    .checkmark::before {
        font-size: 1rem;
    }

    /* Sidebar adjustments */
    .sidebar-title {
        font-size: 1.1rem;
    }

    .price-amount {
        font-size: 1.8rem;
    }

    .old-price {
        font-size: 1.2rem;
    }

    /* Requirements list */
    .requirements-list li {
        font-size: 0.85rem;
        padding: 0.6rem 0;
    }

    /* Buttons */
    .cta-button {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }

    .nav-button {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }

    /* Footer adjustments */
    .footer-grid {
        gap: 1.5rem;
    }

    .footer-section h3 {
        font-size: 1rem;
    }

    .footer-section p,
    .footer-section a {
        font-size: 0.85rem;
    }

    /* Floating help */
    .floating-help {
        bottom: 1rem;
        right: 1rem;
        padding: 0.8rem;
    }

    .help-text {
        display: none !important;
    }

    /* Modal adjustments */
    .modal-content {
        width: 95%;
        margin: 0.5rem;
        max-height: 95vh;
    }

    .modal-header {
        padding: 1rem;
    }

    .modal-body {
        padding: 1rem;
    }

    /* Cookie notice */
    .cookie-notice {
        padding: 0.8rem 0;
    }

    .cookie-content {
        padding: 0 1rem;
        gap: 0.8rem;
    }

    .cookie-text {
        font-size: 0.85rem;
    }

    .cookie-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }

    /* Government notice */
    .notice-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 0 1rem;
    }

    .notice-icon {
        font-size: 1.5rem;
    }

    .notice-text {
        font-size: 0.9rem;
    }

    /* Emergency section */
    .emergency-section {
        padding: 2rem 0;
    }

    .emergency-content {
        padding: 0 1rem;
    }

    .emergency-icon {
        font-size: 2.5rem;
    }

    .emergency-text h3 {
        font-size: 1.3rem;
    }

    .emergency-text p {
        font-size: 0.9rem;
    }

    .emergency-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        white-space: normal;
        text-align: center;
    }
}

/* Spirit Passport Styles for Main Page */
.spirit-passport-main {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
}

.passport-header-main {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.passport-seal-main {
    font-size: 3rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.passport-title-main h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
}

.passport-title-main p {
    margin: 0;
    opacity: 1;
    font-size: 1rem;
    font-weight: 500;
}

.passport-status-main {
    margin-left: auto;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.passport-status-main.status-active {
    background: #28a745;
    color: white;
    border: 2px solid #20a03a;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.passport-status-main.status-reserve {
    background: #f59e0b;
    color: white;
}

.passport-info-main {
    padding: 1.5rem 2rem;
    background: white;
}

.info-row-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
}

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

.label-main {
    font-weight: 600;
    color: #475569;
}

.value-main {
    font-weight: 500;
    color: #1e293b;
}

.value-main.class-S { color: #dc2626; }
.value-main.class-A { color: #ea580c; }
.value-main.class-B { color: #ca8a04; }
.value-main.class-C { color: #65a30d; }

/* Spirit Functions for Main Page */
.spirit-functions-main {
    padding: 2rem;
    background: #f8fafc;
}

.spirit-functions-main h4 {
    margin: 0 0 1.5rem 0;
    color: #1e293b;
    font-size: 1.3rem;
    text-align: center;
}

/* True Name Badge */
.true-name-badge {
    background: rgba(255, 215, 0, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    display: inline-block;
    font-style: italic;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

/* Dashboard Features Grid - точно 2 в ряд */
.spirit-functions-main .features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

/* Dashboard Spirits List - вертикальный список */
.spirits-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

/* Карточки духов в полную ширину */
.spirits-grid .spirit-passport-main {
    width: 100%;
    max-width: none;
    flex: none;
    margin: 0;
}

/* Мобильная версия для навыков */
@media (max-width: 768px) {
    .spirit-functions-main .features-grid {
        grid-template-columns: 1fr;
    }
}

.functions-grid-main {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (max-width: 768px) {
    .functions-grid-main {
        grid-template-columns: 1fr;
    }
}

/* Spirit Function Cards - Based on your example */
.spirit-function-card {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.625rem;
    background: #f9fafb;
    margin-bottom: 0.75rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.spirit-function-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.function-header {
    display: flex;
    margin-bottom: 0.5rem;
}

.function-icon-circle {
    height: 2rem;
    width: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.function-icon-circle svg {
    height: 1.5rem;
    width: 1.5rem;
}

.function-title-section {
    flex: 1;
}

.function-name {
    font-weight: 600;
    color: #111827;
    font-size: 1.1rem;
    line-height: 1.2;
}

.function-rating {
    color: #deb437;
    font-size: 0.6875rem;
    margin-top: 0.125rem;
    letter-spacing: 0.5px;
}

.function-description {
    font-size: 0.6875rem;
    color: #6b7280;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.function-stats {
    margin-top: 0.375rem;
    padding-top: 0.375rem;
    border-top: 1px solid #e5e7eb;
    font-size: 0.625rem;
    color: #9ca3af;
    display: flex;
    justify-content: space-between;
}

.stat-item {
    font-weight: 500;
}

/* Icon Color Classes */
.icon-red {
    background: #fef2f2;
    color: #dc2626;
}

.icon-yellow {
    background: #fefce8;
    color: #ca8a04;
}

.icon-purple {
    background: #faf5ff;
    color: #9333ea;
}

.icon-blue {
    background: #eff6ff;
    color: #2563eb;
}

.icon-green {
    background: #f0fdf4;
    color: #16a34a;
}

.icon-indigo {
    background: #eef2ff;
    color: #4f46e5;
}

.icon-gray {
    background: #f3f4f6;
    color: #6b7280;
}

/* ===== НОВЫЕ СТИЛИ ДЛЯ УНИКАЛЬНЫХ НАВЫКОВ ДУХОВ ===== */

/* Защитные способности - красные/оранжевые градиенты */
.feature-protection {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #dc2626;
    border: 1px solid #fca5a5;
}

.feature-combat {
    background: linear-gradient(135deg, #fed7d7 0%, #feb2b2 100%);
    color: #c53030;
    border: 1px solid #fc8181;
}

/* Исцеляющие способности - зеленые градиенты */
.feature-healing {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #16a34a;
    border: 1px solid #86efac;
}

.feature-life {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    color: #059669;
    border: 1px solid #6ee7b7;
}

.feature-nature {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    color: #15803d;
    border: 1px solid #86efac;
}

.feature-peace {
    background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
    color: #0f766e;
    border: 1px solid #5eead4;
}

.feature-earth {
    background: linear-gradient(135deg, #fefce8 0%, #fef3c7 100%);
    color: #a16207;
    border: 1px solid #fcd34d;
}

.feature-cleansing {
    background: linear-gradient(135deg, #f0f9ff 0%, #dbeafe 100%);
    color: #0284c7;
    border: 1px solid #7dd3fc;
}

/* Энергетические способности - синие/электрические градиенты */
.feature-energy {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #2563eb;
    border: 1px solid #93c5fd;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.3);
}

.feature-power {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    color: #4f46e5;
    border: 1px solid #a5b4fc;
    box-shadow: 0 0 8px rgba(79, 70, 229, 0.25);
}

.feature-ice {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    color: #0369a1;
    border: 1px solid #7dd3fc;
    box-shadow: 0 0 6px rgba(3, 105, 161, 0.2);
}

.feature-elements {
    background: linear-gradient(135deg, #fdf4ff 0%, #fae8ff 100%);
    color: #a21caf;
    border: 1px solid #d8b4fe;
    box-shadow: 0 0 12px rgba(162, 28, 175, 0.3);
}

/* Ментальные/духовные способности - фиолетовые градиенты */
.feature-sight {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    color: #9333ea;
    border: 1px solid #c084fc;
    animation: pulse-sight 3s ease-in-out infinite;
}

.feature-spirit {
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    color: #8b5cf6;
    border: 1px solid #a78bfa;
    animation: spirit-glow 4s ease-in-out infinite;
}

.feature-mind {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    color: #6366f1;
    border: 1px solid #a5b4fc;
}

.feature-oracle {
    background: linear-gradient(135deg, #fdf4ff 0%, #fae8ff 100%);
    color: #c026d3;
    border: 1px solid #e879f9;
    animation: oracle-shimmer 5s linear infinite;
}

.feature-soul {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: #475569;
    border: 1px solid #94a3b8;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Временные способности - индиго/темные градиенты */
.feature-time {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    color: #e0e7ff;
    border: 1px solid #6366f1;
    animation: time-warp 6s ease-in-out infinite;
}

.feature-temporal {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #cbd5e1;
    border: 1px solid #475569;
    animation: temporal-shift 8s linear infinite;
}

.feature-chronos {
    background: linear-gradient(135deg, #18181b 0%, #27272a 100%);
    color: #f4f4f5;
    border: 1px solid #52525b;
    animation: chronos-pulse 4s ease-in-out infinite;
}

/* Мистические способности - золотые/желтые градиенты */
.feature-wish {
    background: linear-gradient(135deg, #fefce8 0%, #fef3c7 100%);
    color: #d97706;
    border: 1px solid #fbbf24;
    animation: wish-sparkle 3s ease-in-out infinite;
}

.feature-fortune {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    color: #f59e0b;
    border: 1px solid #fcd34d;
    animation: fortune-shine 4s linear infinite;
}

.feature-prosperity {
    background: linear-gradient(135deg, #f7fee7 0%, #ecfccb 100%);
    color: #65a30d;
    border: 1px solid #a3e635;
}

.feature-divine {
    background: linear-gradient(135deg, #fffbeb 0%, #fed7aa 100%);
    color: #ea580c;
    border: 1px solid #fb923c;
    animation: divine-radiance 5s ease-in-out infinite;
}

/* Знания и мудрость - темно-синие градиенты */
.feature-wisdom {
    background: linear-gradient(135deg, #1e3a8a 0%, #3730a3 100%);
    color: #ddd6fe;
    border: 1px solid #8b5cf6;
}

.feature-ancient {
    background: linear-gradient(135deg, #451a03 0%, #78350f 100%);
    color: #fed7aa;
    border: 1px solid #fdba74;
    animation: ancient-glow 6s ease-in-out infinite;
}

.feature-cosmic {
    background: linear-gradient(135deg, #0c0a09 0%, #1c1917 100%);
    color: #fbbf24;
    border: 1px solid #f59e0b;
    animation: cosmic-twinkle 7s linear infinite;
}

.feature-runes {
    background: linear-gradient(135deg, #374151 0%, #4b5563 100%);
    color: #e5e7eb;
    border: 1px solid #9ca3af;
    animation: rune-pulse 5s ease-in-out infinite;
}

/* Иллюзии и обман - переливающиеся градиенты */
.feature-illusion {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%, #ddd6fe 50%);
    color: #7c3aed;
    border: 1px solid #a78bfa;
    animation: illusion-shift 4s ease-in-out infinite;
}

.feature-death {
    background: linear-gradient(135deg, #111827 0%, #374151 100%);
    color: #d1d5db;
    border: 1px solid #6b7280;
    animation: death-whisper 8s ease-in-out infinite;
}

/* Анимации для особых эффектов */
@keyframes pulse-sight {
    0%, 100% { box-shadow: 0 0 5px rgba(147, 51, 234, 0.3); }
    50% { box-shadow: 0 0 15px rgba(147, 51, 234, 0.6); }
}

@keyframes spirit-glow {
    0%, 100% { box-shadow: 0 0 8px rgba(139, 92, 246, 0.4); }
    50% { box-shadow: 0 0 20px rgba(139, 92, 246, 0.8); }
}

@keyframes oracle-shimmer {
    0% { box-shadow: 0 0 5px rgba(192, 38, 211, 0.3); }
    25% { box-shadow: 0 0 10px rgba(192, 38, 211, 0.5); }
    50% { box-shadow: 0 0 15px rgba(192, 38, 211, 0.7); }
    75% { box-shadow: 0 0 10px rgba(192, 38, 211, 0.5); }
    100% { box-shadow: 0 0 5px rgba(192, 38, 211, 0.3); }
}

@keyframes time-warp {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes temporal-shift {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

@keyframes chronos-pulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

@keyframes wish-sparkle {
    0%, 100% { box-shadow: 0 0 8px rgba(217, 119, 6, 0.4); }
    50% { box-shadow: 0 0 16px rgba(217, 119, 6, 0.8); }
}

@keyframes fortune-shine {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes divine-radiance {
    0%, 100% { box-shadow: 0 0 10px rgba(234, 88, 12, 0.5); }
    50% { box-shadow: 0 0 25px rgba(234, 88, 12, 0.9); }
}

@keyframes ancient-glow {
    0%, 100% { box-shadow: inset 0 0 10px rgba(251, 146, 60, 0.3); }
    50% { box-shadow: inset 0 0 20px rgba(251, 146, 60, 0.6); }
}

@keyframes cosmic-twinkle {
    0%, 100% { text-shadow: 0 0 5px rgba(251, 191, 36, 0.5); }
    25% { text-shadow: 0 0 10px rgba(251, 191, 36, 0.8); }
    50% { text-shadow: 0 0 15px rgba(251, 191, 36, 1); }
    75% { text-shadow: 0 0 10px rgba(251, 191, 36, 0.8); }
}

@keyframes rune-pulse {
    0%, 100% { border-color: #9ca3af; }
    50% { border-color: #e5e7eb; }
}

@keyframes illusion-shift {
    0% { filter: hue-rotate(0deg) saturate(1); }
    25% { filter: hue-rotate(90deg) saturate(1.2); }
    50% { filter: hue-rotate(180deg) saturate(0.8); }
    75% { filter: hue-rotate(270deg) saturate(1.2); }
    100% { filter: hue-rotate(360deg) saturate(1); }
}

@keyframes death-whisper {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 0.7; }
}

/* Стиль по умолчанию для неизвестных способностей */
.feature-default {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    color: #6b7280;
    border: 1px solid #d1d5db;
}

.function-icon-main {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
    margin-bottom: 0;
}

.function-info-main {
    flex: 1;
    min-width: 0;
}

.function-info-main h5 {
    margin: 0 0 0.25rem 0;
    color: #1f2937;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.2;
}

.function-rating-main {
    color: #f59e0b;
    margin-bottom: 0.375rem;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.function-info-main p {
    margin: 0 0 0.5rem 0;
    color: #6b7280;
    font-size: 0.75rem;
    line-height: 1.3;
}

.function-meta-main {
    display: flex;
    justify-content: space-between;
    font-size: 0.6875rem;
    color: #9ca3af;
    padding-top: 0.375rem;
    border-top: 1px solid #e5e7eb;
}

.duration-main, .success-rate-main {
    font-weight: 500;
    background: #f3f4f6;
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
}

.duration-main {
    background: #dbeafe;
    color: #1e40af;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
}

.success-rate-main {
    background: #dcfce7;
    color: #166534;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
}

.passport-footer-main {
    background: #1e293b;
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.verification-stamp-main {
    font-weight: 600;
    color: #10b981;
}

/* Religion selector styles */
.religion-selector select {
    width: 100%;
    margin-bottom: 0;
}

.religion-selector input[type="text"] {
    border-top: none;
    border-radius: 0 0 8px 8px;
}

/* Religion statistics */
.religion-stats {
    margin-top: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.stats-header {
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    text-align: center;
}

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

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background: white;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.stat-item.selected {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border-color: #1d4ed8;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
    transform: scale(1.02);
}

.religion-name {
    font-size: 0.8rem;
    font-weight: 500;
}

.religion-percent {
    font-weight: 600;
    font-size: 0.8rem;
}

.stat-item.selected .religion-name,
.stat-item.selected .religion-percent {
    color: white;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* User Menu Styles */
.user-menu {
    position: relative;
    display: inline-block;
    margin-left: 2rem;
}

.user-dropdown {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    color: white;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.user-btn:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.user-icon {
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-name {
    font-weight: 500;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: white;
}

.dropdown-arrow {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    color: rgba(255, 255, 255, 0.8);
}

.user-btn:hover .dropdown-arrow {
    transform: rotate(180deg);
    color: white;
}

.user-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    min-width: 200px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    margin-top: 0.5rem;
}

.user-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #374151;
    text-decoration: none;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease;
    font-size: 0.875rem;
}

.dropdown-item:hover {
    background: #f3f4f6;
    color: #1f2937;
}

.dropdown-item:first-child {
    border-radius: 8px 8px 0 0;
}

.dropdown-item:last-child {
    border-radius: 0 0 8px 8px;
}

.item-icon {
    font-size: 1rem;
    width: 1.25rem;
    text-align: center;
}

.logout-btn {
    border-top: 1px solid #e5e7eb;
    color: #dc2626;
}

.logout-btn:hover {
    background: #fef2f2;
    color: #b91c1c;
}

/* Responsive adjustments for user menu */
@media (max-width: 768px) {
    .user-name {
        max-width: 100px;
    }
    
    .user-dropdown-menu {
        right: -20px;
        min-width: 180px;
    }
}

/* Notification Bell Styles */
.notification-bell {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    margin: 0 10px;
}

.notification-bell:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: scale(1.1);
}

.bell-icon {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.notification-bell.has-notifications .bell-icon {
    animation: bellShake 0.5s ease-in-out infinite alternate;
}

.notification-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #dc2626;
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    line-height: 1;
}

.notification-count.pulse {
    animation: pulse 1s ease-in-out infinite;
}

@keyframes bellShake {
    0% { transform: rotate(-10deg); }
    100% { transform: rotate(10deg); }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

/* Notification tooltip */
.notification-bell::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.notification-bell:hover::after {
    opacity: 1;
}

/* Development Badge Styles */
.development-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
    animation: developmentPulse 2s ease-in-out infinite;
    z-index: 10;
}

@keyframes developmentPulse {
    0%, 100% { 
        transform: scale(1); 
        box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
    }
    50% { 
        transform: scale(1.05); 
        box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
    }
}

/* Make sure the help option has relative positioning for the badge */
.help-option {
    position: relative;
}

/* Responsive adjustments for development badge */
@media (max-width: 768px) {
    .development-badge {
        font-size: 9px;
        padding: 3px 6px;
        top: 8px;
        right: 8px;
    }
}

