/* ============================================================
   GLOBAL LAYOUT + BACKGROUND
   ============================================================ */
:root {
    --sidebar-width: 250px;
    --page-max: 1180px;
    --glass-bg: rgba(3, 10, 12, 0.52);
    --glass-bg-strong: rgba(3, 10, 12, 0.72);
    --glass-border: rgba(76, 247, 255, 0.85);
    --accent-blue: #4ff;
    --accent-orange: #ff9a1f;
    --text-soft: rgba(255,255,255,0.86);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background:
        linear-gradient(90deg, rgba(0,0,0,0.60), rgba(0,0,0,0.34) 26%, rgba(0,0,0,0.18) 55%, rgba(0,0,0,0.48) 100%),
        url('../assets/images/background.png') center top / cover no-repeat fixed;
    color: #fff;
    font-family: "Segoe UI", system-ui, sans-serif;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at top right, rgba(255,154,31,0.10), transparent 28%),
                radial-gradient(circle at top left, rgba(79,255,255,0.10), transparent 25%);
    z-index: -1;
}

a { color: var(--accent-blue); }
img { max-width: 100%; }

.main-wrap {
    margin-left: calc(var(--sidebar-width) + 28px);
    padding: 28px 34px 42px;
}

.content-panel {
    max-width: var(--page-max);
    margin: 0 auto;
    padding: 0;
    border: 0;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
}

.content-panel::before { display: none; }

.hero,
.content-box,
.schedule-box,
.comment,
.news-card,
.neon-card,
.admin-card,
.clock-box,
.login-box,
.form-card,
.admin-panel,
.table-wrap,
.page-builder-card,
.record-card,
.stat-card,
.panel-card {
    position: relative;
    background: linear-gradient(180deg, rgba(0,0,0,0.66), rgba(0,0,0,0.52));
    border: 2px solid rgba(79,255,255,0.92);
    border-radius: 22px;
    box-shadow: 0 0 20px rgba(0,0,0,0.42), 0 0 18px rgba(79,255,255,0.18);
    backdrop-filter: blur(7px);
}

.hero,
.content-box,
.news-card,
.neon-card,
.login-box,
.admin-panel,
.page-builder-card,
.record-card,
.panel-card {
    padding: 26px 28px;
}

.hero {
    text-align: center;
    margin-bottom: 26px;
}

.hero-logo {
    max-width: 210px;
    margin-bottom: 18px;
    filter: drop-shadow(0 0 25px rgba(255,255,255,0.34));
}

.tagline {
    margin: 0 0 22px;
    font-size: 1.18rem;
    color: var(--text-soft);
}

.hero h1,
.section-title,
.news-banner-text {
    color: var(--accent-blue);
    text-shadow: 0 0 10px rgba(0,255,255,0.34), 0 0 24px rgba(0,255,255,0.24);
}

.hero h1 {
    font-size: clamp(2.25rem, 4vw, 3.35rem);
    margin: 0 0 10px;
}

.section-title {
    margin: 0 0 1rem;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    letter-spacing: .5px;
}

.center-text { text-align: center; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 24px;
    border: none;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    color: #000;
    background: linear-gradient(135deg, #ff8a00, #ffc15c);
    box-shadow: 0 0 16px rgba(255,138,0,0.48);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.button:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
    box-shadow: 0 0 24px rgba(255,138,0,0.7);
}

.button.play {
    margin-bottom: 12px;
    font-size: 1.08rem;
}

.service-buttons {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.neon-service-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(0,0,0,0.52);
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    text-decoration: none;
}

.neon-service-btn img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    border-radius: 50%;
}

