* {
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(135deg, #0a1f1a 0%, #1a3d2e 100%);
    min-height: 100vh;
}


.gradient-text {
    background: linear-gradient(135deg, #00ff88 0%, #00d9ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


.console-card {
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background: rgba(15, 35, 28, 0.8) !important;
    border: 1.5px solid rgba(0, 255, 136, 0.25);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.console-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 255, 136, 0.5);
    box-shadow:
        0 12px 30px rgba(0, 255, 136, 0.25),
        0 0 40px rgba(0, 255, 136, 0.1);
    background: rgba(20, 45, 35, 0.9) !important;
}

.console-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center,
            rgba(0, 255, 136, 0.08) 0%,
            transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.console-card:hover::before {
    opacity: 1;
}


.console-card img {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
    transition: all 0.3s ease;
    max-width: 100%;
    height: auto;
}

.console-card:hover img {
    transform: scale(1.1);
    filter: drop-shadow(0 8px 20px rgba(0, 255, 136, 0.3));
}


.console-card h2 {
    transition: color 0.3s ease;
    word-wrap: break-word;
}

.console-card:hover h2 {
    color: #00ff88;
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.console-card p {
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.console-card:hover p {
    opacity: 1;
}


.guide-item {
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    min-height: 100px;
}

.guide-item:hover {
    transform: translateX(8px);
    background: rgba(0, 255, 136, 0.08) !important;
    border-left-color: #00ff88;
    border-color: rgba(0, 255, 136, 0.4) !important;
}

.guide-item h3 {
    transition: color 0.3s ease;
    word-wrap: break-word;
}

.guide-item:hover h3 {
    color: #00ff88 !important;
}


button,
a.btn {
    position: relative;
    overflow: hidden;
    min-height: 44px;
    min-width: 44px;
}

button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: left 0.5s ease;
}

button:hover::before {
    left: 100%;
}


.page {
    display: none;
}

.page.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


nav a {
    position: relative;
    padding: 0.5rem;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00ff88, #00d9ff);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}


.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu {
    display: none;
}


::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0a1f1a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00ff88, #00d9ff);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #00d9ff, #00ff88);
}


::-webkit-scrollbar-horizontal {
    height: 8px;
}




@media (max-width: 640px) {
    .console-card {
        padding: 1.25rem;
    }

    .console-card img {
        width: 70px;
        height: 70px;
    }

    .console-card h2 {
        font-size: 1.5rem;
    }

    .console-card p {
        font-size: 0.875rem;
    }

    h1.text-5xl,
    h1.text-6xl,
    h1.text-7xl {
        font-size: 2rem !important;
    }

    h2.text-4xl,
    h2.text-5xl {
        font-size: 1.75rem !important;
    }

    .gradient-text {
        font-size: 1.25rem;
    }

    .guide-item:hover {
        transform: translateX(4px);
    }


    .mobile-menu-toggle {
        display: block;
    }

    nav .flex.items-center.space-x-6 {
        display: none;
    }

    nav .mobile-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(17, 24, 39, 0.98);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(0, 255, 136, 0.3);
        padding: 1rem;
        gap: 0.75rem;
    }


    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }


    .grid.grid-cols-2 {
        grid-template-columns: 1fr;
    }
}


@media (min-width: 641px) and (max-width: 768px) {
    .console-card {
        padding: 1.5rem;
    }

    .console-card img {
        width: 90px;
        height: 90px;
    }

    h1.text-5xl,
    h1.text-6xl {
        font-size: 2.5rem !important;
    }
}


@media (min-width: 769px) and (max-width: 1024px) {
    .console-card {
        padding: 1.75rem;
    }

    .console-card img {
        width: 100px;
        height: 100px;
    }
}


@media (min-width: 1025px) {
    .console-card:hover {
        transform: translateY(-10px);
    }

    .guide-item:hover {
        transform: translateX(10px);
    }
}


@media (min-width: 1920px) {
    .container {
        max-width: 1400px;
    }
}


.text-shadow-sm {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.glow-text {
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}


.border-glow {
    border: 1px solid rgba(0, 255, 136, 0.3);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.1);
}

.border-glow:hover {
    border-color: rgba(0, 255, 136, 0.6);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.2);
}


a:focus,
button:focus {
    outline: 2px solid #00ff88;
    outline-offset: 2px;
}


@media (hover: none) and (pointer: coarse) {
    .console-card:hover {
        transform: none;
    }

    .guide-item:hover {
        transform: none;
    }
}


::selection {
    background: rgba(0, 255, 136, 0.3);
    color: white;
}

::-moz-selection {
    background: rgba(0, 255, 136, 0.3);
    color: white;
}


@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.loading {
    animation: shimmer 2s infinite;
    background: linear-gradient(to right,
            rgba(0, 255, 136, 0.1) 0%,
            rgba(0, 255, 136, 0.3) 50%,
            rgba(0, 255, 136, 0.1) 100%);
    background-size: 1000px 100%;
}


@media print {
    body {
        background: white;
    }

    .gradient-text {
        -webkit-text-fill-color: black;
    }

    nav,
    footer {
        display: none;
    }
}