@charset "UTF-8";

:root {
    --primary: #1a0a2e;
    --primary-light: #2d1b4e;
    --accent-gold: #c9a84c;
    --accent-gold-light: #e8d48b;
    --accent-purple: #6b3fa0;
    --accent-purple-light: #9b6fd0;
    --text-light: #f5f0e8;
    --text-muted: #b8a9c9;
    --text-dark: #1a1a2e;
    --bg-dark: #0d0618;
    --bg-card: rgba(26, 10, 46, 0.85);
    --bg-card-hover: rgba(45, 27, 78, 0.95);
    --border-gold: rgba(201, 168, 76, 0.3);
    --border-purple: rgba(107, 63, 160, 0.3);
    --gradient-main: linear-gradient(135deg, #1a0a2e 0%, #2d1b4e 50%, #1a0a2e 100%);
    --gradient-gold: linear-gradient(135deg, #c9a84c 0%, #e8d48b 50%, #c9a84c 100%);
    --gradient-card: linear-gradient(145deg, rgba(26,10,46,0.9) 0%, rgba(45,27,78,0.7) 100%);
    --shadow-gold: 0 0 20px rgba(201, 168, 76, 0.15);
    --shadow-purple: 0 0 30px rgba(107, 63, 160, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    max-width: 100vw;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== HEADER ========== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(13, 6, 24, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid var(--border-gold);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    max-width: 480px;
    margin: 0 auto;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-ko {
    font-size: 20px;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 4px;
}

.main-nav ul li a {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    padding: 6px 8px;
    border-radius: 6px;
    transition: var(--transition);
    white-space: nowrap;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: var(--accent-gold);
}

.gallery-dropdown {
    position: relative;
}

.gallery-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(13, 6, 24, 0.98);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 120px;
    z-index: 100;
    box-shadow: var(--shadow-gold);
}

.gallery-dropdown.active .gallery-dropdown-menu {
    display: block;
}

.gallery-dropdown-menu li a {
    display: block;
    padding: 8px 16px;
    font-size: 13px;
    color: var(--text-muted);
}

.gallery-dropdown-menu li a:hover {
    color: var(--accent-gold);
    background: rgba(201, 168, 76, 0.1);
}

/* ========== HERO SECTION ========== */
.hero-image-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-section picture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-image-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(13, 6, 24, 0.6) 0%,
        rgba(13, 6, 24, 0.3) 40%,
        rgba(13, 6, 24, 0.5) 70%,
        rgba(13, 6, 24, 0.9) 100%
    );
    z-index: 1;
}

.hero-text-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 30px;
}

.hero-badge {
    display: inline-block;
    background: rgba(201, 168, 76, 0.15);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 30px;
    margin-bottom: 24px;
    letter-spacing: 2px;
    animation: fadeInDown 1s ease 0.3s both;
}

.hero-title-main {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 6px;
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease 0.5s both;
}

.hero-title-sub {
    font-size: 16px;
    font-weight: 300;
    color: var(--accent-gold-light);
    letter-spacing: 4px;
    margin-bottom: 12px;
    animation: fadeInUp 1s ease 0.7s both;
}

.hero-divider {
    width: 1px;
    height: 50px;
    background: var(--accent-gold);
    margin: 20px auto;
    animation: fadeIn 1s ease 0.9s both;
}

.hero-subtitle {
    font-size: 15px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    animation: fadeInUp 1s ease 1.1s both;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite 2s;
}

.hero-scroll-indicator span {
    display: block;
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent-gold), transparent);
    margin: 0 auto 8px;
}

.hero-scroll-indicator small {
    font-size: 10px;
    color: var(--accent-gold);
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* ========== SERVICE INTRO SECTION ========== */
.service-intro-section {
    padding: 60px 0;
    background: var(--bg-dark);
    position: relative;
}

.service-intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent-gold), transparent);
}

.service-intro-quote {
    text-align: center;
    padding: 40px 20px 30px;
    max-width: 480px;
    margin: 0 auto;
}

.service-quote-ko {
    font-size: 20px;
    font-weight: 300;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.service-quote-en {
    font-size: 12px;
    font-weight: 300;
    color: var(--accent-gold);
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* ========== SERVICE CARDS ========== */
.service-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 0 20px;
    max-width: 480px;
    margin: 0 auto;
}

.service-card {
    position: relative;
    background: var(--gradient-card);
    border: 1px solid var(--border-gold);
    border-radius: 16px;
    padding: 28px 16px;
    text-align: center;
    transition: var(--transition);
    overflow: hidden;
    text-decoration: none;
    display: block;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-gold);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover::before,
.service-card:active::before {
    opacity: 1;
}

.service-card:hover,
.service-card:active {
    transform: translateY(-3px);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-gold);
}

