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

@keyframes antennaAdjust {
    0%, 14% {
        transform: translateY(0);
    }
    18% {
        transform: translateY(calc(var(--media-shift, 0%) * 0.25)) translateX(-1px);
    }
    22%, 100% {
        transform: translateY(var(--media-shift, 0%));
    }
}

@keyframes staticBuzz {
    0% { opacity: 0.12; transform: translateY(0); }
    50% { opacity: 0.24; transform: translateY(-2px); }
    100% { opacity: 0.14; transform: translateY(1px); }
}

@keyframes signalJitter {
    0% { transform: translate(0, 0); }
    25% { transform: translate(-1px, 1px); }
    50% { transform: translate(1px, -1px); }
    75% { transform: translate(-1px, -1px); }
    100% { transform: translate(0, 0); }
}

body {
    font-family: 'VT323', monospace;
    background: #1a1a2e;
    color: #fff;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* TV Container & Frame */
.tv-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
}

.tv-frame {
    position: relative;
    width: 90%;
    max-width: 1200px;
    aspect-ratio: 16 / 9;
    background: radial-gradient(ellipse at center, #2d2d44 0%, #1a1a2e 100%);
    border-radius: 40px;
    padding: 35px;
    box-shadow: 
        0 0 60px rgba(200, 100, 255, 0.4),
        inset 0 0 60px rgba(200, 100, 255, 0.1),
        0 20px 60px rgba(0, 0, 0, 0.8);
    animation: tvGlow 3s ease-in-out infinite;
}

@keyframes tvGlow {
    0%, 100% { box-shadow: 0 0 60px rgba(200, 100, 255, 0.4), inset 0 0 60px rgba(200, 100, 255, 0.1), 0 20px 60px rgba(0, 0, 0, 0.8); }
    50% { box-shadow: 0 0 80px rgba(200, 100, 255, 0.6), inset 0 0 80px rgba(200, 100, 255, 0.15), 0 20px 60px rgba(0, 0, 0, 0.8); }
}

/* TV Bezel (Purple Pastel Border) */
.tv-bezel {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #d8bfd8 0%, #dda0dd 50%, #da70d6 100%);
    border-radius: 25px;
    padding: 20px;
    box-shadow: 
        inset 0 2px 5px rgba(255, 255, 255, 0.3),
        inset 0 -2px 5px rgba(0, 0, 0, 0.3),
        0 8px 16px rgba(0, 0, 0, 0.4);
}

/* Screen Wrapper */
.screen-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.8);
}

.screen-content {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px;
    color: #fff;
}

/* Static Effect */
.static {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            0deg,
            rgba(255, 255, 255, 0.01),
            rgba(255, 255, 255, 0.01) 1px,
            transparent 1px,
            transparent 2px
        );
    pointer-events: none;
    z-index: 1;
    animation: staticFlicker 0.15s infinite;
}

@keyframes staticFlicker {
    0% { opacity: 0.03; }
    50% { opacity: 0.05; }
    100% { opacity: 0.03; }
}

