html {
    scroll-behavior: smooth
}

:root {
    --color-primary: #0EA5E9;
    --color-secondary: #0284C7;
    --color-white: #FFF;
    --color-gray-100: #F0F9FF;
    --color-gray-200: #E0F2FE;
    --color-gray-300: #BAE6FD;
    --color-gray-600: #64748B;
    --color-gray-700: #334155;
    --color-monero: #F60;
    --color-bitcoin: #F7931A;
    --transition-fast: 150ms ease;
    --transition-normal: 200ms ease;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, .1);
    --radius-sm: .375rem;
    --radius-md: .5rem;
    --radius-lg: .75rem;
    --radius-xl: 1rem
}

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

body {
    font-family: Montserrat, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #0f0f23;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden
}

.heading-xl {
    font-family: Orbitron, monospace;
    font-weight: 900;
    font-size: 3rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    line-height: 1.1
}

.heading-lg {
    font-family: Orbitron, monospace;
    font-weight: 900;
    font-size: 2.5rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    line-height: 1.2;
    color: #0EA5E9
}

.heading-md {
    font-family: Orbitron, monospace;
    font-weight: 700;
    font-size: 1.75rem;
    letter-spacing: .03em;
    text-transform: uppercase;
    line-height: 1.3
}

.heading-sm {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: .02em
}

.text-mono {
    font-family: 'Space Mono', 'Courier New', monospace
}

header {
    background: rgba(15, 23, 42, 0.98);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(14, 165, 233, 0.3)
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem
}

.logo-wrapper img {
    height: 6rem;
    width: auto
}

nav {
    display: flex;
    gap: 2rem;
    align-items: center
}

nav a {
    color: #0EA5E9;
    text-decoration: none;
    font-weight: 600;
    font-size: .95rem;
    letter-spacing: .02em;
    padding: .5rem 0
}

nav a:hover {
    color: #fff
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: 0 0;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: transform .2s ease
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg)
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg)
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, .5);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease;
    z-index: 99
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible
}

@media (max-width:768px) {
    .mobile-menu-toggle {
        display: flex
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        padding: 5rem 2rem 2rem;
        transition: right .2s ease;
        z-index: 100;
        gap: 0;
        border-left: 1px solid rgba(14, 165, 233, 0.3)
    }

    nav.active {
        right: 0
    }

    nav a {
        width: 100%;
        padding: 1rem 0;
        font-size: 1rem;
        border-bottom: 1px solid rgba(14, 165, 233, 0.2)
    }
}

.info-bar {
    background: var(--color-primary);
    padding: 1rem 0
}

.info-bar-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem
}

.info-card {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius-md);
    padding: .75rem 1rem;
    display: flex;
    align-items: center;
    gap: .75rem
}

.info-icon {
    font-size: 1.5rem;
    flex-shrink: 0
}

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

.info-label {
    font-size: .75rem;
    color: var(--color-gray-300);
    text-transform: uppercase;
    letter-spacing: .05em;
    font-weight: 600
}

.info-value {
    font-family: 'Space Mono', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-white);
    margin-top: .15rem
}

.text-green {
    color: #10B981
}

.text-red {
    color: #EF4444
}

.text-monero {
    color: var(--color-monero)
}

.text-bitcoin {
    color: var(--color-bitcoin)
}

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

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

section {
    padding: 5rem 0
}

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

.card {
    background: rgba(15, 23, 42, 0.9);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid rgba(14, 165, 233, 0.2);
    height: 100%;
    display: flex;
    flex-direction: column
}

.card:hover {
    border-color: rgba(14, 165, 233, 0.4)
}

.card-icon {
    width: 4rem;
    height: 4rem;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem
}

.card-icon i {
    font-size: 1.75rem;
    color: var(--color-white)
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: background .15s ease;
    cursor: pointer;
    border: 2px solid transparent;
    letter-spacing: .02em
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary)
}

.btn-primary:hover {
    background: var(--color-secondary);
    border-color: var(--color-secondary)
}

.btn-secondary {
    background: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-primary)
}

