/*
Theme Name: Hype Showcase
Theme URI: https://github.com/thomaswohlmuth/hype-showcase
Author: Thomas Wohlmuth
Author URI: https://wohlmuth.com
Description: A premium, minimal dark-mode theme designed specifically to showcase Hype animations.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hype-showcase
*/

:root {
    /* New Color Palette */
    --hs-blue: #2d3ed6;
    --hs-blue-light: #4f5ee8;
    --hs-blue-dark: #1e2ba8;
    --hs-coral: #ff9e9c;
    --hs-coral-light: #ffb8b6;
    --hs-coral-dark: #e88583;
    --hs-bg: #f8fafc;

    /* Design System Tokens */
    --hs-text: #1e293b;
    --hs-text-muted: #64748b;
    --hs-accent: var(--hs-coral);
    --hs-border: rgba(0, 0, 0, 0.08);

    /* Shadows & Depth */
    --hs-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.02);
    --hs-shadow-md: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    --hs-shadow-lg: 0 20px 50px -15px rgba(45, 62, 214, 0.1);

    /* Transitions */
    --hs-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    /* Spacing */
    --hs-container: 1000px;
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--hs-bg);
    background-image:
        radial-gradient(at 0% 0%, rgba(45, 62, 214, 0.03) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(255, 158, 156, 0.05) 0px, transparent 50%);
    color: var(--hs-text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.7;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    color: var(--hs-text);
    font-weight: 800;
    line-height: 1.2;
    margin-top: 0;
}

a {
    color: var(--hs-accent);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--hs-blue-light);
}

img {
    max-width: 100%;
    height: auto;
}

/* Main Layout */
.hs-site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}



.hs-container {
    max-width: var(--hs-container);
    margin: 0 auto;
    padding: 0 30px;
}

/* Typography Refinements */
.hs-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--hs-blue), var(--hs-blue-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hs-subtitle {
    text-align: center;
    color: var(--hs-text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 60px;
}

/* Interaction: Modern Cards */
.hs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
}

.hs-card {
    background: #ffffff;
    border: 1px solid var(--hs-border);
    border-radius: 24px;
    padding: 40px;
    transition: var(--hs-transition);
    display: flex;
    flex-direction: column;
    box-shadow: var(--hs-shadow-sm);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.hs-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--hs-coral-light);
    box-shadow: var(--hs-shadow-lg);
}

.hs-card-accent {
    height: 6px;
    width: 40px;
    background: var(--hs-coral);
    border-radius: 3px;
    margin-bottom: 30px;
}

.hs-card-btn {
    margin-top: auto;
    font-weight: 700;
    color: var(--hs-coral-dark);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: gap 0.2s;
}

.hs-card:hover .hs-card-btn {
    gap: 15px;
}

/* Hype Custom Overrides & Transparency */
.HYPE_container,
.HYPE_scene {
    background-color: transparent !important;
}

.HYPE_container {
    border-radius: 12px;
    box-shadow: var(--hs-shadow-md);
    transition: var(--hs-transition);
    display: block !important;
    margin: 30px auto !important;
    position: relative !important;
}

.HYPE_container:hover {
    box-shadow: var(--hs-shadow-lg);
}

.hype-oam-container {
    width: fit-content !important;
    max-width: 100%;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), margin-bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    transform: scale(var(--hs-zoom-scale, 1)) !important;
    transform-origin: center top;
}

.hype-top-controls {
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.hype-oam-container:hover .hype-top-controls {
    opacity: 1;
}

.hype-zoom-reset:hover {
    background: #2d3ed6 !important;
    color: white !important;
}

/* Project Header & Meta Row */
.hs-project-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 30px 0;
    margin-bottom: 60px;
    border-bottom: 1px solid var(--hs-border);
    font-size: 1.15rem;
    color: var(--hs-text);
    letter-spacing: -0.01em;
}

.hs-project-status {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hs-status-dot {
    width: 10px;
    height: 10px;
    background: var(--hs-coral);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 10px var(--hs-coral);
}

.hs-status-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border: 1px solid var(--hs-coral);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.hs-highlight {
    color: var(--hs-blue);
    font-weight: 800;
}

.hs-project-details {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--hs-text-muted);
}

.hs-detail-sep {
    opacity: 0.3;
    font-weight: 300;
}

.hs-detail-item {
    font-weight: 500;
}

@media (max-width: 768px) {
    .hs-project-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .hs-detail-sep {
        display: none;
    }

    .hs-project-details {
        flex-direction: column;
        gap: 5px;
    }
}

/* Project Meta Row */
.hs-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--hs-border);
}

.hs-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hs-meta-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--hs-text-muted);
}

.hs-meta-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--hs-text);
}

.hs-meta-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
}

.hs-badge-coral {
    background: rgba(255, 158, 156, 0.1);
    color: var(--hs-coral-dark);
}