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

body {
    background-color: #000000;
    color: #ff6ff3
; /* neon green */
    font-family: 'Share Tech Mono', monospace;
    line-height: 1.6;
    min-height: 100vh;
}


/* Header */
header {
    text-align: center;
    margin-bottom: 40px;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    color: #ff6ff3;
    text-shadow: 
        0 0 8px #ff6ff3,
        0 0 20px #ff6ff3,
        0 0 40px #ff6ff3,
        0 0 60px #ff6ff3;
    letter-spacing: 4px;
}

.tagline {
    color: #ff6ff3
;
    font-size: 1.1rem;
    margin-top: 8px;
    opacity: 0.8;
}

/* Navigation */
nav {
    text-align: center;
    margin-bottom: 50px;
    border-top: 1px solid #ff6ff3
;
    border-bottom: 1px solid #ff6ff3
;
    padding: 12px 0;
}

nav a {
    color: #ff6ff3
;
    text-decoration: none;
    margin: 0 20px;
    font-size: 1.1rem;
    transition: all 0.2s;
}

nav a:hover {
    color: #ff6ff3
;
    text-shadow: 0 0 8px #ff6ff3
;
}

/* Posts */
.section-title {
    font-family: 'Orbitron', sans-serif;
    color: #ff6ff3
;
    font-size: 1.4rem;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.post-preview {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px dashed #ff6ff3
;
}

.post-preview h3 a {
    color: #ff6ff3
;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.2s;
}

.post-preview h3 a:hover {
    color: #ff6ff3
;
    text-shadow: 0 0 10px #ff6ff3
;
}

.date {
    color: #ff6ff3
;
    font-size: 0.9rem;
    margin: 6px 0 12px 0;
    opacity: 0.85;
}

.excerpt {
    color: #ff6ff3
;
    opacity: 0.9;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #ff6ff3
;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ===== CLIPS PAGE ===== */

.clips-intro {
    color: #ff6ff3
;
    opacity: 0.7;
    margin-bottom: 30px;
    margin-top: -15px;
}

/* Controls (filter + sort) */
.controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-buttons {
    display: flex;
    gap: 10px;
}

.filter-btn {
    background: transparent;
    border: 1px solid #ff6ff3
;
    color: #ff6ff3
;
    padding: 8px 18px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
    background: #ff6ff3
;
    color: #000;
    box-shadow: 0 0 12px #ff6ff3
;
}

.sort-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ff6ff3
;
}

.sort-controls select {
    background: #0a0a0a;
    border: 1px solid #ff6ff3
;
    color: #ff6ff3
;
    padding: 7px 12px;
    font-family: 'Share Tech Mono', monospace;
    cursor: pointer;
}

/* Grid */
.clips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* Card */
.clip-card {
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid #ff6ff3
;
    background: #0a0a0a;
    overflow: hidden;
}

.clip-card:hover {
    transform: scale(1.06);
    box-shadow: 0 0 20px #ff6ff3
, 0 0 40px rgba(255, 0, 255, 0.3);
    z-index: 10;
    border-color: #ff6ff3
;
}

/* ===== CLEAN THUMBNAIL + PLAY BUTTON ===== */

.thumbnail {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #111;
    position: relative;
    overflow: hidden;
}

.thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Title at top */
.clip-title {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 10px 12px;
    background: linear-gradient(rgba(0, 0, 0, 0.85), transparent);
    color: #ff6ff3
;
    font-size: 0.95rem;
    z-index: 3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Big glowing play button */
.play-icon {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    font-size: 3.3rem !important;
    color: #ff6ff3
 !important;
    opacity: 0.9;
    text-shadow: 0 0 15px #ff6ff3
, 0 0 30px #ff6ff3
, 0 0 50px #ff6ff3
;
    z-index: 5 !important;
    pointer-events: none;
    transition: all 0.2s ease;
}

.clip-card:hover .play-icon {
    transform: translate(-50%, -50%) scale(1.25) !important;
    opacity: 1;
}


/* Small tag under the thumbnail */
.clip-info {
    padding: 10px 14px;
}

.game-tag {
    display: inline-block;
    font-size: 0.75rem;
    padding: 3px 8px;
    border: 1px solid #ff6ff3
;
    color: #ff6ff3
;
    border-radius: 2px;
}

/* Responsive */
@media (max-width: 900px) {
    .clips-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .clips-grid {
        grid-template-columns: 1fr;
    }
    
    .controls {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ===== VIDEO MODAL ===== */

.thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(6px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #0a0a0a;
    border: 1px solid #ff6ff3
;
    width: 94%;
    max-width: 1200px;           /* was 900px */
    box-shadow: 0 0 30px #ff6ff3
, 0 0 60px rgba(255, 0, 255, 0.3);
    position: relative;
}
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #ff6ff3
;
}

.modal-header h3 {
    color: #ff6ff3
;
    font-size: 1.1rem;
    font-weight: normal;
}

.close-btn {
    background: none;
    border: none;
    color: #ff6ff3
;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: 0.2s;
}

.close-btn:hover {
    color: #ff6ff3
;
    text-shadow: 0 0 10px #ff6ff3
;
}

#modal-video {
    width: 100%;
    max-height: 80vh;
    background: #000;
    display: block;
}

.modal-actions {
    padding: 15px 20px;
    display: flex;
    gap: 15px;
    border-top: 1px solid #ff6ff3
;
}

#share-btn {
    background: transparent;
    border: 1px solid #ff6ff3
;
    color: #ff6ff3
;
    padding: 8px 18px;
    font-family: 'Share Tech Mono', monospace;
    cursor: pointer;
    transition: 0.2s;
}

#share-btn:hover {
    background: #ff6ff3
;
    color: #000;
    box-shadow: 0 0 12px #ff6ff3
;
}

