:root {
    --bg-color: #ffffff;
    --text-color: #000000;
    --accent-blue: #587ecb;
    /* Matches the FB button roughly */
    --font-main: 'Inter', sans-serif;
    --max-width: 900px;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.2;
    padding-bottom: 50px;
}

/* Header */
header {
    text-align: center;
    padding: 40px 20px;
}

.logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 30px;
}

.page-title {
    font-weight: 900;
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: -1px;
}

/* Events Container */
#events-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Event Card */
.event-card {
    display: flex;
    flex-direction: row;
    margin-bottom: 60px;
    gap: 30px;
    align-items: flex-end;
}

.event-image-container {
    flex: 1.5;
    max-width: 65%;
    line-height: 0;
}

.event-image {
    width: 100%;
    height: auto;
    display: block;
}

.event-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
}

.event-date {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.band-list {
    margin-bottom: 15px;
}

.headliner {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-blue);
    /* Using blue for band name as in screenshot */
}

.headliner span,
.support span {
    color: #000;
    /* Country code in black */
}

.support {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-blue);
}

.venue-info {
    color: #666;
    margin-bottom: 10px;
    font-size: 1rem;
}

.tags {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

/* Hide EmailOctopus Branding - Link only via CSS */
a[href*="emailoctopus.com"] {
    display: none !important;
}

/* Buttons */
.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: auto;
    /* Push to bottom if flex container has height */
}

.btn {
    padding: 10px 30px;
    font-weight: 900;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 1rem;
    border: 3px solid transparent;
    /* Placeholder border for alignment */
    cursor: pointer;
    display: inline-flex;
    /* Use flex to center text */
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: 140px;
    height: 50px;
    /* Fixed height to ensure alignment */
    line-height: 1;
}

.btn-tickets {
    background-color: #fff;
    color: #000;
    border-color: #000;
}

.btn-tickets:hover {
    background-color: #000;
    color: #fff;
}

.btn-fb {
    background-color: var(--accent-blue);
    color: #fff;
    padding: 0 20px;
    /* Padding handled by flex/height */
    min-width: auto;
    font-size: 0.9rem;
}

.btn-fb:hover {
    opacity: 0.9;
}

.btn-disabled {
    opacity: 0.4;
    pointer-events: none;
    cursor: default;
}

/* Responsive */
@media (max-width: 768px) {
    .event-card {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .event-image-container {
        max-width: 100%;
        width: 100%;
        flex: none;
    }

    .event-image {
        max-width: 100%;
        object-fit: contain;
    }

    .event-details {
        text-align: left;
        width: 100%;
    }

    .action-buttons {
        width: 100%;
        justify-content: flex-start;
    }

    .btn {
        flex: 1;
    }
}

.artist-link {
    color: inherit;
    text-decoration: none;
    position: relative;
    z-index: 10;
    cursor: pointer;
}

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

/* Footer & Contact */
footer {
    text-align: center;
    padding: 80px 20px 60px;
    margin-top: 60px;
}

.contact-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.email-link {
    font-size: 1.8rem;
    font-weight: 900;
    color: #000;
    text-decoration: none;
    word-break: break-all;
    transition: color 0.2s;
}

.email-link:hover {
    color: var(--accent-blue);
}

.social-links {
    display: flex;
    gap: 25px;
    justify-content: center;
    align-items: center;
}

.social-icon {
    width: 32px;
    height: 32px;
    fill: #000;
    transition: all 0.2s ease;
}

.social-links a {
    display: block;
    line-height: 0;
}

.social-links a:hover .social-icon {
    fill: var(--accent-blue);
    transform: scale(1.1);
}

@media (max-width: 600px) {
    .email-link {
        font-size: 1.2rem;
    }
}