/* ===== CSS Variables ===== */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a24;
    --bg-card-hover: #22222e;
    
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6a6a7a;
    
    --accent-gold: #d4af37;
    --accent-gold-light: #f0d060;
    --accent-gold-dark: #b8941f;
    
    --gradient-gold: linear-gradient(135deg, #d4af37 0%, #f0d060 50%, #d4af37 100%);
    --gradient-bg: linear-gradient(180deg, #0a0a0f 0%, #12121a 100%);
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-light: rgba(255, 255, 255, 0.12);
    
    --shadow-glow: 0 0 60px rgba(212, 175, 55, 0.15);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
    
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    --container-max: 1200px;
    --container-padding: 24px;
}

/* ===== Web3 Grid Background ===== */
.web3-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
    background-image: 
        linear-gradient(rgba(212, 175, 55, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 50% at 50% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 50% at 50% 50%, black 20%, transparent 70%);
}

/* ===== Floating Particles ===== */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-gold);
    border-radius: 50%;
    opacity: 0;
    animation: floatParticle 15s infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; }
.particle:nth-child(4) { left: 40%; animation-delay: 6s; }
.particle:nth-child(5) { left: 50%; animation-delay: 8s; }
.particle:nth-child(6) { left: 60%; animation-delay: 10s; }
.particle:nth-child(7) { left: 70%; animation-delay: 1s; }
.particle:nth-child(8) { left: 80%; animation-delay: 3s; }
.particle:nth-child(9) { left: 90%; animation-delay: 5s; }
.particle:nth-child(10) { left: 15%; animation-delay: 7s; }
.particle:nth-child(11) { left: 25%; animation-delay: 9s; }
.particle:nth-child(12) { left: 75%; animation-delay: 11s; }

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

/* ===== Blockchain Node Connections ===== */
.node-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.node-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
    animation: pulseLine 3s ease-in-out infinite;
}

@keyframes pulseLine {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.6; }
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== Container ===== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ===== Buttons ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--gradient-gold);
    color: #0a0a0f;
    font-weight: 600;
    font-size: 14px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-medium);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
}

/* Web3 Shimmer Effect */
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.5), 0 0 40px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
    border-radius: 8px;
    border: 1px solid var(--border-color-light);
    cursor: pointer;
    transition: all var(--transition-medium);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-gold);
    color: #0a0a0f;
    font-weight: 800;
    font-size: 20px;
    border-radius: 10px;
    position: relative;
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
    50% { box-shadow: 0 0 20px 5px rgba(212, 175, 55, 0.2); }
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.nav-links a:hover {
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
}

/* ===== Nav Right (Language Switch + CTA) ===== */
.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    transition: all var(--transition-fast);
}

.lang-switch:hover {
    color: var(--accent-gold);
    border-color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.1);
}

@media (max-width: 480px) {
    .nav-right .btn-primary {
        display: none;
    }
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px var(--container-padding);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(212, 175, 55, 0.08) 0%, transparent 40%),
        var(--bg-primary);
}

/* Web3 Hexagon Pattern */
.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5L55 20V40L30 55L5 40V20L30 5Z' fill='none' stroke='%23d4af37' stroke-opacity='0.03' stroke-width='1'/%3E%3C/svg%3E");
    background-size: 60px 60px;
    opacity: 0.5;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    pointer-events: none;
    animation: pulse 4s ease-in-out infinite;
}

/* Orbiting Rings */
.hero-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hero-ring {
    position: absolute;
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-ring:nth-child(1) {
    width: 300px;
    height: 300px;
    animation: rotateRing 20s linear infinite;
}

.hero-ring:nth-child(2) {
    width: 500px;
    height: 500px;
    animation: rotateRing 30s linear infinite reverse;
}

.hero-ring:nth-child(3) {
    width: 700px;
    height: 700px;
    animation: rotateRing 40s linear infinite;
}

.hero-ring::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent-gold);
    border-radius: 50%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 20px var(--accent-gold);
}

