:root {
    --primary: #0070f3;
    --bg: #0a0a0a;
    --card-bg: #111111;
    --text: #ffffff;
    --text-muted: #888888;
    --border: #333333;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    display: flex;
    justify-content: center;
    padding: 40px 20px;
}

.container {
    max-width: 1000px;
    width: 100%;
}

header {
    text-align: center;
    margin-bottom: 40px;
}

.logo {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo span {
    color: var(--primary);
}

header p {
    color: var(--text-muted);
}

main {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

.generator-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.input-group {
    width: 100%;
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 600;
}

.input-group input {
    width: 100%;
    background: #000;
    border: 1px solid var(--border);
    padding: 12px 15px;
    color: #fff;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary);
}

.controls {
    width: 100%;
    margin-bottom: 25px;
}

.control-item label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

input[type="range"] {
    width: 100%;
}

#qrcode-container {
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.download-options {
    width: 100%;
}

.primary-btn {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

.primary-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

/* Sidebar */
.promo-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profile-card, .ad-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
}

.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid var(--primary);
}

.profile-card h3 {
    margin-bottom: 5px;
}

.profile-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.yt-btn {
    display: inline-block;
    background: #ff0000;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
}

.ad-card h4 {
    color: var(--primary);
    margin-bottom: 10px;
}

.ad-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.ad-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

footer {
    text-align: center;
    margin-top: 50px;
    color: var(--text-muted);
    font-size: 0.8rem;
}

@media (max-width: 850px) {
    main {
        grid-template-columns: 1fr;
    }
}
