:root {
    --primary-color: #ff6b9d;
    --secondary-color: #ff477e;
    --accent-color: #c9184a;
    --text-dark: #333;
    --text-light: #666;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --border-color: #ffe0ec;
    --pink-light: #fff0f5;
    --pink-pastel: #a8e8dc;
    --yellow-kakao: #ffe600;
    --pink-medium: #ff9bb3;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #f0fdf9;
    background-image:
            radial-gradient(circle at 20% 80%, var(--pink-light) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, var(--pink-pastel) 0%, transparent 50%),
            radial-gradient(circle at 40% 40%, rgba(232, 249, 245, 0.3) 0%, transparent 50%);
}

/* Cute Header Styles */
.header {
    background: linear-gradient(to right, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(255, 107, 157, 0.3);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: white;
    box-shadow: 0 2px 20px rgba(255, 107, 157, 0.2);
    border-bottom: 2px solid var(--pink-light);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: white !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
   font-family:'Malgun Gothic',"맑은 고딕",AppleGothic,Dotum,"돋움", sans-serif;
}

.navbar-brand i {
    background: white;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.header.scrolled .navbar-brand {
    color: var(--accent-color) !important;
}

.header.scrolled .navbar-brand i {
    background: var(--primary-color);
    color: white;
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    margin: 0 15px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 15px;
    border-radius: 25px;
}

.header.scrolled .navbar-nav .nav-link {
    color: var(--accent-color) !important;
}

.navbar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white !important;
}

.header.scrolled .navbar-nav .nav-link:hover {
    background: var(--pink-light);
    color: var(--accent-color) !important;
}

.navbar-nav .nav-link.active {
    background: rgba(255, 255, 255, 0.3);
}

.header.scrolled .navbar-nav .nav-link.active {
    background: var(--pink-light);
    color: var(--primary-color) !important;
}

/* Page Content */
.page-content {
    margin-top: 76px;
    min-height: calc(100vh - 76px);
    padding: 40px 0;
}

/* Cute Breadcrumb */
.breadcrumb {
    background: white;
    padding: 20px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.1);
    margin-bottom: 30px;
    display: inline-flex;
    border: 2px solid var(--pink-light);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "❤️";
    color: var(--primary-color);
    font-size: 0.8rem;
    margin: 0 10px;
}

.breadcrumb-item a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
}

.breadcrumb-item.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Cute Board Header */
.board-header {
    background: linear-gradient(135deg, #fff 0%, var(--pink-light) 100%);
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.15);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 3px solid var(--pink-light);
}

.board-header::before {
    content: '🚗';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 100px;
    opacity: 0.1;
    transform: rotate(-15deg);
}

.board-header::after {
    content: '✨';
    position: absolute;
    bottom: 10px;
    left: 20px;
    font-size: 40px;
    opacity: 0.3;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(180deg); }
}

.board-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(255, 107, 157, 0.2);
   font-family:'Malgun Gothic',"맑은 고딕",AppleGothic,Dotum,"돋움", sans-serif;
}

.board-header h1 i {
    color: var(--primary-color);
    margin-right: 10px;
}

.board-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Cute Search Section */
.search-section {
    background: white;
    padding: 25px;
    border-radius: 25px;
    box-shadow: 0 5px 20px rgba(255, 107, 157, 0.1);
    margin-bottom: 30px;
    border: 2px solid var(--pink-light);
}

.search-form {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.search-select {
    border: 2px solid var(--pink-light);
    border-radius: 25px;
    padding: 10px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.search-input {
    border: 2px solid var(--pink-light);
    border-radius: 25px;
    padding: 10px 25px;
    font-size: 1rem;
    width: 300px;
    transition: all 0.3s ease;
    background: white;
}

.search-select:focus,
.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1);
}

.btn-search {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 25px;
    padding: 10px 35px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

.btn-search:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.4);
}

.btn-search i {
    margin-right: 5px;
}

/* Cute Board List */
.board-list {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.1);
    border: 2px solid var(--pink-light);
}

.board-table {
    width: 100%;
    margin-bottom: 0;
}

.board-table thead {
    background: linear-gradient(135deg, var(--pink-light), var(--pink-medium));
    border-bottom: 2px solid var(--border-color);
}

.board-table th {
    padding: 20px;
    font-weight: 600;
    color: var(--accent-color);
    text-align: center;
    border: none;
    font-size: 1.05rem;
}

.board-table td {
    padding: 25px 20px;
    vertical-align: middle;
    border-bottom: 1px solid var(--pink-light);
}

.board-table tbody tr {
    transition: all 0.3s ease;
}

.board-table tbody tr:hover {
    background-color: #fff5f9;
    transform: scale(1.01);
}

.board-table tbody tr:last-child td {
    border-bottom: none;
}

/* Cute Badge Styles */
.badge-notice {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 6px 18px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 3px 10px rgba(255, 107, 157, 0.3);
}

.badge-notice i {
    font-size: 0.9rem;
}

