@import url('https://fonts.googleapis.com/css2?family=Black+Ops+One&display=block');
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=block');

:root {
    --bg: #050505;
    --panel: rgba(255,255,255,0.045);
    --panel-strong: rgba(255,255,255,0.07);
    --line: rgba(255,255,255,0.10);
    --text: #f4f4f4;
    --muted: #a9a9a9;
    --soft: #c9c9c9;
    --orange: #ff8a2a;
    --orange-soft: #ffb86b;
    --teal: #78fff0;
    --danger: #d93636;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 450;
    letter-spacing: 0.01em;
}

a { color: inherit; }

/* Page shell */
.bar-page {
    min-height: 100vh;
    padding: 20px 20px 80px;
    background:
    radial-gradient(circle at top left,
        rgba(120,255,240,0.08),
        transparent 35%),

    radial-gradient(circle at bottom right,
        rgba(255,138,42,0.08),
        transparent 40%),

    linear-gradient(
        180deg,
        #0a0a0d 0%,
        #050505 55%,
        #000000 100%
    );
}

/* Shared floating header */
.floating-bar {
    position: sticky;
    top: 14px;
    z-index: 20;
    max-width: 1120px;
    margin: 0 auto 28px;
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(8,8,10,0.76);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 60px rgba(0,0,0,0.35);
}

.floating-brand {
    padding-left: 10px;
    color: var(--orange);
    font-weight: 900;
    letter-spacing: -0.04em;
    text-decoration: none;
}

.floating-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.discord-cta,
.login-link,
.login-pill {
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
}

.discord-cta {
    padding: 10px 16px;

    background:
        radial-gradient(
            circle at top,
            rgba(120,255,240,0.08),
            transparent 70%
        ),
        rgba(255,255,255,0.04);

    color: var(--teal);

    border: 1px solid rgba(120,255,240,0.22);

    box-shadow:
        0 0 18px rgba(120,255,240,0.05);

    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease,
        box-shadow 0.18s ease,
        color 0.18s ease;
}

.discord-cta:hover {

    background:
        radial-gradient(
            circle at top,
            rgba(255,138,42,0.12),
            transparent 70%
        ),
        rgba(255,255,255,0.06);

    border-color: rgba(255,138,42,0.36);

    color: #fff3ea;

    box-shadow:
        0 10px 24px rgba(0,0,0,0.32),
        0 0 20px rgba(255,138,42,0.12);
}

.login-link,
.login-pill { padding: 8px 12px; }

.login-link {
    color: var(--text);
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.045);
}

.login-link:hover { background: rgba(255,255,255,0.09); }

.login-pill {
    color: var(--orange-soft);
    background: rgba(255,138,42,0.12);
    border: 1px solid rgba(255,138,42,0.25);
}

.admin-badge {
    margin-left: 7px;
    padding: 3px 7px;
    border-radius: 999px;
    background: var(--orange);
    color: #120804;
    font-size: 0.68rem;
    font-weight: 950;
    text-transform: uppercase;
}

/* Homepage hero */
.hero {
    max-width: 980px;
    margin: 0 auto 56px;
    padding: 64px 28px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 28px;
    background: var(--panel);
    box-shadow: 0 24px 90px rgba(0,0,0,0.55);
}

