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

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
    position: relative;
}

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

/* Particles Background */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(ellipse at center, #1a1a1a 0%, #0a0a0a 100%);
}

.particle {
    position: absolute;
    background: #ffd700;
    border-radius: 50%;
    opacity: 0.3;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateY(100vh) translateX(0); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateY(-100px) translateX(100px); opacity: 0; }
}

/* Header */
.header {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 40px;
    width: auto;
}

.brand-title {
    font-family: "Inter", sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.network-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    min-width: 120px;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffd700;
    animation: pulse 2s infinite;
}

.status-indicator.error {
    background: #ff4444;
}

.status-indicator.warning {
    background: #ffaa00;
}

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

.status-text {
    font-size: 0.8rem;
    font-weight: 500;
    color: #ffffff;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 4rem 0;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-family: "Inter", sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.accent-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffd700, transparent);
    display: block;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Search Section */
.search-section {
    margin-bottom: 3rem;
}

.search-form {
    max-width: 600px;
    margin: 0 auto;
}

.search-input-wrapper {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.search-input-wrapper:focus-within {
    border-color: #ffd700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.search-input {
    flex: 1;
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1rem;
    outline: none;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    border: none;
    color: #000000;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.search-btn:hover {
    transform: translateX(-2px);
    box-shadow: 2px 0 10px rgba(255, 215, 0, 0.4);
}

.search-btn:active {
    transform: scale(0.98);
}

.btn-text {
    transition: opacity 0.3s ease;
}

.btn-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-btn.loading .btn-text {
    opacity: 0;
}

.search-btn.loading .btn-loader {
    opacity: 1;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid #000000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Quick Stats */
.quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.stat-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: rgba(255, 215, 0, 0.4);
    transform: translateY(-2px);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value {
    font-family: "Inter", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffd700;
    word-break: break-word;
}

.counting-text {
    font-size: 0.8rem;
    font-weight: 400;
    color: #cccccc;
    font-style: italic;
}

/* Search Results */
.search-results {
    padding: 2rem 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

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

.results-header h3 {
    font-family: "Inter", sans-serif;
    color: #ffd700;
    font-size: 1.5rem;
}

.close-results {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-results:hover {
    color: #ffd700;
}

.result-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(20px);
}

.result-title {
    font-family: "Inter", sans-serif;
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

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

.result-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.result-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.result-value {
    font-family: "Inter", sans-serif;
    color: #ffffff;
    word-break: break-all;
}

.balance-value {
    color: #ffd700;
    font-size: 1.2rem;
    font-weight: 700;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
    display: inline-block;
}

.status-syncing {
    background: rgba(255, 165, 0, 0.2);
    color: #ffa500;
    border: 1px solid rgba(255, 165, 0, 0.4);
}

.status-synced {
    background: rgba(0, 255, 0, 0.2);
    color: #00ff00;
    border: 1px solid rgba(0, 255, 0, 0.4);
}

.status-wallet {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.4);
}

/* Recent Transactions */
.recent-transactions {
    padding: 4rem 0;
}

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

.section-title {
    font-family: "Inter", sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.title-accent {
    width: 40px;
    height: 2px;
    background: #ffd700;
}

.refresh-btn {
    padding: 0.5rem;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    color: #ffd700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.refresh-btn:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: rotate(180deg);
}

.transactions-container {
    display: grid;
    gap: 1rem;
}

.transaction-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.transaction-item:hover {
    border-color: rgba(255, 215, 0, 0.4);
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.05);
}

.tx-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.tx-hash {
    font-family: 'Inter', sans-serif;
    color: #ffd700;
    font-size: 1rem;
    text-decoration: none;
    font-weight: 600;
    word-break: break-all;
}

.tx-hash:hover {
    text-decoration: underline;
}

.tx-time-info {
    text-align: right;
    min-width: 120px;
}

.tx-time {
    font-size: 0.9rem;
    color: #ffffff;
    font-weight: 500;
    display: block;
    margin-bottom: 0.25rem;
    font-family: 'Inter', sans-serif;
}

.tx-relative-time {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    font-family: 'Inter', sans-serif;
}

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

.tx-detail {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.tx-detail-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.tx-detail-value {
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
    word-break: break-all;
}

.tx-amount {
    color: #ffd700;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
}

.tx-address {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Transaction Modal */
.transaction-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.transaction-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: rgba(10, 10, 10, 0.95);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    padding: 2rem;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(50px);
    transition: transform 0.3s ease;
}

.transaction-modal.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.modal-title {
    font-family: "Inter", sans-serif;
    color: #ffd700;
    font-size: 1.3rem;
    font-weight: 700;
}

.modal-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.modal-details {
    display: grid;
    gap: 1.5rem;
}

.modal-detail-group {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
}

.modal-detail-title {
    font-family: 'Inter', sans-serif;
    color: #ffd700;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    gap: 1rem;
}

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

.modal-detail-label {
    font-family: 'Inter', sans-serif;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-weight: 500;
    min-width: 100px;
}

.modal-detail-value {
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: right;
    word-break: break-all;
    flex: 1;
}

.modal-amount {
    color: #ffd700;
    font-weight: 700;
    font-size: 1.2rem;
}

.modal-hash {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.loading-placeholder {
    text-align: center;
    padding: 3rem;
    color: rgba(255, 255, 255, 0.6);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 215, 0, 0.2);
    border-top: 3px solid #ffd700;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

/* About Section */
.about-section {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

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

.about-content h3 {
    font-family: "Inter", sans-serif;
    font-size: 2rem;
    color: #ffd700;
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

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

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: rgba(255, 215, 0, 0.4);
    transform: translateY(-5px);
}

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

/* Footer */
.footer {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    background: rgba(0, 0, 0, 0.5);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.footer-logo {
    height: 30px;
    width: auto;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ffd700;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
        flex-direction: column;
    }
    
    .accent-line {
        width: 40px;
    }
    
    .search-input-wrapper {
        flex-direction: column;
        border-radius: 15px;
    }
    
    .search-btn {
        border-radius: 0 0 15px 15px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .nav-brand {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .brand-title {
        font-size: 1rem;
    }
    
    .tx-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .tx-time-info {
        text-align: left;
        min-width: auto;
    }
    
    .quick-stats {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .modal-content {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .modal-detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .modal-detail-value {
        text-align: left;
    }
}

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

.animate-fade-in {
    animation: fadeInUp 0.6s ease-out;
}/* Custom Scrollbar Styles for Guapcoin UI */

/* Webkit browsers (Chrome, Safari, newer Edge) */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    border-radius: 4px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ffed4e, #ffd700);
}

::-webkit-scrollbar-corner {
    background: rgba(255, 255, 255, 0.05);
}

/* Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: #ffd700 rgba(255, 255, 255, 0.05);
}

/* Modal specific scrollbar styling */
.modal-content {
    scrollbar-width: thin;
    scrollbar-color: #ffd700 rgba(255, 255, 255, 0.05);
}

.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    border-radius: 3px;
    box-shadow: 0 0 3px rgba(255, 215, 0, 0.3);
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ffed4e, #ffd700);
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

/* Transaction container scrollbar */
.transactions-container::-webkit-scrollbar {
    width: 8px;
}

.transactions-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
}

.transactions-container::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.6), rgba(255, 237, 78, 0.6));
    border-radius: 4px;
}

.transactions-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.8), rgba(255, 237, 78, 0.8));
}