.service-card-icon {
    font-size: 36px;
    margin-bottom: 12px;
    display: block;
}

.service-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.service-card-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ========== BRAND INTRO SECTION ========== */
.brand-intro-section {
    display: block;
    position: relative;
    text-align: center;
    padding: 80px 20px;
    max-width: 100%;
    width: 100%;
    margin: 0;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    cursor: pointer;
    overflow: hidden;
    min-height: 400px;
    z-index: 0;
}

.brand-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    transition: transform 0.5s ease;
}

.brand-background-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(13, 6, 24, 0.7) 0%,
        rgba(13, 6, 24, 0.5) 50%,
        rgba(13, 6, 24, 0.8) 100%
    );
    z-index: 1;
}

.brand-content {
    position: relative;
    z-index: 2;
}

.brand-intro-section:hover .brand-background-image {
    transform: scale(1.05);
}

.brand-title-ko {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
    letter-spacing: 3px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.brand-title-en {
    font-size: 12px;
    font-weight: 300;
    color: var(--accent-gold);
    margin: 0 0 20px 0;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.brand-divider {
    width: 1px;
    height: 50px;
    background: var(--accent-gold);
    margin: 0 auto 24px;
}

.brand-description {
    text-align: center;
}

.brand-description p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin: 4px 0;
    font-weight: 300;
}

/* ========== HIGHLIGHT BANNER ========== */
.highlight-banner {
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.15) 0%, rgba(107, 63, 160, 0.15) 100%);
    border-top: 1px solid var(--border-gold);
    border-bottom: 1px solid var(--border-gold);
    padding: 40px 20px;
    text-align: center;
}

.highlight-number {
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.highlight-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.highlight-sub {
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* ========== STATS SECTION ========== */
.statistics-section {
    padding: 50px 20px;
    background: var(--primary);
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 480px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 20px 8px;
}

.stat-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--accent-gold);
    margin-bottom: 6px;
}

.stat-value .count {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

.stat-value .unit {
    font-size: 14px;
    font-weight: 400;
    color: var(--accent-gold-light);
    margin-left: 2px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* ========== MAP SECTION ========== */
.map-section {
    padding: 50px 0;
    background: var(--bg-dark);
}

.map-info-top {
    padding: 0 20px 30px;
    max-width: 480px;
    margin: 0 auto;
}

.map-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.map-title .map-title-en {
    font-size: 11px;
    font-weight: 300;
    color: var(--text-muted);
    letter-spacing: 3px;
    margin-left: 8px;
}

.map-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.map-phone {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.map-container {
    max-width: 480px;
    margin: 0 auto;
}

.map-wrapper {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-purple);
    border: 1px solid var(--border-purple);
}

.map-iframe {
    width: 100%;
    height: 350px;
    border: 0;
    display: block;
    filter: grayscale(30%) brightness(0.8);
}

/* ========== PAGE CONTENT (SUB PAGES) ========== */
.page-content {
    padding: 30px 0 60px;
    background: var(--bg-dark);
}

.content-section {
    max-width: 480px;
    margin: 0 auto;
}

/* ========== ABOUT PAGE ========== */
.about-intro-minimal {
    text-align: center;
    padding: 40px 20px;
    max-width: 480px;
    margin: 0 auto;
}

.about-title-ko {
    font-size: 32px;
    font-weight: 300;
    color: var(--accent-gold) !important;
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    letter-spacing: 4px;
    border-bottom: none !important;
}

.about-title-ko::after,
.about-title-ko::before {
    display: none !important;
}

.about-title-en {
    font-size: 10px !important;
    font-weight: 300 !important;
    color: var(--text-muted) !important;
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    letter-spacing: 4px !important;
    text-transform: uppercase !important;
    border-bottom: none !important;
}

.about-title-en::after,
.about-title-en::before {
    display: none !important;
}

.about-divider {
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, var(--accent-gold), transparent);
    margin: 0 auto;
}

.about-content-section {
    max-width: 480px;
    margin: 40px auto;
    padding: 0 20px;
}

.about-content-text {
    text-align: center;
    margin-bottom: 40px;
}

.about-main-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-muted);
    font-weight: 300;
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 30px;
}

.about-value-item {
    text-align: center;
    padding: 24px 12px;
    background: var(--gradient-card);
    border-radius: 12px;
    border: 1px solid var(--border-gold);
    transition: var(--transition);
}

.about-value-item:hover {
    transform: translateY(-3px);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-gold);
}

.value-item-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.about-value-item h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--accent-gold);
    margin: 0 0 8px 0;
}