@keyframes rotateRing {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--accent-gold);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-gold);
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    font-size: clamp(48px, 10vw, 96px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.gradient-text {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

/* Web3 Glitch Effect on Hover */
.gradient-text::before,
.gradient-text::after {
    content: 'WLGC';
    position: absolute;
    top: 0;
    left: 0;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
}

.hero-title:hover .gradient-text::before {
    animation: glitch1 0.3s ease;
    opacity: 0.8;
}

.hero-title:hover .gradient-text::after {
    animation: glitch2 0.3s ease;
    opacity: 0.8;
}

@keyframes glitch1 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-3px, 3px); }
    40% { transform: translate(3px, -3px); }
    60% { transform: translate(-3px, -3px); }
    80% { transform: translate(3px, 3px); }
}

@keyframes glitch2 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(3px, -3px); }
    40% { transform: translate(-3px, 3px); }
    60% { transform: translate(3px, 3px); }
    80% { transform: translate(-3px, -3px); }
}

.subtitle {
    font-size: clamp(20px, 4vw, 32px);
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Stats Section ===== */
.stats {
    padding: 80px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.stat-item {
    text-align: center;
    padding: 24px;
}

.stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 16px;
    margin-bottom: 16px;
    color: var(--accent-gold);
    position: relative;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

/* Hexagon Shape Alternative */
.stat-item:hover .stat-icon {
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

/* ===== Section Headers ===== */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
}

/* ===== About Section ===== */
.about {
    padding: 120px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 24px;
}

@media (max-width: 968px) {
    .about-content {
        grid-template-columns: 1fr;
    }
}

.about-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    transition: all var(--transition-medium);
    overflow: hidden;
}

/* Web3 Glow Border Effect */
.about-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, transparent 40%, rgba(212, 175, 55, 0.3) 50%, transparent 60%);
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.about-card:hover::before {
    opacity: 1;
    animation: glowRotate 3s linear infinite;
}

@keyframes glowRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.about-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.15);
}

.about-card.main-card {
    display: flex;
    flex-direction: column;
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.card-icon.gold {
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-gold);
}

.about-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===== Features Section ===== */
.features {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

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

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    transition: all var(--transition-medium);
    overflow: hidden;
}

/* Web3 Corner Accents */
.feature-card::before,
.feature-card::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid transparent;
    transition: all var(--transition-medium);
}

.feature-card::before {
    top: -1px;
    left: -1px;
    border-top-color: rgba(212, 175, 55, 0.3);
    border-left-color: rgba(212, 175, 55, 0.3);
    border-radius: 20px 0 0 0;
}

.feature-card::after {
    bottom: -1px;
    right: -1px;
    border-bottom-color: rgba(212, 175, 55, 0.3);
    border-right-color: rgba(212, 175, 55, 0.3);
    border-radius: 0 0 20px 0;
}

.feature-card:hover::before,
.feature-card:hover::after {
    width: 50px;
    height: 50px;
    border-color: var(--accent-gold);
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.1);
}

.feature-number {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 48px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 16px;
    margin-bottom: 24px;
    color: var(--accent-gold);
    position: relative;
}

/* Pulsing Icon Effect */
.feature-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 16px;
    animation: iconPulse 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0; }
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 120px 0;
}

.cta-card {
    position: relative;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 24px;
    padding: 64px;
    text-align: center;
    overflow: hidden;
}

/* Web3 Animated Border */
.cta-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: conic-gradient(from 0deg, transparent, rgba(212, 175, 55, 0.5), transparent, rgba(212, 175, 55, 0.3), transparent);
    border-radius: 26px;
    z-index: -1;
    animation: rotateBorder 4s linear infinite;
}

.cta-card::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: var(--bg-primary);
    border-radius: 23px;
    z-index: -1;
}

