@charset "UTF-8";

/* ==========================================================================
   Variables & Reset
   ========================================================================== */
:root {
    /* Colors */
    --primary-neon: #FCC800;
    /* Neon Gold */
    --accent-teal: #00A4D8;
    /* Brighter Teal */
    --accent-teal-dark: #006888;
    --bg-dark: #1a1a1a;
    --bg-darker: #111111;
    --text-white: #f0f0f0;
    --text-gray: #cccccc;
    --text-muted: #888888;
    --warning-red: #ff4444;

    /* Glassmorphism */
    --glass-bg: rgba(20, 20, 20, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: 20px;
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

    /* Fonts */
    --font-main: "Tsukushi B Round Gothic", "Tsukushi B Gothic", "筑紫B丸ゴシック", "Zen Maru Gothic", "Zen Kaku Gothic New", sans-serif;
    --font-serif: "Zen Old Mincho", "Times New Roman", serif;
    --font-mono: "Roboto Mono", monospace;
    /* For tech feel */

    /* Spacing */
    --section-padding: 80px;
    --container-width: 1200px;

    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-bounce: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

body {
    font-family: var(--font-main);
    color: var(--text-white);
    background-color: var(--bg-dark);
    background-image: url('../img/concrete_bg.png');
    background-size: cover;
    background-attachment: fixed;
    line-height: 1.8;
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

/* ==========================================================================
   Layout Utilities
   ========================================================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

/* ==========================================================================
   Typography & Neon Effects
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.3;
}

.text-neon {
    color: var(--primary-neon);
    text-shadow: 0 0 10px rgba(252, 200, 0, 0.5);
}

.text-teal {
    color: var(--accent-teal);
    text-shadow: 0 0 10px rgba(0, 164, 216, 0.5);
}

/* ==========================================================================
   Components: Cards (Glassmorphism)
   ========================================================================== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
    padding: 2rem;
    transition: var(--transition-fast);
}

.glass-card:hover {
    border-color: rgba(252, 200, 0, 0.3);
    box-shadow: 0 0 20px rgba(252, 200, 0, 0.1);
    transform: translateY(-2px);
}

/* ==========================================================================
   Components: Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-bounce);
    border: none;
    outline: none;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-neon), #ffda44);
    color: #000;
    box-shadow: 0 4px 15px rgba(252, 200, 0, 0.4);
}

.btn-primary:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 8px 25px rgba(252, 200, 0, 0.6);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--accent-teal);
    color: var(--text-white);
    box-shadow: 0 0 10px rgba(0, 164, 216, 0.2);
}

.btn-secondary:hover {
    background: rgba(0, 164, 216, 0.1);
    border-color: #4dcbf5;
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 164, 216, 0.5);
    transform: translateY(-2px);
}

/* ==========================================================================
   Header & Nav
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-white);
}

.logo img {
    height: 32px;
    filter: drop-shadow(0 0 5px var(--primary-neon));
    transition: transform 0.5s ease;
}

.logo:hover img {
    transform: rotate(10deg) scale(1.1);
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-badge {
    font-size: 0.85rem;
    padding: 5px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-gray);
}

.user-badge strong {
    color: var(--primary-neon);
}

/* ==========================================================================
   Upload Area (Voyager)
   ========================================================================== */
.upload-zone {
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 60px 20px;
    text-align: center;
    transition: var(--transition-fast);
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.upload-zone:hover,
.upload-zone.dragover {
    border-color: var(--primary-neon);
    background: rgba(252, 200, 0, 0.05);
    box-shadow: 0 0 30px rgba(252, 200, 0, 0.1) inset;
}

.upload-icon {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    transition: var(--transition-bounce);
}

.upload-zone:hover .upload-icon {
    color: var(--primary-neon);
    transform: scale(1.2) rotate(-10deg);
    text-shadow: 0 0 20px var(--primary-neon);
}

/* ==========================================================================
   Dashboard Grid
   ========================================================================== */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.post-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
}

.post-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border-color: var(--accent-teal);
    z-index: 10;
}

.post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-neon), var(--accent-teal));
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.post-thumb {
    width: 100%;
    height: 160px;
    object-fit: cover;
    filter: grayscale(30%);
    transition: filter 0.3s ease;
}

.post-card:hover .post-thumb {
    filter: grayscale(0%);
}

.post-content {
    padding: 20px;
}

.post-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-white);
    line-height: 1.4;
}

.post-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseNeon {
    0% {
        box-shadow: 0 0 10px rgba(252, 200, 0, 0.4);
    }

    50% {
        box-shadow: 0 0 25px rgba(252, 200, 0, 0.7);
    }

    100% {
        box-shadow: 0 0 10px rgba(252, 200, 0, 0.4);
    }
}

.animate-fadeup {
    animation: fadeInUp 0.8s ease forwards;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

/* ==========================================================================
   Mobile Responsive
   ========================================================================== */
@media (max-width: 768px) {
    :root {
        --section-padding: 40px;
    }

    .header-inner {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
    }
}