.about-value-item p {
    font-size: 12px;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

/* ========== SERVICE CARDS (INFO PAGE) ========== */
.service-card-wrapper {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 480px;
}

.service-card-box {
    background: var(--gradient-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-gold);
    width: 100%;
}

.service-card-header {
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--primary-light) 100%);
    color: var(--accent-gold);
    padding: 18px 20px;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 2px;
    border-bottom: 1px solid var(--border-gold);
}

.service-card-body {
    padding: 20px;
}

.service-card-body .service-item {
    color: var(--text-muted);
    font-size: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
    text-align: left;
    transition: var(--transition);
}

.service-card-body .service-item:last-child {
    border-bottom: none;
}

.service-card-body .service-item:hover {
    color: var(--accent-gold);
    padding-left: 8px;
}

/* ========== GALLERY ========== */
.gallery-content-wrapper {
    padding: 20px;
}

.gallery-header {
    margin-bottom: 24px;
}

.gallery-page-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.gallery-page-subtitle {
    font-size: 13px;
    color: var(--text-muted);
}

.image-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.gallery-card {
    display: flex;
    flex-direction: column;
}

.gallery-image-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--border-purple);
    transition: var(--transition);
}

.gallery-image-item:hover {
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-gold);
}

.gallery-image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-image:hover {
    transform: scale(1.05);
}

.gallery-image-title {
    padding: 8px 4px;
    text-align: center;
    font-size: 13px;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.5;
}

.gallery-upload-section {
    margin: 16px 0;
}

.gallery-upload-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #b8942f 100%);
    color: var(--primary);
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

/* ========== BOARD ========== */
.board-container {
    width: 100%;
}

.board-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-gold);
}

.btn-write {
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #b8942f 100%);
    color: var(--primary);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    transition: var(--transition);
}

.btn-write:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.board-list {
    background: transparent;
}

.board-list-item-wrapper {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
    transition: var(--transition);
}

.board-list-item-wrapper:hover {
    background: rgba(201, 168, 76, 0.05);
}

.board-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.board-list-item-content {
    flex: 1;
    cursor: pointer;
}

.board-item-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 8px;
    line-height: 1.4;
}

.board-item-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-muted);
    font-size: 12px;
}

.board-item-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.board-item-meta-icon {
    width: 14px;
    height: 14px;
    opacity: 0.5;
    color: var(--text-muted);
}

.board-empty,
.board-loading {
    padding: 60px 20px;
    text-align: center;
    color: var(--text-muted);
}

/* ========== LOCATION PAGE ========== */
.map-link-buttons {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
}

.location-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.location-description {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.location-address {
    font-size: 15px !important;
    color: var(--text-light) !important;
    margin: 16px 0 !important;
    font-weight: 500 !important;
}

.map-button-group {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.map-link-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.naver-map-btn {
    background: #03C75A;
    color: #fff;
}

.naver-map-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(3, 199, 90, 0.3);
}

.kakao-map-btn {
    background: #FEE500;
    color: #000;
}

.kakao-map-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(254, 229, 0, 0.3);
}

.google-map-section {
    margin-top: 30px;
}

.map-section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 16px;
    text-align: center;
    letter-spacing: 2px;
}

/* ========== MOBILE CONTACT BUTTONS ========== */
.mobile-contact-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    z-index: 999;
    background: rgba(13, 6, 24, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-gold);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

.mobile-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    background: transparent;
}

.mobile-btn-call {
    color: var(--accent-gold);
    border-right: 1px solid var(--border-gold);
}

.mobile-btn-sms {
    color: var(--accent-purple-light);
    border-right: 1px solid var(--border-gold);
}

.mobile-btn-share {
    color: var(--text-muted);
}

.mobile-btn:hover,
.mobile-btn:active {
    background: rgba(201, 168, 76, 0.1);
}

.mobile-btn svg {
    flex-shrink: 0;
}

/* ========== FOOTER ========== */
footer {
    background: var(--primary);
    padding: 40px 0 100px;
    border-top: 1px solid var(--border-gold);
}

.footer-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-info h3 {
    font-size: 18px;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.footer-info p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.8;
}

.footer-copyright {
    margin-top: 20px !important;
    font-size: 11px !important;
    color: rgba(184, 169, 201, 0.5) !important;
}

.footer-admin-section {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.admin-link-btn {
    padding: 6px 12px;
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid var(--border-gold);
    color: var(--accent-gold);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    transition: var(--transition);
}

.admin-link-btn:hover {
    background: rgba(201, 168, 76, 0.2);
}

.footer-login-btn,
.footer-logout-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.footer-login-btn {
    background: var(--accent-gold);
    color: var(--primary);
}

.footer-login-btn:hover {
    background: var(--accent-gold-light);
}

.footer-user-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-user-info span {
    color: var(--text-muted);
    font-size: 12px;
}

.footer-logout-btn {
    background: #e74c3c;
    color: #fff;
}

/* ========== LOGIN MODAL ========== */
.login-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-modal-content {
    background: var(--primary);
    padding: 30px;
    border-radius: 16px;
    width: 90%;
    max-width: 380px;
    position: relative;
    border: 1px solid var(--border-gold);
    box-shadow: var(--shadow-gold);
}

.login-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-muted);
}