.hero-kicker {
    display: inline-block;
    margin-bottom: 14px;
    padding: 7px 13px;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 999px;
    color: var(--orange-soft);
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.brand-logo {
    margin: 0;
    font-size: clamp(3.4rem, 10vw, 7.8rem);
    line-height: 0.86;
    letter-spacing: -0.08em;
    text-transform: uppercase;
    font-family: 'Black Ops One', system-ui, sans-serif;
    opacity: 0;
    transform: translateY(6px);
    animation: brandFadeIn 0.4s ease forwards;
    animation-delay: 0.15s;
}

@keyframes brandFadeIn {
    to { opacity: 1; transform: translateY(0); }
}

.brand-logo span {
    color: var(--orange);
    text-shadow: 0 0 28px rgba(255,138,42,0.35);
}

.brand-logo em {
    font-style: normal;
    color: var(--text);
    text-shadow: 0 0 34px rgba(255,255,255,0.18);
}

.brand-subtitle {
    margin-top: 12px;
    color: #9e9e9e;
    font-size: 0.9rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.hero p {
    max-width: 620px;
    margin: 22px auto 0;
    color: var(--soft);
    font-size: 1.1rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 34px;
}

/* Buttons */
.button,
.submit-drink,
.edit-drink-button,
.delete-drink-button,
.danger-button,
.mini-button {
    font-family: inherit;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
}

.button:hover,
.submit-drink:hover,
.edit-drink-button:hover,
.delete-drink-button:hover { transform: translateY(-2px); }

.button.primary,
.submit-drink,
.edit-drink-button {
    background: var(--orange);
    color: #120804;
}

.button.secondary {
    border: 1px solid rgba(255,255,255,0.18);
    color: #f2f2f2;
    background: rgba(255,255,255,0.04);
}

/* Homepage cocktail list */
.cocktail-section {
    max-width: 1120px;
    margin: 0 auto;
}

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

.section-header h2 {
    margin: 0;
    font-size: 1.4rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--orange-soft);
}

.section-header p {
    margin: 0;
    color: #9e9e9e;
}

.drink-search {
    display: flex;
    gap: 10px;
    margin-bottom: 22px;
}

.drink-search input {
    flex: 1;
    min-height: 46px;
    border: 1px solid rgba(255,255,255,0.11);
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    color: var(--text);
    padding: 0 18px;
    font: inherit;
    outline: none;
}

.drink-search input:focus,
.cocktail-form input:focus,
.cocktail-form textarea:focus {
    border-color: rgba(255,138,42,0.55);
    box-shadow: 0 0 0 4px rgba(255,138,42,0.1);
}

.drink-search button,
.drink-search a,
.pagination a {
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    border: 0;
    background: var(--orange);
    color: #120804;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.drink-search a {
    background: rgba(255,255,255,0.08);
    color: var(--text);
}

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

.cocktail-card,
.empty-state {
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.035));
    box-shadow: 0 18px 50px rgba(0,0,0,0.35);
}

.cocktail-card {
    position: relative;
    display: block;
    padding: 0;
    min-height: 0;
    overflow: hidden;
    text-decoration: none;
    border-radius: 24px;
    border: 1px solid rgba(120,255,240,0.22);
    background: #060606;
    container-type: inline-size;
    box-shadow:
        0 18px 50px rgba(0,0,0,0.45),
        0 0 0 1px rgba(120,255,240,0.04);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.cocktail-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 26px 70px rgba(0,0,0,0.55),
        0 0 18px rgba(120,255,240,0.18);
}

.card-visual {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #050505;
}

.card-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.86) contrast(1.08);
    transition: transform 0.25s ease, filter 0.25s ease;
}

.cocktail-card:hover .card-visual img {
    transform: scale(1.04);
    filter: brightness(0.95) contrast(1.12);
}

.card-visual-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,0.05) 0%,
            rgba(0,0,0,0.12) 42%,
            rgba(0,0,0,0.78) 78%,
            rgba(0,0,0,0.96) 100%
        ),
        radial-gradient(circle at 50% 74%, rgba(120,255,240,0.18), transparent 36%);
}

.card-visual-content {
    position: absolute;
    left: 34px;
    right: 20px;
    bottom: 26px;
    z-index: 2;
}

.cocktail-card .card-visual-content h3 {
    font-family: 'Teko', sans-serif;
    font-weight: 600;

    font-size: clamp(2.2rem, 11cqw, 4.2rem);

    line-height: 0.72;
    letter-spacing: -0.03em;

    color: #78fff0;

    text-transform: uppercase;
    transform-origin: left bottom;

    transform:
        scaleX(1.1)
        scaleY(1.58);

    position: relative;
    margin-bottom: -6px;

    text-shadow:
        0 0 10px rgba(120,255,240,0.55),
        0 0 30px rgba(120,255,240,0.22);
}

.card-visual-content p {
    margin: 0;
    color: rgba(205,205,205,0.56);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.card-no-image {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 35%, rgba(120,255,240,0.10), transparent 34%),
        radial-gradient(circle at 60% 70%, rgba(255,138,42,0.10), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01)),
        #050505;
}

.card-no-image span {
    color: var(--orange);
    font-family: 'Black Ops One', system-ui, sans-serif;
    font-size: 1.4rem;
}

.card-topline {
    color: var(--muted);
    font-size: 0.78rem;
    margin-bottom: 12px;
}

