:root {
    --bg:#000000;
    --card:#0b1220;
    --muted:#f2f4cf;
    --accent:#9db4ff;
    --glass: rgba(255,255,255,0.03);
    --normal: #efefef;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    color-scheme: dark;
}

html,body{ height:100% }

/* Prevent iOS text size adjustment */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* Improve touch targets */
button, a, input, textarea, select {
    touch-action: manipulation;
}

body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(180deg, rgb(255, 177, 150) 0%, rgb(64, 0, 69) 100%);
    background-attachment: fixed;
    color: #e6eef8;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 32px;
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
}

header {
    width: 100%;
    max-width: 960px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 8px 0;
    box-sizing: border-box;
}

/* Header layout */
.header-left,
.header-right {
    display: flex;
    align-items: center;
}

.logo {
    height: 150px;
    width: auto;
}

.header-center {
    text-align: center;
    color: var(--normal);
}
.header-center h1 {
    margin: 0;
    font-size: 3rem;
}
.header-center .tag {
    margin-top: 4px;
    font-size: 0.9rem;
}

.header-right {
    justify-content: flex-end;
}

/* Language switcher */
.lang button {
    background: var(--glass);
    border:1px solid rgba(255,255,255,0.04);
    color:var(--accent);
    padding:6px 10px;
    border-radius:8px;
    cursor:pointer;
    font-weight:600;
    min-height: 36px;
    min-width: 44px;
    transition: background 0.2s ease, transform 0.1s ease;
}

.lang button:active {
    transform: scale(0.95);
}

.lang button[aria-pressed="true"] {
    background:linear-gradient(90deg, rgba(157,180,255,0.14), rgba(157,180,255,0.06));
    border-color:rgba(157,180,255,0.22);
    color:#dfe9ff;
}

main{
    width:100%;
    max-width:960px;
    display:grid;
    gap:20px;
    box-sizing: border-box;
}

.hero {
    background:linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.08));
    padding:28px;
    border-radius:12px;
    border:1px solid rgba(255,255,255,0.03);
    box-sizing: border-box;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

.hero h2 {
    margin:0 0 8px 0;
    font-size:1.4rem;
    color: var(--normal);
}
.hero p {
    margin:0;
    color:var(--muted);
    line-height:1.45;
}

/* Grid for About / Contact etc */
.grid {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:14px;
    align-items: stretch;
}

.card {
    background:rgba(255,255,255,0.08);
    padding:16px;
    border-radius:10px;
    border:1px solid rgba(255,255,255,0.02);
    color: var(--normal);
}

/* Grid cards should fill their container height */
.grid .card {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}
.card h3 {
    margin:0 0 8px 0;
    font-size:1rem;
}
.card p {
    margin:0;
    color:var(--muted);
    font-size:0.95rem;
}

/* Upcoming shows + gallery link cards */
.card.upcoming {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.card.upcoming:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(157,180,255,0.15);
}

.card.upcoming:active {
    transform: scale(0.98);
}

@media (hover: none) {
    .card.upcoming:hover {
        transform: none;
        box-shadow: none;
    }
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    -webkit-tap-highlight-color: transparent;
    width: 100%;
}

/* Grid cards should fill their container height */
.grid .card-link {
    display: flex;
    height: 100%;
}

footer {
    width: 100%;
    max-width: 960px;
    color: var(--muted);
    font-size: 0.85rem;
    border-top: 1px dashed rgba(255,255,255,0.03);
    padding: 12px 0 32px 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    box-sizing: border-box;
}

/* ============================================
   Mobile Responsive Styles
   ============================================ */

/* Base mobile styles for all screen sizes below 768px */
@media (max-width: 768px) {
    body {
        padding: 16px;
        gap: 16px;
        overflow-x: hidden;
    }

    * {
        max-width: 100%;
    }

    img, video, iframe {
        max-width: 100%;
        height: auto;
    }

    header {
        grid-template-columns: auto 1fr auto;
        padding: 8px 0;
        gap: 8px;
    }

    .logo {
        height: 50px;
        width: auto;
    }

    .header-center h1 {
        font-size: 1.5rem;
        line-height: 1.2;
    }

    .header-center .tag {
        font-size: 0.8rem;
        margin-top: 2px;
    }

    main {
        gap: 16px;
    }

    .hero {
        padding: 20px;
        border-radius: 10px;
    }

    .hero h2 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    .hero p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .card {
        padding: 14px;
        border-radius: 8px;
    }

    .card h3 {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }

    .card p {
        font-size: 0.85rem;
    }

    footer {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        padding: 16px 0;
        text-align: center;
        font-size: 0.8rem;
    }

    .lang button {
        padding: 8px 12px;
        font-size: 0.85rem;
        min-height: 40px;
        min-width: 48px;
    }
}

/* Small mobile devices (phones in portrait) */
@media (max-width: 480px) {
    body {
        padding: 12px;
        gap: 12px;
        overflow-x: hidden;
    }

    header {
        padding: 4px 0;
        gap: 6px;
    }

    .logo {
        height: 40px;
    }

    .header-center h1 {
        font-size: 1.2rem;
    }

    .header-center .tag {
        font-size: 0.75rem;
    }

    .hero {
        padding: 16px;
    }

    .hero h2 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .hero p {
        font-size: 0.85rem;
    }

    .card {
        padding: 12px;
    }

    .card h3 {
        font-size: 0.9rem;
    }

    .card p {
        font-size: 0.8rem;
    }

    footer {
        padding: 12px 0;
        font-size: 0.75rem;
    }

    .lang button {
        padding: 6px 10px;
        font-size: 0.8rem;
        min-height: 36px;
        min-width: 44px;
    }
}

/* Very small devices */
@media (max-width: 360px) {
    body {
        padding: 10px;
    }

    .header-center h1 {
        font-size: 1rem;
    }

    .hero {
        padding: 14px;
    }

    .card {
        padding: 10px;
    }
}