/* Navigation */
.tv-nav {
    position: relative;
    z-index: 10;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.channel-selector {
    font-family: 'VT323', monospace;
    font-size: 16px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #00d4ff 0%, #0099ff 100%);
    color: #000;
    border: 3px solid #00ff88;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.5);
    transition: all 0.3s ease;
}

.channel-selector:hover {
    box-shadow: 0 0 25px rgba(0, 255, 136, 0.8), inset 0 0 10px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.channel-selector:active {
    transform: translateY(0);
}

.channel-selector option {
    background: #1a1a2e;
    color: #00ff88;
    font-family: 'VT323', monospace;
}

/* Content Area */
.content-area {
    position: relative;
    z-index: 5;
    height: calc(100% - 60px);
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 10px;
}

.content-area::-webkit-scrollbar {
    width: 10px;
}

.content-area::-webkit-scrollbar-track {
    background: rgba(0, 255, 136, 0.1);
    border-radius: 10px;
}

.content-area::-webkit-scrollbar-thumb {
    background: #00ff88;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

/* Channels */
.channel {
    display: none;
    animation: channelSwitch 0.5s ease-out;
}

.channel.active {
    display: block;
}

@keyframes channelSwitch {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Headings */
h1 {
    font-family: 'Press Start 2P', cursive;
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
    color: #ff69b4;
    text-shadow: 
        0 0 10px #ff69b4,
        0 0 20px #da70d6,
        2px 2px 0px #000;
    letter-spacing: 3px;
}

.glitch {
    position: relative;
    animation: glitch 2s infinite;
}

@keyframes glitch {
    0%, 100% {
        text-shadow: 
            0 0 10px #ff69b4,
            0 0 20px #da70d6,
            2px 2px 0px #000;
    }
    50% {
        text-shadow: 
            -2px 0 #00ff88,
            2px 2px #ff69b4,
            0 0 10px #da70d6;
    }
}

.channel-title {
    font-size: 24px;
    margin-bottom: 25px;
    color: #00ff88;
    text-shadow: 0 0 10px #00ff88;
}

.channel-intro {
    text-align: center;
    font-size: 18px;
    color: #dda0dd;
    margin-bottom: 15px;
    text-shadow: 0 0 5px rgba(221, 160, 221, 0.6);
}

h3 {
    color: #ff69b4;
    margin-bottom: 10px;
    font-size: 16px;
    text-shadow: 0 0 8px rgba(255, 105, 180, 0.6);
}

/* Text Styles */
p, label {
    font-size: 14px;
    line-height: 1.6;
    color: #dda0dd;
}

.intro-text p {
    text-align: center;
    margin-bottom: 10px;
}

.about-content p {
    margin-bottom: 15px;
    text-align: center;
}

/* Shop Grid */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.product-card {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(221, 160, 221, 0.1));
    border: 3px solid #00ff88;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.product-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 0 25px rgba(0, 255, 136, 0.6), inset 0 0 15px rgba(255, 105, 180, 0.3);
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(221, 160, 221, 0.2));
}

.product-image {
    font-size: 48px;
    margin-bottom: 10px;
}

.product-desc {
    margin-bottom: 10px;
}

.subcategories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 10px;
}

.subcategory {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border: 1px solid #ff69b4;
    border-radius: 999px;
    background: rgba(255, 105, 180, 0.12);
    color: #fff;
    line-height: 1.2;
    text-align: center;
}

.shop-admin-link {
    text-align: center;
    margin-top: 15px;
}

.shop-admin-link a {
    color: #00ff88;
    text-decoration: none;
    text-shadow: 0 0 8px rgba(0, 255, 136, 0.6);
}

.shop-admin-link a:hover {
    color: #ff69b4;
}

.broadcast-banner,
.featured-broadcast,
.discount-broadcast {
    margin-bottom: 20px;
    padding: 16px 18px;
    border: 2px solid #00ff88;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.08), rgba(255, 105, 180, 0.08));
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.18);
}

.broadcast-banner h3,
.featured-broadcast h3,
.discount-broadcast h3 {
    margin-bottom: 8px;
}

.discount-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.discount-pill {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 105, 180, 0.14);
    border: 1px solid #ff69b4;
    color: #fff;
}

.empty-products-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 25px;
    border: 2px dashed #00ff88;
    border-radius: 10px;
    color: #00ff88;
}

.price {
    color: #00ff88;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(0, 255, 136, 0.6);
    margin-top: 10px;
}

.price-stack,
.product-price-block {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.price-original {
    color: rgba(221, 160, 221, 0.85);
    text-decoration: line-through;
    text-decoration-thickness: 2px;
}

.price-sale {
    color: #ff69b4;
    text-shadow: 0 0 8px rgba(255, 105, 180, 0.6);
}

.product-meta-text {
    margin-top: 8px;
    color: #00ff88;
}

.product-media-viewport {
    position: relative;
    height: 180px;
    margin-bottom: 12px;
    overflow: hidden;
    border-radius: 10px;
    border: 2px solid rgba(0, 255, 136, 0.65);
    background: #050510;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
}

.product-media-track {
    display: flex;
    flex-direction: column;
    height: 100%;
    animation-name: antennaAdjust;
    animation-iteration-count: infinite;
}

.product-media-track-static {
    animation: none;
}

.product-media-frame {
    min-height: 100%;
    height: 100%;
    padding: 8px;
}

.product-media-item {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    filter: saturate(0.92) contrast(1.05);
}

.product-media-static {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        repeating-linear-gradient(
            0deg,
            rgba(255, 255, 255, 0.06),
            rgba(255, 255, 255, 0.06) 1px,
            transparent 1px,
            transparent 3px
        );
    opacity: 0.18;
    mix-blend-mode: screen;
    animation: staticBuzz 0.18s infinite;
}

.retro-signal-boost {
    animation: signalJitter 0.18s infinite;
}

.retro-static-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
    font-size: 56px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(0, 255, 136, 0.12));
}