.btn-secondary:hover {
    background: var(--color-gray-100)
}

.btn i {
    margin-right: .5rem
}

.grid {
    display: grid;
    gap: 2rem
}

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

.grid-3 {
    grid-template-columns: repeat(3, 1fr)
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr)
}

@media (max-width:1200px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width:900px) {

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr
    }

    .grid-4 {
        grid-template-columns: 1fr
    }
}

.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-primary);
    background: var(--color-gray-100);
    display: flex;
    align-items: start;
    gap: 1rem
}

.alert-icon {
    font-size: 1.25rem;
    flex-shrink: 0
}

.code-block {
    background: var(--color-secondary);
    color: var(--color-white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    font-family: 'Space Mono', monospace;
    font-size: .875rem;
    line-height: 1.8;
    word-wrap: break-word;
    word-break: break-word;
    white-space: normal;
    max-width: 100%;
    overflow-x: hidden
}

footer {
    background: rgba(15, 23, 42, 0.98);
    border-top: 1px solid rgba(14, 165, 233, 0.3);
    padding: 3rem 0 2rem
}

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

.footer-logo img {
    height: 3.5rem;
    width: auto;
    max-width: 250px;
    object-fit: contain
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    margin-top: .5rem
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 500
}

.footer-links a:hover {
    color: #0EA5E9
}

.footer-bottom {
    border-top: 1px solid rgba(14, 165, 233, 0.3);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: .875rem
}

.fade-in {
    opacity: 1
}

@media (max-width:768px) {
    .heading-xl {
        font-size: 2rem
    }

    .heading-lg {
        font-size: 1.75rem
    }

    .heading-md {
        font-size: 1.5rem
    }

    .header-container {
        padding: 1rem 1.25rem
    }

    .logo-wrapper img {
        height: 4rem
    }

    .info-bar-container {
        grid-template-columns: 1fr;
        padding: 0 1rem
    }

    .container,
    .container-narrow {
        padding: 0 1rem
    }

    section {
        padding: 3rem 0
    }

    .card {
        padding: 1.5rem
    }

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

    .footer-content {
        flex-direction: column;
        text-align: center
    }

    .footer-links {
        justify-content: center
    }

    .footer-logo img {
        height: 3rem
    }
}

.text-center {
    text-align: center
}

.text-white {
    color: var(--color-white)
}

.text-gray {
    color: rgba(255, 255, 255, 0.7)
}

.bg-white {
    background: transparent
}

.bg-gray {
    background: transparent
}

.bg-black {
    background: rgba(14, 165, 233, 0.1)
}

.mt-1 {
    margin-top: .5rem
}

.mt-2 {
    margin-top: 1rem
}

.mt-3 {
    margin-top: 1.5rem
}

.mt-4 {
    margin-top: 2rem
}

.mb-1 {
    margin-bottom: .5rem
}

.mb-2 {
    margin-bottom: 1rem
}

.mb-3 {
    margin-bottom: 1.5rem
}

.mb-4 {
    margin-bottom: 2rem
}

.toast-notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #10B981;
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: .75rem;
    font-weight: 600;
    z-index: 9999;
    opacity: 0;
    transform: translateY(1rem);
    transition: opacity .2s ease, transform .2s ease;
    pointer-events: none
}

.toast-notification.show {
    opacity: 1;
    transform: translateY(0)
}

.toast-notification i {
    font-size: 1.25rem
}

@media (max-width:768px) {
    .toast-notification {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        justify-content: center
    }
}

@media (max-width:480px) {
    .heading-xl {
        font-size: 1.75rem
    }

    .heading-lg {
        font-size: 1.5rem
    }

    .heading-md {
        font-size: 1.25rem
    }

    .logo-wrapper img {
        height: 3.5rem
    }

    .header-container {
        padding: .875rem 1rem
    }

    section {
        padding: 2rem 0
    }

    .card {
        padding: 1.25rem
    }

    .btn {
        padding: .875rem 1.5rem;
        font-size: .9rem
    }

    .footer-logo img {
        height: 2.5rem
    }

    .footer-links {
        gap: 1rem
    }

    .footer-links a {
        font-size: .875rem
    }
}

