/**
 * ZEDEC Network Satellite Site Styles
 * Extends main.css with satellite-specific styling
 */

:root {
    --primary: #00ff88;
    --secondary: #8b5cf6;
    --bg-dark: #0a0a1a;
    --bg-secondary: #1a1a2e;
    --bg-tertiary: #16213e;
    --text-primary: #ffffff;
    --text-secondary: #b8b8b8;
    --text-muted: #666;
    --accent-gold: #D4AF37;
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
}

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

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Loading Screen */
.loading-screen {
    position: fixed;
    inset: 0;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s, visibility 0.5s;
}

body:not(.loading) .loading-screen {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.vortex-spinner {
    position: relative;
    width: 120px;
    height: 120px;
}

.vortex-spinner .ring {
    position: absolute;
    border: 2px solid transparent;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

.ring-1 { inset: 0; }
.ring-2 { inset: 10px; animation-delay: -0.5s; border-top-color: var(--secondary); }
.ring-3 { inset: 20px; animation-delay: -1s; }

.vortex-spinner .core {
    position: absolute;
    inset: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

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

.loading-content {
    text-align: center;
}

.loading-content h2 {
    font-family: 'Orbitron', monospace;
    color: var(--primary);
    margin-top: 20px;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 255, 136, 0.2);
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
    max-width: 1600px;
    margin: 0 auto;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 1.3rem;
}

.logo-icon {
    font-size: 1.5rem;
}

.tagline {
    font-size: 0.8rem;
    color: var(--text-muted);
    border-left: 1px solid var(--text-muted);
    padding-left: 15px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 8px;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
    background: rgba(0, 255, 136, 0.1);
}

.btn-donate {
    background: var(--gradient-primary);
    color: #000 !important;
    font-weight: 600;
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-secondary);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 12px;
    padding: 10px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 8px 12px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.85rem;
}

.dropdown-item:hover {
    background: rgba(0, 255, 136, 0.1);
    color: var(--primary);
}

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

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 20px 60px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-bg canvas {
    width: 100%;
    height: 100%;
}

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

.hero-title {
    font-family: 'Orbitron', monospace;
    margin-bottom: 30px;
}

.title-line {
    display: block;
    font-size: clamp(1.8rem, 5vw, 3rem);
    letter-spacing: 3px;
}

.title-line.accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Ambassador Intro */
.ambassador-intro {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    padding: 20px;
    background: rgba(0, 255, 136, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 16px;
}

.ambassador-avatar {
    font-size: 3rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.ambassador-speech {
    text-align: left;
}

.ambassador-name {
    display: block;
    font-family: 'Orbitron', monospace;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 5px;
}

.ambassador-greeting {
    color: var(--text-secondary);
    font-style: italic;
    margin: 0;
}

.hero-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
}

.stat-card {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: 700;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Buttons */
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: rgba(0, 255, 136, 0.1);
}

/* Apps Section */
.apps-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 10px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 50px;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.app-card {
    background: var(--bg-tertiary);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s;
}

.app-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.app-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.app-card h3 {
    font-family: 'Orbitron', monospace;
    color: var(--primary);
    margin-bottom: 15px;
}

.app-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.app-features {
    list-style: none;
    margin-bottom: 20px;
}

.app-features li {
    padding: 5px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.app-features li::before {
    content: '✓ ';
    color: var(--primary);
}

.app-btn {
    display: inline-block;
    padding: 10px 20px;
    background: var(--gradient-primary);
    color: #000;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.app-btn:hover {
    transform: scale(1.05);
}

/* Network Section */
.network-section {
    padding: 80px 0;
}

.network-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.network-category {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 20px;
}

.network-category h4 {
    color: var(--primary);
    margin-bottom: 15px;
    font-family: 'Orbitron', monospace;
}

.network-sites {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.network-link {
    display: inline-block;
    padding: 5px 10px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 6px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.3s;
}

.network-link:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.network-hub {
    text-align: center;
}

.hub-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background: var(--gradient-primary);
    color: #000;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
}

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

.hub-icon {
    font-size: 1.5rem;
}

/* Support Section */
.support-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.support-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.support-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 50px;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s;
    min-width: 200px;
}

.support-card.cashapp {
    background: linear-gradient(135deg, #00D632, #00A825);
    color: #fff;
}

.support-card.wise {
    background: linear-gradient(135deg, #9FE870, #7ED957);
    color: #000;
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.support-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.support-card h3 {
    font-family: 'Orbitron', monospace;
    margin-bottom: 5px;
}

.support-handle {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.support-label {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 10px;
}

.support-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Footer */
.main-footer {
    background: var(--bg-dark);
    border-top: 1px solid rgba(0, 255, 136, 0.2);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: var(--primary);
    font-family: 'Orbitron', monospace;
    margin-bottom: 15px;
}

.footer-section p, .footer-section a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    padding: 5px 0;
    font-size: 0.9rem;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 5px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .tagline {
        display: none;
    }
    
    .ambassador-intro {
        flex-direction: column;
        text-align: center;
    }
    
    .ambassador-speech {
        text-align: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
}
