/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    background: linear-gradient(135deg, #e6f3ff 0%, #cce7ff 50%, #b3daff 100%);
    min-height: 100vh;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Page Transitions */
.page {
    display: none;
    width: 100%;
    animation: fadeIn 0.5s ease-in;
}

.page.active {
    display: block;
}

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

/* Start Page Styles */
.hero {
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 10px;
}

.hero h1 i {
    margin-right: 15px;
    color: #3b82f6;
}

.hero h2 {
    font-size: 1.5rem;
    font-weight: 500;
    color: #2d3748;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 40px;
}

.test-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 15px;
    border: 2px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.2);
}

.info-item i {
    font-size: 1.5rem;
    margin-right: 10px;
    color: #3b82f6;
}

.info-item span {
    font-weight: 500;
    color: #2d3748;
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-secondary:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
}

/* Survey Page Styles */
.progress-container {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 15px;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

.progress-text {
    font-weight: 600;
    color: #2563eb;
    min-width: 60px;
}

.question-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.question-category {
    display: inline-block;
    background: rgba(134, 239, 172, 0.3);
    color: #16a34a;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.question-text {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 40px;
    line-height: 1.5;
}

.answers {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.answer-btn {
    display: flex;
    align-items: center;
    padding: 20px 25px;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    color: #2d3748;
}

.answer-btn:hover {
    background: rgba(134, 239, 172, 0.2);
    border-color: #3b82f6;
    transform: translateX(10px);
}

.answer-btn.selected {
    background: rgba(134, 239, 172, 0.5);
    border-color: #3b82f6;
    border-width: 3px;
    transform: translateX(10px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    position: relative;
}

.answer-btn.selected::before {
    content: '✓';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #2563eb;
    font-weight: bold;
    font-size: 1.2rem;
}

.answer-btn.selected .score {
    background: #2563eb;
    transform: scale(1.1);
}

.answer-btn .score {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: #3b82f6;
    color: white;
    border-radius: 50%;
    font-weight: 600;
    margin-right: 20px;
}

.answer-btn .text {
    flex: 1;
    text-align: left;
    font-weight: 500;
}

/* Navigation Buttons */
.navigation-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.navigation-buttons .btn-primary,
.navigation-buttons .btn-secondary {
    min-width: 150px;
    flex: 0 1 auto;
    display: inline-flex !important;
    transition: opacity 0.2s ease-out, transform 0.2s ease-out, visibility 0.2s ease-out;
}

/* 초기 상태: 숨김 */
#nextBtn, #foodNextBtn, #prevBtn, #foodPrevBtn {
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
}

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

/* Result Page Styles */
.result-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    text-align: center;
}

.result-container h2 {
    font-size: 2rem;
    color: #2d3748;
    margin-bottom: 30px;
}

.result-type {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.result-title {
    font-size: 2rem;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 30px;
}

.result-description {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 40px;
    text-align: left;
}

.result-details h3,
.result-characteristics h3,
.result-recommendations h3 {
    font-size: 1.3rem;
    color: #2d3748;
    margin-bottom: 20px;
    text-align: left;
}

.result-breakdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
}

.breakdown-item {
    background: rgba(102, 126, 234, 0.1);
    padding: 15px;
    border-radius: 15px;
    border: 2px solid rgba(102, 126, 234, 0.2);
    word-wrap: break-word;
    overflow-wrap: break-word;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.breakdown-item .label {
    font-size: 0.9rem;
    color: #4a5568;
    margin-bottom: 5px;
}

.breakdown-item .value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4c51bf;
}

.characteristics-list,
.recommendations-list {
    text-align: left;
    margin-bottom: 40px;
}

.characteristics-list li,
.recommendations-list li {
    background: rgba(102, 126, 234, 0.1);
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 10px;
    border-left: 4px solid #667eea;
    color: #2d3748;
}

/* Continue Section */
.continue-section {
    margin-top: 40px;
    padding: 30px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 20px;
    border: 2px solid rgba(102, 126, 234, 0.2);
    text-align: center;
}

.continue-section h3 {
    font-size: 1.5rem;
    color: #4c51bf;
    margin-bottom: 15px;
}

.continue-section p {
    font-size: 1rem;
    color: #4a5568;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Multiple Choice Answers */
.multiple-choice {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.choice-btn {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    color: #2d3748;
    text-align: left;
}

.choice-btn:hover {
    background: rgba(134, 239, 172, 0.2);
    border-color: #3b82f6;
    transform: translateX(8px);
}

.choice-btn.selected {
    background: rgba(134, 239, 172, 0.5);
    border-color: #3b82f6;
    border-width: 3px;
    transform: translateX(8px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    position: relative;
}

.choice-btn.selected::before {
    content: '✓';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #2563eb;
    font-weight: bold;
    font-size: 1.2rem;
}

.choice-btn .choice-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #3b82f6;
    color: white;
    border-radius: 50%;
    font-weight: 600;
    margin-right: 15px;
    font-size: 0.9rem;
}

.choice-btn.selected .choice-number {
    background: #2563eb;
    transform: scale(1.1);
}

/* Combined Results */
.combined-result-section {
    margin-bottom: 35px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 15px;
    border: 2px solid rgba(134, 239, 172, 0.3);
}

.highlight-section {
    background: rgba(255, 255, 255, 0.9);
    border: 3px solid #3b82f6;
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.2);
    margin-bottom: 40px;
}

.highlight-section h3 {
    font-size: 1.5rem;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.combined-result-section h3 {
    font-size: 1.3rem;
    color: #2d3748;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.result-summary {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.type-display {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 80px;
}

.title-display {
    font-size: 1.3rem;
    font-weight: 600;
    color: #4c51bf;
    flex: 1;
}

/* Travel Analysis Details */
.travel-analysis-details {
    margin: 30px 0;
    padding: 25px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 15px;
    border: 2px solid rgba(102, 126, 234, 0.2);
}

.travel-analysis-details h3 {
    font-size: 1.2rem;
    color: #2d3748;
    margin-bottom: 20px;
    text-align: left;
}

.dimension-analysis {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.dimension-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.dimension-label {
    font-weight: 600;
    color: #4a5568;
    font-size: 0.95rem;
}

.dimension-value {
    font-weight: 700;
    font-size: 0.95rem;
    padding: 4px 8px;
    border-radius: 6px;
}

.dimension-value.explore {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.dimension-value.relax {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.dimension-value.big-spender {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    color: #8b4513;
}

.dimension-value.saver {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    color: #2d5016;
}

.dimension-value.trendy {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    color: #8b008b;
}

.dimension-value.plain {
    background: linear-gradient(135deg, #fad0c4 0%, #ffd1ff 100%);
    color: #654321;
}

.dimension-value.adventurous {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: #8b0000;
}

.dimension-value.comfort {
    background: linear-gradient(135deg, #a8caba 0%, #5d4e75 100%);
    color: white;
}

.action-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
        min-height: 100vh;
        align-items: flex-start;
        padding-top: 20px;
    }
    
    .hero {
        padding: 30px 20px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .hero h2 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .test-info {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .info-item {
        padding: 15px 10px;
        font-size: 0.9rem;
    }
    
    .info-item i {
        font-size: 1.2rem;
        margin-right: 8px;
    }
    
    .question-container {
        padding: 25px 15px;
    }
    
    .question-text {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }
    
    .answer-btn {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    
    .answer-btn .score {
        width: 30px;
        height: 30px;
        margin-right: 12px;
        font-size: 0.9rem;
    }
    
    .result-container {
        padding: 30px 15px;
    }
    
    .result-type {
        font-size: 2.5rem;
    }
    
    .result-title {
        font-size: 1.3rem;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 280px;
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    .progress-container {
        margin-bottom: 25px;
        padding: 15px;
    }
    
    .navigation-buttons {
        margin-top: 25px;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
        min-height: 100vh;
    }
    
    .hero {
        padding: 25px 15px;
    }
    
    .hero h1 {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }
    
    .hero h2 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .hero p {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }
    
    .test-info {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 25px;
    }
    
    .info-item {
        padding: 12px 8px;
        font-size: 0.85rem;
    }
    
    .progress-container {
        flex-direction: column;
        gap: 8px;
        padding: 12px;
        margin-bottom: 20px;
    }
    
    .question-container {
        padding: 20px 12px;
    }
    
    .question-text {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .answer-btn {
        padding: 10px 12px;
        font-size: 0.9rem;
        gap: 10px;
    }
    
    .answer-btn .score {
        width: 28px;
        height: 28px;
        margin-right: 10px;
        font-size: 0.8rem;
    }
    
    .breakdown-item {
        padding: 10px;
        min-height: 90px;
    }
    
    .breakdown-item .label {
        font-size: 0.75rem;
    }
    
    .breakdown-item .value {
        font-size: 1.1rem;
    }
    
    .result-breakdown {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .navigation-buttons {
        flex-direction: column;
        gap: 12px;
        margin-top: 20px;
    }
    
    .navigation-buttons .btn-primary,
    .navigation-buttons .btn-secondary {
        width: 100%;
        max-width: 100%;
        min-width: unset;
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    .result-container {
        padding: 25px 12px;
    }
    
    .result-type {
        font-size: 2.2rem;
    }
    
    .result-title {
        font-size: 1.2rem;
    }
    
    .characteristics-list li,
    .recommendations-list li {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
    
    .continue-section {
        padding: 15px 12px;
        margin-top: 25px;
    }
    
    .continue-section h3 {
        font-size: 1.2rem;
    }
    
    .choice-btn {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
    
    .choice-btn .choice-number {
        width: 24px;
        height: 24px;
        margin-right: 10px;
        font-size: 0.75rem;
    }
    
    .combined-result-section {
        padding: 15px 12px;
        margin-bottom: 20px;
    }
    
    .result-summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .type-display {
        font-size: 1.6rem;
        min-width: unset;
    }
    
    .title-display {
        font-size: 1rem;
    }
    
    .travel-analysis-details {
        padding: 15px 12px;
        margin: 20px 0;
    }
    
    .dimension-analysis {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .dimension-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 12px;
    }
    
    .dimension-label,
    .dimension-value {
        font-size: 0.85rem;
    }
    
    .dimension-value {
        align-self: flex-end;
    }
    
    .btn-primary, .btn-secondary {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    .action-buttons {
        gap: 12px;
    }
    
    .show-more-container {
        margin-top: 20px;
    }
    
    .show-more-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        gap: 6px;
    }
    
    .show-more-btn .region-count {
        font-size: 0.8rem;
    }
}

@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .result-breakdown {
        grid-template-columns: 1fr;
    }
    
    .breakdown-item {
        text-align: center;
    }
    
    .answer-btn {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .answer-btn .score {
        margin-right: 0;
        align-self: center;
    }
}

/* Cluster-based Destination Recommendations */
.cluster-info {
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(134, 239, 172, 0.2);
    border-radius: 15px;
    border: 2px solid rgba(34, 197, 94, 0.3);
}

.cluster-description {
    font-size: 1.1rem;
    color: #2d3748;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: left;
}

.cluster-characteristics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    text-align: left;
}

.cluster-characteristics span {
    background: rgba(134, 239, 172, 0.4);
    color: #16a34a;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.destination-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    text-align: left;
}

.destination-card {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(34, 197, 94, 0.3);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.destination-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6 0%, #22c55e 100%);
}

.destination-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
    border-color: #3b82f6;
}

.destination-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.destination-name::before {
    content: '📍';
    font-size: 1.1rem;
}

.destination-region {
    font-size: 0.9rem;
    color: #16a34a;
    font-weight: 600;
    margin-bottom: 15px;
    background: rgba(134, 239, 172, 0.3);
    padding: 4px 10px;
    border-radius: 12px;
    display: inline-block;
}

.destination-highlight {
    font-size: 1rem;
    color: #4a5568;
    margin-bottom: 15px;
    line-height: 1.5;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.7);
    padding: 12px;
    border-radius: 8px;
    border-left: 3px solid #22c55e;
}

.destination-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.destination-features span {
    background: linear-gradient(135deg, #3b82f6 0%, #22c55e 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Main Attractions Preview */
.main-attractions-preview {
    margin-top: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(134, 239, 172, 0.4);
}

.main-attractions-preview h4 {
    font-size: 0.95rem;
    color: #2d3748;
    margin-bottom: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-attractions-preview h4 i {
    color: #22c55e;
    font-size: 0.9rem;
}

.attraction-preview-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.preview-item {
    font-size: 0.9rem;
    color: #4a5568;
    padding: 8px 12px;
    background: rgba(134, 239, 172, 0.2);
    border-radius: 8px;
    border-left: 3px solid #22c55e;
    font-weight: 500;
}

/* Responsive Design for Cluster Recommendations */
@media (max-width: 768px) {
    .destination-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .destination-card {
        padding: 20px;
    }
    
    .cluster-characteristics {
        flex-direction: column;
        gap: 5px;
    }
    
    .cluster-characteristics span {
        display: inline-block;
        width: fit-content;
    }
}

@media (max-width: 480px) {
    .cluster-info {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .cluster-description {
        font-size: 1rem;
    }
    
    .destination-card {
        padding: 18px;
    }
    
    .destination-name {
        font-size: 1.2rem;
    }
    
    .destination-highlight {
        font-size: 0.95rem;
        padding: 10px;
    }
    
    .destination-features span {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
    
    .main-attractions-preview {
        margin-top: 15px;
        padding: 12px;
    }
    
    .main-attractions-preview h4 {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    
    .preview-item {
        font-size: 0.85rem;
        padding: 6px 10px;
    }
    
    .region-detail-btn {
        padding: 12px 16px;
        font-size: 0.85rem;
        margin-top: 15px;
    }
    
    .no-detail-info {
        margin-top: 15px;
        padding: 12px;
    }
    
    .no-detail-info p:first-child {
        font-size: 0.9rem;
    }
    
    .show-more-container {
        margin-top: 25px;
    }
    
    .show-more-btn {
        padding: 12px 25px;
        font-size: 0.95rem;
        gap: 8px;
    }
    
    .show-more-btn .region-count {
        font-size: 0.85rem;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.modal-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    margin: 0 auto;
    padding: 50px 30px 30px 30px;
    border-radius: 20px;
    width: 100%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.modal-close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
    z-index: 1001;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.modal-close:hover,
.modal-close:focus {
    color: #3b82f6;
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    text-decoration: none;
}

.modal-content h2 {
    color: #2d3748;
    margin-bottom: 15px;
    font-size: 1.8rem;
    border-bottom: 3px solid #3b82f6;
    padding-bottom: 10px;
}

.modal-destinations {
    display: grid;
    gap: 20px;
    margin-top: 25px;
}

.modal-destination-card {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(134, 239, 172, 0.4);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.modal-destination-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6 0%, #22c55e 100%);
    border-radius: 15px 15px 0 0;
}

.modal-destination-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
}

.modal-destination-header {
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(255, 107, 53, 0.2);
}

.modal-destination-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-destination-name i {
    color: #22c55e;
    font-size: 1.2rem;
}

.modal-destination-address {
    font-size: 0.9rem;
    color: #16a34a;
    font-weight: 500;
    background: rgba(134, 239, 172, 0.3);
    padding: 6px 12px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
}

.modal-destination-address i {
    color: #16a34a;
    font-size: 0.8rem;
}

.modal-destination-description {
    font-size: 1rem;
    color: #4a5568;
    margin-bottom: 15px;
    line-height: 1.6;
}

.modal-destination-highlights {
    margin-bottom: 15px;
}

.modal-destination-highlights h4 {
    font-size: 1rem;
    color: #2d3748;
    margin-bottom: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-destination-highlights h4 i {
    color: #22c55e;
    font-size: 0.9rem;
}

.modal-destination-highlights ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.modal-destination-highlights li {
    background: linear-gradient(135deg, #3b82f6 0%, #22c55e 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.modal-destination-specialty {
    background: rgba(255, 200, 87, 0.2);
    border-left: 4px solid #ffc857;
    padding: 12px 15px;
    border-radius: 0 8px 8px 0;
    font-size: 0.95rem;
    color: #2d3748;
    font-weight: 500;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-destination-specialty i {
    color: #22c55e;
    font-size: 1rem;
}

.region-detail-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #22c55e 100%);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.region-detail-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

/* No Detail Info Styling */
.no-detail-info {
    margin-top: 20px;
    padding: 15px;
    background: rgba(134, 239, 172, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(134, 239, 172, 0.3);
    text-align: center;
}

.no-detail-info p {
    margin: 0;
    color: #4a5568;
    font-weight: 500;
}

.no-detail-info p:first-child {
    font-size: 1rem;
    margin-bottom: 8px;
}

/* Show More Button Styling */
.show-more-container {
    margin-top: 30px;
    text-align: center;
}

.show-more-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #22c55e 100%);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.show-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.show-more-btn .region-count {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 400;
}

.show-more-btn i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

/* Additional Regions Animation */
.additional-region {
    opacity: 0;
    animation: fadeIn 0.5s ease-out forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
        max-height: 0;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        max-height: 500px;
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateY(0);
        max-height: 500px;
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
        max-height: 0;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Mobile Modal Responsive */
@media (max-width: 768px) {
    .modal {
        padding: 15px;
    }
    
    .modal-content {
        padding: 40px 20px 20px 20px;
        width: 100%;
        max-height: 90vh;
        border-radius: 15px;
    }
    
    .modal-destination-card {
        padding: 18px;
        margin-bottom: 15px;
    }
    
    .modal-content h2 {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }
    
    .modal-close {
        font-size: 24px;
        right: 15px;
        top: 10px;
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    .modal {
        padding: 10px;
    }
    
    .modal-content {
        padding: 35px 15px 15px 15px;
        max-height: 95vh;
        border-radius: 12px;
    }
    
    .modal-content h2 {
        font-size: 1.2rem;
        margin-bottom: 10px;
        padding-right: 30px;
    }
    
    .modal-destination-card {
        padding: 15px;
        margin-bottom: 12px;
    }
    
    .modal-destination-name {
        font-size: 1.2rem;
    }
    
    .modal-destination-description {
        font-size: 0.9rem;
    }
    
    .modal-destination-highlights li {
        font-size: 0.8rem;
        padding: 4px 8px;
    }
    
    .modal-destination-specialty {
        font-size: 0.85rem;
        padding: 10px 12px;
    }
    
    .modal-close {
        font-size: 22px;
        right: 12px;
        top: 8px;
        width: 34px;
        height: 34px;
    }
}