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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
    color: #374151;
}

/* Utility Classes */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Background and Layout */
.min-h-screen {
    min-height: 100vh;
}

.bg-gradient {
    background: linear-gradient(to bottom right, #f9fafb, #f3f4f6);
}

/* Header Styles */
.header-shadow {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.sticky-top {
    position: sticky;
    top: 0;
}

.z-50 {
    z-index: 50;
}

.z-40 {
    z-index: 40;
}

.header-bg {
    background-color: #373737;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
}

.logo {
    height: 2.5rem;
    width: auto;
}

.header-cta {
    background-color: #d97706;
    color: white;
    font-weight: bold;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.header-cta:hover {
    background-color: #b45309;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.cta-main {
    font-size: 0.875rem;
    font-weight: bold;
    line-height: 1.25;
}

.cta-sub {
    font-size: 0.75rem;
    font-weight: normal;
    opacity: 0.9;
}

/* Sticky Ticker */
.sticky-ticker {
    position: sticky;
    top: 5rem;
}

/* Main Content */
.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* Maintenance Notice */
.maintenance-notice {
    text-align: center;
    margin-bottom: 3rem;
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

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

.maintenance-icon {
    width: 2rem;
    height: 2rem;
    color: #2563eb;
    margin-right: 0.75rem;
}

.maintenance-badge {
    background-color: #f3f4f6;
    color: #374151;
    font-size: 0.875rem;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
}

.maintenance-title {
    font-size: 2.25rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 1rem;
}

.maintenance-description {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.maintenance-eta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #6b7280;
}

.eta-icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* Section Spacing */
.section-spacing {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Price Grid */
.price-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .price-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .price-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.price-card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s;
}

.price-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.price-content {
    padding: 1rem;
}

.price-ticker-container {
    width: 100%;
    position: relative;
}

.price-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.price-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
}

.bg-yellow {
    background-color: #eab308;
}

.bg-gray {
    background-color: #9ca3af;
}

.bg-blue {
    background-color: #3b82f6;
}

.bg-purple {
    background-color: #8b5cf6;
}

.price-name {
    font-weight: 600;
    color: #374151;
}

/* Charts Grid */
.charts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .charts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.chart-card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s;
}

.chart-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.chart-header {
    padding: 1rem 1rem 0.75rem;
}

.chart-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
}

.chart-content {
    padding: 1rem;
}

.chart-container {
    width: 100%;
    height: 350px;
}

/* Market Quotes */
.market-quotes-card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s;
}

.market-quotes-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.market-quotes-content {
    padding: 1.5rem;
}

