/*
Theme Name: Neu Ultimate V7
Author: Gemini
Description: Heavy duty BrainyPress clone. Bold borders, Neon colors, Hard shadows.
Version: 7.0
*/

/* --- 1. RESET & VARIABLES --- */
:root {
    --bg-body: #ffffff;
    --bg-dots: #e0e0e0;
    --primary: #000000;
    --accent: #FFD700; /* Bright Yellow */
    --neon-green: #00FF41;
    --border: 3px solid #000000;
    --shadow: 5px 5px 0px #000000;
}

* { box-sizing: border-box; }

body {
    margin: 0; padding: 0;
    font-family: 'Verdana', sans-serif;
    background-color: var(--bg-body);
    /* BrainyPress Style Dotted Background */
    background-image: radial-gradient(var(--bg-dots) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    color: var(--primary);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; height: auto; }

/* --- 2. HEADER --- */
header {
    background: #fff;
    border-bottom: var(--border);
    padding: 25px 0;
    position: relative;
    z-index: 100;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.05);
}

.header-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 28px;
    font-weight: 900;
    background: var(--accent);
    padding: 10px 25px;
    border: var(--border);
    box-shadow: var(--shadow);
    text-transform: uppercase;
    display: inline-block;
}

/* Navigation */
.nav-menu ul {
    list-style: none; margin: 0; padding: 0;
    display: flex; gap: 15px;
}
.nav-menu a {
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    padding: 10px 15px;
    border: 2px solid transparent;
    transition: 0.2s;
}
.nav-menu a:hover {
    background: var(--neon-green);
    border: 2px solid #000;
    box-shadow: 3px 3px 0 #000;
}

/* Header Ad */
.header-ad {
    max-width: 1400px;
    margin: 30px auto;
    text-align: center;
    padding: 0 20px;
}
.ad-box {
    background: #f4f4f4;
    border: 2px dashed #000;
    padding: 20px;
    font-weight: bold;
    color: #666;
}

/* --- 3. LAYOUT GRID --- */
.container {
    max-width: 1400px;
    margin: 50px auto;
    padding: 0 20px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.main-content {
    flex: 1; /* Takes remaining space */
    min-width: 0;
}

.sidebar-content {
    width: 320px; /* Fixed Width */
    flex-shrink: 0;
}

/* --- 4. VIDEO CARDS (Homepage) --- */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Columns Strict */
    gap: 30px;
}

.card {
    background: #fff;
    border: var(--border);
    box-shadow: var(--shadow);
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
}
.card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 8px 8px 0 #000;
}

.card-thumb {
    position: relative;
    border-bottom: var(--border);
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #000;
}
.card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-thumb::after {
    content: '▶';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px; color: #fff;
    opacity: 0.8; text-shadow: 0 2px 5px #000;
}

