@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1p:wght@400;500;700;800&display=swap');

:root {
    --hk-pink: #F15B98;
    /* The iconic AKB-ish Pink */
    --hk-pink-light: #FFE0EB;
    --hk-pink-bg: #fff5f9;
    --hk-text: #444;
    --hk-gray: #f2f2f2;
    --font-main: 'M PLUS 1p', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    color: var(--hk-text);
    background: var(--hk-gray);
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}

a:hover {
    opacity: 0.7;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

/* Header */
.hk-header {
    background: var(--hk-pink);
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.hk-header .inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hk-logo {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.hk-logo .sub {
    font-size: 0.7rem;
    font-weight: normal;
    opacity: 0.9;
}

.hk-logo .main {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.hk-header-links {
    display: flex;
    gap: 15px;
}

.hk-btn-login,
.hk-btn-join {
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: bold;
}

.hk-btn-login {
    background: white;
    color: var(--hk-pink);
}

.hk-btn-join {
    background: #444;
    color: white;
    border: 1px solid #444;
}

/* Layout */
.hk-container {
    max-width: 1100px;
    margin: 20px auto;
    padding: 0 20px;
}

.hk-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    /* Main + Sidebar */
    gap: 30px;
}

/* Main Column */
.hk-main {
    background: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.hk-hero {
    position: relative;
    margin-bottom: 30px;
    border-radius: 5px;
    overflow: hidden;
}

.hk-hero img {
    width: 100%;
    height: auto;
}

.hk-hero-caption {
    background: var(--hk-pink);
    color: white;
    padding: 10px 20px;
    font-weight: bold;
    text-align: center;
}

/* Section Common */
.hk-section {
    margin-bottom: 40px;
}

.hk-heading {
    font-size: 1.4rem;
    border-bottom: 2px solid var(--hk-pink);
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hk-heading.pink {
    color: var(--hk-pink);
}

/* Grid Menu (The Hashira no Kai feature) */
.hk-grid-menu {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.grid-item {
    background: var(--hk-pink-bg);
    border: 1px solid var(--hk-pink-light);
    border-radius: 8px;
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--hk-pink);
    transition: all 0.2s;
}

.grid-item:hover {
    background: var(--hk-pink);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(241, 91, 152, 0.3);
}

.grid-item i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.grid-item span {
    font-weight: bold;
    font-size: 1.1rem;
    display: block;
}

.grid-item .jp {
    font-size: 0.8rem;
    font-weight: normal;
    margin-top: 5px;
    opacity: 0.9;
}

/* News List */
.hk-news-list li {
    padding: 15px 0;
    border-bottom: 1px dashed #ccc;
    display: flex;
    align-items: center;
    gap: 15px;
}

.news-date {
    font-size: 0.9rem;
    color: #888;
    font-weight: bold;
}

.news-cat {
    font-size: 0.75rem;
    padding: 3px 8px;
    color: white;
    border-radius: 3px;
    min-width: 80px;
    text-align: center;
}

.cat-media {
    background: #3498db;
}

.cat-event {
    background: #e74c3c;
}

.hk-news-list a {
    color: #333;
    font-weight: 500;
}

.hk-news-list a:hover {
    text-decoration: underline;
    color: var(--hk-pink);
}

.hk-more-btn {
    display: inline-block;
    border: 1px solid #ccc;
    padding: 10px 30px;
    border-radius: 30px;
    font-weight: bold;
    color: #666;
    margin-top: 20px;
}

.hk-more-btn-area {
    text-align: right;
}


/* Sidebar */
.hk-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hk-login-box {
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.box-header {
    background: #444;
    color: white;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    font-size: 0.95rem;
}

.box-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.box-body input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #f9f9f9;
}

.hk-btn-submit {
    background: var(--hk-pink);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 5px;
}

.hk-btn-submit:hover {
    background: #d94580;
}

.login-help {
    font-size: 0.8rem;
    text-align: center;
    margin-top: 5px;
}

.login-help a {
    display: block;
    color: var(--hk-pink);
    text-decoration: underline;
}

/* Profile Mini */
.hk-profile-mini {
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    text-align: center;
}

.hk-profile-mini img {
    width: 100%;
}

.mini-info {
    padding: 15px;
}

.btn-profile {
    display: block;
    background: #444;
    color: white;
    padding: 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-top: 10px;
}

/* Sidebar Banners */
.hk-banners .banner {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    color: white;
    font-weight: bold;
    margin-bottom: 10px;
    border-radius: 5px;
    text-align: center;
    padding: 0 10px;
}

.banner.blue {
    background: #3498db;
}

.banner.green {
    background: #2ecc71;
}

/* Footer */
.hk-footer {
    background: #333;
    color: #bbb;
    padding: 40px 0;
    text-align: center;
    margin-top: 50px;
}

.footer-links {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 800px) {
    .hk-wrapper {
        grid-template-columns: 1fr;
    }

    .hk-grid-menu {
        grid-template-columns: repeat(2, 1fr);
    }

    .hk-sidebar {
        order: -1;
        /* Login top on mobile maybe? Or bottom */
    }
}

/* Schedule Table */
.hk-schedule-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.hk-schedule-table th {
    background: #f9f9f9;
    padding: 12px;
    border-bottom: 2px solid var(--hk-pink);
    color: #555;
    font-weight: bold;
    text-align: left;
}

.hk-schedule-table td {
    padding: 15px 12px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.hk-schedule-table tr:hover {
    background: #fff5f9;
}

.hk-schedule-table .date {
    font-weight: bold;
    color: var(--hk-pink);
    white-space: nowrap;
}

.hk-schedule-table .pref {
    font-weight: bold;
}

.hk-schedule-table .venue {
    font-weight: 500;
}

.hk-schedule-table .note {
    font-size: 0.8em;
    color: #e74c3c;
}

/* Status Badges */
.status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    text-align: center;
    color: white;
    min-width: 80px;
}

.status.soldout {
    background: #999;
}

.status.available {
    background: #3498db;
}

.status.few {
    background: #f39c12;
}

.ticket-btn {
    background: linear-gradient(to right, #F15B98, #FF8EBD);
    color: white !important;
    border: none;
    box-shadow: 0 4px 10px rgba(241, 91, 152, 0.3);
}

.ticket-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(241, 91, 152, 0.4);
}

/* Responsive Table */
@media (max-width: 600px) {
    .hk-schedule-table thead {
        display: none;
    }

    .hk-schedule-table tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #eee;
        padding: 10px;
        border-radius: 5px;
    }

    .hk-schedule-table td {
        display: block;
        border: none;
        padding: 5px 0;
    }

    .hk-schedule-table td::before {
        content: attr(class) ": ";
        font-weight: bold;
        color: #999;
        display: inline-block;
        width: 60px;
        text-transform: capitalize;
    }

    .hk-schedule-table td.date::before {
        content: "DATE: ";
    }
}

/* Ticket Reserve Box */
.hk-ticket-reserve-box {
    background: #fff;
    border: 3px solid var(--hk-pink-light);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.reserve-title {
    font-size: 1.1rem;
    color: var(--hk-pink);
    border-bottom: 1px dashed var(--hk-pink-light);
    padding-bottom: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.reserve-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    background: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 6px;
    margin-bottom: 15px;
    transition: background 0.2s;
}

.reserve-item.active {
    background: #fff5f9;
    border-color: var(--hk-pink);
}

.reserve-badge {
    background: #e74c3c;
    color: white;
    font-weight: bold;
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 4px;
    white-space: nowrap;
}

.reserve-badge.gray {
    background: #999;
}

.reserve-detail {
    flex: 1;
}

.reserve-detail h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
    color: #333;
}

.reserve-detail .period {
    font-size: 0.9rem;
    font-weight: bold;
}

.reserve-detail .desc {
    font-size: 0.8rem;
    color: #666;
    margin-top: 3px;
}

.btn-reserve {
    background: #333;
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: bold;
    white-space: nowrap;
    min-width: 140px;
    text-align: center;
}

.btn-reserve:hover {
    background: var(--hk-pink);
    transform: none;
    /* Reset generic hover if needed */
}

.btn-reserve.disabled {
    background: #ccc;
    cursor: not-allowed;
}

@media (max-width: 600px) {
    .reserve-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .btn-reserve {
        align-self: flex-end;
        /* right align button on mobile */
        width: 100%;
    }
}

/* Ticket Guide Page */
.guide-content {
    padding: 10px;
}

.guide-intro {
    font-weight: bold;
    margin-bottom: 30px;
    background: #fdfdfd;
    padding: 20px;
    border: 1px solid #eee;
    border-left: 5px solid var(--hk-pink);
}

.guide-step {
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 30px;
    overflow: hidden;
}

.step-header {
    background: #555;
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.step-num {
    background: var(--hk-pink);
    color: white;
    font-weight: 800;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.step-header h3 {
    font-size: 1.1rem;
    margin: 0;
}

.step-body {
    padding: 20px;
    background: white;
}

.step-body p {
    margin-bottom: 10px;
}

.step-note {
    font-size: 0.85rem;
    color: #888;
    background: #f9f9f9;
    padding: 10px;
    margin-top: 10px;
}

.step-note a {
    color: var(--hk-pink);
    text-decoration: underline;
}

.step-list {
    list-style: disc;
    margin-left: 20px;
    margin-top: 10px;
    color: #444;
}

.step-icon-area {
    text-align: center;
    font-size: 2rem;
    color: #ddd;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.step-icon-area i:nth-child(odd) {
    color: var(--hk-pink);
}

.guide-footer {
    text-align: center;
    margin-top: 40px;
}