:root {
    /* Color Palette - Sophisticated Dark */
    --bg-deep: #0a0a0b;
    --bg-card: #151517;
    --bg-hover: #1c1c1f;
    --text-main: #e0e0e0;
    --text-dim: #a0a0a0;
    --accent-gold: #d4af37;
    --accent-gold-hover: #f1c40f;
    --border-color: #2a2a2d;
    --header-height: 80px;
    --transition-fast: 0.3s ease;
}

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

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: 'Inter', 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

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

.section-padding {
    padding: 100px 0;
}

.text-gold {
    color: var(--accent-gold);
}

/* Header & Nav */
header {
    height: var(--header-height);
    background: rgba(10, 10, 11, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.nav-menu {
    display: flex;
    gap: 25px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dim);
}

.nav-link:hover {
    color: var(--accent-gold);
}

/* Hero Slider */
.hero {
    height: 50vh;
    /* Reduced height */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 11, 0.6);
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-dim);
    margin-bottom: 25px;
}

/* Quick Menu Section */
.quick-menu-section {
    padding: 60px 0;
    background: var(--bg-deep);
}

.quick-menu-container {
    display: flex;
    gap: 30px;
}

.quick-buttons {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.q-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition-fast);
}

.q-btn:hover {
    border-color: var(--accent-gold);
    background: var(--bg-hover);
    transform: translateY(-5px);
}

.q-btn i {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.q-btn h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.q-btn span {
    font-size: 0.85rem;
    color: var(--text-dim);
}

.yellow-banner {
    flex: 1;
    background: #FFD200;
    border-radius: 15px;
    padding: 40px;
    color: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.banner-text h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.banner-text p {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.banner-img {
    position: absolute;
    right: 20px;
    bottom: -20px;
    width: 200px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-dim);
    font-size: 1.1rem;
}

/* Info Cards */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
    background: var(--bg-hover);
}

.card i {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.card p {
    color: var(--text-dim);
}

/* Process Steps */
.process-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.process-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent-gold);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

/* Price Table */
.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.price-card {
    background: var(--bg-card);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    text-align: center;
}

.price-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    background: #1a1a1c;
    padding: 15px;
    transition: transform 0.5s ease;
}

.price-info {
    padding: 20px;
}

.price-val {
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 1.2rem;
    margin-top: 10px;
}