.input-field,
select.input-field,
textarea.input-field,
input[type="file"].input-field,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
input[type="date"],
input[type="datetime-local"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 14px;
    font-size: 1rem;
    color: #fff;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(0,0,0,0.52);
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

input::placeholder,
textarea::placeholder { color: rgba(255,255,255,0.58); }

.input-field:focus,
input:focus,
textarea:focus,
select:focus {
    border-color: var(--accent-blue);
    background: rgba(0,0,0,0.66);
    outline: none;
    box-shadow: 0 0 0 3px rgba(79,255,255,0.12), 0 0 14px rgba(79,255,255,0.22);
}

input[type="checkbox"],
input[type="radio"] {
    accent-color: var(--accent-orange);
}

textarea {
    min-height: 140px;
    resize: vertical;
}

.form,
form {
    width: 100%;
}

.comment {
    margin-bottom: 14px;
    padding: 18px 20px;
    border-left: 4px solid var(--accent-orange);
}

.msg {
    padding: 14px 16px;
    margin: 0 0 16px;
    border-radius: 14px;
    font-weight: 600;
}

.msg.success {
    background: rgba(0,255,136,0.12);
    border: 1px solid rgba(0,255,136,0.34);
}

.msg.error {
    background: rgba(255,0,60,0.12);
    border: 1px solid rgba(255,0,60,0.34);
}

.schedule {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.schedule-box {
    min-width: 0;
    padding: 22px 20px;
    text-align: center;
}

.schedule-box h3 { margin-top: 0; color: var(--accent-blue); }

.clock-flex,
.feature-grid,
.two-col-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.clock-box {
    padding: 18px;
    text-align: center;
}

.feature-grid .content-box,
.two-col-grid .content-box { margin: 0; }

.news-banner {
    margin-bottom: 20px;
    text-align: center;
}

.news-card img,
.feature-card img {
    width: 100%;
    max-width: 100%;
    border-radius: 14px;
    display: block;
}

.feature-grid {
    margin-bottom: 24px;
}

.feature-card .meta,
.news-meta,
.admin-note,
small {
    color: rgba(255,255,255,0.68);
}

.vinyl-divider {
    width: 100%;
    min-height: 22px;
    margin: 20px 0 18px;
    opacity: .82;
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 10px;
    font-size: .92rem;
    vertical-align: middle;
}

.live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff3d3d;
    box-shadow: 0 0 10px rgba(255,61,61,0.9);
    animation: pulse 1.2s infinite;
}

@keyframes pulse {
    0%,100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.28); opacity: .7; }
}

.poll-results p,
p { line-height: 1.55; color: var(--text-soft); }

ul, ol { line-height: 1.55; }

.content-box,
.news-card,
.neon-card,
.comment,
.schedule,
.feature-grid,
.hero { margin-bottom: 22px; }

.footer,
footer {
    margin-top: 26px;
}

footer .content-box,
footer .footer-card,
.footer-card {
    padding: 24px 28px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0,0,0,0.42);
    border-radius: 16px;
    overflow: hidden;
}

th, td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

th {
    background: rgba(255,255,255,0.06);
    color: var(--accent-blue);
}

tr:hover td { background: rgba(255,255,255,0.03); }

@keyframes neon-flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        opacity: 1;
        text-shadow: 0 0 10px rgba(0,255,255,0.45), 0 0 18px rgba(0,255,255,0.45), 0 0 30px rgba(0,255,255,0.45);
    }
    20%, 24%, 55% { opacity: .4; text-shadow: none; }
}

.neon-flicker { animation: neon-flicker 2.5s infinite; }

@media (max-width: 1200px) {
    .main-wrap { padding: 24px 24px 40px; }
}

@media (max-width: 980px) {
    :root { --sidebar-width: 0px; }
    .main-wrap { margin-left: 0; padding: 84px 18px 30px; }
    .schedule,
    .clock-flex,
    .feature-grid,
    .two-col-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .hero,
    .content-box,
    .news-card,
    .neon-card,
    .admin-panel,
    .login-box { padding: 18px 16px; border-radius: 18px; }
    .button { width: 100%; }
    .service-buttons { flex-direction: column; }
}