.product-variant-group {
    margin-top: 14px;
    text-align: left;
}

.product-variant-label {
    display: block;
    margin-bottom: 6px;
}

.product-variant-select {
    width: 100%;
}

/* Products List */
.products-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.product-detail {
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.1), rgba(0, 255, 136, 0.1));
    border: 2px dashed #ff69b4;
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-detail:hover {
    border-style: solid;
    box-shadow: 0 0 20px rgba(255, 105, 180, 0.5), inset 0 0 15px rgba(0, 255, 136, 0.2);
    transform: translateY(-3px);
}

/* Cart */
.cart-content {
    text-align: center;
    padding: 40px 20px;
}

.cart-empty {
    font-size: 20px;
    color: #ff69b4;
    margin-bottom: 15px;
}

.cart-info {
    color: #00ff88;
    font-size: 16px;
}

/* ========== CUSTOM ORDER FORM STYLES ========== */

.custom-order-form {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.05), rgba(221, 160, 221, 0.05));
    border: 2px solid #00ff88;
    border-radius: 10px;
    padding: 30px;
    max-width: 700px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: bold;
    color: #ff69b4;
    text-shadow: 0 0 5px rgba(255, 105, 180, 0.6);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="file"],
input[type="date"],
textarea,
select {
    width: 100%;
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid #00ff88;
    border-radius: 5px;
    color: #dda0dd;
    font-family: 'VT323', monospace;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 5px rgba(0, 255, 136, 0.2);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="file"]:focus,
input[type="date"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #ff69b4;
    box-shadow: 
        inset 0 0 5px rgba(0, 255, 136, 0.3),
        0 0 15px rgba(255, 105, 180, 0.5);
    background: rgba(0, 0, 0, 0.7);
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="tel"]::placeholder,
input[type="number"]::placeholder,
textarea::placeholder {
    color: #00ff88;
    opacity: 0.6;
}

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

select {
    cursor: pointer;
}

select option {
    background: #1a1a2e;
    color: #dda0dd;
}

/* Form Divider */
.form-divider {
    border: none;
    border-top: 2px dashed #ff69b4;
    margin: 30px 0;
    opacity: 0.6;
}

.form-section-title {
    font-size: 16px;
    color: #00ff88;
    text-shadow: 0 0 8px rgba(0, 255, 136, 0.6);
    margin-bottom: 20px;
    text-align: center;
}

/* Checkbox */
.form-group.checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    cursor: pointer;
    accent-color: #00ff88;
}

.form-group.checkbox label {
    margin-bottom: 0;
    color: #dda0dd;
}

.payment-methods-panel,
.payment-instructions {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(0, 255, 136, 0.25);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 20px;
}

.payment-help-text {
    margin-bottom: 12px;
}

.payment-method-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.payment-method-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid #ff69b4;
    border-radius: 999px;
    background: rgba(255, 105, 180, 0.1);
    color: #ff69b4;
}

.account-banner,
.account-panel {
    margin-bottom: 20px;
    padding: 16px 18px;
    border: 2px solid #00ff88;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.08), rgba(255, 105, 180, 0.08));
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.18);
}

.account-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.account-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.account-stack {
    display: grid;
    gap: 20px;
}

.account-button-row,
.product-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.product-card-actions {
    justify-content: center;
    margin-top: 15px;
}

.account-saved-list {
    display: grid;
    gap: 12px;
}

.saved-item-card {
    padding: 14px;
    border: 1px solid rgba(0, 255, 136, 0.25);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.35);
}

.saved-item-card p {
    margin-top: 8px;
}

.cart-totals-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 255, 136, 0.18);
}