@keyframes rotateBorder {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-card h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-card p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.cta-decoration {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
}

.decoration-circle {
    width: 200px;
    height: 200px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.decoration-circle.delay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    animation-delay: -3s;
}

@keyframes float {
    0%, 100% { transform: translateY(-50%) rotate(0deg); }
    50% { transform: translateY(-55%) rotate(180deg); }
}

/* ===== Community Section ===== */
.community {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

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

@media (max-width: 640px) {
    .social-grid {
        grid-template-columns: 1fr;
    }
}

.social-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

/* Web3 Gradient Border on Hover */
.social-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, transparent 50%, rgba(212, 175, 55, 0.05) 100%);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.social-card:hover::before {
    opacity: 1;
}

.social-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.social-card:hover .arrow-icon {
    transform: translate(4px, -4px);
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    flex-shrink: 0;
}

.social-icon.twitter {
    background: rgba(29, 161, 242, 0.1);
    color: #1da1f2;
}

.social-icon.telegram {
    background: rgba(0, 136, 204, 0.1);
    color: #0088cc;
}

.social-icon.youtube {
    background: rgba(255, 0, 0, 0.1);
    color: #ff0000;
}

.social-icon.medium {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.social-icon.facebook {
    background: rgba(24, 119, 242, 0.1);
    color: #1877f2;
}

.social-icon.database {
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-gold);
}

.social-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.social-name {
    font-weight: 600;
    font-size: 16px;
}

.social-handle {
    font-size: 14px;
    color: var(--text-muted);
}

.arrow-icon {
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

/* ===== Footer ===== */
.footer {
    padding: 80px 0 40px;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 64px;
    margin-bottom: 64px;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 48px;
    }
}

.footer-brand {
    max-width: 360px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-tagline {
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.footer-company {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 64px;
}

@media (max-width: 480px) {
    .footer-links {
        flex-direction: column;
        gap: 32px;
    }
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-column a {
    display: block;
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 14px;
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

@media (max-width: 640px) {
    .footer-bottom {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border-radius: 10px;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--bg-card-hover);
    color: var(--accent-gold);
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-card);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--bg-card-hover);
}

/* ===== Selection ===== */
::selection {
    background: rgba(212, 175, 55, 0.3);
    color: var(--text-primary);
}

/* ===== Web3 Data Flow Lines ===== */
.data-flow {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.data-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    animation: dataFlow 3s linear infinite;
    opacity: 0.3;
}

@keyframes dataFlow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100vw); }
}

/* ===== Blockchain Block Animation ===== */
.block-chain {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.chain-block {
    width: 12px;
    height: 12px;
    background: rgba(212, 175, 55, 0.3);
    border: 1px solid var(--accent-gold);
    animation: blockPulse 1.5s ease-in-out infinite;
}

.chain-block:nth-child(2) { animation-delay: 0.2s; }
.chain-block:nth-child(3) { animation-delay: 0.4s; }
.chain-block:nth-child(4) { animation-delay: 0.6s; }
.chain-block:nth-child(5) { animation-delay: 0.8s; }

.chain-connector {
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-gold), rgba(212, 175, 55, 0.3));
    align-self: center;
    animation: connectorPulse 1.5s ease-in-out infinite;
}

@keyframes blockPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
}

@keyframes connectorPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* ===== Crypto Address Style Text ===== */
.crypto-address {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 1px;
    opacity: 0.5;
}

/* ===== Web3 Tag Badges ===== */
.web3-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.web3-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent-gold);
    border-radius: 50%;
    animation: tagBlink 2s ease-in-out infinite;
}

@keyframes tagBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ===== Network Status Indicator ===== */
.network-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 100px;
    font-size: 12px;
    color: #22c55e;
}

.network-status::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: networkPulse 1.5s ease-in-out infinite;
}

@keyframes networkPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}

/* ===== Scanline Effect (Optional) ===== */
.scanline {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.03) 0px,
        rgba(0, 0, 0, 0.03) 1px,
        transparent 1px,
        transparent 2px
    );
    opacity: 0.3;
}
