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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0b0f1a 0%, #0b2a5a 100%);
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Animated Background */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.4;
}

.background-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Home-style Navigation Bar */
.home-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgb(1, 33, 105);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 1;
    transform: translateY(0);
    width: 100vw;
    max-width: 100vw;
}

.home-navbar.hidden {
    transform: translateY(-100%);
    opacity: 0;
}

/* Home Navbar Container */
.home-navbar .nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

/* Home Navbar Logo */
.home-navbar .nav-logo {
    flex-shrink: 0;
}

.home-navbar .logo-link {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.home-navbar .logo-link:hover {
    transform: scale(1.05);
}

.home-navbar .nav-logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.home-navbar .logo-link:hover .nav-logo-img {
    filter: brightness(1.1);
    transform: scale(1.05);
}

/* Home Navigation Links */
.home-navbar .nav-navigation {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: space-between;
    gap: 2rem;
}

/* Contact link specific styling */
.home-navbar .nav-link[href="#contact"] {
    position: relative;
    transition: all 0.3s ease;
}

.home-navbar .nav-link[href="#contact"]:hover {
    color: #5cc2ff;
    transform: translateY(-1px);
}

.home-navbar .nav-link[href="#contact"]:active {
    transform: translateY(0);
    transition: transform 0.1s ease;
}

.home-navbar .nav-links-center {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.home-navbar .nav-links-right {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
}

.home-navbar .nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.home-navbar .nav-link:hover {
    color: #5cc2ff;
}

.home-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #5cc2ff, #f7c948);
    transition: width 0.3s ease;
}

.home-navbar .nav-link:hover::after {
    width: 100%;
}

.home-navbar .nav-link-active {
    color: #5cc2ff;
}

.home-navbar .nav-link-active::after {
    width: 100%;
}

.home-navbar .nav-link-apply {
    background: linear-gradient(135deg, #5cc2ff, #f7c948);
    color: #0b2a5a;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.home-navbar .nav-link-apply:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(92, 194, 255, 0.3);
    color: #0b2a5a;
}

.home-navbar .nav-link-apply::after {
    display: none;
}

/* Finances-style Navigation Bar (After Scroll) */
.finances-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    padding: 1rem 0;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    opacity: 0;
    transform: translateY(-100%);
}

.finances-navbar.visible {
    opacity: 1;
    transform: translateY(0);
    z-index: 1000;
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.navbar-logo {
    flex-shrink: 0;
}

.logo-link {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.finances-logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.logo-link:hover .finances-logo-img {
    filter: brightness(1.1);
    transform: scale(1.05);
}

.finances-navigation {
    display: flex;
    gap: 3rem;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.finances-nav-link {
    position: relative;
    text-decoration: none;
    color: #e2e8f0;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.75rem 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
    letter-spacing: 0.3px;
}

.finances-nav-link:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
    transform: translateY(-1px);
}

.finances-nav-link.active {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(92, 194, 255, 0.5);
}

.finances-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #6366f1);
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 1px;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.6);
}

.finances-nav-link:hover::after,
.finances-nav-link.active::after {
    width: 100%;
}

/* Menu Button */
.navbar-menu {
    flex-shrink: 0;
}

.menu-button {
    background: transparent;
    border: 2px solid rgba(226, 232, 240, 0.2);
    border-radius: 8px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 44px;
    min-height: 44px;
}

.menu-button:hover {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.menu-button:focus {
    outline: none;
    border-color: #5cc2ff;
    box-shadow: 0 0 0 3px rgba(92, 194, 255, 0.2);
}

.menu-icon {
    width: 18px;
    height: 18px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
}

.menu-line {
    width: 100%;
    height: 2px;
    background: #e2e8f0;
    border-radius: 1px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-line:nth-child(1) { width: 100%; }
.menu-line:nth-child(2) { width: 75%; }
.menu-line:nth-child(3) { width: 100%; }
.menu-line:nth-child(4) { width: 50%; }

.menu-button:hover .menu-line {
    background: #5cc2ff;
}

.menu-button.active .menu-icon {
    transform: rotate(45deg);
}

.menu-button.active .menu-line:nth-child(1) {
    transform: translateY(8px) rotate(90deg);
    width: 100%;
}

.menu-button.active .menu-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.menu-button.active .menu-line:nth-child(3) {
    transform: translateY(-8px);
    width: 100%;
}

.menu-button.active .menu-line:nth-child(4) {
    opacity: 0;
    transform: translateX(20px);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.nav-logo {
    flex-shrink: 0;
}

.logo-link {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.nav-logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.logo-link:hover .nav-logo-img {
    filter: brightness(1.1);
    transform: scale(1.05);
}

.nav-navigation {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: space-between;
    gap: 2rem;
}

.nav-links-center {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.nav-links-right {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: #5cc2ff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #5cc2ff, #f7c948);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link-active {
    color: #5cc2ff;
}

.nav-link-active::after {
    width: 100%;
}

.nav-link-apply {
    background: linear-gradient(135deg, #5cc2ff, #f7c948);
    color: #0b2a5a;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-link-apply:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(92, 194, 255, 0.3);
    color: #0b2a5a;
}

.nav-link-apply::after {
    display: none;
}

.nav-social {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.social-link {
    width: 36px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.social-link:hover {
    transform: scale(1.1);
    border-color: transparent;
    background: linear-gradient(135deg, #5cc2ff, #f7c948);
    color: #0b2a5a;
    box-shadow: 0 0 20px rgba(92, 194, 255, 0.6);
}

.social-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.social-link:hover .social-icon {
    transform: rotate(360deg);
}

/* Mobile Menu Button */
.nav-menu {
    display: none;
    flex-shrink: 0;
}

.menu-button {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.menu-button:hover {
    border-color: #5cc2ff;
    background: rgba(92, 194, 255, 0.1);
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(92, 194, 255, 0.3);
}

.menu-button:focus {
    outline: none;
    border-color: #5cc2ff;
    box-shadow: 0 0 0 3px rgba(92, 194, 255, 0.2);
}

.menu-icon {
    width: 18px;
    height: 18px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
}

.menu-line {
    width: 100%;
    height: 2px;
    background: #ffffff;
    border-radius: 1px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-line:nth-child(1) { width: 100%; }
.menu-line:nth-child(2) { width: 75%; }
.menu-line:nth-child(3) { width: 100%; }
.menu-line:nth-child(4) { width: 50%; }

.menu-button:hover .menu-line {
    background: #5cc2ff;
}

.menu-button.active .menu-icon {
    transform: rotate(45deg);
}

.menu-button.active .menu-line:nth-child(1) {
    transform: translateY(8px) rotate(90deg);
    width: 100%;
}

.menu-button.active .menu-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.menu-button.active .menu-line:nth-child(3) {
    transform: translateY(-8px);
    width: 100%;
}

.menu-button.active .menu-line:nth-child(4) {
    opacity: 0;
    transform: translateX(20px);
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.overlay-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    transition: opacity 0.4s ease;
}

.overlay-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 41, 59, 0.98) 100%);
    backdrop-filter: blur(25px);
    padding: 2rem;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow-y: auto;
    border-left: 1px solid rgba(148, 163, 184, 0.1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
}

.menu-overlay.active .overlay-content {
    transform: translateX(0);
}

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

.overlay-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #ffffff, #5cc2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.overlay-close {
    background: transparent;
    border: none;
    color: #cfd6e4;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay-close:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.close-icon {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.overlay-nav {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.nav-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nav-section-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #3b82f6;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.overlay-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1rem;
    text-decoration: none;
    color: #e2e8f0;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    min-height: 48px;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.overlay-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.overlay-link:hover::before {
    left: 100%;
}

.overlay-link:hover {
    color: #ffffff;
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateX(4px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

.overlay-link:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}

.overlay-link.active {
    background: rgba(59, 130, 246, 0.15);
    color: #ffffff;
    border-color: rgba(59, 130, 246, 0.4);
}

.overlay-link.apply-highlight {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(99, 102, 241, 0.2));
    border-color: rgba(59, 130, 246, 0.4);
    color: #ffffff;
}

.overlay-link.apply-highlight:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(99, 102, 241, 0.3));
    transform: translateX(8px) scale(1.02);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.link-label {
    font-size: 0.95rem;
}

.overlay-social {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Main Content */
.main-content {
    margin-top: 0;
    min-height: calc(100vh - 92px);
    width: 100%;
    max-width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0b0f1a 0%, #0b2a5a 100%);
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    color: rgba(92, 194, 255, 0.3);
    animation: float 6s ease-in-out infinite;
}

.floating-icon:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-icon:nth-child(2) {
    top: 30%;
    right: 15%;
    animation-delay: 2s;
}

.floating-icon:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.floating-icon:nth-child(4) {
    bottom: 20%;
    right: 10%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.6;
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #5cc2ff 50%, #f7c948 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #cfd6e4;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.3s both;
}

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

/* Section Styles */
.section {
    padding: 5rem 0;
    position: relative;
}

.section:nth-child(even) {
    background: rgba(11, 15, 26, 0.5);
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #ffffff, #5cc2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

/* Glass Card Styles */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(92, 194, 255, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

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

.card-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.card-content {
    color: #cfd6e4;
}

/* Treasury Section */
.treasury-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.treasury-total {
    grid-column: span 1;
}

.funding-breakdown {
    grid-column: span 1;
}

.pie-chart-card {
    grid-column: span 1;
}

.change-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.change-indicator.positive {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.change-indicator.negative {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.total-value {
    text-align: center;
}

.usd-value {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.crypto-equivalent {
    font-size: 1.1rem;
    color: #5cc2ff;
}

.breakdown-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.breakdown-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.item-info {
    display: flex;
    flex-direction: column;
    min-width: 120px;
}

.source-name {
    font-size: 0.9rem;
    color: #ffffff;
    font-weight: 500;
}

.source-amount {
    font-size: 0.8rem;
    color: #cfd6e4;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #5cc2ff, #f7c948);
    border-radius: 4px;
    transition: width 1s ease-out;
}

.percentage {
    font-size: 0.85rem;
    color: #5cc2ff;
    font-weight: 600;
    min-width: 40px;
    text-align: right;
}

/* Chart Container */
.chart-container {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-container canvas {
    max-width: 100%;
    max-height: 100%;
}

/* Funding Sources Section */
.funding-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.funding-card .funding-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.funding-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #5cc2ff, #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #ffffff;
}

.funding-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

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

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.stat:hover {
    transform: translateY(-4px);
}

.stat-label {
    font-size: 0.8rem;
    color: #cfd6e4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
}

.recent-contributions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contribution-item {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 1rem;
    align-items: center;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.partner-name {
    font-size: 0.9rem;
    color: #ffffff;
    font-weight: 500;
}

.contribution-amount {
    font-size: 0.9rem;
    color: #5cc2ff;
    font-weight: 600;
}

.contribution-date {
    font-size: 0.8rem;
    color: #cfd6e4;
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

.allocation-chart-card {
    display: flex;
    flex-direction: column;
}

.assets-table-card {
    display: flex;
    flex-direction: column;
}

.table-controls {
    display: flex;
    gap: 0.5rem;
}

.control-btn {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #cfd6e4;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.control-btn.active,
.control-btn:hover {
    background: rgba(92, 194, 255, 0.2);
    border-color: #5cc2ff;
    color: #5cc2ff;
}

.assets-table-container {
    overflow-x: auto;
}

.assets-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.assets-table th {
    text-align: left;
    padding: 1rem 0.75rem;
    color: #cfd6e4;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.assets-table td {
    padding: 1rem 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.asset-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.asset-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.asset-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    flex-shrink: 0;
}

.asset-icon.usdc {
    background: linear-gradient(135deg, #2775ca, #2775ca);
}

.asset-icon.eth {
    background: linear-gradient(135deg, #627eea, #627eea);
}

.asset-icon.sol {
    background: linear-gradient(135deg, #9945ff, #14f195);
}

.asset-icon.usdt {
    background: linear-gradient(135deg, #26a17b, #26a17b);
}

.asset-icon.btc {
    background: linear-gradient(135deg, #f7931a, #f7931a);
}

.asset-icon.cgld {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
}

/* Performance Section */
.performance-controls {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.timeframe-toggle {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    padding: 0.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.toggle-btn {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: none;
    color: #cfd6e4;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.toggle-btn.active,
.toggle-btn:hover {
    background: linear-gradient(135deg, #5cc2ff, #3b82f6);
    color: #ffffff;
}

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

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.kpi-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.kpi-item:hover {
    transform: translateY(-4px);
}

.kpi-label {
    display: block;
    font-size: 0.8rem;
    color: #cfd6e4;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kpi-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

.kpi-value.positive {
    color: #22c55e;
}

.kpi-value.negative {
    color: #ef4444;
}

/* Cash Flow Section */
.cashflow-summary {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.summary-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.summary-label {
    font-size: 0.8rem;
    color: #cfd6e4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-value {
    font-size: 1.1rem;
    font-weight: 600;
}

.summary-value.positive {
    color: #22c55e;
}

.summary-value.negative {
    color: #ef4444;
}

.cashflow-table-container {
    overflow-x: auto;
}

.cashflow-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.cashflow-table th {
    text-align: left;
    padding: 1rem 0.75rem;
    color: #cfd6e4;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cashflow-table td {
    padding: 1rem 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.income-row {
    background: rgba(34, 197, 94, 0.03);
}

.expense-row {
    background: rgba(239, 68, 68, 0.03);
}

.category-tag {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-tag.grants {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.category-tag.validator {
    background: rgba(168, 85, 247, 0.2);
    color: #a855f7;
}

.category-tag.infrastructure {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.category-tag.events {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.category-tag.operations {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.positive {
    color: #22c55e;
}

.negative {
    color: #ef4444;
}

/* Mining Section */
.mining-section {
    padding: 4rem 0;
}

.mining-kpis {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.kpi-chip {
    background: rgba(92, 194, 255, 0.1);
    border: 1px solid rgba(92, 194, 255, 0.3);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 140px;
    transition: all 0.3s ease;
}

.kpi-chip:hover {
    background: rgba(92, 194, 255, 0.15);
    border-color: rgba(92, 194, 255, 0.5);
    transform: translateY(-2px);
}

.kpi-chip .kpi-label {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kpi-chip .kpi-value {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
}

.mining-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.mining-overview-card {
    grid-column: span 1;
}

.hardware-inventory-card {
    grid-column: span 1;
}

.performance-charts-card {
    grid-column: span 2;
}

.revenue-cost-card {
    grid-column: span 1;
}

.energy-cost-card {
    grid-column: span 1;
}

.profitability-card {
    grid-column: span 1;
}

.pool-payouts-card {
    grid-column: span 1;
}

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

.overview-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.overview-label {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 500;
}

.overview-value {
    font-size: 0.9rem;
    color: #ffffff;
    font-weight: 600;
}

.wallet-address {
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    color: #5cc2ff;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.copy-btn {
    background: rgba(92, 194, 255, 0.2);
    border: 1px solid rgba(92, 194, 255, 0.3);
    border-radius: 6px;
    padding: 0.25rem 0.5rem;
    color: #5cc2ff;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 0.5rem;
}

.copy-btn:hover {
    background: rgba(92, 194, 255, 0.3);
    border-color: rgba(92, 194, 255, 0.5);
}

/* Hardware Table */
.hardware-table-container {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hardware-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.hardware-table th {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-weight: 600;
    padding: 1rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hardware-table td {
    padding: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #cfd6e4;
}

.hardware-table tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.healthy {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-badge.degraded {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-badge.down {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Chart Controls */
.chart-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.unit-toggle {
    display: flex;
    gap: 0.25rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.25rem;
}

.unit-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    font-weight: 500;
}

.unit-btn.active {
    background: rgba(92, 194, 255, 0.2);
    color: #5cc2ff;
}

.unit-btn:hover:not(.active) {
    color: #ffffff;
}

/* Energy Stats Grid */
.energy-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.energy-stat {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.energy-stat .stat-label {
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 500;
}

.energy-stat .stat-value {
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 600;
}

/* Cost Breakdown */
.cost-breakdown h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

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

.cost-category {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.category-name {
    font-size: 1rem;
    color: #5cc2ff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cost-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cost-item span:first-child {
    color: #cfd6e4;
    font-size: 0.9rem;
}

.cost-item span:last-child {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Profitability Stats */
.profitability-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.profit-stat {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.profit-stat .stat-label {
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 500;
}

.profit-stat .stat-value {
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 600;
}

.profit-stat .stat-value.negative {
    color: #ef4444;
}

/* Pool Stats Grid */
.pool-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.pool-stat {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pool-stat .stat-label {
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 500;
}

.pool-stat .stat-value {
    font-size: 1rem;
    color: #ffffff;
    font-weight: 600;
}

/* Table Controls */
.table-controls {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.control-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #94a3b8;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    font-weight: 500;
}

.control-btn.active {
    background: rgba(92, 194, 255, 0.2);
    border-color: rgba(92, 194, 255, 0.3);
    color: #5cc2ff;
}

.control-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.export-btn {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.export-btn:hover {
    background: rgba(34, 197, 94, 0.3);
    border-color: rgba(34, 197, 94, 0.5);
}

/* Validator Section */
.validator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.validator-links-card {
    grid-column: 1 / -1;
}

/* Validator Performance Card */
.validator-performance-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.validator-performance-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(92, 194, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(92, 194, 255, 0.2);
}

.performance-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

/* Validator Links Card */
.validator-links-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

/* Combined Performance & Profitability Card */
.validator-combined-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    grid-column: 1 / -1;
}

.validator-combined-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(92, 194, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(92, 194, 255, 0.2);
}

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

.stats-section h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design for Validator Section */
@media (max-width: 1024px) {
    .validator-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .validator-links-card {
        grid-column: 1;
    }
    
    .performance-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .validator-grid {
        gap: 1rem;
    }
    
    .performance-metrics-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.validator-links-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(92, 194, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(92, 194, 255, 0.2);
}

.links-description {
    color: #cfd6e4;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.validator-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.validator-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(92, 194, 255, 0.1);
    border: 1px solid rgba(92, 194, 255, 0.2);
    border-radius: 12px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.validator-link:hover {
    background: rgba(92, 194, 255, 0.2);
    border-color: rgba(92, 194, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(92, 194, 255, 0.3);
}

.validator-link:active {
    transform: translateY(0);
}

.validator-link i:first-child {
    color: #5cc2ff;
    font-size: 1.1rem;
}

.validator-link span {
    flex: 1;
    font-size: 0.95rem;
}

.validator-link i:last-child {
    color: #94a3b8;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.validator-link:hover i:last-child {
    transform: translateX(4px);
    color: #5cc2ff;
}

.validator-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #5cc2ff, #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
}

.stat-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-unit {
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 500;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-indicator.online {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

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

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

.dashboard-description {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.dashboard-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #5cc2ff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.dashboard-link:hover {
    color: #f7c948;
    transform: translateX(4px);
}

/* Transparency Section */
.transparency-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.reports-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.report-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.report-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(92, 194, 255, 0.3);
}

.report-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.report-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #5cc2ff, #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
}

.report-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.report-name {
    font-size: 0.95rem;
    color: #ffffff;
    font-weight: 500;
}

.report-date {
    font-size: 0.8rem;
    color: #cfd6e4;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #5cc2ff, #3b82f6);
    color: #ffffff;
    border: none;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: linear-gradient(135deg, #f7c948, #5cc2ff);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(92, 194, 255, 0.3);
}

.newsletter-description {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-input-wrapper {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.newsletter-input-wrapper:focus-within {
    border-color: rgba(92, 194, 255, 0.5);
    box-shadow: 0 0 15px rgba(92, 194, 255, 0.2);
}

.newsletter-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.875rem 1.25rem;
    color: #ffffff;
    font-size: 0.9rem;
    outline: none;
    border-radius: 21px;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #5cc2ff, #3b82f6);
    color: #ffffff;
    border: none;
    border-radius: 21px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.newsletter-btn:hover {
    background: linear-gradient(135deg, #f7c948, #5cc2ff);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(92, 194, 255, 0.3);
}

.btn-text {
    position: relative;
    z-index: 2;
}

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

.newsletter-spinner {
    display: none;
}

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

.newsletter-privacy {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

/* Partnership Section */
.partnership-card {
    background: linear-gradient(135deg, rgba(92, 194, 255, 0.1), rgba(247, 201, 72, 0.1));
    border: 1px solid rgba(92, 194, 255, 0.3);
}

.partnership-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.partnership-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff, #5cc2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.partnership-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #cfd6e4;
    max-width: 500px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: rgba(92, 194, 255, 0.1);
    color: #cfd6e4;
    text-decoration: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 1px solid rgba(92, 194, 255, 0.2);
}

.cta-button:hover {
    background: linear-gradient(135deg, #5cc2ff, #f7c948);
    color: #0b2a5a;
    border-color: transparent;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(92, 194, 255, 0.3);
}

/* Footer Styles - Flowing Digital Ledger */
.footer {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, #0b0f1a 0%, #0b2a5a 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.footer-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.8;
    filter: blur(0.5px);
}

.footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(11, 42, 90, 0.3) 100%);
    z-index: 2;
    backdrop-filter: blur(1px);
}

.footer-container {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.footer-logo {
    flex-shrink: 0;
}

.footer-logo-img {
    width: auto;
    height: 40px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.footer-logo .logo-link:hover .footer-logo-img {
    filter: brightness(1.1);
    transform: scale(1.05);
}

.footer-nav {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 4;
}

.footer-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.footer-link:hover {
    color: #5cc2ff;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #5cc2ff, #f7c948);
    transition: width 0.3s ease;
}

.footer-link:hover::after {
    width: 100%;
}

.footer-social {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.footer-middle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-tagline h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    max-width: 400px;
    line-height: 1.3;
    background: linear-gradient(135deg, #ffffff, #5cc2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.footer-copyright p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin: 0;
}

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

.legal-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: #5cc2ff;
}

.legal-separator {
    color: rgba(255, 255, 255, 0.4);
}

/* Enhanced footer animations for flowing digital ledger */
@keyframes ledgerGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(92, 194, 255, 0.1);
    }
    50% {
        box-shadow: 0 0 30px rgba(92, 194, 255, 0.2);
    }
}

.footer {
    animation: ledgerGlow 4s ease-in-out infinite;
}

/* Add subtle pulse to footer content */
@keyframes contentPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.95;
    }
}

.footer-container {
    animation: contentPulse 6s ease-in-out infinite;
}

/* Enhanced social links with blockchain theme */
.footer-social .social-link {
    position: relative;
    overflow: hidden;
}

.footer-social .social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(92, 194, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.footer-social .social-link:hover::before {
    left: 100%;
}

/* Add blockchain-themed decorative elements */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(92, 194, 255, 0.5), transparent);
    z-index: 4;
}

.footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(247, 201, 72, 0.5), transparent);
    z-index: 4;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .footer {
        animation: none;
    }
    
    .footer-container {
        animation: none;
    }
    
    .footer-social .social-link::before {
        display: none;
    }
}

/* Responsive Design - Improved Mobile Experience */
@media screen and (max-width: 1024px) {
    .treasury-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .pie-chart-card {
        grid-column: span 2;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .performance-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .mining-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .performance-charts-card {
        grid-column: span 2;
    }
    
    .validator-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Validator Links Mobile */
    .validator-links-card {
        padding: 1rem;
    }
    
    .validator-link {
        padding: 0.875rem;
        font-size: 0.9rem;
    }
    
    .validator-link span {
        font-size: 0.9rem;
    }
    
    .transparency-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media screen and (max-width: 768px) {
    /* Navigation Improvements */
    .nav-container {
        padding: 0 0.75rem;
    }
    
    /* Ensure full width on mobile */
    .main-content {
        width: 100vw;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .hero-container {
        padding: 0 1rem;
        width: 100%;
    }
    
    .nav-navigation {
        display: none;
    }
    
    .nav-menu {
        display: block;
    }
    
    /* Finances Navbar Mobile Optimization */
    .finances-navbar {
        display: none;
    }
    
    .navbar-container {
        padding: 0 1rem;
        height: 50px;
    }
    
    .finances-logo-img {
        height: 28px;
    }
    
    .finances-navigation {
        display: none;
    }
    
    .navbar-menu {
        display: block;
    }
    
    /* Menu Button Mobile Optimization */
    .menu-button {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }
    
    /* Hero Section Mobile */
    .hero-title {
        font-size: 2.25rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        max-width: 100%;
    }
    
    /* Section Spacing */
    .section {
        padding: 2rem 0;
    }
    
    .section-container {
        padding: 0 0.75rem;
        max-width: 100%;
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 1.25rem;
        line-height: 1.3;
    }
    
    /* Card Improvements */
    .glass-card {
        padding: 1.25rem;
        border-radius: 12px;
        margin-bottom: 0.75rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .card-header {
        margin-bottom: 1.25rem;
    }
    
    .card-header h3 {
        font-size: 1.25rem;
        line-height: 1.3;
    }
    
    /* Treasury Grid Mobile */
    .treasury-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        width: 100%;
    }
    
    .treasury-total {
        text-align: center;
        width: 100%;
    }
    
    .total-value {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        width: 100%;
    }
    
    .usd-value {
        font-size: 2.25rem;
        line-height: 1.1;
    }
    
    .crypto-equivalent {
        font-size: 0.95rem;
        opacity: 0.8;
    }
    
    /* Funding Breakdown Mobile */
    .breakdown-list {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }
    
    .breakdown-item {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 10px;
        padding: 0.875rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
        width: 100%;
        box-sizing: border-box;
    }
    
    .breakdown-item:hover {
        background: rgba(255, 255, 255, 0.08);
        transform: translateY(-2px);
    }
    
    .item-info {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0.75rem;
    }
    
    .source-name {
        font-size: 0.95rem;
        font-weight: 500;
    }
    
    .source-amount {
        font-size: 0.9rem;
        font-weight: 600;
        color: #5cc2ff;
    }
    
    .progress-bar {
        height: 8px;
        border-radius: 4px;
        margin-bottom: 0.5rem;
        background: rgba(255, 255, 255, 0.1);
        overflow: hidden;
    }
    
    .progress-fill {
        height: 100%;
        border-radius: 4px;
        background: linear-gradient(90deg, #3b82f6, #6366f1);
        transition: width 0.6s ease;
    }
    
    .percentage {
        font-size: 0.8rem;
        color: #94a3b8;
        text-align: right;
    }
    
    /* Funding Grid Mobile */
    .funding-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        width: 100%;
    }
    
    .funding-card {
        padding: 1.25rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .funding-header {
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .funding-icon {
        width: 45px;
        height: 45px;
        margin: 0 auto 0.75rem;
        font-size: 1.25rem;
    }
    
    .funding-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .stat {
        text-align: center;
        padding: 0.75rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .stat-label {
        font-size: 0.8rem;
        color: #94a3b8;
        display: block;
        margin-bottom: 0.25rem;
    }
    
    .stat-value {
        font-size: 1rem;
        font-weight: 600;
        color: #5cc2ff;
    }
    
    /* Mining Section Mobile */
    .mining-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        width: 100%;
    }
    
    .mining-kpis {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 0.5rem;
        margin-bottom: 1.25rem;
        width: 100%;
    }
    
    .kpi-chip {
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 10px;
        padding: 0.875rem;
        text-align: center;
        transition: all 0.3s ease;
        width: 100%;
        box-sizing: border-box;
    }
    
    .kpi-chip:hover {
        background: rgba(255, 255, 255, 0.12);
        transform: translateY(-2px);
    }
    
    .kpi-chip .kpi-label {
        font-size: 0.75rem;
        color: #94a3b8;
        display: block;
        margin-bottom: 0.5rem;
        line-height: 1.3;
    }
    
    .kpi-chip .kpi-value {
        font-size: 1rem;
        font-weight: 600;
        color: #ffffff;
    }
    
    /* Table Mobile Improvements */
    .assets-table-container,
    .cashflow-table-container,
    .hardware-table-container {
        overflow-x: auto;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .assets-table,
    .cashflow-table,
    .hardware-table {
        min-width: 600px;
        font-size: 0.85rem;
    }
    
    .assets-table th,
    .assets-table td,
    .cashflow-table th,
    .cashflow-table td,
    .hardware-table th,
    .hardware-table td {
        padding: 0.75rem 0.5rem;
        white-space: nowrap;
    }
    
    /* Mobile Table Scroll Indicator */
    .table-scroll-indicator {
        position: absolute;
        top: 0.5rem;
        right: 0.5rem;
        background: rgba(59, 130, 246, 0.9);
        color: white;
        padding: 0.25rem 0.5rem;
        border-radius: 6px;
        font-size: 0.7rem;
        font-weight: 500;
        z-index: 10;
        pointer-events: none;
        opacity: 0.9;
        animation: pulse 2s infinite;
    }
    
    @keyframes pulse {
        0%, 100% { opacity: 0.9; }
        50% { opacity: 0.6; }
    }
    
    /* Category Tags Mobile */
    .category-tag {
        padding: 0.25rem 0.5rem;
        border-radius: 6px;
        font-size: 0.7rem;
        font-weight: 500;
        white-space: nowrap;
        display: inline-block;
        min-width: 60px;
        text-align: center;
    }
    
    /* Asset Icons Mobile */
    .asset-icon {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        display: inline-block;
        margin-right: 0.5rem;
        vertical-align: middle;
    }
    
    .asset-info {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    /* Control Buttons Mobile */
    .table-controls,
    .chart-controls {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .control-btn,
    .toggle-btn,
    .unit-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
        border-radius: 8px;
        min-height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Chart Containers Mobile */
    .chart-container {
        height: 300px;
        margin: 1rem 0;
    }
    
    /* Performance Metrics Mobile */
    .kpi-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        width: 100%;
    }
    
    .kpi-item {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        padding: 0.875rem;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }
    
    .kpi-label {
        font-size: 0.8rem;
        color: #94a3b8;
        margin-bottom: 0.5rem;
        display: block;
    }
    
    .kpi-value {
        font-size: 1.1rem;
        font-weight: 600;
    }
    
    .kpi-value.positive {
        color: #10b981;
    }
    
    .kpi-value.negative {
        color: #ef4444;
    }
    
    /* Validator Stats Mobile */
    .validator-stats-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        width: 100%;
    }
    
    .stat-item {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        padding: 0.875rem;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
        margin: 0 auto 0.75rem;
        font-size: 1.25rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
        color: #94a3b8;
        margin-bottom: 0.25rem;
        display: block;
    }
    
    .stat-value {
        font-size: 1rem;
        font-weight: 600;
        color: #5cc2ff;
    }
    
    /* Partnership Section Mobile */
    .partnership-content {
        flex-direction: column;
        text-align: center;
        gap: 1.25rem;
        padding: 1.5rem 1rem;
        width: 100%;
    }
    
    .partnership-text h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .partnership-text p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
        border-radius: 12px;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }
    
    /* Cash Flow Summary Mobile */
    .cashflow-summary {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-bottom: 1.25rem;
        width: 100%;
    }
    
    .summary-item {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        padding: 0.875rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        box-sizing: border-box;
    }
    
    .summary-label {
        font-size: 0.9rem;
        color: #94a3b8;
    }
    
    .summary-value {
        font-size: 1rem;
        font-weight: 600;
    }
    
    .summary-value.positive {
        color: #10b981;
    }
    
    .summary-value.negative {
        color: #ef4444;
    }
    
    /* Footer Mobile */
    .footer {
        height: auto;
        padding: 2rem 0;
    }
    
    .footer-container {
        padding: 0 1rem;
    }
    
    .footer-top {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .footer-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        margin: 0;
        padding: 0;
    }
    
    .footer-link {
        font-size: 0.9rem;
        padding: 0.5rem;
        color: #ffffff;
        text-decoration: none;
        display: block;
    }
    
    .footer-middle {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 1.5rem 0;
    }
    
    .footer-tagline h3 {
        font-size: 1.1rem;
        line-height: 1.4;
    }
    
    .newsletter-form {
        max-width: 100%;
    }
    
    .newsletter-input-wrapper {
        flex-direction: row;
        gap: 0.75rem;
        align-items: center;
    }
    
    .newsletter-input {
        padding: 0.75rem 1rem;
        font-size: 1rem;
        flex: 1;
        min-width: 200px;
    }
    
    .newsletter-btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        flex-shrink: 0;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .footer-copyright p {
        font-size: 0.85rem;
    }
    
    .footer-legal {
        display: flex;
        justify-content: center;
        gap: 1rem;
    }
    
    .legal-link {
        font-size: 0.85rem;
    }
}

@media screen and (max-width: 480px) {
    /* Extra Small Mobile Optimizations */
    .nav-container {
        padding: 0 0.5rem;
    }
    
    /* Ensure full width on extra small mobile */
    .main-content {
        width: 100vw;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .hero-container {
        padding: 0 0.75rem;
        width: 100%;
    }
    
    .navbar-container {
        padding: 0 0.75rem;
        height: 45px;
    }
    
    .finances-logo-img {
        height: 24px;
    }
    
    .menu-button {
        width: 36px;
        height: 36px;
    }
    
    /* Hero Section Extra Small */
    .hero-title {
        font-size: 1.875rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    /* Section Spacing Extra Small */
    .section {
        padding: 1.5rem 0;
    }
    
    .section-container {
        padding: 0 0.5rem;
        max-width: 100%;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    /* Cards Extra Small */
    .glass-card {
        padding: 1rem;
        border-radius: 10px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .card-header h3 {
        font-size: 1.125rem;
    }
    
    /* Treasury Values Extra Small */
    .usd-value {
        font-size: 1.875rem;
    }
    
    .crypto-equivalent {
        font-size: 0.85rem;
    }
    
    /* Funding Breakdown Extra Small */
    .breakdown-item {
        padding: 0.75rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .source-name {
        font-size: 0.875rem;
    }
    
    .source-amount {
        font-size: 0.8rem;
    }
    
    .percentage {
        font-size: 0.75rem;
    }
    
    /* Funding Stats Extra Small */
    .funding-stats {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .stat {
        padding: 0.625rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .stat-value {
        font-size: 0.9rem;
    }
    
    /* Mining KPIs Extra Small */
    .mining-kpis {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 0.5rem;
        width: 100%;
    }
    
    .kpi-chip {
        padding: 0.75rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .kpi-chip .kpi-label {
        font-size: 0.7rem;
    }
    
    .kpi-chip .kpi-value {
        font-size: 0.9rem;
    }
    
    /* Performance Metrics Extra Small */
    .kpi-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        width: 100%;
    }
    
    .kpi-item {
        padding: 0.75rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .kpi-label {
        font-size: 0.75rem;
    }
    
    .kpi-value {
        font-size: 1rem;
    }
    
    /* Validator Stats Extra Small */
    .validator-stats-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        width: 100%;
    }
    
    .stat-item {
        padding: 0.75rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .stat-icon {
        width: 36px;
        height: 36px;
        font-size: 1.125rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .stat-value {
        font-size: 0.9rem;
    }
    
    /* Tables Extra Small */
    .assets-table,
    .cashflow-table,
    .hardware-table {
        font-size: 0.75rem;
        min-width: 500px;
    }
    
    .assets-table th,
    .assets-table td,
    .cashflow-table th,
    .cashflow-table td,
    .hardware-table th,
    .hardware-table td {
        padding: 0.5rem 0.25rem;
    }
    
    /* Control Buttons Extra Small */
    .control-btn,
    .toggle-btn,
    .unit-btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
        min-height: 32px;
    }
    
    /* Chart Containers Extra Small */
    .chart-container {
        height: 250px;
    }
    
    /* Partnership Extra Small */
    .partnership-content {
        padding: 1.25rem 0.75rem;
        width: 100%;
    }
    
    .partnership-text h2 {
        font-size: 1.25rem;
    }
    
    .partnership-text p {
        font-size: 0.9rem;
    }
    
    .cta-button {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        min-height: 44px;
    }
    
    /* Cash Flow Summary Extra Small */
    .summary-item {
        padding: 0.75rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .summary-label {
        font-size: 0.8rem;
    }
    
    .summary-value {
        font-size: 0.9rem;
    }
    
    /* Footer Extra Small */
    .footer {
        height: auto;
    }
    
    .footer-container {
        padding: 0 0.75rem;
    }
    
    .footer-nav {
        gap: 0.75rem;
        margin: 0;
        padding: 0;
    }
    
    .footer-link {
        font-size: 0.8rem;
        padding: 0.4rem;
        color: #ffffff;
        text-decoration: none;
        display: block;
    }
    
    .footer-tagline h3 {
        font-size: 1rem;
    }
    
    .newsletter-input {
        padding: 0.625rem 0.875rem;
        font-size: 0.9rem;
        flex: 1;
        min-width: 150px;
    }
    
    .newsletter-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
        flex-shrink: 0;
    }
    
    .footer-copyright p {
        font-size: 0.8rem;
    }
    
    .legal-link {
        font-size: 0.8rem;
    }
}

/* Touch-friendly improvements for mobile */
@media (hover: none) and (pointer: coarse) {
    /* Increase touch targets */
    .finances-nav-link,
    .footer-link,
    .legal-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .control-btn,
    .toggle-btn,
    .unit-btn,
    .export-btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Improve touch feedback */
    .glass-card,
    .breakdown-item,
    .kpi-chip,
    .stat,
    .stat-item,
    .kpi-item {
        transition: transform 0.2s ease, background-color 0.2s ease;
    }
    
    .glass-card:active,
    .breakdown-item:active,
    .kpi-chip:active,
    .stat:active,
    .stat-item:active,
    .kpi-item:active {
        transform: scale(0.98);
        background: rgba(255, 255, 255, 0.12);
    }
    
    /* Improve button touch feedback */
    .control-btn:active,
    .toggle-btn:active,
    .unit-btn:active,
    .export-btn:active,
    .cta-button:active {
        transform: scale(0.95);
    }
    
    /* Improve table scrolling on touch devices */
    .assets-table-container,
    .cashflow-table-container,
    .hardware-table-container {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    /* Better touch targets for table rows */
    .assets-table tbody tr,
    .cashflow-table tbody tr,
    .hardware-table tbody tr {
        min-height: 44px;
    }
    
    /* Improve form elements on mobile */
    .newsletter-input,
    .newsletter-btn {
        min-height: 44px;
    }
    
    /* Better spacing for mobile forms */
    .newsletter-input-wrapper {
        flex-direction: row;
        gap: 1rem;
        align-items: center;
    }
}

/* Landscape mobile optimizations */
@media screen and (max-width: 768px) and (orientation: landscape) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section {
        padding: 1.5rem 0;
    }
    
    .treasury-grid,
    .funding-grid,
    .mining-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .mining-kpis {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    
    .kpi-grid,
    .validator-stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Animations */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .animated-background {
        display: none;
    }
    
    .floating-icon {
        animation: none;
    }
    

}

/* Board Access Section */
.board-access-link {
    color: #5cc2ff !important;
    border: 1px solid rgba(92, 194, 255, 0.3);
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.board-access-link:hover {
    background: rgba(92, 194, 255, 0.1);
    border-color: rgba(92, 194, 255, 0.5);
    color: #3b82f6 !important;
}

.board-access-link i {
    margin-right: 0.5rem;
}

/* Board Login Card */
.board-login-card {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.board-login-card .card-header {
    text-align: center;
    justify-content: center;
}

.board-login-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(92, 194, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(92, 194, 255, 0.2);
}

.login-description {
    color: #cfd6e4;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-align: center;
}

.board-login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    color: #ffffff;
    font-weight: 500;
    font-size: 0.9rem;
}

.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.form-input {
    width: 100%;
    padding: 1rem 1rem 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: rgba(92, 194, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(92, 194, 255, 0.1);
}

.form-input::placeholder {
    color: #94a3b8;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #ffffff;
}

.login-btn {
    background: linear-gradient(135deg, #5cc2ff, #3b82f6);
    border: none;
    border-radius: 8px;
    padding: 1rem 2rem;
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    min-height: 48px;
    line-height: 1;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(92, 194, 255, 0.4);
}

.login-btn:active {
    transform: translateY(0);
}

.btn-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: absolute;
    top: calc(50% - 1px);
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
    vertical-align: middle;
}

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

.login-btn.loading {
    justify-content: center;
    align-items: center;
}

.login-btn.loading .btn-text {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    pointer-events: none;
}

.login-btn.loading .btn-spinner {
    display: block;
    visibility: visible;
    position: static;
    transform: none;
    top: auto;
    left: auto;
}

.login-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    padding: 1rem;
    color: #fca5a5;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* Board Content */
.board-content {
    margin-top: 2rem;
}

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

.board-header h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logout-btn {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    color: #fca5a5;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logout-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
    color: #fecaca;
}

/* Board Grid */
.board-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

/* Security Badge */
.security-badge {
    background: rgba(92, 194, 255, 0.1);
    border: 1px solid rgba(92, 194, 255, 0.3);
    border-radius: 6px;
    padding: 0.25rem 0.75rem;
    color: #5cc2ff;
    font-size: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Sensitive Data Card */
.sensitive-data-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.sensitive-data-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(92, 194, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(92, 194, 255, 0.2);
}

.sensitive-metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.metric-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.metric-label {
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 500;
}

.metric-value {
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
}

/* Strategic Planning Card */
.strategic-planning-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.strategic-planning-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(92, 194, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(92, 194, 255, 0.2);
}

.initiatives-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.initiative-item {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

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

.initiative-header h4 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-badge.planning {
    background: rgba(59, 130, 246, 0.1);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.status-badge.development {
    background: rgba(168, 85, 247, 0.1);
    color: #c4b5fd;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.status-badge.active {
    background: rgba(34, 197, 94, 0.1);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.initiative-item p {
    color: #cfd6e4;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.initiative-details {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: #94a3b8;
}

/* Risk Management Card */
.risk-management-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.risk-management-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(92, 194, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(92, 194, 255, 0.2);
}

.risk-matrix {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.risk-item {
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.risk-item.high-risk {
    background: rgba(239, 68, 68, 0.05);
    border-color: rgba(239, 68, 68, 0.2);
}

.risk-item.medium-risk {
    background: rgba(245, 158, 11, 0.05);
    border-color: rgba(245, 158, 11, 0.2);
}

.risk-item.low-risk {
    background: rgba(34, 197, 94, 0.05);
    border-color: rgba(34, 197, 94, 0.2);
}

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

.risk-level {
    font-weight: 600;
    font-size: 0.9rem;
}

.risk-score {
    font-size: 0.8rem;
    opacity: 0.8;
}

.high-risk .risk-level {
    color: #fca5a5;
}

.medium-risk .risk-level {
    color: #fcd34d;
}

.low-risk .risk-level {
    color: #86efac;
}

.risk-item h4 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.risk-item p {
    color: #cfd6e4;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.mitigation-plan {
    color: #94a3b8;
    font-size: 0.85rem;
    font-style: italic;
}

/* Board Actions Card */
.board-actions-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.board-actions-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(92, 194, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(92, 194, 255, 0.2);
}

.actions-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.action-item {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

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

.action-header h4 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
}

.action-status {
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
}

.action-status.pending {
    background: rgba(245, 158, 11, 0.1);
    color: #fcd34d;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.action-status.approved {
    background: rgba(34, 197, 94, 0.1);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.action-status.review {
    background: rgba(59, 130, 246, 0.1);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.action-item p {
    color: #cfd6e4;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.action-details {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: #94a3b8;
}

/* Responsive Design for Board Section */
@media (max-width: 1024px) {
    .board-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .sensitive-metrics-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .board-login-card {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .board-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .board-grid {
        gap: 1rem;
    }
    
    .initiative-details,
    .action-details {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Home Navigation Responsive Design */
@media (max-width: 768px) {
    /* Navigation */
    .home-navbar .nav-container {
        padding: 0 1rem;
    }
    
    .home-navbar .nav-navigation {
        gap: 1rem;
    }
    
    .home-navbar .nav-links-center {
        gap: 1rem;
    }
    
    .home-navbar .nav-links-right {
        gap: 1rem;
    }
    
    .home-navbar .nav-link {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    /* Navigation */
    .home-navbar .nav-container {
        padding: 0 0.5rem;
    }
    
    .home-navbar .nav-links-center {
        gap: 0.5rem;
    }
    
    .home-navbar .nav-links-right {
        gap: 0.5rem;
    }
    
    .home-navbar .nav-link {
        font-size: 0.85rem;
        padding: 0.25rem 0;
    }
    
    /* Hide some navigation links on very small screens to prevent overflow */
    .home-navbar .nav-links-center .nav-link:nth-child(n+4) {
        display: none;
    }
    
    .home-navbar .nav-links-right .nav-link:first-child {
        display: none;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    /* Navigation */
    .home-navbar .nav-container {
        padding: 0 0.25rem;
    }
    
    .home-navbar .nav-link {
        font-size: 0.8rem;
    }
    
    /* Hide more navigation links on very small screens */
    .home-navbar .nav-links-center .nav-link:nth-child(n+3) {
        display: none;
    }
    
    .home-navbar .nav-links-right .nav-link:first-child {
        display: none;
    }
}