.cart-totals-row-total {
    border-bottom: 0;
    padding-top: 14px;
    color: #00ff88;
}

/* Buttons */
.submit-btn,
.reset-btn,
.control-btn {
    font-family: 'VT323', monospace;
    font-size: 14px;
    padding: 12px 24px;
    margin: 10px;
    border: 3px solid;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.submit-btn {
    background: linear-gradient(135deg, #00ff88 0%, #00d4ff 100%);
    color: #000;
    border-color: #00ff88;
    width: 100%;
    margin-bottom: 15px;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.5);
}

.submit-btn:hover {
    box-shadow: 0 0 25px rgba(0, 255, 136, 0.8), inset 0 0 10px rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.submit-btn:active {
    transform: translateY(-1px);
}

.reset-btn {
    background: linear-gradient(135deg, #ff69b4 0%, #da70d6 100%);
    color: #000;
    border-color: #ff69b4;
    width: 100%;
    box-shadow: 0 0 15px rgba(255, 105, 180, 0.5);
}

.reset-btn:hover {
    box-shadow: 0 0 25px rgba(255, 105, 180, 0.8), inset 0 0 10px rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.reset-btn:active {
    transform: translateY(-1px);
}

/* Order Success Message */
.order-success {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 0, 0, 0.5));
    border: 3px solid #00ff88;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    margin-top: 20px;
    animation: successPulse 0.6s ease-out;
}

.order-success.hidden {
    display: none;
}

.hidden {
    display: none !important;
}

.app-hidden {
    display: none !important;
}

.order-success h2 {
    color: #00ff88;
    font-size: 20px;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.8);
}

.order-success p {
    color: #dda0dd;
    font-size: 14px;
}

@keyframes successPulse {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* ========== TV CONTROLS ========== */

.tv-controls {
    position: absolute;
    bottom: 20px;
    right: 30px;
    display: flex;
    gap: 15px;
    z-index: 15;
}

.control-btn {
    background: #da70d6;
    color: #000;
    border-color: #ff69b4;
    width: 50px;
    height: 50px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.4);
}

.control-btn:hover {
    box-shadow: 0 0 20px rgba(255, 105, 180, 0.8), inset 0 0 10px rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.control-btn:active {
    transform: translateY(-1px);
}

/* Click Item Interaction */
.click-item {
    position: relative;
}

.click-item:active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.8), transparent);
    border-radius: 50%;
    animation: clickPulse 0.6s ease-out;
    pointer-events: none;
}

/* ========== ADMIN PANEL ========== */

.admin-page {
    height: auto;
    min-height: 100vh;
}

.admin-screen {
    padding-bottom: 30px;
}

.admin-content {
    height: auto;
    overflow: visible;
    padding-right: 0;
}

.admin-channel {
    max-width: 1250px;
    margin: 0 auto;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.admin-shell {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 20px;
}

.admin-sidebar {
    position: sticky;
    top: 0;
    align-self: start;
}

.admin-sidebar-nav {
    display: grid;
    gap: 10px;
}

.admin-main {
    display: grid;
    gap: 20px;
}

.admin-grid {
    display: grid;
    grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
    gap: 20px;
}

.admin-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.admin-section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.admin-panel-card {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.08), rgba(221, 160, 221, 0.08));
    border: 2px solid #00ff88;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.18);
}

.admin-panel-card h2 {
    color: #ff69b4;
    margin-bottom: 15px;
    text-align: center;
    text-shadow: 0 0 8px rgba(255, 105, 180, 0.5);
}

.admin-panel-header h2,
.admin-sidebar h2 {
    text-align: left;
    margin-bottom: 0;
}

.admin-eyebrow {
    color: #00ff88;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    margin-bottom: 6px;
}

.admin-form {
    max-width: none;
    margin: 0;
}