.btn-gold {
    background: linear-gradient(135deg, var(--accent-gold), #b8860b);
    color: #000;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: buttonPulse 2s infinite;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--accent-gold-hover), var(--accent-gold));
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

@keyframes buttonPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(212, 175, 55, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

/* Table Styles - Enhanced */
.table-container {
    overflow-x: auto;
    background: var(--bg-card);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    padding: 20px;
}

.status-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
}

.status-table th {
    padding: 15px;
    text-align: center;
    color: var(--accent-gold);
    font-weight: 600;
    border-bottom: 2px solid var(--border-color);
}

.status-table td {
    padding: 15px;
    text-align: center;
    background: var(--bg-deep);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.status-table tr td:first-child {
    border-left: 1px solid var(--border-color);
    border-radius: 8px 0 0 8px;
}

.status-table tr td:last-child {
    border-right: 1px solid var(--border-color);
    border-radius: 0 8px 8px 0;
}

.status-tag {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.tag-done {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
}

.tag-ing {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
}

.tag-wait {
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
}

/* Floating Sidebar */
.side-banner {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 120px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    z-index: 999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.side-item {
    padding: 15px 10px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition-fast);
    color: var(--text-main);
}

.side-item:hover {
    background: var(--bg-hover);
    color: var(--accent-gold);
}

.side-item i {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--accent-gold);
}

.side-item span {
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.2;
}

.side-item small {
    font-size: 0.65rem;
    color: var(--text-dim);
    margin-top: 4px;
}

.side-top {
    background: #003366;
    color: #fff;
    border-radius: 0 0 15px 15px;
    padding: 10px;
    cursor: pointer;
    font-weight: 700;
    text-align: center;
}

/* Responsive steps */
@media (max-width: 992px) {
    .quick-menu-container {
        flex-direction: column;
    }

    .yellow-banner {
        height: 250px;
    }

    .side-banner {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .process-container {
        flex-direction: column;
        align-items: center;
    }

    .nav-menu {
        display: none;
    }
}

/* Notice Popup Styles - Centered & Light */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.modal-content {
    background: #ffffff;
    color: #333;
    width: 90%;
    max-width: 500px;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transform: translateY(-20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    text-align: left;
}

.modal-overlay.show .modal-content {
    transform: translateY(0);
}

.modal-header {
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 20px;
    padding-bottom: 15px;
}

.modal-header h3 {
    font-size: 1.4rem;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    margin: 0;
}

.modal-header i {
    color: #ffcc00;
}

.notice-list {
    list-style: none;
    margin-bottom: 25px;
    padding: 0;
}

.notice-list li {
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 0.95rem;
    color: #444;
    display: flex;
    gap: 10px;
}

.notice-list li span {
    color: #003366;
    font-weight: 700;
    white-space: nowrap;
}

.modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #666;
    cursor: pointer;
    user-select: none;
}

.checkbox-group input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #003366;
}

.btn-close {
    background: #1a1a1a;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-close:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 576px) {
    .modal-content {
        padding: 25px;
    }

    .modal-header h3 {
        font-size: 1.2rem;
    }

    .notice-list li {
        font-size: 0.85rem;
    }
}

/* =========================================
   Notice Page Specific Styles (notice.php)
   ========================================= */
.sub-page {
    background-color: var(--bg-deep);
}

.notice-main {
    padding-top: var(--header-height);
    background: var(--bg-deep);
}

.why-header {
    position: relative;
    text-align: center;
    margin-bottom: 80px;
    padding-top: 60px;
}

.why-bg-text {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    z-index: 0;
    font-family: 'Inter', sans-serif;
    letter-spacing: -5px;
    pointer-events: none;
}

.why-header h2 {
    position: relative;
    z-index: 1;
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
}

.why-banner-img {
    width: 100%;
    height: 500px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    margin-bottom: 80px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
    border: 1px solid var(--border-color);
}

.why-banner-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5) contrast(1.1);
}

.floating-phone-ui {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    width: 240px;
    height: 420px;
    background: rgba(21, 21, 23, 0.8);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 40px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.floating-phone-ui i {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 30px;
}

.bar {
    height: 35px;
    background: linear-gradient(90deg, var(--accent-gold), transparent);
    margin-bottom: 15px;
    border-radius: 8px;
    opacity: 0.6;
}

.bar-1 {
    width: 70%;
}

.bar-2 {
    width: 90%;
}

.bar-3 {
    width: 50%;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    margin-bottom: 80px;
}

.why-card {
    background: var(--bg-card);
    padding: 40px 20px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.why-card:hover {
    transform: translateY(-15px);
    border-color: var(--accent-gold);
    background: var(--bg-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--accent-gold);
    font-size: 1.8rem;
    transition: var(--transition-fast);
}

.why-card:hover .card-icon {
    background: var(--accent-gold);
    color: #000;
}

.why-card h4 {
    font-size: 1rem;
    color: var(--text-dim);
    margin-bottom: 8px;
    font-weight: 500;
}

.why-card p {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.why-bottom-quote {
    text-align: center;
    padding: 60px;
    background: linear-gradient(145deg, var(--bg-card), #1a1a1c);
    border-radius: 24px;
    border-left: 6px solid var(--accent-gold);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.why-bottom-quote p {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.highlight-blue {
    color: #58a6ff;
}

@media (max-width: 1200px) {
    .why-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-banner-img {
        height: 300px;
    }

    .floating-phone-ui {
        display: none;
    }
}

/* =========================================
   Footer Styles - Refined
   ========================================= */
footer {
    background-color: #121214;
    /* Deep Gray */
    padding: 40px 0;
    /* Reduced padding */
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-logo {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent-gold);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.footer-info {
    font-size: 0.8rem;
    /* Smaller font size */
    color: var(--text-dim);
    line-height: 1.8;
}

@media (max-width: 768px) {
    footer {
        padding: 30px 20px;
    }

    .footer-info {
        font-size: 0.75rem;
    }
}

/* Review Styles */
.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.review-card {
    background: var(--bg-deep);
    /* Use deep background for cards on card bg section */
    border: 1px solid var(--border-color);
    padding: 25px;
    border-radius: 15px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
}


.review-card .stars {
    color: var(--accent-gold);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.review-card h4 {
    color: var(--accent-gold);
    margin-bottom: 12px;
    font-size: 1.1rem;
    line-height: 1.4;
    word-break: keep-all;
}

.review-card p {
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.6;
    flex-grow: 1;
}

.review-card .date {
    margin-top: 20px;
    font-size: 0.8rem;
    color: var(--text-dim);
    text-align: right;
    border-top: 1px solid var(--border-color);
    padding-top: 10px;
}

@media (max-width: 992px) {
    .review-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .review-grid {
        grid-template-columns: 1fr;
    }
}