/* Standard Pages + 404 Styles */

/* Standard Page Styles */
.standard-page-main {
    background-color: #000000;
    min-height: 100vh;
    padding-top: 60px;
    padding-bottom: 80px;
}

.standard-page-header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-title {
    font-family: 'Quinn', sans-serif;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 0;
    color: #9cee69;
    line-height: 1.2;
	letter-spacing: 1px;
}

.standard-page-content {
    max-width: 900px;
    margin: 0 auto;
}

/* Content Styling */
.standard-page-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.standard-page-content h1 {
    font-family: 'Quinn', sans-serif;
    font-weight: 700;
    color: #9cee69;
    font-size: 2.5rem;
    margin: 40px 0 20px 0;
    line-height: 1.3;
}

.standard-page-content h2 {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 40px 0 20px 0;
    line-height: 1.3;
}

.standard-page-content h3 {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 30px 0 15px 0;
    line-height: 1.3;
}

.standard-page-content h4 {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 25px 0 12px 0;
    line-height: 1.3;
}

.standard-page-content ul, .standard-page-content ol {
    color: rgba(255, 255, 255, 0.9);
    margin: 20px 0;
    padding-left: 30px;
}

.standard-page-content li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.standard-page-content a {
    color: #9cee69;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.standard-page-content a:hover {
    color: #ffffff;
    border-bottom-color: #9cee69;
}

.standard-page-content blockquote {
    background: rgba(156, 238, 105, 0.1);
    border-left: 4px solid #9cee69;
    padding: 20px 25px;
    margin: 30px 0;
    border-radius: 8px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.95);
}

.standard-page-content code {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.standard-page-content pre {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    overflow-x: auto;
    margin: 25px 0;
}

.standard-page-content pre code {
    background: none;
    padding: 0;
}

.standard-page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    overflow: hidden;
}

.standard-page-content th, .standard-page-content td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.standard-page-content th {
    background: rgba(156, 238, 105, 0.1);
    color: #ffffff;
    font-weight: 600;
}

.standard-page-content td {
    color: rgba(255, 255, 255, 0.9);
}

.standard-page-content hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    margin: 40px 0;
}

/* Contact Information Styling */
.contact-info {
    background: rgba(156, 238, 105, 0.05);
    border: 1px solid rgba(156, 238, 105, 0.2);
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
}

.contact-info h3 {
    color: #9cee69;
    margin-top: 0;
}

