/*
 * ConsoleSniper - Toolbox Page Styles
 * Pure Black Neumorphic Heavy Design
 */

/* ===== TOOLBOX PAGE LAYOUT ===== */
.toolbox-page {
    background: #0a0a0a;
    color: #e0e0e0;
    min-height: 100vh;
}

/* ===== TOOLBOX HERO SECTION ===== */
.toolbox-hero {
    position: relative;
    padding: 6rem 2rem 5rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    background: #000000;
}

.toolbox-hero .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
}

@keyframes heroGlow {
    0% {
        opacity: 0.3;
    }

    100% {
        opacity: 0.5;
    }
}

.toolbox-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(white 1px, transparent 1px);
    background-size: 100px 100px;
    background-position: 0 0;
    opacity: 0.03;
    pointer-events: none;
}

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

.toolbox-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #f0f0f0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.title-accent {
    color: #e0e0e0;
    font-weight: 800;
}

.toolbox-subtitle {
    font-size: 1.1rem;
    color: #b0b0b0;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== TOOLS SECTION ===== */
.tools-section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* ===== TOOL CARDS - NEUMORPHIC HEAVY ===== */
.tool-card {
    background: #1a1a1a;
    border: none;
    border-radius: 30px;
    padding: 2.5rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    /* Heavy neumorphic outset shadow */
    box-shadow: 
        -8px -8px 20px rgba(255, 255, 255, 0.05),
        8px 8px 20px rgba(0, 0, 0, 0.8),
        -2px -2px 5px rgba(255, 255, 255, 0.03),
        2px 2px 5px rgba(0, 0, 0, 0.9);
    color: #e0e0e0;
}

.tool-card:hover {
    transform: translateY(-3px);
    /* Pressed/active neumorphic effect on hover */
    box-shadow: 
        -4px -4px 10px rgba(255, 255, 255, 0.03),
        4px 4px 12px rgba(0, 0, 0, 0.9),
        inset -2px -2px 5px rgba(255, 255, 255, 0.02),
        inset 2px 2px 5px rgba(0, 0, 0, 0.6);
    background: #252525;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0;
    background: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tool-card:hover::before {
    opacity: 0;
}

.tool-card .card-icon {
    width: 64px;
    height: 64px;
    background: #0a0a0a;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
    /* Inset neumorphic shadow for icon container */
    box-shadow: 
        inset -4px -4px 10px rgba(255, 255, 255, 0.05),
        inset 4px 4px 10px rgba(0, 0, 0, 0.7);
    transition: all 0.4s ease;
}

.tool-card:hover .card-icon {
    background: #151515;
}

.tool-card .card-icon svg {
    width: 32px;
    height: 32px;
    color: #d0d0d0;
    stroke-width: 1.5;
}

.tool-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #f0f0f0;
    margin: 0 0 0.75rem;
    letter-spacing: -0.3px;
}

.tool-card p {
    font-size: 0.95rem;
    color: #a0a0a0;
    margin: 0 0 1.75rem 0;
    line-height: 1.6;
    flex-grow: 1;
}

/* ===== COMING SOON / LIVE NOW BADGE ===== */
.coming-soon-badge {
    display: inline-block;
    background: #0f0f0f;
    color: #c0c0c0;
    padding: 0.6rem 1.2rem;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid #333333;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: auto;
    align-self: flex-start;
    /* Inset neumorphic effect */
    box-shadow: 
        inset -2px -2px 5px rgba(255, 255, 255, 0.03),
        inset 2px 2px 5px rgba(0, 0, 0, 0.8);
    transition: all 0.3s ease;
}

.tool-card:hover .coming-soon-badge {
    background: #1a1a1a;
    border-color: #555555;
    color: #d0d0d0;
}

.tool-card-link .coming-soon-badge {
    background: #0f0f0f;
    color: #c0c0c0;
    border-color: #333333;
}

.tool-card-link:hover .coming-soon-badge {
    background: #1a1a1a;
    border-color: #555555;
    color: #e0e0e0;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .toolbox-hero {
        padding: 4rem 1.5rem 3rem;
        min-height: auto;
    }

    .toolbox-title {
        font-size: 1.8rem;
    }

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

    .tools-section {
        padding: 3rem 1rem;
    }

    .tools-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .tool-card {
        padding: 2rem;
        border-radius: 24px;
        box-shadow: 
            -6px -6px 16px rgba(255, 255, 255, 0.04),
            6px 6px 16px rgba(0, 0, 0, 0.8);
    }

    .tool-card:hover {
        box-shadow: 
            -3px -3px 8px rgba(255, 255, 255, 0.02),
            3px 3px 10px rgba(0, 0, 0, 0.9);
    }

    .tool-card .card-icon {
        width: 52px;
        height: 52px;
        margin-bottom: 1rem;
        border-radius: 16px;
    }

    .tool-card .card-icon svg {
        width: 26px;
        height: 26px;
    }

    .tool-card h3 {
        font-size: 1.1rem;
    }

    .tool-card p {
        font-size: 0.9rem;
    }

    .coming-soon-badge {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }
}

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

    .toolbox-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .toolbox-subtitle {
        font-size: 0.95rem;
    }

    .tools-section {
        padding: 2rem 1rem;
    }

    .tool-card {
        padding: 1.75rem;
        border-radius: 20px;
    }
}