.breadcrumbs {
    background: rgba(15, 23, 42, 0.9);
    border-bottom: 1px solid rgba(14, 165, 233, 0.3);
    padding: 1rem 0
}

.breadcrumbs-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .9rem
}

.breadcrumb-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: .25rem
}

.breadcrumb-link:hover {
    color: #0EA5E9
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 .25rem
}

.breadcrumb-current {
    color: #0EA5E9;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: .25rem
}

@media (max-width:768px) {
    .breadcrumbs-container {
        font-size: .8rem;
        padding: 0 1rem
    }
}

/* Enhanced Responsive Styles */

/* Hero Grid - responsive layout */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center
}

@media (max-width:900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center
    }
}

/* Button Group - responsive stacking */
.btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap
}

@media (max-width:600px) {
    .btn-group {
        flex-direction: column;
        width: 100%
    }

    .btn-group .btn {
        width: 100%;
        justify-content: center
    }
}

/* Info cards row - mobile layout */
.info-cards-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem
}

@media (max-width:768px) {
    .info-cards-row {
        flex-direction: column;
        text-align: center
    }
}

/* Updates grid - responsive */
.updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem
}

/* Flex utilities for mobile */
.flex-wrap {
    flex-wrap: wrap
}

@media (max-width:768px) {
    .flex-column-mobile {
        flex-direction: column !important
    }

    .text-center-mobile {
        text-align: center !important
    }

    .gap-1-mobile {
        gap: 1rem !important
    }

    .w-full-mobile {
        width: 100% !important
    }

    .order-first-mobile {
        order: -1
    }

    .order-last-mobile {
        order: 1
    }
}

/* Link cards - responsive copy button */
.link-card-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap
}

@media (max-width:600px) {
    .link-card-content {
        flex-direction: column;
        align-items: stretch
    }

    .link-card-content .btn {
        width: 100%
    }
}

/* Featured news image - responsive height */
@media (max-width:768px) {
    .featured-img {
        height: 200px !important
    }
}

@media (max-width:480px) {
    .featured-img {
        height: 150px !important
    }
}

/* Card images - responsive sizing */
.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-md)
}

@media (max-width:480px) {
    .card-img {
        height: 150px
    }
}

/* Footer improvements for mobile */
@media (max-width:600px) {
    .footer-content {
        gap: 1.5rem
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem
    }

    .footer-bottom {
        padding-top: 1.5rem
    }

    .footer-bottom p {
        font-size: 0.75rem;
        line-height: 1.5
    }
}

/* Announcement timeline - mobile */
.timeline-card {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem
}

@media (max-width:600px) {
    .timeline-card {
        flex-direction: column;
        gap: 0.75rem
    }

    .timeline-card i {
        order: -1
    }
}

/* Stats section - responsive text */
@media (max-width:480px) {
    .stat-value {
        font-size: 2rem !important
    }

    .stat-label {
        font-size: 0.9rem !important
    }
}

/* Table responsive wrapper */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch
}

@media (max-width:600px) {
    .table-responsive table {
        min-width: 500px
    }
}

/* CTA section responsive */
@media (max-width:768px) {
    .cta-title {
        font-size: 1.5rem !important
    }

    .cta-description {
        font-size: 1rem !important
    }
}

/* Security/feature cards with icons - mobile friendly */
.feature-card-horizontal {
    display: flex;
    gap: 1.5rem
}

@media (max-width:600px) {
    .feature-card-horizontal {
        flex-direction: column;
        text-align: center
    }

    .feature-card-horizontal .card-icon {
        margin: 0 auto
    }
}

/* Touch-friendly tap targets */
@media (max-width:768px) {
    nav a {
        min-height: 44px;
        display: flex;
        align-items: center
    }

    .footer-links a {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center
    }
}

/* Improved spacing for mobile */
@media (max-width:480px) {

    .container,
    .container-narrow {
        padding: 0 0.75rem
    }

    section {
        padding: 1.5rem 0
    }

    .section-title {
        margin-bottom: 2rem
    }
}