/* Legal Text Styling */
.legal-section {
    margin: 30px 0;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-section:first-child {
    border-top: none;
    padding-top: 0;
}

/* Last Updated Info */
.last-updated {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px 20px;
    margin-top: 40px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-style: italic;
}

/* 404 Error Page Styles */
.error-404-main {
    background-color: #000000;
    min-height: 100vh;
    padding-top: 40px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-404-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* 404 Visual */
.error-visual {
    position: relative;
    margin-bottom: 50px;
}

.error-number {
    font-size: clamp(8rem, 15vw, 12rem);
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff, #9cee69, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 0 0 50px rgba(156, 238, 105, 0.3);
    animation: pulse404 2s ease-in-out infinite;
}

@keyframes pulse404 {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.error-crypto-icons {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    animation: floatAround 8s ease-in-out infinite;
    opacity: 0.7;
}

.floating-icon.icon-1 { 
    top: 10%; 
    left: 15%; 
    animation-delay: 0s; 
}
.floating-icon.icon-2 { 
    top: 20%; 
    right: 20%; 
    animation-delay: 1.5s; 
}
.floating-icon.icon-3 { 
    bottom: 30%; 
    left: 10%; 
    animation-delay: 3s; 
}
.floating-icon.icon-4 { 
    bottom: 20%; 
    right: 15%; 
    animation-delay: 4.5s; 
}
.floating-icon.icon-5 { 
    top: 50%; 
    left: 5%; 
    animation-delay: 6s; 
}

@keyframes floatAround {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(90deg); }
    50% { transform: translateY(-10px) rotate(180deg); }
    75% { transform: translateY(-30px) rotate(270deg); }
}

/* Error Message */
.error-message {
    margin-bottom: 50px;
}

.error-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.error-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Search Section */
.error-search-section {
    margin-bottom: 50px;
}

.error-search-section h3 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.error-search-section .lexicon-search-container {
    max-width: 500px;
    margin: 0 auto;
}

/* Navigation Options */
.error-navigation {
    margin-bottom: 60px;
}

.nav-options {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.nav-btn.primary {
    background: linear-gradient(135deg, #9cee69, #7dd945);
    color: #000000;
    box-shadow: 0 4px 15px rgba(156, 238, 105, 0.3);
}

.nav-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(156, 238, 105, 0.4);
    background: linear-gradient(135deg, #7dd945, #6bc729);
}

.nav-btn.secondary {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

.nav-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #9cee69;
    color: #9cee69;
    transform: translateY(-2px);
}

.nav-btn svg {
    width: 20px;
    height: 20px;
}

/* Popular Terms */
.error-popular-terms {
    margin-top: 40px;
}

.error-popular-terms h3 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.popular-terms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    max-width: 700px;
    margin: 0 auto;
}

.popular-term {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px 16px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    text-align: center;
}

.popular-term:hover {
    background: rgba(156, 238, 105, 0.1);
    border-color: #9cee69;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Animation for page load */
.error-404-content {
    animation: fadeInUp 0.8s ease-out;
}

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

/* Glitch effect for 404 number (optional) */
.error-number:hover {
    animation: glitch 0.5s ease-in-out;
}

@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    /* Standard Pages Mobile */
    .standard-page-main {
        padding-top: 30px;
        padding-bottom: 50px;
    }
    
    .standard-page-header {
        margin-bottom: 40px;
        padding-bottom: 30px;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .standard-page-content h1 {
        font-size: 2rem;
        margin: 30px 0 15px 0;
    }

    .standard-page-content h2 {
        font-size: 1.5rem;
        margin: 30px 0 15px 0;
    }
    
    .standard-page-content h3 {
        font-size: 1.3rem;
        margin: 25px 0 12px 0;
    }
    
    .standard-page-content p {
        font-size: 15px;
    }
    
    .standard-page-content ul, .standard-page-content ol {
        padding-left: 20px;
    }
    
    .contact-info {
        padding: 20px;
        margin: 20px 0;
    }
    
    /* 404 Mobile */
    .error-404-main {
        padding-top: 60px;
        padding-bottom: 40px;
    }
    
    .error-number {
        font-size: 6rem;
        margin-bottom: 30px;
    }
    
    .floating-icon {
        font-size: 1.5rem;
    }
    
    .error-title {
        font-size: 2rem;
    }
    
    .error-subtitle {
        font-size: 1.1rem;
    }
    
    .nav-options {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .nav-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .popular-terms-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 10px;
    }
    
    .popular-term {
        font-size: 13px;
        padding: 10px 12px;
    }
    
    .error-search-section h3,
    .error-popular-terms h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 2rem;
    }
    
    .standard-page-content h1 {
        font-size: 1.8rem;
    }

    .standard-page-content h2 {
        font-size: 1.4rem;
    }
    
    .standard-page-content p {
        font-size: 14px;
    }
    
    .standard-page-content th, .standard-page-content td {
        padding: 8px 10px;
        font-size: 14px;
    }

    .error-number {
        font-size: 4.5rem;
    }
    
    .error-title {
        font-size: 1.8rem;
    }
    
    .error-subtitle {
        font-size: 1rem;
    }
    
    .popular-terms-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .floating-icon {
        font-size: 1.2rem;
    }
}

/* Print Styles */
@media print {
    .standard-page-main {
        background: white !important;
        color: black !important;
    }
    
    .page-title {
        color: black !important;
        background: none !important;
        -webkit-background-clip: unset !important;
        -webkit-text-fill-color: unset !important;
    }
    
    .standard-page-content {
        background: white !important;
        border: 1px solid #ccc !important;
        box-shadow: none !important;
    }
    
    .standard-page-content p, .standard-page-content li {
        color: black !important;
    }
    
    .standard-page-content h1, .standard-page-content h2, .standard-page-content h3, .standard-page-content h4 {
        color: black !important;
    }
}