OLDBOY/skin/board/daemon_trading_upbit/style.view.css
@charset "utf-8";

body { background: #0e1628 !important; }

/* 기본 배경 및 텍스트 */
#View {
    text-align:center;
    background: #0a0e14;
    color: #e1e4e8;
    border-radius: 8px;
    padding: 50px;
    margin: 50px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
}

/* 헤더 영역 */
.view-header {
    background: #161b22;
    border: 1px solid #21262d;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    animation: fadeInScale 0.6s ease-out both;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 25px;
}

.view-header-left {
    flex: 1;
    min-width: 0;
}

.view-header:hover {
    border-color: #30363d;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

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

.view-title {
    float:left;
    color: #c9d1d9;
    margin: 0;
    font-size: 2em;
    font-weight: 700;
    flex: 1;
    padding-left:20px;
}

.view-category {
    background: #0d1117;
    color: #58a6ff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.85em;
    margin-right: 10px;
    border: 1px solid #21262d;
    font-weight: 600;
}

.view-subject {
    color: #c9d1d9;
    font-weight: 600;
}

.view-coin-code {
    color: #58a6ff;
    font-weight: 600;
    margin-left: 12px;
    padding: 4px 12px;
    background: #0d1117;
    border: 1px solid #21262d;
    border-radius: 4px;
    font-size: 0.7em;
    vertical-align: middle;
}

/* 섹션 타이틀 */
.section-title {
    color: #c9d1d9;
    font-size: 1.5em;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #21262d;
    font-weight: 600;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #58a6ff;
    animation: expandLine 0.8s ease-out 0.5s forwards;
}

@keyframes expandLine {
    to { width: 100%; }
}

/* 코인 정보 섹션 */
.view-coin-info {
    background: #161b22;
    border: 1px solid #21262d;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    animation: fadeInScale 0.6s ease-out 0.1s both;
    transition: all 0.3s ease;
}

.view-coin-info:hover {
    border-color: #30363d;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

.coin-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
}

.info-item {
    background: #0d1117;
    border: 1px solid #21262d;
    border-radius: 8px;
    padding: 40px 35px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: all 0.3s ease;
    opacity: 0;
    animation: slideInUp 0.5s ease-out both;
    position: relative;
    overflow: hidden;
    min-height: 150px;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.info-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(88, 166, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-item:hover::before {
    opacity: 1;
}

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

.info-item:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: #30363d;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.info-label {
    color: #8b949e;
    font-size: 1.15em;
    font-weight: 600;
    position: relative;
    z-index: 1;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: center;
}

.info-value {
    color: #58a6ff;
    font-size: 1.8em;
    font-weight: 700;
    position: relative;
    z-index: 1;
    animation: countUp 1s ease-out;
    line-height: 1.4;
    word-break: break-word;
    text-align: center;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 매수/매도 정보 섹션 */
.view-trading-info {
    margin-bottom: 25px;
    animation: fadeInScale 0.6s ease-out 0.15s both;
}

.trading-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.trading-section {
    background: #161b22;
    border: 1px solid #21262d;
    border-radius: 8px;
    padding: 25px;
    transition: all 0.3s ease;
}

.trading-section:hover {
    border-color: #30363d;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

.trading-title {
    color: #c9d1d9;
    font-size: 1.6em;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #21262d;
    font-weight: 600;
}

.buy-title {
    color: #3fb950;
}

.sell-title {
    color: #f85149;
}

.trading-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.trading-item {
    background: #0d1117;
    border: 1px solid #21262d;
    border-radius: 6px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
    animation: rowSlideIn 0.4s ease-out both;
}

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

.buy-item:hover {
    background: #161b22;
    border-color: #21262d;
    transform: translateX(5px);
}

.sell-item:hover {
    background: #161b22;
    border-color: #21262d;
    transform: translateX(5px);
}

.trading-number {
    color: #8b949e;
    font-weight: 600;
    min-width: 60px;
}

.trading-percent {
    color: #c9d1d9;
    font-weight: 700;
    flex: 1;
    text-align: center;
    font-size: 1.1em;
}

.buy-item .trading-percent {
    color: #3fb950;
}

.sell-item .trading-percent {
    color: #f85149;
}

.trading-amount {
    color: #8b949e;
    font-weight: 500;
    min-width: 120px;
    text-align: right;
}

.trading-total {
    background: #0d1117;
    border: 2px solid;
    border-radius: 6px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    font-weight: 700;
}

.buy-total {
    border-color: #3fb950;
    background: rgba(63, 185, 80, 0.1);
}

.sell-total {
    border-color: #f85149;
    background: rgba(248, 81, 73, 0.1);
}

.total-label {
    color: #c9d1d9;
    font-size: 1.1em;
}

.total-percent {
    color: #c9d1d9;
    font-size: 1.3em;
}

.buy-total .total-percent {
    color: #3fb950;
}

.sell-total .total-percent {
    color: #f85149;
}

.total-amount {
    color: #c9d1d9;
    font-size: 1.3em;
}

.trading-empty {
    color: #8b949e;
    text-align: center;
    padding: 40px;
    font-style: italic;
    animation: fadeIn 0.6s ease-out;
}

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

/* 본문 내용 */
.view-content {
    background: #161b22;
    border: 1px solid #21262d;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    animation: fadeInScale 0.6s ease-out 0.2s both;
    transition: all 0.3s ease;
}

.view-content:hover {
    border-color: #30363d;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

.content-wrapper {
    color: #e1e4e8;
}

.content-text {
    line-height: 1.8;
    color: #e1e4e8;
}

.content-text p {
    color: #e1e4e8;
    margin-bottom: 15px;
}

.content-text a {
    color: #58a6ff;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.content-text a:hover {
    color: #79c0ff;
}

.view-images {
    margin-bottom: 25px;
}

.image-gallery img {
    border-radius: 8px;
    border: 1px solid #21262d;
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.image-gallery img:hover {
    border-color: #30363d;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.signature {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #21262d;
    color: #8b949e;
    font-style: italic;
}

/* 추천/비추천 */
.view-vote {
    background: #161b22;
    border: 1px solid #21262d;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    animation: fadeInScale 0.6s ease-out 0.25s both;
    transition: all 0.3s ease;
}

.view-vote:hover {
    border-color: #30363d;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

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

.vote-btn {
    background: #0d1117;
    border: 1px solid #21262d;
    border-radius: 6px;
    padding: 15px 35px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.vote-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(88, 166, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.vote-btn:hover::before {
    width: 300px;
    height: 300px;
}

.vote-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.vote-good {
    border-color: #3fb950;
}

.vote-good:hover {
    background: rgba(63, 185, 80, 0.1);
    border-color: #3fb950;
}

.vote-nogood {
    border-color: #f85149;
}

.vote-nogood:hover {
    background: rgba(248, 81, 73, 0.1);
    border-color: #f85149;
}

.vote-btn span {
    color: #c9d1d9;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.vote-btn strong {
    font-size: 1.5em;
    color: #58a6ff;
    position: relative;
    z-index: 1;
}

.vote-good strong {
    color: #3fb950;
}

.vote-nogood strong {
    color: #f85149;
}

/* 첨부파일 */
.view-files {
    background: #161b22;
    border: 1px solid #21262d;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    animation: fadeInScale 0.6s ease-out 0.3s both;
    transition: all 0.3s ease;
}

.view-files:hover {
    border-color: #30363d;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

.file-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.file-list li {
    background: #0d1117;
    border: 1px solid #21262d;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
    animation: rowSlideIn 0.4s ease-out both;
}

.file-list li:hover {
    background: #161b22;
    border-color: #30363d;
    transform: translateX(5px);
}

.file-list a {
    color: #58a6ff;
    text-decoration: none;
    flex: 1;
    transition: color 0.2s ease;
}

.file-list a:hover {
    color: #79c0ff;
    text-decoration: underline;
}

.file-size {
    color: #8b949e;
    font-size: 0.9em;
    margin-left: 10px;
}

.file-count {
    color: #6e7681;
    font-size: 0.85em;
}

/* 링크 */
.view-links {
    background: #161b22;
    border: 1px solid #21262d;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    animation: fadeInScale 0.6s ease-out 0.35s both;
    transition: all 0.3s ease;
}

.view-links:hover {
    border-color: #30363d;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

.link-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.link-list li {
    background: #0d1117;
    border: 1px solid #21262d;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
    animation: rowSlideIn 0.4s ease-out both;
}

.link-list li:hover {
    background: #161b22;
    border-color: #30363d;
    transform: translateX(5px);
}

.link-list a {
    color: #58a6ff;
    text-decoration: none;
    word-break: break-all;
    transition: color 0.2s ease;
}

.link-list a:hover {
    color: #79c0ff;
    text-decoration: underline;
}

/* 하단 버튼 */
.view-bottom-actions {
    margin-top: 0;
    animation: fadeInScale 0.6s ease-out 0.4s both;
    flex-shrink: 0;
}

.view-header .view-bottom-actions {
    margin-top: 0;
}

.action-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
}

.action-buttons li {
    margin: 0;
}

.action-buttons a {
    background: #161b22;
    border: 1px solid #21262d;
    border-radius: 6px;
    color: #c9d1d9;
    padding: 10px 20px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    font-size: 0.9em;
    white-space: nowrap;
}

.action-buttons a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(88, 166, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.action-buttons a:hover::before {
    width: 300px;
    height: 300px;
}

.action-buttons a:hover {
    border-color: #30363d;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.btn-list {
    border-color: #58a6ff;
}

.btn-list:hover {
    background: rgba(88, 166, 255, 0.1);
    border-color: #58a6ff;
}

.btn-reply {
    border-color: #d29922;
}

.btn-reply:hover {
    background: rgba(210, 153, 34, 0.1);
    border-color: #d29922;
}

.btn-write {
    border-color: #3fb950;
}

.btn-write:hover {
    background: rgba(63, 185, 80, 0.1);
    border-color: #3fb950;
}

.btn-update {
    border-color: #58a6ff;
}

.btn-update:hover {
    background: rgba(88, 166, 255, 0.1);
    border-color: #58a6ff;
}

.btn-delete {
    border-color: #f85149;
}

.btn-delete:hover {
    background: rgba(248, 81, 73, 0.1);
    border-color: #f85149;
}

/* 리플 효과 */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    width: 20px;
    height: 20px;
    margin-left: -10px;
    margin-top: -10px;
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* code 스타일 */
code {
    background: #0d1117;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Consolas', 'Monaco', monospace;
    color: #79c0ff;
    font-size: 0.9em;
    border: 1px solid #21262d;
    transition: all 0.2s ease;
}

code:hover {
    background: #161b22;
    color: #a5d6ff;
    border-color: #30363d;
}

/* 반응형 조정 */
@media (max-width: 768px) {
    #View {
        padding: 15px;
    }
    
    .view-header {
        flex-direction: column;
        gap: 20px;
    }
    
    .view-header-left {
        
    }
    
    .coin-info-grid {
        grid-template-columns: 1fr;
    }
    
    .trading-grid {
        grid-template-columns: 1fr;
    }
    
    .vote-buttons {
        flex-direction: column;
    }
    
    .action-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .action-buttons a {
        flex: 1;
        min-width: 80px;
        text-align: center;
    }
}