/* CSS Variables for consistency */
:root {
    --bg-primary: #121212;
    --bg-secondary: #1a1a1a;
    --bg-card: #232323;
    --bg-input: #333;
    --accent-color: #ff4081;
    --accent-hover: #e91e63;
    --text-primary: #e0e0e0;
    --text-secondary: #ccc;
    --text-muted: #888;
    --border-color: #333;
    --success-color: #00ff00;
    --warning-color: #ffcc00;
}

/* Update existing styles to use variables */
body {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Tajawal', Arial, sans-serif;
    margin: 0;
}

.header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-secondary);
    padding: 20px 40px;
}

.video-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s;
}

.search-form,
form[role="search"] {
    background: var(--bg-input);
    border-radius: 30px;
    border: 1px solid var(--border-color);
}

.search-form button,
form[role="search"] input[type="submit"] {
    background: var(--accent-color);
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.search-form button:hover,
form[role="search"] input[type="submit"]:hover {
    background: var(--accent-hover);
}

.section-title {
    color: var(--accent-color);
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 25px;
    text-align: left;
    padding-left: 20px;
}

.video-title {
    color: var(--text-primary);
}

.video-card:hover .video-title {
    color: var(--accent-color);
}

.widget {
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.ad-container,
.top-ad,
.bottom-ad,
.sidebar-ad {
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 15px;
}
