/* CSS Reset & Variables */
:root {
    --primary: #cda87c;
    --primary-dark: #b89369;
    --bg-main: #ffffff;
    --bg-hero: #f4ede3;
    --bg-gray: #f8f8f8;
    --text-main: #222222;
    --text-gray: #666666;
    --text-light: #999999;
    --border: #eeeeee;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
}

body {
    background: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* Layout */
.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.top-header {
    border-bottom: 1px solid var(--border);
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-sub {
    font-size: 11px;
    color: var(--text-gray);
    letter-spacing: -0.5px;
}

.logo-main {
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    margin-top: 2px;
}

.logo-main sub {
    font-size: 10px;
    vertical-align: super;
}

.btn-upload {
    background: #fdf6ec;
    color: #4a3e35;
    border: 1px solid #e9dcc9;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
}

.btn-upload:hover {
    background: #f4e8d3;
}

/* Hero Section */
.hero {
    background: var(--bg-hero);
    padding: 60px 0 80px;
}

.hero-inner {
    text-align: center;
}

.hero-badge {
    display: inline-block;
    color: #8c6a46;
    font-weight: 800;
    font-size: 24px;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-title {
    font-size: 85px;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 25px;
    letter-spacing: -2.5px;
    white-space: nowrap;
}

.hero-title .underline-black {
    text-decoration: underline;
    text-decoration-thickness: 6px;
    text-underline-offset: 6px;
    color: #222222;
}

.hero-title .highlight-gold {
    color: #c0915a;
}
.hero-title .text-dark {
    color: #222222;
}

.hero-desc {
    font-size: 22px;
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: 0;
    letter-spacing: -0.5px;
}

/* Hero Participation Box */
.hero-participation {
    display: inline-flex;
    align-items: baseline; /* 글자와 숫자 크기 차이로 인한 수직 정렬 오류 방지 */
    background: #fdf6ec; /* 사진 올리기 버튼과 같은 베이지 라운드 박스 */
    padding: 16px 32px;
    border-radius: 50px;
    margin: -40px 0 50px 0; /* 지금보다 확실하게 위로 더 끌어올림 */
    border: 1px solid #e9dcc9;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.hero-participation .text {
    font-size: 16px;
    font-weight: 600;
    color: #4a3e35; /* 짙은 그레이 */
    letter-spacing: -0.3px;
}
.hero-participation .hero-party-number {
    font-size: 30px;
    font-weight: 900;
    color: #c0915a; /* 금색 */
    margin: 0 6px;
    line-height: 1;
    transform: translateY(3px); /* 베이스라인 시각적 미세 조정 */
}

.hero-image-area {
    margin: 40px auto;
    max-width: 700px;
    position: relative;
}

.mock-poster {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: left;
    border: 1px solid rgba(0,0,0,0.05);
}

.mock-poster h3 {
    font-size: 20px;
    color: var(--text-gray);
}
.mock-poster h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 10px;
}

.hero-steps {
    display: flex;
    justify-content: center;
    gap: 120px;
    margin-top: 80px;
    border-top: 1px solid #e9dcc9;
    padding-top: 50px;
}

@media (max-width: 800px) {
    .header-inner {
        height: 80px;
    }

    section {
        padding: 40px 0;
    }
    
    .mt-80 {
        margin-top: 40px;
    }

    #top-logo-img {
        height: 50px !important;
    }

    .hero-top-row, .hero-bottom-row {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        margin-bottom: 60px;
    }
    .hero-top-text, .hero-text-area {
        text-align: left;
        width: 100%;
        word-break: keep-all;
    }
    .hero-top-text h3, .hero-badge {
        font-size: 20px;
        margin-bottom: 12px;
    }
    .hero-top-text h2, .hero-title {
        font-size: clamp(42px, 11.5vw, 56px) !important;
        letter-spacing: -2px;
        line-height: 1.1;
        white-space: normal;
    }
    .hero-top-text p, .hero-desc {
        font-size: 20px;
    }
    .hero-env-img {
        max-width: 70%;
        margin: 0 auto;
    }
    .hero-participation {
        display: flex;
        width: fit-content;
        align-items: baseline; /* 모바일에서도 텍스트와 숫자 하단 정렬 */
        margin: -45px 0 55px 0; /* 모바일에서 지금보다 더 위로 끌어올림 */
        padding: 14px 24px;
    }
    .hero-participation .text {
        font-size: 14px;
    }
    .hero-participation .hero-party-number {
        font-size: 30px; /* 모바일에서도 30px 크기 유지 */
    }
    .prize-img {
        width: 280px;
    }
    .prize-intro {
        align-items: center;
    }
    .prize-info {
        text-align: center;
        align-items: center;
    }
    .hero-steps {
        gap: 40px;
    }
    .mt-120 {
        margin-top: 30px; /* 라운드 박스가 중앙에 예쁘게 위치하도록 상하 여백 축소 */
    }
}

.step {
    text-align: center;
}

.step-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

.step-icon svg {
    width: 80px;
    height: 80px;
}

.step-icon i {
    font-size: 50px;
    color: #222;
}

.step-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.step h4 {
    font-size: 34px;
    font-weight: 900;
    margin-bottom: 10px;
    letter-spacing: -1.5px;
    color: var(--text-main);
}

.step p {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: -0.5px;
    margin-bottom: 0;
}

/* Common Section */
section {
    padding: 60px 0;
}

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

@media (max-width: 800px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .slider-controls {
        width: 100%;
        justify-content: flex-end;
        margin-top: 5px;
    }
}

.sub-title {
    display: block;
    font-size: 18px;
    color: #a67c52;
    font-weight: 700;
    margin-bottom: 10px;
}

.main-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.main-title .highlight {
    color: #a67c52;
}

.desc {
    color: var(--text-gray);
    font-size: 16px;
}

/* Slider Controls */
.slider-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.slider-controls button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: 0.2s;
}