.admin-nav-item {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #00ff88;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.45);
    color: #00ff88;
    text-align: center;
    font-size: 16px;
    font-family: 'VT323', monospace;
    text-shadow: 0 0 8px rgba(0, 255, 136, 0.4);
    box-shadow: inset 0 0 10px rgba(0, 255, 136, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.admin-nav-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 14px rgba(0, 255, 136, 0.35);
}

.admin-nav-item-active {
    border-color: #ff69b4;
    color: #ff69b4;
    text-shadow: 0 0 8px rgba(255, 105, 180, 0.45);
    box-shadow: 0 0 14px rgba(255, 105, 180, 0.18), inset 0 0 10px rgba(255, 105, 180, 0.08);
}

.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.admin-stat-card,
.admin-info-card,
.admin-nested-panel {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(0, 255, 136, 0.25);
    border-radius: 10px;
    padding: 16px;
}

.admin-stat-label {
    display: block;
    color: #00ff88;
    margin-bottom: 8px;
}

.admin-stat-value {
    display: block;
    font-size: 28px;
    color: #fff;
}

.admin-stat-text {
    font-size: 18px;
}

.admin-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-header-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.admin-simple-form {
    display: grid;
    gap: 12px;
}

.admin-auth-gate {
    max-width: 520px;
    margin: 0 auto 24px;
}

.admin-helper-text {
    color: #00ff88;
    font-size: 13px;
}

.admin-media-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.admin-media-preview-card {
    padding: 10px;
    border: 1px solid rgba(0, 255, 136, 0.25);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.35);
}

.admin-media-preview-item {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    background: #000;
}

.admin-toggle-list {
    display: grid;
    gap: 12px;
}

.admin-toggle-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(0, 255, 136, 0.25);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.3);
}

.admin-toggle-item input[type="checkbox"] {
    margin: 0;
}

.admin-grid-equal {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-stack {
    display: grid;
    gap: 12px;
}

.admin-payment-method-card {
    padding: 14px;
    border: 1px solid rgba(0, 255, 136, 0.25);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.28);
}

.card-size-compact {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.card-size-compact .product-card {
    padding: 16px;
}

.card-size-showcase {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card-size-showcase .product-card {
    padding: 28px;
}

.admin-status {
    margin-top: 15px;
    color: #00ff88;
    text-align: center;
}

.admin-table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 12px;
    border-bottom: 1px solid rgba(0, 255, 136, 0.25);
    text-align: left;
    vertical-align: top;
}

.admin-table th {
    color: #00ff88;
}

.admin-product-summary {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.admin-product-summary p {
    margin-top: 5px;
}

.admin-product-emoji {
    font-size: 28px;
    line-height: 1;
}

.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.table-action-btn {
    font-family: 'VT323', monospace;
    font-size: 14px;
    padding: 8px 12px;
    border: 2px solid #00ff88;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.5);
    color: #00ff88;
    cursor: pointer;
    transition: all 0.3s ease;
}

.table-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 14px rgba(0, 255, 136, 0.45);
}

.table-action-btn-danger {
    border-color: #ff69b4;
    color: #ff69b4;
}

.table-action-btn-danger:hover {
    box-shadow: 0 0 14px rgba(255, 105, 180, 0.45);
}

@keyframes clickPulse {
    0% {
        width: 30px;
        height: 30px;
        opacity: 1;
    }
    100% {
        width: 100px;
        height: 100px;
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .tv-frame {
        padding: 25px;
    }

    h1 {
        font-size: 20px;
    }

    .channel-title {
        font-size: 18px;
    }

    .custom-order-form {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    body {
        min-height: auto;
        padding: 10px;
    }

    .tv-container {
        height: auto;
    }

    .tv-frame {
        aspect-ratio: auto;
        padding: 20px;
        border-radius: 20px;
    }

    .tv-bezel {
        padding: 15px;
        border-radius: 12px;
    }

    .screen-content {
        padding: 15px;
    }

    .account-banner,
    .account-grid {
        grid-template-columns: 1fr;
    }

    .account-banner {
        align-items: flex-start;
    }

    .product-media-viewport {
        height: 160px;
    }

    h1 {
        font-size: 16px;
    }

    .channel-title {
        font-size: 14px;
    }

    .channel-selector {
        font-size: 12px;
        padding: 8px 12px;
    }

    .shop-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .admin-header,
    .admin-panel-header {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-grid-equal,
    .admin-shell,
    .admin-grid {
        grid-template-columns: 1fr;
    }

    .custom-order-form {
        padding: 15px;
    }

    .tv-controls {
        bottom: 15px;
        right: 15px;
    }

    .control-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