/* NUCLEAR CENTERED MASONRY */

body {
    margin: 0;
    padding: 0;
}

.artwork-grid {
    column-count: 3;
    column-gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.artwork-card {
    break-inside: avoid;
    margin-bottom: 20px;
    border: 1px solid #ff6ff3;
    background: #0a0a0a;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    width: 100%;
}

.artwork-card:hover {
    transform: scale(1.03);
    box-shadow: 0 0 20px #ff6ff3, 0 0 40px rgba(255, 111, 243, 0.3);
    z-index: 5;
}

.artwork-img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
}

.artwork-title {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 10px 12px;
    background: linear-gradient(rgba(0, 0, 0, 0.85), transparent);
    color: #ff6ff3;
    font-size: 0.95rem;
    z-index: 2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 900px) {
    .artwork-grid {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .artwork-grid {
        column-count: 1;
    }
}


/* ===== GLOBAL CONTAINER - RESTORED ===== */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

/* Keep the masonry working */
.artwork-grid {
    column-count: 3;
    column-gap: 20px;
    width: 100%;
}

.artwork-card {
    break-inside: avoid;
    margin-bottom: 20px;
    border: 1px solid #ff6ff3;
    background: #0a0a0a;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    width: 100%;
}

.artwork-card:hover {
    transform: scale(1.03);
    box-shadow: 0 0 20px #ff6ff3, 0 0 40px rgba(255, 111, 243, 0.3);
    z-index: 5;
}

.artwork-img {
    width: 100%;
    height: auto;
    display: block;
}

.artwork-title {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 10px 12px;
    background: linear-gradient(rgba(0, 0, 0, 0.85), transparent);
    color: #ff6ff3;
    font-size: 0.95rem;
    z-index: 2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 900px) {
    .artwork-grid {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .artwork-grid {
        column-count: 1;
    }
}

/* ===== HOME PAGE BACKGROUND ===== */

.home-page {
    overflow-x: hidden;
}

.bg-wrapper {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    background: #000;
}

#bgVideo {
    position: absolute;
    top: 60%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;

    /* GPU acceleration */
    transform: translate3d(-50%, -50%, 0) scale(1.35);
    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000px;

    filter: brightness(0.6);
    opacity: 0;
    transition: opacity 1s ease;
}

#bgVideo.ready {
    opacity: 1;
}

.bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;

    /* Darker center for better readability */
    background: radial-gradient(
        circle at center,
        rgba(0, 0, 0, 0.82) 0%,
        rgba(0, 0, 0, 0.65) 35%,
        rgba(0, 0, 0, 0.32) 100%
    );
}

.container {
    position: relative;
    z-index: 2;
}