.badge-new {
    background: #ff8fab;
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.badge-current {
    background: var(--accent-color);
    color: white;
    padding: 6px 18px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.badge-current i {
    font-size: 0.9rem;
}

/* Post Title */
.post-title {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.post-title:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.post-meta {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 5px;
}

/* Views Count */
.views-count {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: var(--text-light);
    background: var(--pink-light);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.views-count i {
    color: var(--primary-color);
}

/* Cute Pagination */
.pagination {
    justify-content: center;
    margin-top: 40px;
    gap: 8px;
}

.page-link {
    color: var(--text-dark);
    border: 2px solid var(--pink-light);
    margin: 0 3px;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-weight: 600;
    background: white;
}

.page-link:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

.page-link[aria-label="Previous"],
.page-link[aria-label="Next"] {
    border-radius: 25px;
    width: auto;
    padding: 0 20px;
}

/* Cute Write Button */
.btn-write {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 30px;
    padding: 15px 40px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    box-shadow: 0 5px 20px rgba(255, 107, 157, 0.3);
}

.btn-write:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.4);
}

.btn-write i {
    background: rgba(255, 255, 255, 0.3);
    padding: 8px;
    border-radius: 50%;
}

/* Post View */
.post-view {
    background: white;
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.1);
    border: 2px solid var(--pink-light);
}

.post-header {
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.post-header h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.post-info {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--text-light);
    font-size: 0.95rem;
    flex-wrap: wrap;
}

.post-info span {
    display: flex;
    align-items: center;
    gap: 5px;
    background: var(--pink-light);
    padding: 5px 15px;
    border-radius: 20px;
}

.post-info i {
    color: var(--primary-color);
}

.post-content {
    line-height: 1.8;
    color: var(--text-dark);
    min-height: 300px;
}

.post-content p {
    margin-bottom: 15px;
}

/* Cute Action Buttons */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--pink-light);
    flex-wrap: wrap;
}

.btn-action {
    padding: 12px 35px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-action.btn-list {
    background: var(--light-gray);
    color: var(--text-dark);
    border-color: var(--border-color);
}

.btn-action.btn-list:hover {
    background: var(--text-dark);
    color: white;
    border-color: var(--text-dark);
}

.btn-action.btn-list i {
    color: var(--primary-color);
}

.btn-action.btn-list:hover i {
    color: white;
}

.btn-action.btn-edit {
    background: #28a745;
    color: white;
}

.btn-action.btn-edit:hover {
    background: #218838;
}

.btn-action.btn-delete {
    background: #dc3545;
    color: white;
}

.btn-action.btn-delete:hover {
    background: #c82333;
}

/*!* Cute CTA Buttons *!*/
/*.cta-buttons {*/
/*    position: fixed;*/
/*    bottom: 30px;*/
/*    right: 30px;*/
/*    z-index: 999;*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    gap: 15px;*/
/*}*/

/*.cta-btn {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    gap: 8px;*/
/*    width: 150px;*/
/*    padding: 18px;*/
/*    border-radius: 30px;*/
/*    text-align: center;*/
/*    font-weight: 700;*/
/*    text-decoration: none;*/
/*    transition: all 0.3s ease;*/
/*    box-shadow: 0 5px 20px rgba(0,0,0,0.2);*/
/*    position: relative;*/
/*    overflow: hidden;*/
/*}*/

/*.cta-btn::before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: 50%;*/
/*    left: 50%;*/
/*    width: 0;*/
/*    height: 0;*/
/*    border-radius: 50%;*/
/*    background: rgba(255, 255, 255, 0.3);*/
/*    transform: translate(-50%, -50%);*/
/*    transition: width 0.5s, height 0.5s;*/
/*}*/

/*.cta-btn:hover::before {*/
/*    width: 200px;*/
/*    height: 200px;*/
/*}*/

/*.cta-btn.kakao {*/
/*    background: var(--yellow-kakao);*/
/*    color: #191919;*/
/*}*/

/*.cta-btn.kakao i {*/
/*    font-size: 1.2rem;*/
/*}*/

/*.cta-btn.tel {*/
/*    background: linear-gradient(135deg, #ff8fab, #ff8a65);*/
/*    color: white;*/
/*}*/

/*.cta-btn.tel i {*/
/*    font-size: 1.2rem;*/
/*    animation: ring 1s ease-in-out infinite;*/
/*}*/

/*@keyframes ring {*/
/*    0%, 100% { transform: rotate(0deg); }*/
/*    10%, 30% { transform: rotate(-10deg); }*/
/*    20%, 40% { transform: rotate(10deg); }*/
/*}*/

/*.cta-btn:hover {*/
/*    transform: scale(1.1) translateY(-3px);*/
/*    box-shadow: 0 8px 25px rgba(0,0,0,0.3);*/
/*}*/

/*.cta-btn span {*/
/*    position: relative;*/
/*    z-index: 1;*/
/*}*/

/* Cute Footer */
.footer {
    background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
    color: #b5b5b5;
    padding: 50px 0 30px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color), var(--primary-color));
    background-size: 200% 100%;
    animation: gradient 3s ease infinite;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.footer-content {
    text-align: center;
}

.footer-content h3 {
    color: white;
    margin-bottom: 20px;
   font-family:'Malgun Gothic',"맑은 고딕",AppleGothic,Dotum,"돋움", sans-serif;
    font-size: 2rem;
}

.footer-content p {
    margin: 10px 0;
}

.footer-content .tel {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 20px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-content .tel i {
    color: var(--yellow-kakao);
    margin-right: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .board-header h1 {
        font-size: 1.8rem;
    }

    .search-form {
        flex-direction: column;
        gap: 15px;
    }

    .search-input {
        width: 100%;
    }

    .board-table {
        font-size: 0.9rem;
    }

    .board-table th,
    .board-table td {
        padding: 15px 10px;
    }

    .hide-mobile {
        display: none;
    }

    /*.cta-buttons {*/
    /*    bottom: 20px;*/
    /*    right: 20px;*/
    /*}*/

    /*.cta-btn {*/
    /*    width: 130px;*/
    /*    padding: 15px;*/
    /*    font-size: 0.85rem;*/
    /*}*/

    .post-view {
        padding: 20px;
    }

    .action-buttons {
        gap: 10px;
    }

    .btn-action {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

/* Emoji decoration */
.emoji-float {
    position: fixed;
    font-size: 2rem;
    opacity: 0.1;
    animation: float 10s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}