.slider-controls button:hover {
    background: #e0e0e0;
}

.page-indicator {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    white-space: nowrap;
}

/* Cards Slider */
.cards-slider {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
}
.cards-slider::-webkit-scrollbar {
    display: none; /* Chrome */
}

.card {
    flex: 0 0 calc(33.333% - 14px);
    min-width: 280px;
    scroll-snap-align: start;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.card-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    display: block;
    background-position: center;
    border-bottom: 1px solid var(--border);
}

.bg-gray {
    background-color: var(--bg-gray);
}

.hero-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto 120px;
}
.hero-top-row > * {
    flex: 1;
}
@media (min-width: 801px) {
    .hero-top-text, .prize-intro {
        padding-left: 60px;
    }
}
@keyframes floatHorizontal {
    0% { transform: translateX(0) rotate(-3deg); }
    50% { transform: translateX(20px) rotate(-3deg); }
    100% { transform: translateX(0) rotate(-3deg); }
}

.hero-env-img {
    width: 100%;
    max-width: 440px;
    display: block;
    transform: rotate(-3deg);
    filter: drop-shadow(-10px 15px 20px rgba(0,0,0,0.15));
    animation: floatHorizontal 4s ease-in-out infinite;
    margin-left: 0;
}
.hero-top-text {
    text-align: left;
}
.hero-top-text h3 {
    font-size: 24px;
    color: var(--text-main);
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}
.hero-top-text h2 {
    font-size: 85px;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 25px;
    letter-spacing: -2.5px;
}
.hero-top-text h2 .highlight-gold {
    color: #c0915a;
}
.hero-top-text h2 .text-dark {
    color: #222222;
}
.hero-top-text p {
    font-size: 22px;
    color: var(--text-main);
    line-height: 1.6;
    letter-spacing: -0.5px;
}

.hero-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}
.hero-bottom-row > * {
    flex: 1;
}
.hero-text-area {
    flex: 1.15;
}
.prize-intro {
    flex: 0.85;
}
.mt-120 {
    margin-top: 120px;
}
.hero-text-area {
    text-align: left;
    margin-top: 0;
}
.prize-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.prize-img {
    width: 320px;
    height: auto;
    filter: drop-shadow(0 15px 20px rgba(0,0,0,0.1));
}
.prize-info {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.prize-label {
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 600;
    margin-bottom: 4px;
}
.prize-info strong {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-main);
    margin: 4px 0 8px;
}
.prize-spec {
    font-size: 16px;
    color: var(--text-main);
    font-weight: 600;
    line-height: 1.5;
}

.card-content {
    padding: 24px;
}

.card-badge {
    font-size: 16px;
    color: var(--text-light);
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.card h3 {
    font-size: 23px;
    font-weight: 700;
    margin-bottom: 10px;
}

.card p {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 20px;
    min-height: 42px;
}

.link-btn {
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-bottom: 1px solid var(--text-main);
    padding-bottom: 2px;
}

/* Gallery specific */
.gallery-card {
    flex: 0 0 calc(33.333% - 14px);
    min-width: 280px;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.gallery-img-wrap {
    position: relative;
    height: 220px;
}

.gallery-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-zoom {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(255,255,255,0.9);
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.gallery-info {
    padding: 20px;
}

.g-author {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    display: flex;
    justify-content: space-between;
}

.g-msg {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 15px;
    line-height: 1.6;
    word-break: keep-all;
    white-space: normal;
    overflow: visible;
}

.g-date {
    font-size: 12px;
    color: var(--text-light);
}

/* Party Counter Banner (Gallery) */
.party-counter-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-gray);
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.party-counter-wrap .party-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-gray);
}

