/* Minecraft-themed Custom Styles */

:root {
    /* Override colors with Minecraft theme */
    --primary: #4ade80;
    --primary-dark: #22c55e;
    --accent: #f59e0b;
    --accent-glow: rgba(245, 158, 11, 0.4);
    --bg-dark: #0a0a0a;
    --bg-card: rgba(30, 41, 30, 0.6);
    --text-white: #f3f4f6;
    --text-gray: #9ca3af;
    --border-color: rgba(74, 222, 128, 0.2);
    --gradient-main: linear-gradient(135deg, #4ade80, #22c55e, #15803d);
    --shadow-glow: 0 0 20px rgba(74, 222, 128, 0.3);

    /* Minecraft colors */
    --minecraft-green: #4ade80;
    --minecraft-brown: #92400e;
    --minecraft-grass: #15803d;
    --minecraft-dirt: #78350f;
    --minecraft-stone: #57534e;
}

/* Minecraft Pixel Font */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

/* Override hero title with pixel font */
.hero-title {
    font-family: 'Press Start 2P', 'Space Grotesk', sans-serif;
    font-size: 3rem;
    letter-spacing: 2px;
    text-shadow:
        4px 4px 0px rgba(0, 0, 0, 0.8),
        0 0 30px var(--minecraft-green);
    line-height: 1.4;
}

/* Section titles with Minecraft style */
.section-title {
    font-family: 'Press Start 2P', sans-serif;
    font-size: 2rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    letter-spacing: 1px;
}

/* Blocky buttons - Minecraft style */
.btn {
    border-radius: 0px;
    box-shadow:
        0 4px 0 rgba(0, 0, 0, 0.3),
        inset 0 -4px 0 rgba(0, 0, 0, 0.2);
    transition: all 0.1s ease;
}

.btn:hover {
    transform: translateY(2px);
    box-shadow:
        0 2px 0 rgba(0, 0, 0, 0.3),
        inset 0 -2px 0 rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: linear-gradient(180deg, #4ade80 0%, #22c55e 50%, #15803d 100%);
    border: 2px solid #15803d;
}

.btn-primary:hover {
    background: linear-gradient(180deg, #22c55e 0%, #15803d 50%, #166534 100%);
}

.btn-outline {
    background: rgba(74, 222, 128, 0.1);
    border: 2px solid var(--minecraft-green);
}

.btn-outline:hover {
    background: rgba(74, 222, 128, 0.2);
    border-color: var(--primary-dark);
}

/* Hero visual - Change to cube instead of shield */
.hero-visual .shield-graphic i.fa-cube {
    background: linear-gradient(135deg, #86efac, #4ade80, #22c55e);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 40px rgba(74, 222, 128, 0.8));
}

/* Grass-like gradient for hero background */
.hero-bg-glow {
    background: radial-gradient(circle, rgba(74, 222, 128, 0.15) 0%, rgba(21, 128, 61, 0.05) 50%, transparent 70%);
}

/* Feature cards - more blocky */
.feature-card {
    border-radius: 4px;
    background: linear-gradient(145deg, rgba(30, 41, 30, 0.8), rgba(20, 30, 20, 0.9));
    border: 2px solid rgba(74, 222, 128, 0.3);
    box-shadow:
        0 4px 0 rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
    border-color: var(--minecraft-green);
    transform: translateY(-8px);
    box-shadow:
        0 8px 0 rgba(0, 0, 0, 0.3),
        0 12px 30px rgba(74, 222, 128, 0.3);
}

.feature-card i {
    background: linear-gradient(135deg, #4ade80, #22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Pricing cards - Minecraft chest style */
.pricing-card {
    border-radius: 4px;
    background: linear-gradient(180deg, rgba(41, 37, 36, 0.9) 0%, rgba(28, 25, 23, 0.95) 100%);
    border: 3px solid rgba(146, 64, 14, 0.5);
    box-shadow:
        0 6px 0 rgba(0, 0, 0, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.1),
        0 0 30px rgba(0, 0, 0, 0.5);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: repeating-linear-gradient(90deg,
            rgba(146, 64, 14, 0.8) 0px,
            rgba(146, 64, 14, 0.8) 20px,
            rgba(120, 53, 15, 0.8) 20px,
            rgba(120, 53, 15, 0.8) 40px);
    border-radius: 4px 4px 0 0;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(74, 222, 128, 0.6);
    box-shadow:
        0 10px 0 rgba(0, 0, 0, 0.4),
        0 20px 40px rgba(74, 222, 128, 0.2);
}

.pricing-card.popular {
    border-color: var(--minecraft-green);
    background: linear-gradient(180deg, rgba(30, 41, 30, 0.95) 0%, rgba(20, 30, 20, 1) 100%);
    box-shadow:
        0 8px 0 rgba(0, 0, 0, 0.5),
        0 0 60px rgba(74, 222, 128, 0.4);
}

.popular-badge {
    background: var(--minecraft-green);
    font-family: 'Press Start 2P', sans-serif;
    font-size: 0.5rem;
    padding: 10px 20px;
    letter-spacing: 2px;
    border-radius: 0;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.3);
}

/* Status badge with Minecraft colors */
.status-badge {
    background: rgba(74, 222, 128, 0.15);
    border: 2px solid var(--minecraft-green);
    border-radius: 0;
    font-family: 'Press Start 2P', sans-serif;
    font-size: 0.5rem;
    padding: 8px 14px;
}

.dot-pulse {
    background: var(--minecraft-green);
    box-shadow: 0 0 10px var(--minecraft-green);
}

/* Trustpilot badge adjustment */
.trustpilot-badge {
    border: 2px solid rgba(245, 158, 11, 0.5);
    border-radius: 0;
    background: rgba(245, 158, 11, 0.1);
}

/* Defense visual adjustments */
.defense-visual {
    border-radius: 4px;
    border: 2px solid rgba(74, 222, 128, 0.3);
    background: linear-gradient(145deg, rgba(30, 41, 30, 0.8), rgba(20, 30, 20, 0.9));
}

/* Visual nodes - more blocky */
.visual-node {
    border-radius: 4px;
}

.visual-node.shield .shield-inner i {
    color: var(--minecraft-green);
}

/* Accordion with Minecraft style */
.accordion-header {
    border-radius: 0;
    background: rgba(30, 41, 30, 0.6);
    border: 2px solid rgba(74, 222, 128, 0.2);
}

.accordion-header:hover {
    background: rgba(74, 222, 128, 0.1);
    border-color: var(--minecraft-green);
}

.accordion-header.active {
    background: rgba(74, 222, 128, 0.15);
    border-color: var(--minecraft-green);
}

/* Marquee items - Minecraft versions */
.marquee-item {
    background: rgba(30, 41, 30, 0.8);
    border: 2px solid rgba(74, 222, 128, 0.3);
    border-radius: 4px;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.3);
}

.marquee-item:hover {
    border-color: var(--minecraft-green);
    transform: translateY(-4px);
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.3);
}

.badge.tcp {
    background: rgba(74, 222, 128, 0.2);
    border: 1px solid var(--minecraft-green);
    color: var(--minecraft-green);
    border-radius: 0;
    font-family: 'Press Start 2P', sans-serif;
    font-size: 0.4rem;
    padding: 4px 8px;
}

.badge.udp {
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 0;
    font-family: 'Press Start 2P', sans-serif;
    font-size: 0.4rem;
    padding: 4px 8px;
}

/* Network hub visualization */
.hub-core {
    background: var(--minecraft-green);
    box-shadow: 0 0 40px rgba(74, 222, 128, 0.6);
}

.hub-pulse {
    background: var(--minecraft-green);
    opacity: 0.3;
}

.connection-node .node-dot {
    background: var(--minecraft-green);
    box-shadow: 0 0 20px var(--minecraft-green);
}

/* Discord button */
.btn-discord {
    background: linear-gradient(180deg, #5865f2 0%, #4752c4 100%);
    border-radius: 0;
    border: 2px solid #4752c4;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.3);
}

.btn-discord:hover {
    transform: translateY(2px);
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.3);
}

/* Glitch effect override for Minecraft theme */
.glitch-text.glitch-active::before,
.glitch-text.glitch-active::after {
    color: var(--minecraft-green);
}

/* Pricing toggle */
.switch input:checked+.slider {
    background-color: var(--minecraft-green);
}

.discount-pill {
    background: rgba(74, 222, 128, 0.2);
    border: 2px solid var(--minecraft-green);
    color: var(--minecraft-green);
    border-radius: 0;
    font-family: 'Press Start 2P', sans-serif;
    font-size: 0.5rem;
}

/* Footer adjustments */
footer {
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
    border-top: 2px solid rgba(74, 222, 128, 0.2);
}

/* Navbar enhancement */
.navbar {
    background: rgba(10, 10, 10, 0.95);
    border-bottom: 2px solid rgba(74, 222, 128, 0.2);
}

.nav-links a:hover {
    color: var(--minecraft-green);
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
}

/* Infrastructure features */
.icon-box {
    background: rgba(74, 222, 128, 0.1);
    border: 2px solid rgba(74, 222, 128, 0.3);
    border-radius: 4px;
}

/* Check list items */
.check-list i {
    color: var(--minecraft-green);
}

/* Price display */
.currency {
    color: var(--minecraft-green);
}

/* Glow effect for primary button */
.glow-effect {
    box-shadow:
        0 0 20px rgba(74, 222, 128, 0.5),
        0 4px 0 rgba(0, 0, 0, 0.3);
    animation: minecraft-glow-pulse 3s infinite;
}

@keyframes minecraft-glow-pulse {

    0%,
    100% {
        box-shadow:
            0 0 20px rgba(74, 222, 128, 0.5),
            0 4px 0 rgba(0, 0, 0, 0.3);
    }

    50% {
        box-shadow:
            0 0 40px rgba(74, 222, 128, 0.8),
            0 4px 0 rgba(0, 0, 0, 0.3);
    }
}

/* Particle colors for DDoS visualization */
.particle.red {
    background: #ef4444;
}

.particle.green {
    background: var(--minecraft-green);
}

/* Card glow override */
.card-glow {
    background: var(--minecraft-green);
    filter: blur(80px);
}

/* Orbit rings */
.orbit-1 {
    border-color: rgba(74, 222, 128, 0.3);
    border-left-color: var(--minecraft-green);
}

.orbit-2 {
    border-color: rgba(245, 158, 11, 0.2);
    border-right-color: var(--accent);
}

/* Responsive adjustments for pixel font */
@media (max-width: 768px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .popular-badge {
        font-size: 0.4rem;
    }

    .status-badge {
        font-size: 0.4rem;
    }
}

/* Add texture overlay effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(74, 222, 128, 0.03) 2px,
            rgba(74, 222, 128, 0.03) 4px),
        repeating-linear-gradient(90deg,
            transparent,
            transparent 2px,
            rgba(74, 222, 128, 0.03) 2px,
            rgba(74, 222, 128, 0.03) 4px);
    pointer-events: none;
    z-index: 9999;
    opacity: 0.3;
}