@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

:root {
    --ios-bg: #030000 !important;
    --ios-card: #0a0000 !important;
    --ios-card-secondary: #140000 !important;
    --ios-card-tertiary: #1f0000 !important;
    --ios-accent: #cc0000 !important;
    --ios-red: #ff0000 !important;
    --ios-green: #00ff00 !important;
    --ios-yellow: #ffaa00 !important;
    --ios-white: #ffffff !important;
    --ios-gray: #aa8888 !important;
    --ios-gray2: #886666 !important;
    --ios-gray3: #664444 !important;
    --ios-separator: rgba(255, 0, 0, 0.3) !important;
    --ios-separator-strong: rgba(255, 0, 0, 0.6) !important;

    /* Brutalist sharp edges */
    --radius-xl: 0px !important;
    --radius-lg: 0px !important;
    --radius-md: 0px !important;
    --radius-sm: 0px !important;
    --radius-xs: 0px !important;
}

body {
    font-family: 'Share Tech Mono', 'Courier New', monospace !important;
    background-color: var(--ios-bg) !important;
    color: var(--ios-white) !important;
    background-image:
        linear-gradient(rgba(255, 0, 0, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 0, 0, 0.05) 1px, transparent 1px) !important;
    background-size: 20px 20px !important;
}

h1,
h2,
h3,
.section-title,
.username,
.profile-info h1,
.app-name {
    color: var(--ios-red) !important;
    text-transform: uppercase;
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
    letter-spacing: 2px !important;
}

.section-title span {
    color: var(--ios-white) !important;
}

.avatar {
    border: 2px solid var(--ios-red) !important;
    border-radius: 0 !important;
    filter: grayscale(100%) contrast(150%) sepia(50%) hue-rotate(300deg) saturate(200%) !important;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5) !important;
}

.fav-poster-wrapper,
.list-preview-cover,
.project-image-wrapper,
.app-icon {
    border: 1px solid var(--ios-red) !important;
    border-radius: 0 !important;
    filter: grayscale(80%) contrast(120%) !important;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.2) !important;
}

.fav-poster-wrapper:hover,
.list-preview-cover:hover,
.project-image-wrapper:hover,
.app-icon:hover {
    filter: grayscale(0%) contrast(100%) !important;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.8) !important;
}

.banner img {
    filter: grayscale(100%) contrast(120%) brightness(0.6) sepia(50%) hue-rotate(300deg) saturate(300%) !important;
}

.banner::before {
    content: "WARNING: RESTRICTED ACCESS";
    position: absolute;
    top: 20px;
    left: 20px;
    color: red;
    font-size: 24px;
    font-weight: bold;
    z-index: 10;
    text-shadow: 0 0 5px red;
    letter-spacing: 2px;
}

/* CRT Scanlines */
body::after {
    content: " ";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    z-index: 9999;
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
}

.social-button {
    border: 1px solid var(--ios-red) !important;
    color: var(--ios-red) !important;
    background: rgba(200, 0, 0, 0.1) !important;
    border-radius: 0 !important;
    text-transform: uppercase;
    font-size: 14px;
}

.social-button:hover {
    background: var(--ios-red) !important;
    color: black !important;
    box-shadow: 0 0 10px red !important;
}

.section-divider {
    background: var(--ios-red) !important;
    height: 1px !important;
    box-shadow: 0 0 5px var(--ios-red) !important;
}

.search-trigger-btn {
    background: rgba(255, 0, 0, 0.2) !important;
    border: 1px solid var(--ios-red) !important;
    border-radius: 0 !important;
    color: var(--ios-red) !important;
}

.search-trigger-btn:hover {
    background: var(--ios-red) !important;
    color: black !important;
}

.search-trigger-btn svg {
    stroke: currentColor !important;
}

.list-section-header svg,
.section-title svg {
    stroke: var(--ios-red) !important;
}

.list-card {
    border: 1px solid rgba(255, 0, 0, 0.3) !important;
    background: var(--ios-bg) !important;
}

.list-card:hover {
    border: 1px solid var(--ios-red) !important;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5) !important;
}

.skeleton-card,
.skeleton-text,
.skeleton-circle {
    background: linear-gradient(90deg, #220000 25%, #440000 50%, #220000 75%) !important;
    background-size: 400% 100% !important;
}

.app-get-btn {
    border-radius: 0 !important;
    background: transparent !important;
    border: 1px solid var(--ios-red) !important;
    color: var(--ios-red) !important;
}

.app-get-btn:hover {
    background: var(--ios-red) !important;
    color: black !important;
    box-shadow: 0 0 10px red !important;
}

/* Scrollbar styling for a techy look */
::-webkit-scrollbar {
    width: 8px !important;
    height: 8px !important;
    display: block !important;
}

::-webkit-scrollbar-track {
    background: #000 !important;
    border-left: 1px solid #330000 !important;
}

::-webkit-scrollbar-thumb {
    background: #cc0000 !important;
}

#search-modal {
    background: rgba(0, 0, 0, 0.9) !important;
}

.search-modal-container {
    background: #050000 !important;
    border: 1px solid red !important;
    border-radius: 0 !important;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5) !important;
}

#tmdb-search-input {
    font-family: 'Share Tech Mono', monospace !important;
    color: red !important;
}

#tmdb-search-input::placeholder {
    color: rgba(255, 0, 0, 0.5) !important;
}