.card-body { padding: 15px; }
.card-title { font-size: 16px; margin: 0; line-height: 1.4; font-weight: 800; }
.card-meta { font-size: 12px; color: #555; margin-top: 5px; font-weight: bold; }

/* Load More Button */
.load-more {
    display: block;
    width: 100%;
    background: var(--accent);
    padding: 20px;
    text-align: center;
    font-weight: 900;
    font-size: 20px;
    border: var(--border);
    box-shadow: var(--shadow);
    margin-top: 50px;
    cursor: pointer;
    text-transform: uppercase;
}
.load-more:hover { background: #fff; }

/* --- 5. SIDEBAR WIDGETS --- */
.widget {
    background: #fff;
    border: var(--border);
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}
.widget-title {
    background: #000; color: #fff;
    display: inline-block;
    padding: 8px 15px;
    margin: -40px 0 20px -10px; /* Floating Title Effect */
    border: 2px solid #fff;
    box-shadow: 4px 4px 0 var(--neon-green);
    font-size: 14px;
}
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li { border-bottom: 2px dashed #eee; padding: 10px 0; }
.widget li a:hover { text-decoration: underline; font-weight: bold; }

/* --- 6. SINGLE VIDEO PAGE --- */
.video-player {
    border: var(--border);
    box-shadow: var(--shadow);
    background: #000;
    margin-bottom: 30px;
}
.video-player iframe { width: 100%; height: 500px; display: block; }

.video-info {
    background: #fff;
    border: var(--border);
    padding: 30px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

/* Like / Dislike Buttons */
.action-buttons {
    display: flex; gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px dashed #000;
}
.btn-act {
    flex: 1;
    background: #f8f8f8;
    border: 2px solid #000;
    padding: 12px;
    font-weight: 900;
    cursor: pointer;
    text-align: center;
    box-shadow: 3px 3px 0 #ccc;
    transition: 0.2s;
}
.btn-act:hover { transform: translateY(-2px); box-shadow: 3px 3px 0 #000; }
.btn-act.active { background: var(--neon-green); border-color: #000; }

/* Comments Section */
.comments-wrap {
    background: #fff;
    border: var(--border);
    padding: 30px;
    box-shadow: var(--shadow);
}
.comment-list { list-style: none; padding: 0; }
.comment-body {
    background: #f9f9f9;
    border: 2px solid #000;
    padding: 20px;
    margin-bottom: 20px;
}
.comment-author cite {
    font-style: normal; font-weight: 900;
    background: var(--accent); padding: 3px 8px; border: 1px solid #000;
}

/* Comment Form */
#respond textarea, #respond input {
    width: 100%;
    border: 3px solid #000;
    padding: 15px;
    margin-bottom: 15px;
    font-family: inherit;
    background: #fff;
}
#respond .submit {
    background: #000; color: #fff;
    padding: 15px 30px; font-weight: 900; border: none;
    cursor: pointer; text-transform: uppercase;
    box-shadow: 5px 5px 0 var(--neon-green);
}

/* --- 7. FOOTER --- */
footer {
    background: #fff;
    border-top: var(--border);
    padding: 60px 0;
    margin-top: 80px;
}
.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}
.footer-widget h4 {
    border-bottom: 3px solid var(--accent);
    padding-bottom: 10px;
}
.copyright {
    text-align: center;
    margin-top: 60px;
    border-top: 2px dashed #ccc;
    padding-top: 30px;
    font-weight: bold;
}

/* --- 8. RESPONSIVE --- */
@media (max-width: 1024px) {
    .video-grid { grid-template-columns: repeat(2, 1fr); }
    .sidebar-content { width: 280px; }
}
@media (max-width: 768px) {
    .container { flex-direction: column; }
    .main-content, .sidebar-content { width: 100%; }
    .video-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .header-wrap { flex-direction: column; gap: 15px; }
    .nav-menu ul { flex-wrap: wrap; justify-content: center; }
}





/* --- CRYPTO STYLE HEADER (Bold & Colorful) --- */

.crypto-header {
    background: #ffffff;
    border-bottom: 3px solid #000;
    padding: 15px 0;
    font-family: 'Inter', sans-serif;
    position: relative;
    z-index: 999;
}

.h-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 1. LOGO STYLING */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #000;
    gap: 8px;
    transition: transform 0.2s;
}
.logo-link:hover { transform: scale(1.05); }

.logo-icon {
    font-size: 28px;
}

.logo-text {
    font-size: 24px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.logo-badge {
    background: #ccff00; /* Neon Yellow */
    color: #000;
    font-weight: 900;
    font-size: 18px;
    padding: 5px 12px;
    border: 3px solid #000;
    border-radius: 50px; /* Pill Shape */
    box-shadow: 3px 3px 0 #000; /* Hard Shadow */
    transform: rotate(-2deg); /* Thoda style */
}

/* 2. MENU STYLING */
.h-menu {
    display: flex;
    list-style: none;
    margin: 0; padding: 0;
    gap: 25px;
}

.h-menu li a {
    text-decoration: none;
    color: #000;
    font-weight: 700;
    font-size: 15px;
    position: relative;
    padding: 5px 0;
}

/* Colorful Hover Underlines */
.h-menu li a::after {
    content: '';
    display: block;
    width: 0;
    height: 3px;
    background: #ff00d4; /* Neon Pink */
    transition: width 0.3s;
    margin-top: 3px;
}
.h-menu li a:hover::after { width: 100%; }

/* Random Colors for Menu Items (nth-child) */
.h-menu li:nth-child(1) a:hover { color: #ff00d4; } /* Pink */
.h-menu li:nth-child(2) a:hover { color: #00ccff; } /* Blue */
.h-menu li:nth-child(3) a:hover { color: #ccff00; text-shadow: 1px 1px 0 #000; } /* Yellow */
.h-menu li:nth-child(4) a:hover { color: #ff3300; } /* Red */

/* 3. RIGHT ACTION STYLING */
.h-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.link-text {
    font-weight: 700;
    font-size: 15px;
    color: #000;
}
.link-text:hover { text-decoration: underline; }

.btn-post {
    background: #000000;
    color: #ccff00; /* Neon Text */
    font-weight: 900;
    font-size: 16px;
    text-transform: uppercase;
    padding: 12px 30px;
    border-radius: 50px; /* Pill Shape */
    text-decoration: none;
    transition: 0.2s;
    border: 2px solid #000;
}

.btn-post:hover {
    background: #ccff00;
    color: #000;
    box-shadow: 0 0 15px #ccff00, 0 0 5px #000; /* Glowing Effect */
    transform: translateY(-2px);
}

/* Header Ad Area */
.header-ad-wrap {
    text-align: center;
    padding: 20px 0;
    background: repeating-linear-gradient(
        45deg,
        #f0f0f0,
        #f0f0f0 10px,
        #ffffff 10px,
        #ffffff 20px
    );
    border-bottom: 2px dashed #ccc;
}
.ad-placeholder {
    display: inline-block;
    border: 2px dashed #000;
    padding: 15px 40px;
    font-weight: bold;
    background: #fff;
    color: #aaa;
}

/* Responsive */
@media (max-width: 900px) {
    .h-container { flex-direction: column; gap: 15px; }
    .h-menu { flex-wrap: wrap; justify-content: center; }
}







/* --- CUSTOM FOOTER --- */
.custom-footer {
    background-color: #000;
    color: #fff;
    border-top: 5px solid #ccff00; /* Neon Top */
    padding: 60px 0 20px 0;
    margin-top: 50px;
    font-family: 'Verdana', sans-serif;
}

.footer-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-col { flex: 1; min-width: 200px; }
.brand-col { flex: 1.5; }

/* Headings */
.footer-col h4 {
    color: #ccff00;
    font-weight: 900;
    margin-bottom: 20px;
    font-size: 16px;
    letter-spacing: 0.5px;
}

/* Links */
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
    transition: 0.2s;
}
.footer-col ul li a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Description */
.footer-desc { font-size: 13px; color: #888; line-height: 1.6; margin-top: 15px; }

/* Bottom Bar */
.footer-bottom {
    text-align: center;
    border-top: 1px solid #222;
    margin-top: 50px;
    padding-top: 20px;
    color: #555;
    font-size: 12px;
}

/* --- POPUP MODAL STYLING --- */
.legal-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85); /* Dark Overlay */
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fff;
    color: #000;
    width: 90%;
    max-width: 800px;
    max-height: 85vh; /* Height limit */
    border: 4px solid #ccff00; /* Neon Border */
    box-shadow: 0 0 30px rgba(0,0,0,0.8);
    display: flex;
    flex-direction: column;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {transform: translateY(-50px); opacity: 0;}
    to {transform: translateY(0); opacity: 1;}
}

.modal-header {
    background: #000;
    color: #ccff00;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 4px solid #ccff00;
}

.modal-header h2 { margin: 0; font-size: 20px; font-weight: 900; }

.close-btn {
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    line-height: 20px;
}
.close-btn:hover { color: #ccff00; }

.modal-body {
    padding: 30px;
    overflow-y: auto; /* Scrollable text */
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}
.modal-body h3 { margin-top: 0; border-bottom: 2px solid #ddd; padding-bottom: 10px; }

.modal-footer {
    background: #f1f1f1;
    padding: 15px;
    text-align: right;
    border-top: 1px solid #ddd;
}
.modal-footer button {
    background: #000;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-weight: bold;
    cursor: pointer;
}
.modal-footer button:hover { background: #333; }

/* Responsive */
@media (max-width: 768px) {
    .footer-inner { flex-direction: column; gap: 30px; }
    .modal-content { width: 95%; }
}




/* --- 1. RESPONSIVE VIDEO PLAYER (YouTube Fix) --- */
.video-container {
    background: #000;
    border-bottom: 4px solid #ccff00; /* Neon Line below video */
    box-shadow: 5px 5px 0px #000;
    margin-bottom: 20px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe, 
.video-wrapper object, 
.video-wrapper embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* --- 2. AD BOX (Bold Style) --- */
.video-ad-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f4f4f4; /* Light Grey */
    border: 3px solid #000;
    padding: 20px;
    margin: 20px 0;
    position: relative;
    box-shadow: 4px 4px 0 #000; /* Hard Shadow */
}

.ad-label {
    background: #000;
    color: #ccff00;
    font-size: 10px;
    font-weight: 900;
    padding: 2px 8px;
    position: absolute;
    top: -10px;
    left: 10px;
    text-transform: uppercase;
    border: 1px solid #ccff00;
}

/* --- 3. VIDEO META & ANIMATIONS --- */
.video-meta-panel {
    background: #fff;
    border: 3px solid #000;
    padding: 20px;
    box-shadow: 5px 5px 0px #000;
}

.video-title {
    font-size: 22px;
    font-weight: 900;
    margin: 0 0 15px 0;
    line-height: 1.3;
    text-transform: uppercase;
}

.video-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.view-count { font-weight: bold; color: #555; }

/* NEU BUTTONS */
.neu-btn {
    background: #fff;
    border: 3px solid #000;
    padding: 10px 20px;
    font-weight: 900;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 4px 4px 0 #000;
    transition: all 0.1s;
    text-transform: uppercase;
}

.neu-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #000;
}

.neu-btn:active {
    transform: translate(2px, 2px);
    box-shadow: 0px 0px 0 #000;
}

/* Animation */
.neu-btn.active {
    background: #ccff00; /* Neon Fill */
    color: #000;
}

@keyframes like-pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.5); }
    100% { transform: scale(1); }
}

.neu-btn.active .icon {
    animation: like-pop 0.3s ease-in-out;
}

/* --- 4. PREMIUM COMMENTS (YouTube Layout) --- */
.comments-section {
    margin-top: 40px;
    border: 3px solid #000;
    background: #fff;
    padding: 25px;
    box-shadow: 5px 5px 0 #000;
}

.comments-header {
    font-weight: 900;
    font-size: 18px;
    border-bottom: 3px solid #000;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

/* Form */
.input-wrapper textarea {
    width: 100%;
    border: 3px solid #000;
    padding: 15px;
    font-family: inherit;
    font-weight: bold;
    resize: none;
    background: #f0f0f0;
    transition: 0.2s;
}
.input-wrapper textarea:focus {
    background: #fff;
    box-shadow: 4px 4px 0 #ccff00; /* Neon glow shadow */
    outline: none;
}

.neu-submit {
    margin-top: 10px;
    background: #000;
    color: #ccff00;
    border: none;
    padding: 12px 25px;
    font-weight: 900;
    cursor: pointer;
    float: right;
    border: 2px solid #000;
    text-transform: uppercase;
}
.neu-submit:hover {
    background: #ccff00;
    color: #000;
    box-shadow: 3px 3px 0 #000;
}

/* Comment List */
.neu-comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
    clear: both;
    padding-top: 40px;
}

.neu-comment-list li { margin-bottom: 25px; }

.comment-block {
    display: flex;
    gap: 15px;
}

.comment-avatar img {
    border-radius: 50%;
    border: 2px solid #000;
    box-shadow: 2px 2px 0 #000;
}

.comment-body { flex: 1; }

.comment-header {
    margin-bottom: 5px;
    border: none; /* Remove previous border */
    padding: 0;
    font-size: 13px;
}

.comment-author {
    font-weight: 900;
    margin-right: 5px;
    font-size: 14px;
}

.comment-date { color: #666; font-size: 12px; }

.comment-text {
    font-size: 14px;
    line-height: 1.5;
    color: #222;
}
.comment-text p { margin: 0; }

.comment-actions a {
    font-size: 11px;
    font-weight: 900;
    color: #555;
    text-transform: uppercase;
}

/* Mobile Fixes */
@media (max-width: 768px) {
    .video-toolbar { justify-content: center; }
    .interaction-buttons { width: 100%; display: flex; justify-content: space-between; }
    .neu-btn { flex: 1; justify-content: center; padding: 10px; font-size: 12px; }
    .video-ad-box { padding: 10px; }
}