/* Shinstagram Premium Dark Glassmorphism Styling Sheet */

:root {
    --color-bg-base: #0f0f15;
    --color-bg-card: rgba(22, 22, 33, 0.65);
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-hover: rgba(255, 56, 92, 0.35);
    
    --color-primary: #ff385c;
    --color-primary-rgb: 255, 56, 92;
    --color-secondary: #00f2fe;
    --color-accent: #ff0844;
    --color-gold: #ffd700;
    
    --text-main: #f5f5fa;
    --text-secondary: #a0a0b5;
    --text-muted: #6b6b80;
    
    --glass-blur: 16px;
}

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

body {
    background-color: var(--color-bg-base);
    color: var(--text-main);
    font-family: 'Noto Sans KR', 'Outfit', -apple-system, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

/* App Layout Container */
.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Glassmorphism Common Class */
.glassmorphic {
    background: var(--color-bg-card);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--color-border);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Header */
.main-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 15, 21, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    padding: 0.8rem 1.5rem;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
}

.logo-icon {
    font-size: 1.8rem;
    background: linear-gradient(45deg, #f093fb 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rotateLogo 8s linear infinite;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(90deg, #ffffff 0%, #a0a0b5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
    border-left: 1px solid var(--color-border);
    padding-left: 0.6rem;
}

.main-nav {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
}

.nav-link:hover, .nav-link.active {
    color: #fff;
    background: rgba(255, 56, 92, 0.15);
    box-shadow: 0 0 10px rgba(255, 56, 92, 0.2);
}

.user-status-widget {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.points-display {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: 30px;
    padding: 0.4rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    color: var(--color-gold);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.points-display:hover {
    transform: scale(1.05);
}

.user-vip-status {
    cursor: pointer;
}

.badge-free {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--color-border);
    color: var(--text-secondary);
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
}

.badge-vip {
    background: linear-gradient(135deg, #ffd700 0%, #b8860b 100%);
    border: 1px solid rgba(255, 215, 0, 0.5);
    color: #0f0f15;
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 700;
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.35);
}

/* Workspace Main content */
.main-content {
    flex-grow: 1;
    max-width: 1200px;
    width: 100%;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.app-section {
    display: none;
}

.app-section.active {
    display: block;
    animation: fadeIn 0.5s ease forwards;
}

/* Hero dashboard / Profile stats */
.hero-dashboard {
    padding: 2.5rem;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-profile-container {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.profile-avatar-wrapper {
    position: relative;
    width: 110px;
    height: 110px;
}

.profile-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-primary);
    box-shadow: 0 0 20px rgba(255, 56, 92, 0.3);
}

.active-pulse-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 18px;
    height: 18px;
    background: #2ecc71;
    border: 3px solid #0f0f15;
    border-radius: 50%;
    box-shadow: 0 0 10px #2ecc71;
    animation: pulseGlow 2s infinite;
}

.profile-info-sec {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.profile-title-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.profile-title-row h2 {
    font-size: 1.8rem;
    font-weight: 800;
}

.category-badge {
    background: rgba(255, 56, 92, 0.12);
    border: 1px solid rgba(255, 56, 92, 0.25);
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.profile-handle-lbl {
    color: var(--text-muted);
    font-weight: 500;
}

.profile-bio-txt {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0.3rem 0;
}

.profile-stats-row {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.4rem;
}

.profile-stats-row strong {
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.2rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-card h4 {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-number {
    font-size: 1.6rem;
    font-weight: 800;
}

.font-accent {
    background: linear-gradient(90deg, #ff0844 0%, #ffb199 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Ad Placement wrappers */
.top-ad-wrapper {
    margin-bottom: 2rem;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.01);
    position: relative;
    padding: 1.2rem 1.2rem 0.8rem;
    text-align: center;
}

.ad-label {
    position: absolute;
    top: 2px;
    left: 8px;
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 1px;
}

/* Filter controls */
.filter-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 0.8rem;
}

.filter-tab {
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tab:hover, .filter-tab.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.filter-tab i {
    margin-right: 0.3rem;
    color: var(--color-gold);
}

/* Post grids */
.influencer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Card item */
.feed-card {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.feed-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-border-hover);
    box-shadow: 0 10px 25px rgba(255, 56, 92, 0.15);
}

.card-image-box {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect ratio square */
    background: rgba(255, 255, 255, 0.01);
}

.card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feed-card:hover .card-img {
    transform: scale(1.05);
}

/* Locked VIP Blur overlay */
.lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 21, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    z-index: 2;
    padding: 1rem;
    text-align: center;
}

.lock-overlay i {
    font-size: 2.2rem;
    color: var(--color-gold);
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

.lock-overlay p {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
}

.unlock-btn-small {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary) 100%);
    border: none;
    color: #fff;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 56, 92, 0.4);
    transition: transform 0.2s ease;
}

.unlock-btn-small:hover {
    transform: scale(1.05);
}

.blurred-img {
    filter: blur(20px);
}

.badge-vip-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    background: linear-gradient(135deg, #ffd700 0%, #b8860b 100%);
    color: #000;
    font-weight: 800;
    font-size: 0.7rem;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.card-info {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.card-caption {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.card-likes-count {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.card-likes-count span {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

/* Mutual network section styling */
.network-chart-card {
    padding: 1.8rem;
    margin-bottom: 2rem;
}

.network-chart-card h4 {
    margin-bottom: 1.2rem;
}

.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}

.mutuals-list-sec {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mutual-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem;
    border-radius: 12px;
    transition: border-color 0.2s ease;
}

.mutual-item:hover {
    border-color: var(--color-border-hover);
}

.mutual-item-left {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.mutual-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.mutual-meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.mutual-name {
    font-weight: 700;
    font-size: 1rem;
}

.mutual-handle {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.mutual-followers-count {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.mutual-item-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.badge-connected {
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.25);
    color: var(--color-secondary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
}

.btn-view-profile {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-view-profile:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

/* Premium / Point Shop pricing grid */
.premium-container {
    padding: 1.5rem 0;
}

.premium-title-sec {
    text-align: center;
    margin-bottom: 3rem;
}

.premium-title-sec h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
    background: linear-gradient(90deg, #ffd700 0%, #ff385c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.premium-title-sec p {
    color: var(--text-secondary);
}

.premium-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.pricing-card {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
}

.pricing-card.vip-deal {
    border-color: rgba(255, 215, 0, 0.4);
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.03) 0%, rgba(22, 22, 33, 0.65) 100%);
    box-shadow: 0 8px 32px 0 rgba(255, 215, 0, 0.08);
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: linear-gradient(135deg, #ffd700 0%, #f1c40f 100%);
    color: #000;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

.price-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.price-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
}

.price-value {
    font-size: 2.4rem;
    font-weight: 800;
}

.price-period {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.price-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.price-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.price-features li i.fa-check {
    color: #2ecc71;
}

.price-features li i.fa-times {
    color: #e74c3c;
}

.subscribe-btn {
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
}

.subscribe-btn:disabled {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    color: var(--text-muted);
    cursor: not-allowed;
}

.pricing-card.vip-deal .subscribe-btn {
    background: linear-gradient(135deg, #ffd700 0%, #f39c12 100%);
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.pricing-card.vip-deal .subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.45);
}

.pricing-card:not(.vip-deal) .subscribe-btn {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 56, 92, 0.3);
}

.pricing-card:not(.vip-deal) .subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 56, 92, 0.45);
}

.vip-reset-honey {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 3rem;
    cursor: pointer;
    text-decoration: underline;
}

.vip-reset-honey:hover {
    color: var(--text-secondary);
}

/* Request tracker */
.request-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

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

.request-card {
    padding: 2rem;
}

.request-card h3 {
    margin-bottom: 0.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input, .form-group textarea, .form-group select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.08);
}

.form-group select option {
    background-color: var(--color-bg-base);
    color: #fff;
}

.req-submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(255, 56, 92, 0.3);
}

.req-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 56, 92, 0.45);
}

.req-list-sec h4 {
    margin-bottom: 1.2rem;
}

#requested-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.req-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem;
    border-radius: 12px;
}

.req-item-left {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.req-handle {
    font-weight: 700;
    color: var(--color-secondary);
}

.req-reason {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.req-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.req-item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.req-priority {
    font-size: 0.75rem;
    font-weight: 700;
}

.badge-free-small {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--color-border);
    color: var(--text-secondary);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.badge-success {
    background: rgba(46, 204, 113, 0.15);
    border: 1px solid rgba(46, 204, 113, 0.3);
    color: #2ecc71;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.badge-pending {
    background: rgba(241, 196, 15, 0.15);
    border: 1px solid rgba(241, 196, 15, 0.3);
    color: #f1c40f;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

/* Modals backdrop overlays */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 200;
    display: none; /* Flex when active */
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.modal-content-wrapper {
    width: 100%;
    max-width: 900px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    border-radius: 20px;
    animation: scaleUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 10;
    font-size: 1.4rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s ease;
}

.modal-close-btn:hover {
    color: #fff;
}

/* Post Detail Modal Layout */
.modal-grid-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    min-height: 500px;
}

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

.modal-image-area {
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.modal-image-area img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 80vh;
}

.modal-details-area {
    display: flex;
    flex-direction: column;
    background: rgba(22, 22, 33, 0.85);
    border-left: 1px solid var(--color-border);
    padding: 1.5rem;
}

.modal-author-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1rem;
}

.modal-avatar-small {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-primary);
}

.modal-header-meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.modal-username {
    font-weight: 700;
    font-size: 0.95rem;
}

.modal-badge-vip {
    align-self: flex-start;
    background: linear-gradient(135deg, #ffd700 0%, #b8860b 100%);
    color: #000;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}

.modal-caption-box {
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
}

#modal-post-caption {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.modal-post-date {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.modal-ad-box {
    margin: 1rem 0;
    border: 1px dashed var(--color-border);
    border-radius: 8px;
    padding: 0.5rem;
    text-align: center;
    background: rgba(255,255,255,0.01);
}

.modal-likes-comments-bar {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 0.6rem 0;
}

.modal-likes-comments-bar i {
    color: var(--color-primary);
}

.modal-comments-log {
    flex-grow: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 0.8rem 0;
    max-height: 180px;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.comment-item {
    font-size: 0.85rem;
    line-height: 1.4;
}

.comment-user {
    font-weight: 700;
    color: var(--color-secondary);
    margin-right: 0.5rem;
}

.comment-body {
    color: var(--text-secondary);
}

.modal-comment-input-row {
    display: flex;
    gap: 0.6rem;
    padding-top: 1rem;
}

.modal-comment-input-row input {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 0.6rem 1rem;
    color: #fff;
    font-size: 0.9rem;
}

.modal-comment-input-row input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.modal-comment-input-row button {
    background: var(--color-primary);
    border: none;
    color: #fff;
    font-weight: 700;
    padding: 0 1.2rem;
    border-radius: 8px;
    cursor: pointer;
}

/* Kakao Pay Checkout Card Modal */
.payment-modal-card {
    max-width: 440px;
    padding: 2.5rem 2rem;
    text-align: center;
}

.pay-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.kakaopay-logo-box {
    background: #ffeb00;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    display: inline-block;
}

.kakaopay-logo-text {
    color: #3c1e1e;
    font-weight: 800;
    font-size: 1.2rem;
}

.pay-details-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pay-detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.font-sub {
    color: var(--text-secondary);
}

.payment-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.btn-pay-kakaopay-submit {
    background: #ffeb00;
    color: #3c1e1e;
    border: none;
    border-radius: 10px;
    padding: 1rem;
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    box-shadow: 0 4px 15px rgba(255, 235, 0, 0.25);
    transition: transform 0.2s ease;
}

.btn-pay-kakaopay-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 235, 0, 0.4);
}

.payment-status-message {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    text-align: left;
}

.status-pending {
    background: rgba(241, 196, 15, 0.12);
    border: 1px solid rgba(241, 196, 15, 0.3);
    color: #f1c40f;
}

.status-success {
    background: rgba(46, 204, 113, 0.12);
    border: 1px solid rgba(46, 204, 113, 0.3);
    color: #2ecc71;
}

.status-error {
    background: rgba(231, 76, 60, 0.12);
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: #e74c3c;
}

/* Footer styling */
.main-footer {
    border-top: 1px solid var(--color-border);
    padding: 2.5rem 1.5rem;
    margin-top: auto;
    text-align: center;
    background: rgba(10, 10, 15, 0.5);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1.2rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #fff;
}

.main-footer p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* Keyframes animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleUp {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes pulseGlow {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(46, 204, 113, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

@keyframes rotateLogo {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}
