/* Base Styles */
:root {
    --primary-color: #2b2d42;
    --secondary-color: #8d99ae;
    --accent-color: #ef233c;
    --highlight-color: #06d6a0;
    --background-color: #121420;
    --card-color: #1e1f2b;
    --text-color: #edf2f4;
    --text-secondary: #8d99ae;
    --success-color: #06d6a0;
    --warning-color: #ffd166;
    --error-color: #ef476f;
    --info-color: #118ab2;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    background-image: url('https://i.pinimg.com/474x/51/2b/0e/512b0e458e4c45dc6cb5812a79e4bd23.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2rem, 5vw, 3rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--highlight-color);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: clamp(1rem, 2vw, 1.1rem);
}

a {
    color: var(--highlight-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 8px rgba(239, 35, 60, 0.3);
}

/* Header Styles */
header {
    background-color: rgba(18, 20, 32, 0.95);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

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

.logo h1 {
    font-size: clamp(1.5rem, 4vw, 1.8rem);
    margin: 0;
    background: linear-gradient(to right, var(--highlight-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(6, 214, 160, 0.3);
}

nav {
    position: relative;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    font-family: 'Orbitron', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
}

nav a:not(.active):hover {
    color: var(--accent-color);
    background: rgba(239, 35, 60, 0.1);
}

nav a.active {
    background: rgba(6, 214, 160, 0.2);
    color: var(--highlight-color);
    box-shadow: 0 0 15px rgba(6, 214, 160, 0.3);
}

/* Main Content */
main {
    flex: 1;
    padding: 2rem 0;
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(43, 45, 66, 0.8) 0%, rgba(18, 20, 32, 0.95) 100%);
    padding: 4rem 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    text-align: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.hero-content h2 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--highlight-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(239, 35, 60, 0.3);
    line-height: 1.1;
}

.hero-content p {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    gap: 0.5rem;
    min-width: 180px;
    text-align: center;
}

.btn-primary {
    background-color: var(--highlight-color);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(6, 214, 160, 0.4);
}

.btn-primary:hover {
    background-color: #05c191;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(6, 214, 160, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: var(--highlight-color);
    border: 2px solid var(--highlight-color);
    box-shadow: 0 4px 15px rgba(6, 214, 160, 0.2);
}

.btn-secondary:hover {
    background-color: rgba(6, 214, 160, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(6, 214, 160, 0.3);
}

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

/* Stats Section */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    background-color: var(--card-color);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(6, 214, 160, 0.3);
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--highlight-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.stat-card p {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* How It Works Section */
.how-it-works {
    margin-bottom: 3rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--highlight-color), var(--accent-color));
    border-radius: 3px;
}

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

.step {
    background-color: var(--card-color);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.step:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(239, 35, 60, 0.3);
}

.step-number {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 4.5rem;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.05);
    font-family: 'Orbitron', sans-serif;
    line-height: 1;
    z-index: 0;
}

.step-icon {
    font-size: 2.5rem;
    color: var(--highlight-color);
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.step:hover .step-icon {
    transform: scale(1.1) rotate(5deg);
}

.step h3 {
    color: var(--highlight-color);
    margin-top: 1rem;
    position: relative;
    z-index: 1;
}

.step p {
    position: relative;
    z-index: 1;
}

/* Mining Page Styles */
.mining-section {
    background-color: var(--card-color);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    margin-bottom: 3rem;
}

.success-message {
    background-color: rgba(6, 214, 160, 0.1);
    border: 1px solid var(--highlight-color);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(6, 214, 160, 0.1);
}

.success-message h3 {
    color: var(--highlight-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.success-message h3::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: var(--highlight-color);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 1rem;
}

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

.detail {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1.2rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.detail:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}

.detail span:first-child {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--highlight-color);
    font-size: 0.9rem;
}

.hash {
    font-family: monospace;
    word-break: break-all;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.transactions-list {
    list-style: none;
    margin-top: 1.5rem;
}

.transactions-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

.transactions-list li:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

.mining-controls {
    text-align: center;
    margin: 3rem 0;
}

.mining-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-size: 1.1rem;
    padding: 1.2rem 3rem;
    min-width: 250px;
}

.mining-info {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1.8rem;
    border-radius: 15px;
    margin-top: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.mining-info h3 {
    color: var(--highlight-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

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

.mining-stat {
    background-color: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
}

.mining-stat span:first-child {
    display: block;
    font-weight: bold;
    color: var(--highlight-color);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Transactions Page Styles */
.transactions-section {
    background-color: var(--card-color);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    margin-bottom: 3rem;
}

.transactions-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 992px) {
    .transactions-container {
        grid-template-columns: 1fr 1fr;
    }
}

.new-transaction {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.new-transaction h3 {
    color: var(--highlight-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--highlight-color);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-color);
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--highlight-color);
    box-shadow: 0 0 0 3px rgba(6, 214, 160, 0.2);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 2rem;
}

.pending-transactions {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.pending-transactions h3 {
    color: var(--highlight-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.transactions-list {
    margin-top: 1.5rem;
}

.transaction-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.2rem;
    border-left: 4px solid var(--highlight-color);
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.transaction-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.08);
}

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

.tx-id {
    font-family: monospace;
    color: var(--text-secondary);
    font-size: 0.85rem;
    word-break: break-all;
}

.tx-amount {
    color: var(--highlight-color);
    font-weight: bold;
    font-size: 1.1rem;
    white-space: nowrap;
    margin-left: 1rem;
}

.tx-details {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    font-size: 0.9rem;
}

.tx-from, .tx-to {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.tx-direction {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.address {
    font-family: monospace;
    font-size: 0.85rem;
    word-break: break-all;
}

.no-transactions {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-secondary);
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.no-transactions p {
    margin-bottom: 1.5rem;
}

/* Chain Explorer Styles */
.chain-section {
    background-color: var(--card-color);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    margin-bottom: 3rem;
}

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

.chain-length {
    color: var(--highlight-color);
    font-weight: bold;
    font-size: 1.1rem;
    background-color: rgba(6, 214, 160, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.search-bar {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    max-width: 400px;
    width: 100%;
}

.search-bar:focus-within {
    border-color: var(--highlight-color);
    box-shadow: 0 0 0 3px rgba(6, 214, 160, 0.2);
}

.search-bar input {
    background: transparent;
    border: none;
    color: var(--text-color);
    padding: 0.5rem;
    width: 100%;
    font-family: 'Roboto', sans-serif;
}

.search-bar input:focus {
    outline: none;
}

.search-bar button {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.search-bar button:hover {
    color: var(--highlight-color);
}

.blocks-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.block-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1.8rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.block-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(6, 214, 160, 0.3);
}

.block-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 1rem;
}

.block-header h3 {
    margin: 0;
    color: var(--highlight-color);
}

.block-hash {
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--text-secondary);
    word-break: break-all;
}

.block-details {
    margin-bottom: 1.5rem;
}

.block-details .detail {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    padding: 0.5rem 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}

.block-details .detail span:first-child {
    color: var(--text-secondary);
    font-weight: 500;
}

.block-details .detail span:last-child {
    color: var(--text-color);
    font-weight: 500;
    text-align: right;
}

.transactions-preview {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.transactions-preview h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--highlight-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.transactions-preview ul {
    list-style: none;
    font-size: 0.9rem;
}

.transactions-preview li {
    margin-bottom: 0.5rem;
    font-family: monospace;
    word-break: break-all;
    padding: 0.3rem 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}

.view-all {
    display: inline-block;
    margin-top: 1rem;
    color: var(--highlight-color);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.view-all:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Footer Styles */
footer {
    background-color: rgba(18, 20, 32, 0.95);
    padding: 2rem 0;
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-secondary);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.4);
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-logo img {
    height: 30px;
}

.footer-logo h3 {
    font-size: 1.3rem;
    margin: 0;
    background: linear-gradient(to right, var(--highlight-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}   
  
.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--highlight-color);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-links a {
    color: var(--text-secondary);
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--highlight-color);
    transform: translateY(-3px);
}

.copyright {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Animated Crypto Icon */
.crypto-icon {
    position: relative;
    width: 40px;
    height: 40px;
    margin-right: 15px;
}

.coin {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--highlight-color), var(--primary-color));
    border-radius: 50%;
    position: absolute;
    top: 5px;
    left: 5px;
    animation: coin-spin 3s linear infinite;
    box-shadow: 0 0 10px rgba(6, 214, 160, 0.7);
    z-index: 2;
}

.chain {
    width: 40px;
    height: 40px;
    border: 3px solid var(--accent-color);
    border-radius: 50%;
    position: absolute;
    animation: chain-pulse 2s ease-in-out infinite;
}

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

@keyframes chain-pulse {
    0% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 0.7; }
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transform: translateX(150%);
    transition: transform 0.4s ease;
    max-width: 350px;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background-color: var(--success-color);
    border-left: 5px solid darken(#06d6a0, 10%);
}

.notification.error {
    background-color: var(--error-color);
    border-left: 5px solid darken(#ef476f, 10%);
}

.notification.warning {
    background-color: var(--warning-color);
    color: var(--primary-color);
    border-left: 5px solid darken(#ffd166, 10%);
}

.notification.info {
    background-color: var(--info-color);
    border-left: 5px solid darken(#118ab2, 10%);
}

.notification-icon {
    font-size: 1.3rem;
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--highlight-color);
    animation: spin 1s ease-in-out infinite;
}

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

/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 30px;
    }
}

@media (max-width: 992px) {
    .blocks-container {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .steps {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .hero-content h2 {
        font-size: clamp(1.8rem, 6vw, 2.8rem);
    }
    
    .menu-toggle {
        display: block;
    }
    
    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: rgba(18, 20, 32, 0.98);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    }
    
    nav ul.active {
        right: 0;
    }
    
    nav a {
        width: 100%;
        padding: 1rem;
        border-radius: 8px;
    }
    
    .close-menu {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        font-size: 1.5rem;
        background: none;
        border: none;
        color: var(--text-color);
        cursor: pointer;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .hero {
        padding: 3rem 1.5rem;
    }
    
    .hero-content h2 {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .stats {
        grid-template-columns: 1fr 1fr;
    }
    
    .mining-section, .transactions-section, .chain-section {
        padding: 1.5rem;
    }
    
    .block-details {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: 2rem 1rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .mining-btn {
        width: 100%;
        padding: 1rem;
    }
    
    .block-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .notification {
        max-width: calc(100% - 40px);
        right: 20px;
        left: 20px;
    }
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

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

.mining-btn {
    animation: pulse 2s infinite;
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.flex {
    display: flex;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.grid {
    display: grid;
}

.hidden {
    display: none;
}

/* Dark mode toggle (optional) */
.dark-mode-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--card-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.dark-mode-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.dark-mode-toggle i {
    font-size: 1.3rem;
    color: var(--highlight-color);
}
/* Update the existing media query for 992px */
@media (max-width: 992px) {
    /* ... existing styles ... */
    
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 5px;
        color: var(--highlight-color);
        font-size: 1.2rem;
        cursor: pointer;
        z-index: 1001;
        transition: all 0.3s ease;
    }
    
    .menu-toggle:hover {
        background: rgba(255, 255, 255, 0.2);
    }
    
    .menu-toggle.active {
        color: var(--accent-color);
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: rgba(18, 20, 32, 0.98);
        flex-direction: column;
        align-items: flex-start;
        padding: 6rem 2rem 2rem;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
        margin: 0;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        width: 100%;
        padding: 1rem;
        border-radius: 8px;
        margin-bottom: 0.5rem;
    }
    
    .header-container {
        justify-content: space-between;
    }
}

/* Add this new media query for better mobile experience */
@media (max-width: 576px) {
    .nav-menu {
        width: 100%;
        right: -100%;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .menu-toggle {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}