.ingredient-preview {
    margin: 0;
    padding-left: 18px;
    color: #d7d7d7;
    line-height: 1.55;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.tag-row span {
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(255,138,42,0.12);
    color: var(--orange-soft);
    font-size: 0.78rem;
}

.card-link {
    margin-top: auto;
    padding-top: 22px;
    color: var(--orange-soft);
    font-weight: 800;
    text-decoration: none;
}

.card-link:hover { text-decoration: underline; }

.empty-state {
    padding: 42px 24px;
    text-align: center;
}

.empty-state h3 {
    margin: 0 0 10px;
    font-size: 1.5rem;
}

.empty-state p {
    margin: 0;
    color: #b8b8b8;
}

.pagination {
    margin-top: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
}

.pagination span {
    color: #aaa;
    font-size: 0.9rem;
}

/* Cocktail detail */
.drink-detail {
    max-width: 1040px;
    margin: 0 auto;
}

.drink-hero-bg {
    position: relative;
    min-height: 560px;
    margin-bottom: 24px;
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: var(--bg); /* Stripped out the back radial-gradients */
    box-shadow: 0 24px 90px rgba(0,0,0,0.45);
}

/* Update your base desktop rules (leave the @media blocks at the bottom alone!) */

/* Update your base desktop rules in bar.css */

/* Update your desktop rules in bar.css */

/* Update your base desktop rules in bar.css */

.drink-hero-bg img {
    position: absolute;
    top: 50%;
    right: 0;
    z-index: 0;

    width: auto;
    max-width: 35%;
    height: 100%;
    object-fit: contain;
    object-position: right center;
    transform: translateY(-50%);
    filter: brightness(0.95) contrast(1.05);

    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        transparent 10%,
        rgba(0, 0, 0, 0.15) 30%,
        rgba(0, 0, 0, 0.55) 65%,
        #000000 95%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        transparent 10%,
        rgba(0, 0, 0, 0.15) 30%,
        rgba(0, 0, 0, 0.55) 65%,
        #000000 95%
    );
}

.drink-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    
    /* We also ease back the black text gradient so it mirrors the new soft mask opacity */
    background:
        linear-gradient(
            to right,
            #050505 0%,
            #050505 25%,
            rgba(5, 5, 5, 0.6) 50%,
            transparent 85%
        ),
        linear-gradient(
            to bottom,
            #050505 0%,
            rgba(5,5,5,0) 14%,
            rgba(5,5,5,0) 86%,
            #050505 100%
        ),
        radial-gradient(circle at 35% 60%, rgba(120,255,240,0.10), transparent 42%);
}

.drink-hero-content {
    position: relative;
    z-index: 3;
    max-width: 650px;
    padding: 56px;
}

.drink-hero-content h1 {
    margin: 0;
    font-size: clamp(3.8rem, 9vw, 7.2rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
    font-family: 'Black Ops One', system-ui, sans-serif;
    text-transform: uppercase;
    color: var(--teal);
    text-shadow:
        0 0 12px rgba(120,255,240,0.55),
        0 0 36px rgba(120,255,240,0.25),
        0 0 80px rgba(120,255,240,0.12);
}

.drink-hero-content h1.hero-title-long {
    font-size: clamp(3.4rem, 6vw, 6rem);
    line-height: 0.92;
    letter-spacing: -0.02em;
}

.drink-hero-content h1::after {
    content: "";
    display: block;
    width: 120px;
    height: 5px;
    margin-top: 18px;
    border-radius: 999px;
    background: var(--orange);
    box-shadow: 0 0 18px rgba(255,138,42,0.45);
}

.drink-hero-content p {
    margin: 18px 0 0;
    color: #d0d0d0;
    line-height: 1.6;
}

.muted-dot {
    color: #777;
    padding: 0 8px;
}

.drink-vibe {
    margin-top: 22px;
    max-width: 760px;
    padding: 18px 20px;
    border-left: 4px solid var(--orange);
    border-radius: 16px;
    background: rgba(255,255,255,0.055);
    color: #f1f1f1;
    line-height: 1.65;
}

.detail-tags { margin-top: 22px; }

.recipe-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 18px;

    margin-top: 48px;
    position: relative;
    z-index: 4;
}

.recipe-panel {
    padding: 26px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.09);
    background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.035));
    box-shadow: 0 18px 50px rgba(0,0,0,0.35);
}