/* Loading Skeleton */
.loading-skeleton {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.skeleton-content {
    background-color: #e5e7eb;
    border-radius: 0.5rem;
    height: 500px;
    padding: 1rem;
}

.skeleton-header {
    height: 1rem;
    background-color: #d1d5db;
    border-radius: 0.25rem;
    width: 75%;
    margin-bottom: 0.5rem;
}

.skeleton-subheader {
    height: 0.75rem;
    background-color: #d1d5db;
    border-radius: 0.25rem;
    width: 50%;
    margin-bottom: 1rem;
}

.skeleton-lines {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skeleton-line {
    height: 0.5rem;
    background-color: #d1d5db;
    border-radius: 0.25rem;
}

.skeleton-line.short {
    width: 83.33%;
}

.skeleton-line.medium {
    width: 66.67%;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Error Fallback */
.error-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9fafb;
    border-radius: 0.5rem;
    border: 2px dashed #d1d5db;
    height: 500px;
}

.error-content {
    text-align: center;
    padding: 1.5rem;
}

.error-icon {
    font-size: 3rem;
    margin: 0 auto 1rem;
}

.error-title {
    font-size: 1.125rem;
    font-weight: 500;
    color: #111827;
    margin-bottom: 0.5rem;
}

.error-description {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.error-retry {
    background-color: #e5e7eb;
    color: #374151;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.error-retry:hover {
    background-color: #d1d5db;
}

/* Info Section */
.info-section {
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

.info-content {
    text-align: center;
}

.info-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 2rem;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .info-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.info-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    border-radius: 0.75rem;
    transition: background-color 0.2s;
}

.yellow-card {
    background-color: #fefce8;
}

.yellow-card:hover {
    background-color: #fef3c7;
}

.red-card {
    background-color: #fef2f2;
}

.red-card:hover {
    background-color: #fee2e2;
}

.blue-card {
    background-color: #eff6ff;
}

.blue-card:hover {
    background-color: #dbeafe;
}

.info-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
}

.yellow-bg {
    background-color: #d97706;
}

.red-bg {
    background-color: #dc2626;
}

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

.info-card-title {
    font-size: 1.125rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 0.5rem;
}

.info-card-description {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
    text-align: center;
}

.info-card-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.btn {
    display: inline-block;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: background-color 0.2s;
    text-align: center;
}

.btn-yellow {
    background-color: #d97706;
    color: white;
}

.btn-yellow:hover {
    background-color: #b45309;
}

.btn-red {
    background-color: #dc2626;
    color: white;
}

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

.btn-blue {
    background-color: #2563eb;
    color: white;
}

.btn-blue:hover {
    background-color: #1d4ed8;
}

.phone-link {
    color: #d97706;
    font-weight: 500;
    font-size: 0.875rem;
    text-decoration: none;
}

.phone-link:hover {
    color: #b45309;
}

/* Contact Section */
.contact-section {
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

.contact-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 2rem;
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    border-radius: 0.75rem;
}

.blue-contact {
    background-color: #eff6ff;
}

.yellow-contact {
    background-color: #fefce8;
}

.green-contact {
    background-color: #f0fdf4;
}

.contact-icon {
    color: #2563eb;
    margin-bottom: 1rem;
}

.contact-icon-bg {
    width: 3rem;
    height: 3rem;
    background-color: #d97706;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
}

.contact-card-title {
    font-size: 1.125rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 1rem;
}

.contact-details {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-hours {
    margin-bottom: 0.75rem;
}

.hours-title {
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
}

.hours-list {
    font-size: 0.875rem;
    color: #6b7280;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hours-day {
    font-weight: 500;
}

.contact-info {
    border-top: 1px solid #e5e7eb;
    padding-top: 0.75rem;
    font-size: 0.875rem;
    color: #6b7280;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-phone-main {
    font-weight: 600;
    color: #2563eb;
}

.contact-email {
    color: #2563eb;
}

.store-hours {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.contact-address {
    font-size: 0.875rem;
    color: #6b7280;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* Footer */
.footer-bg {
    background-color: #373737;
}

.footer-content {
    text-align: center;
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-description {
    color: #d1d5db;
    margin-bottom: 1.5rem;
}

.app-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .app-buttons {
        flex-direction: row;
    }
}

.app-btn {
    background-color: white;
    color: #111827;
    border: 1px solid white;
    border-radius: 0.25rem;
    padding: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.app-btn:hover {
    background-color: #f3f4f6;
}

.app-badge {
    height: 2.5rem;
}

.footer-bottom {
    border-top: 1px solid #6b7280;
    padding-top: 2rem;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 1.5rem;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-copyright {
    color: #d1d5db;
    font-size: 0.875rem;
}

/* TradingView Widget Styles */
.tradingview-widget-container {
    position: relative;
}

.tradingview-widget-container__widget {
    position: relative;
}

/* Click Blocker Overlay */
.click-blocker-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    background: transparent;
    cursor: default;
    pointer-events: auto;
}

/* Responsive Design */
@media (max-width: 767px) {
    .maintenance-title {
        font-size: 1.875rem;
    }
    
    .maintenance-description {
        font-size: 1.125rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .charts-grid {
        gap: 1rem;
    }
    
    .chart-container {
        height: 300px;
    }
}

@media (max-width: 639px) {
    .header-content {
        flex-direction: column;
        height: auto;
        padding: 1rem 0;
        gap: 1rem;
    }
    
    .logo {
        height: 2rem;
    }
    
    .header-cta {
        padding: 0.5rem 1rem;
    }
    
    .cta-main {
        font-size: 0.75rem;
    }
    
    .cta-sub {
        font-size: 0.625rem;
    }
}