.login-modal-content h2 {
    margin-bottom: 20px;
    color: var(--accent-gold);
    font-size: 20px;
    letter-spacing: 2px;
}

.login-modal-content .form-group {
    margin-bottom: 16px;
}

.login-modal-content label {
    display: block;
    margin-bottom: 6px;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 13px;
}

.login-modal-content input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-purple);
    border-radius: 8px;
    font-size: 14px;
    background: rgba(13, 6, 24, 0.8);
    color: var(--text-light);
    transition: var(--transition);
}

.login-modal-content input:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.2);
}

.login-submit-btn {
    width: 100%;
    padding: 12px;
    background: var(--gradient-gold);
    color: var(--primary);
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 8px;
    transition: var(--transition);
    letter-spacing: 1px;
}

.login-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.error-message {
    color: #e74c3c;
    font-size: 13px;
    margin-top: 8px;
}

/* ========== MODAL (BOARD) ========== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    overflow-y: auto;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: var(--primary);
    border-radius: 16px;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 24px;
    position: relative;
    border: 1px solid var(--border-gold);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-muted);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========== FORM STYLES ========== */
.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--text-muted);
    font-size: 13px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-purple);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    background: rgba(13, 6, 24, 0.8);
    color: var(--text-light);
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.2);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 16px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-secondary {
    background: rgba(184, 169, 201, 0.2);
    color: var(--text-muted);
    border: 1px solid var(--border-purple);
}

.btn-secondary:hover {
    background: rgba(184, 169, 201, 0.3);
}

.btn-delete {
    padding: 10px 20px;
    background-color: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

/* ========== POST DETAIL ========== */
.post-detail-header {
    border-bottom: 1px solid var(--border-gold);
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.post-detail-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 12px;
}

.post-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    color: var(--text-muted);
    font-size: 12px;
}

.post-detail-content {
    padding: 16px 0;
    line-height: 1.8;
    color: var(--text-muted);
    white-space: pre-wrap;
}

.post-detail-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-gold);
}

.delete-password-input {
    padding: 8px 12px;
    border: 1px solid var(--border-purple);
    border-radius: 6px;
    width: 160px;
    background: rgba(13, 6, 24, 0.8);
    color: var(--text-light);
    font-size: 13px;
}

.post-detail-images {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.post-detail-image {
    max-width: 100%;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid var(--border-purple);
}

/* ========== IMAGE UPLOAD ========== */
.image-upload-area {
    margin-bottom: 16px;
}

.image-preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.image-preview-item {
    position: relative;
    width: 80px;
    height: 80px;
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    overflow: hidden;
}

.image-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-preview-item .remove-image {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(231, 76, 60, 0.9);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.image-upload-btn {
    padding: 10px 16px;
    background: rgba(201, 168, 76, 0.1);
    border: 1px dashed var(--accent-gold);
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    color: var(--accent-gold);
    transition: var(--transition);
    font-size: 13px;
}

.image-upload-btn:hover {
    background: rgba(201, 168, 76, 0.2);
}

/* ========== GALLERY UPLOAD MODAL ========== */
.gallery-upload-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 100000;
    overflow-y: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.gallery-upload-modal-content {
    background: var(--primary);
    border-radius: 16px;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 24px;
    position: relative;
    border: 1px solid var(--border-gold);
}

.gallery-upload-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-muted);
}

.upload-area {
    border: 2px dashed var(--accent-gold);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    background: rgba(201, 168, 76, 0.05);
    cursor: pointer;
    transition: var(--transition);
}

.upload-area:hover {
    background: rgba(201, 168, 76, 0.1);
}

.upload-icon {
    font-size: 40px;
    margin-bottom: 8px;
}

.upload-text {
    font-size: 14px;
    color: var(--accent-gold);
    margin-bottom: 6px;
}

.upload-hint {
    font-size: 12px;
    color: var(--text-muted);
}

.selected-files-preview {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.selected-file-item {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--accent-gold);
}

.selected-file-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.selected-file-item .remove-file {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(231, 76, 60, 0.9);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========== IMAGE MODAL (LIGHTBOX) ========== */
.image-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    cursor: pointer;
}

.image-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image {
    max-width: 95%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 4px;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-purple);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

/* ========== CHECKBOX STYLE ========== */
.board-list-item-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--accent-gold);
}