.recipe-panel h2 {
    margin: 0 0 18px;
    color: var(--orange-soft);
    font-size: 0.9rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.detail-ingredients,
.detail-steps {
    margin: 0;
    color: #e8e8e8;
    line-height: 1.75;
}

.detail-ingredients { padding-left: 20px; }
.detail-steps { padding-left: 24px; }
.detail-steps li { margin-bottom: 12px; }
.muted-text { color: #aaa; margin: 0; }

.recipe-footer-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.edit-drink-button,
.delete-drink-button {
    min-height: 44px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    font-weight: 900;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.delete-drink-button {
    background: var(--danger);
    color: #fff;
}

.delete-drink-button:hover { background: #f04444; }

/* Forms / submit / edit / login */
.submit-shell {
    max-width: 920px;
    margin: 0 auto;
}

.submit-intro {
    margin-bottom: 26px;
    padding: 42px 28px;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,0.09);
    background: var(--panel);
    box-shadow: 0 24px 90px rgba(0,0,0,0.45);
}

.submit-intro h1,
.login-title {
    margin: 0;
    font-size: clamp(2.6rem, 7vw, 5rem);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.submit-intro p {
    max-width: 640px;
    margin: 18px 0 0;
    color: var(--soft);
    font-size: 1.05rem;
    line-height: 1.6;
}

.login-white,
.login-accent {
    font-family: 'Black Ops One', system-ui, sans-serif;
    text-transform: uppercase;
}

.login-white { color: var(--text); }
.login-accent {
    color: var(--orange);
    text-shadow: 0 0 18px rgba(255,138,42,0.25);
}

.login-title:hover .login-accent { text-shadow: 0 0 28px rgba(255,138,42,0.45); }

.cocktail-form {
    display: grid;
    gap: 18px;
}

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

.cocktail-form label {
    display: grid;
    gap: 8px;
}

.cocktail-form label span {
    color: var(--orange-soft);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.cocktail-form input,
.cocktail-form textarea {
    width: 100%;
    border: 1px solid rgba(255,255,255,0.11);
    border-radius: 16px;
    background: rgba(255,255,255,0.06);
    color: var(--text);
    padding: 15px 16px;
    font: inherit;
    outline: none;
}

.cocktail-form textarea { resize: vertical; }

.builder-block {
    padding: 22px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.09);
    background:
        radial-gradient(circle at top right, rgba(255,138,42,0.12), transparent 32%),
        rgba(255,255,255,0.04);
}

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

.builder-header h2 {
    margin: 0;
    font-size: 1.4rem;
    letter-spacing: -0.03em;
}

.builder-header p {
    margin: 6px 0 0;
    color: var(--muted);
    line-height: 1.45;
}

.mini-button {
    border: 1px solid rgba(255,138,42,0.35);
    border-radius: 999px;
    background: rgba(255,138,42,0.12);
    color: var(--orange-soft);
    padding: 10px 14px;
    font-weight: 900;
    cursor: pointer;
    white-space: nowrap;
}

.mini-button:hover { background: rgba(255,138,42,0.2); }

.dynamic-list {
    display: grid;
    gap: 10px;
}

.submit-drink {
    min-height: 54px;
    border: 0;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 950;
    cursor: pointer;
}

.success-box,
.error-box {
    padding: 28px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.055);
    margin-bottom: 18px;
}

.success-box h2 { margin: 0 0 8px; }
.success-box p { color: var(--soft); margin-bottom: 20px; }

.error-box {
    color: #ffd5d5;
    border-color: rgba(255,80,80,0.35);
    background: rgba(255,80,80,0.08);
}

.author-custom {
    border-color: rgba(120,200,255,0.7) !important;
    box-shadow: 0 0 0 4px rgba(120,200,255,0.1);
}

/* Admin */
.admin-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.admin-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.admin-row:last-child { border-bottom: 0; }
.admin-row strong { display: block; color: var(--text); }
.admin-row small { display: block; margin-top: 4px; color: #aaa; }

.danger-button {
    border: 1px solid rgba(255,80,80,0.35);
    border-radius: 999px;
    background: rgba(255,80,80,0.1);
    color: #ffd5d5;
    padding: 9px 13px;
    font-weight: 900;
    cursor: pointer;
    white-space: nowrap;
}

.danger-button:hover { background: rgba(255,80,80,0.18); }

.compact-admin-form { gap: 14px; }

.checkbox-line {
    display: flex !important;
    align-items: center;
    gap: 10px !important;
}

.checkbox-line input { width: auto; }

.checkbox-line span {
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: #ddd !important;
}

/* Responsive */
@media (max-width: 900px) {
    .cocktail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
    .admin-grid,
    .recipe-layout { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {

    .drink-hero-content h1 {
        text-shadow:
            0 0 6px rgba(120,255,240,0.38),
            0 0 16px rgba(120,255,240,0.16),
            0 0 28px rgba(120,255,240,0.08);
    }

    .drink-hero-bg {
        min-height: 680px;
        align-items: flex-end;
    }

.drink-hero-bg img {
    top: 24px;
    right: 50%;

    width: 92%;
    max-width: none;
    height: 46%;

    object-fit: contain;
    object-position: center top;
    transform: translateX(50%);

    -webkit-mask-image: linear-gradient(
        to bottom,
        #000 0%,
        #000 72%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to bottom,
        #000 0%,
        #000 72%,
        transparent 100%
    );
}

    .drink-hero-overlay {
        background:
            linear-gradient(
                to bottom,
                rgba(5,5,5,0.05) 0%,
                rgba(5,5,5,0.45) 42%,
                rgba(5,5,5,0.96) 72%,
                #050505 100%
            );
    }

    .drink-hero-content {
        padding: 320px 24px 34px;
    }
}

@media (max-width: 620px) {
    .bar-page { padding: 28px 14px 56px; }

    .floating-bar {
        position: static;
        border-radius: 20px;
        flex-direction: column;
        text-align: center;
    }

    .floating-brand { padding-left: 0; }

    .floating-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .discord-cta { width: 100%; }

    .hero {
        padding: 46px 20px;
        border-radius: 22px;
    }

    .section-header { display: block; }
    .section-header p { margin-top: 6px; }
    .cocktail-grid { grid-template-columns: 1fr; }

    .drink-search { flex-direction: column; }
    .drink-search button,
    .drink-search a { justify-content: center; }

    .form-grid { grid-template-columns: 1fr; }
    .builder-header { display: grid; }
    .mini-button { width: 100%; }
}

@media (min-width: 701px) and (max-width: 1024px) {
    .drink-hero-bg img {
        width: 58%;
        max-width: none;
        right: 0;
        height: 88%;
    }
    .drink-hero-content h1 {
        text-shadow:
            0 0 6px rgba(120,255,240,0.38),
            0 0 16px rgba(120,255,240,0.16),
            0 0 28px rgba(120,255,240,0.08);
    }
}

@media (max-width: 900px) {
    .drink-hero-content h1 {
        text-shadow:
            0 0 5px rgba(120,255,240,0.34),
            0 0 14px rgba(120,255,240,0.14),
            0 0 26px rgba(120,255,240,0.07);
    }
}

@media (min-width: 901px) and (max-width: 1200px) {
    .drink-hero-content h1 {
        text-shadow:
            0 0 7px rgba(120,255,240,0.42),
            0 0 20px rgba(120,255,240,0.18),
            0 0 40px rgba(120,255,240,0.09);
    }
}

.photo-guidelines {
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(120,255,240,0.16);

    background:
        radial-gradient(circle at top right, rgba(120,255,240,0.08), transparent 36%),
        rgba(255,255,255,0.035);

    color: #d8d8d8;
}

.photo-guidelines strong {
    display: block;
    margin-bottom: 10px;
    color: var(--teal);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.photo-guidelines ul {
    margin: 0;
    padding-left: 18px;

    display: grid;
    gap: 5px;

    font-size: 0.92rem;
    line-height: 1.45;
}

.photo-guidelines li::marker {
    color: var(--orange);
}

.dynamic-row {
    display: grid;
    grid-template-columns: 1fr 38px;
    gap: 10px;
    align-items: center;
}

.remove-row {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,138,42,0.45);
    border-radius: 999px;
    background: rgba(255,138,42,0.14);
    color: var(--orange-soft);
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
}

.remove-row:hover {
    background: var(--orange);
    color: #120804;
}

.drink-story {
    margin: 0 0 24px;
    padding: 28px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.09);
    background: rgba(255,255,255,0.045);
    box-shadow: 0 18px 50px rgba(0,0,0,0.35);
}

.drink-story h2 {
    margin: 0 0 14px;
    color: var(--orange-soft);
    font-size: 0.9rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.drink-story p {
    margin: 0;
    color: #e6e6e6;
    line-height: 1.75;
}

.cocktail-card .card-visual-content h3.long-name {
    font-size: clamp(1.9rem, 9cqw, 3.5rem);

    transform:
        translateY(-2px)
        scaleX(1.04)
        scaleY(1.42);
}

.cocktail-card .card-visual-content h3.extra-long-name {
    font-size: clamp(1.5rem, 7cqw, 2.8rem);

    line-height: 0.86;

    transform:
        translateY(-2px)
        scaleX(1)
        scaleY(1.18);
}

.cocktail-toolbar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    text-align: center;
}

.cocktail-toolbar h2 {
    margin: 0;
    color: var(--orange-soft);
    font-size: 1.45rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.cocktail-count {
    margin: 0 0 10px;
    color: rgba(220,220,220,0.58);
    font-size: 0.88rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cocktail-toolbar .drink-search {
    width: min(680px, 100%);
    margin-bottom: 0;
}

.inline-admin-form {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.inline-admin-form input {
    min-height: 36px;
    border: 1px solid rgba(255,255,255,0.11);
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    color: var(--text);
    padding: 0 12px;
    font: inherit;
}

.mini-admin-button {
    border: 1px solid rgba(120,255,240,0.22);
    border-radius: 999px;
    background: rgba(120,255,240,0.10);
    color: var(--teal);
    font-size: 0.95rem;
    padding: 10px 18px;
    white-space: nowrap;
    font-weight: 900;
    cursor: pointer;
}

.admin-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0,0,0,0.72);
    backdrop-filter: blur(8px);
}

.admin-modal-box {
    width: min(420px, 92vw);

    padding: 28px;
    border-radius: 24px;

    background: #111;
    border: 1px solid rgba(120,255,240,0.16);

    box-shadow:
        0 24px 80px rgba(0,0,0,0.55),
        0 0 30px rgba(120,255,240,0.06);
}

.admin-modal-box h3 {
    margin-top: 0;
    margin-bottom: 18px;
}

.admin-modal-box input {
    width: 100%;
    min-height: 52px;

    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.1);

    background: rgba(255,255,255,0.05);
    color: white;

    padding: 0 16px;
    font: inherit;
}

.admin-modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.profile-hero h1 {
    font-family: 'Teko', sans-serif;
    font-weight: 700;

    font-size: clamp(3.2rem, 7vw, 5.8rem);

    line-height: 0.9;
    letter-spacing: -0.02em;

    color: #78fff0;

    text-shadow:
        0 0 10px rgba(120,255,240,0.45),
        0 0 24px rgba(120,255,240,0.18);

    transform:
        scaleX(1.03)
        scaleY(1.08);

    transform-origin: left center;

    margin-bottom: 14px;
}

.profile-hero::after {
    content: '';

    display: block;

    width: 120px;
    height: 6px;

    margin-top: 18px;

    border-radius: 999px;

    background: linear-gradient(
        to right,
        #ff8a2a,
        rgba(255,138,42,0.18)
    );

    box-shadow:
        0 0 12px rgba(255,138,42,0.28);
}

.profile-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.profile-drink-list {
    display: grid;
    gap: 10px;
}

.profile-drink-list a {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 18px;
    text-decoration: none;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.08);
}

.profile-drink-list a:hover {
    border-color: rgba(120,255,240,0.28);
    background: rgba(120,255,240,0.06);
}

.profile-drink-list span {
    color: var(--orange-soft);
    font-weight: 800;
}

.unit-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: -4px 0 18px;
}

.unit-button,
.unit-ball {
    border: 1px solid rgba(120,255,240,0.18);
    border-radius: 999px;
    background: rgba(255,255,255,0.045);
    cursor: pointer;
}

.unit-button {
    min-height: 38px;
    padding: 0 14px;
    color: var(--teal);
    font-weight: 900;
    font-size: 0.78rem;
}

.unit-ball {
    width: 38px;
    height: 38px;
    padding: 4px;
    display: grid;
    place-items: center;
}

.unit-ball img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.unit-button.active,
.unit-ball.active {
    border-color: rgba(255,138,42,0.48);
    box-shadow: 0 0 16px rgba(255,138,42,0.18);
    background: rgba(255,138,42,0.10);
}