.party-counter-wrap .party-number {
    font-size: 60px;
    font-weight: 800;
    color: #c0915a; /* 브랜드 맞춤 골드 칼라 */
    display: inline-block;
    line-height: 1;
}

@media (max-width: 800px) {
    .party-counter-wrap {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        padding: 12px 16px;
        margin-top: 5px;
    }
    .party-counter-wrap .party-text {
        font-size: 15px;
    }
    .party-counter-wrap .party-number {
        font-size: 60px; /* 모바일 환경에서도 60px 고정 */
        color: #c0915a;
    }
}

/* Video Accordion */
.video-accordion {
    background: #fff;
    border: 1px solid #e9dcc9;
    border-radius: 12px;
    margin-bottom: 30px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.video-accordion-header {
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #fdfaf6;
}

.video-title-area h3 {
    font-size: 28px;
    font-weight: 800;
    color: #222;
    margin-bottom: 4px;
}

.video-title-area p {
    font-size: 18px;
    color: #666;
    margin: 0;
}

.btn-toggle-video {
    background: #e9dcc9;
    color: #4a3e35;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-toggle-video:hover {
    background: #dfcfb8;
}

.btn-toggle-video i {
    transition: transform 0.3s;
}

.video-accordion.active .btn-toggle-video i {
    transform: rotate(180deg);
}

.video-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: #fff;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    margin: 0 30px 30px 30px;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 800px) {
    .video-accordion-header {
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .btn-toggle-video {
        align-self: flex-end;
    }
    .video-wrapper {
        margin: 0 20px 20px 20px;
    }
}

/* Changes Section */
.changes-intro {
    text-align: left;
    max-width: 800px;
}

.bold-desc {
    font-size: 24px;
    margin: 30px 0 15px;
}

.changes-intro p {
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 15px;
}

.mt-80 {
    margin-top: 80px;
}

.message-slider {
    align-items: stretch;
}

.message-slider .msg-card {
    flex: 0 0 calc(50% - 10px);
    min-width: 320px;
    padding: 40px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.message-slider .msg-card.has-img {
    padding-right: 220px;
}

.msg-text-wrap {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.msg-card img.card-bg-img {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;
    object-fit: contain;
    z-index: 1;
}

@media (max-width: 800px) {
    .message-slider .msg-card {
        padding: 30px;
    }
    .message-slider .msg-card.has-img {
        padding-right: 30px;
        padding-bottom: 220px;
    }
    .msg-card img.card-bg-img {
        height: 200px;
        object-position: bottom right;
    }
}

.badge-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 700;
    color: #a67c52;
    background: rgba(166, 124, 82, 0.1);
    margin-bottom: 20px;
}

.msg-card h3 {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
}

.msg-text-wrap p {
    font-size: 18px;
    line-height: 1.4;
    margin-top: auto;
}

/* Upload Section */
.upload-section {
    border-top: 1px solid var(--border);
}

.upload-inner {
    display: flex;
    gap: 60px;
}

@media (max-width: 800px) {
    .upload-inner {
        flex-direction: column;
    }
    .upload-form-box {
        padding: 24px 16px; /* 모바일에서 주소창 짤림 방지를 위해 안쪽 여백 축소 */
    }
}

.upload-info {
    flex: 1;
}

.upload-info h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.3;
}

.notice {
    display: flex;
    gap: 10px;
    margin-top: 40px;
    color: var(--text-gray);
    font-size: 16px;
}

.notice i {
    font-size: 24px;
}

.upload-form-box {
    flex: 1.2;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.step-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.step-title span {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: var(--bg-hero);
    color: #a67c52;
    text-align: center;
    line-height: 24px;
    border-radius: 50%;
    font-size: 12px;
    margin-right: 8px;
}

.photo-upload-area {
    border: 2px dashed var(--border);
    border-radius: 12px;
    background: var(--bg-gray);
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 10px;
}

.upload-placeholder i {
    font-size: 32px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.upload-placeholder h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
}

.upload-placeholder p {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.upload-btns {
    display: flex;
    justify-content: center;
    gap: 10px;
}

@media (max-width: 800px) {
    .upload-btns {
        flex-direction: column;
    }
    .upload-btns button {
        width: 100%;
    }
}

    .btn-dark {
        background: #222;
        color: #fff;
        padding: 14px 24px;
        border-radius: 8px;
        font-size: 15px;
        font-weight: 700;
        display: inline-block;
        text-align: center;
        line-height: 18px;
        white-space: nowrap;
    }

    .btn-beige {
        background: #e6dcc9;
        color: #333;
        padding: 14px 24px;
        border-radius: 8px;
        font-size: 15px;
        font-weight: 700;
        display: inline-block;
        text-align: center;
        line-height: 18px;
        white-space: nowrap;
    }

    .btn-dark i, .btn-beige i {
        font-size: 22px;
        vertical-align: middle;
        margin-right: 6px;
        margin-top: -3px; /* 폰트 기저선(Baseline) 차이를 강제로 무시하고 시각적 중앙선을 맞춤 */
    }

.help-text {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.input-row {
    margin-bottom: 20px;
}

.input-row label {
    display: block;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.input-row label span {
    font-weight: 400;
    color: var(--text-light);
    font-size: 14px;
}

.input-row input, .select-box {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 16px;
    outline: none;
}

.divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 40px 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 30px;
    cursor: pointer;
}

.checkbox-label input {
    margin-top: 3px;
}

.btn-submit {
    width: 100%;
    background: #222;
    color: #fff;
    padding: 16px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.btn-submit i {
    font-size: 22px;
}

.btn-submit:disabled {
    background: #999;
    cursor: not-allowed;
}

.image-preview img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
}

.hidden {
    display: none !important;
}

.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Admin Page Styles */
.admin-page { background: #f8f9fa; min-height: 100vh; padding-bottom: 50px; }
.admin-header { background: #fff; border-bottom: 1px solid var(--border); padding: 0 20px; height: 70px; display: flex; justify-content: space-between; align-items: center; }
.admin-header .logo h2 { color: #222; font-size: 20px; font-weight: 800; }
.admin-header a { font-size: 14px; color: var(--text-gray); font-weight: 600; }
.admin-container { max-width: 1200px; margin: 40px auto; padding: 0 20px; }
.admin-title-area { margin-bottom: 30px; }
.admin-title-area .eyebrow { color: #a67c52; font-weight: 700; font-size: 14px; margin-bottom: 5px; }
.admin-title-area h1 { font-size: 32px; font-weight: 800; margin-bottom: 10px; }
.admin-title-area p { color: var(--text-gray); }
.admin-session-bar { display: flex; justify-content: space-between; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 15px 20px; margin-bottom: 30px; }
.admin-session-bar button { background: #f0f0f0; padding: 8px 16px; border-radius: 6px; font-size: 14px; font-weight: 600; }
.admin-tabs { display: flex; gap: 10px; margin-bottom: 20px; }
.admin-tab { padding: 10px 20px; border-radius: 8px; font-size: 15px; font-weight: 700; background: #fff; border: 1px solid var(--border); color: var(--text-gray); cursor: pointer; }
.admin-tab.active { background: #f4ede3; border-color: #cda87c; color: #a67c52; }
.admin-content { background: #fff; border-radius: 12px; border: 1px solid var(--border); padding: 30px; }
.admin-content h2 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.admin-content p { color: var(--text-gray); font-size: 14px; margin-bottom: 20px; }
.admin-summary { display: flex; gap: 20px; background: #f8f8f8; padding: 15px 20px; border-radius: 8px; margin-bottom: 20px; }
.admin-summary span { font-size: 14px; color: var(--text-gray); }
.admin-summary strong { color: #222; font-size: 16px; margin-left: 5px; }
.admin-tools { display: flex; gap: 10px; margin-bottom: 20px; }
.admin-tools input { flex: 1; padding: 10px 15px; border: 1px solid var(--border); border-radius: 6px; font-size: 14px; outline: none; }
.admin-tools select, .admin-tools button { padding: 10px 15px; border: 1px solid var(--border); border-radius: 6px; font-size: 14px; background: #fff; font-weight: 600; cursor: pointer; }
.admin-tools .btn-dark { background: #222; color: #fff; border-color: #222; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th, .admin-table td { padding: 12px 10px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.admin-table th { background: #f8f8f8; color: var(--text-gray); font-weight: 600; }
.admin-table td.id-col { color: var(--text-light); font-size: 11px; margin-top: 4px; word-break: break-all; }
.btn-sm { background: #f0f0f0; padding: 6px 10px; border-radius: 4px; font-size: 12px; font-weight: 600; display: inline-block; border: 1px solid var(--border); }
.btn-sm:hover { background: #e0e0e0; }

/* Footer */
.footer {
    background: #222;
    color: #999;
    padding: 60px 0;
    font-size: 13px;
}

.footer-logo {
    margin-bottom: 40px;
}

.footer-logo h2 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-links a {
    color: #fff;
    font-weight: 600;
}

.footer-info p {
    margin-bottom: 5px;
}

.copyright {
    margin-top: 20px;
}

.admin-link {
    display: block;
    text-align: right;
    margin-top: -20px;
}

@media (max-width: 800px) {
    .admin-link {
        margin-top: 30px;
        text-align: left;
    }
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    .footer-info p {
        word-break: keep-all;
    }
}

/* Image Modal */
.image-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.image-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.image-modal-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.image-modal-overlay.active .image-modal-content {
    transform: scale(1);
}

.image-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    z-index: 10000;
    padding: 10px;
}
```