@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Rajdhani:wght@300;400;500;600;700&display=swap');

:root {
    --anubis-black: #0a0a0f;
    --anubis-dark: #0f1419;
    --anubis-navy: #1a1f2e;
    --anubis-green: #00ff88;
    --anubis-green-glow: #00ff8844;
    --anubis-gold: #d4af37;
    --anubis-gray: #8b95a5;
    --anubis-light: #e0e6ed;
    --triangle-size: 120px;
}

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

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--anubis-black);
    color: var(--anubis-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animated background triangles */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        linear-gradient(135deg, transparent 40%, var(--anubis-navy) 40%, var(--anubis-navy) 60%, transparent 60%),
        linear-gradient(45deg, transparent 40%, var(--anubis-dark) 40%, var(--anubis-dark) 60%, transparent 60%);
    background-size: 400px 400px;
    opacity: 0.3;
    animation: triangleShift 30s linear infinite;
    z-index: -1;
}

@keyframes triangleShift {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(100px, 100px) rotate(360deg); }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Header Navigation */
.header {
    background: linear-gradient(180deg, var(--anubis-navy) 0%, transparent 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--anubis-green);
    box-shadow: 0 0 20px var(--anubis-green-glow);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo img {
    height: 50px;
    filter: drop-shadow(0 0 10px var(--anubis-green));
    animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% { filter: drop-shadow(0 0 10px var(--anubis-green)); }
    50% { filter: drop-shadow(0 0 20px var(--anubis-green)) drop-shadow(0 0 30px var(--anubis-green)); }
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--anubis-green);
    text-shadow: 0 0 20px var(--anubis-green-glow);
    letter-spacing: 3px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-menu a {
    color: var(--anubis-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    position: relative;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--anubis-green);
    transform: translateX(-50%);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--anubis-green);
}

.nav-menu a:hover {
    color: var(--anubis-green);
    text-shadow: 0 0 10px var(--anubis-green-glow);
}

.nav-menu a:hover::before {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--anubis-green) 0%, #00cc6f 100%);
    color: var(--anubis-black);
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px var(--anubis-green-glow);
    letter-spacing: 1px;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 30px var(--anubis-green);
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, var(--anubis-green-glow) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, var(--anubis-navy) 0%, transparent 50%);
    opacity: 0.6;
    z-index: 1;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
    animation: heroFadeIn 1s ease-out;
}

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

.hero h1 {
    font-size: 5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--anubis-green) 0%, var(--anubis-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 50px var(--anubis-green-glow);
    animation: titleGlow 2s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { filter: drop-shadow(0 0 20px var(--anubis-green-glow)); }
    50% { filter: drop-shadow(0 0 40px var(--anubis-green)); }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--anubis-gray);
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

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

.btn-secondary {
    background: transparent;
    color: var(--anubis-green);
    padding: 0.7rem 1.5rem;
    border: 2px solid var(--anubis-green);
    border-radius: 5px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.btn-secondary:hover {
    background: var(--anubis-green);
    color: var(--anubis-black);
    box-shadow: 0 0 30px var(--anubis-green);
    transform: translateY(-2px);
}

/* Triangle decorative elements */
.triangle-decoration {
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    opacity: 0.1;
}

.triangle-1 {
    top: 10%;
    left: 5%;
    border-width: 0 75px 130px 75px;
    border-color: transparent transparent var(--anubis-green) transparent;
    animation: float 6s ease-in-out infinite;
}

.triangle-2 {
    bottom: 15%;
    right: 8%;
    border-width: 130px 75px 0 75px;
    border-color: var(--anubis-gold) transparent transparent transparent;
    animation: float 8s ease-in-out infinite reverse;
}

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

/* Product Grid */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--anubis-green);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--anubis-green), transparent);
    box-shadow: 0 0 10px var(--anubis-green);
}

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

.product-card {
    background: linear-gradient(135deg, var(--anubis-navy) 0%, var(--anubis-dark) 100%);
    border: 1px solid var(--anubis-green-glow);
    border-radius: 10px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--anubis-green), var(--anubis-gold));
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px var(--anubis-green-glow);
}

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

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 1rem;
    border: 1px solid var(--anubis-green-glow);
}

.product-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--anubis-green);
}

.product-vendor {
    color: var(--anubis-gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.vendor-level {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    background: #ff4444;
    color: white;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 700;
}

.product-category {
    color: var(--anubis-gold);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.product-price {
    font-size: 1.8rem;
    color: var(--anubis-green);
    font-weight: 700;
    margin-bottom: 1rem;
}

.product-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.badge {
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-escrow { background: #00ff88; color: var(--anubis-black); }
.badge-physical { background: #ff006e; color: white; }

/* Footer */
.footer {
    background: var(--anubis-navy);
    border-top: 2px solid var(--anubis-green);
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--anubis-green);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--anubis-gray);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 0.5rem;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--anubis-dark);
    color: var(--anubis-gray);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--anubis-green);
    text-decoration: none;
    margin: 0 0.5rem;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.footer-logo-section {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    border-radius: 5px;
}

.footer-logo h4 {
    color: var(--anubis-green);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    margin: 0;
}

.footer-section h5 {
    color: var(--anubis-green);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p {
    color: var(--anubis-gray);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

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

    .product-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section-title {
        font-size: 2rem;
    }

    .container {
        padding: 2rem 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .btn-primary, .btn-secondary {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .mirrors-grid-main {
        grid-template-columns: 1fr;
    }

    .mirror-url {
        font-size: 0.75rem;
    }

    .preview-features {
        grid-template-columns: 1fr;
    }

    .stat-value {
        font-size: 2rem;
    }
}

@media (max-width: 320px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .container {
        padding: 1.5rem 0.75rem;
    }

    .mirror-card-main {
        padding: 1rem;
    }

    .btn-copy {
        font-size: 0.85rem;
        padding: 0.6rem;
    }
}
