:root {
    --primary-bg: #121212;
    --card-bg: #1e1e1e;
    --accent-color: #00b8ff;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --card-hover: #2d2d2d;
    --gradient-start: rgba(18, 18, 18, 0.8);
    --gradient-end: rgba(18, 18, 18, 0.95);
    --gold: #d4af37;
    --gold-light: #f1c454;
    --gold-dark: #a67c00;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans KR', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

/* Star background */
.stars, .twinkling {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: -1;
}

.stars {
    background: #000 url('https://i.imgur.com/YKY28eT.png') repeat top center;
    z-index: -2;
}

.twinkling {
    background: transparent url('https://i.imgur.com/XYMF4ca.png') repeat top center;
    animation: move-twink-back 200s linear infinite;
}

@keyframes move-twink-back {
    from {background-position: 0 0;}
    to {background-position: -10000px 5000px;}
}

.container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.logo {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
}

.logo-text {
    display: inline-block;
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 10%, #888888 50%, #ffffff 90%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    position: relative;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.logo-text::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    border-radius: 8px;
    z-index: -1;
    opacity: 0.3;
}

.logo-text .dot {
    color: var(--accent-color);
    font-weight: 900;
    text-shadow: 0 0 15px rgba(0, 184, 255, 0.7);
    position: relative;
    display: inline-block;
    animation: pulse 3s infinite;
}

.logo-text .how {
    background: linear-gradient(135deg, var(--accent-color) 10%, #80dbff 50%, var(--accent-color) 90%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-weight: 900;
    position: relative;
    letter-spacing: -0.5px;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s infinite;
    filter: drop-shadow(0 0 8px rgba(0, 184, 255, 0.5));
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes shimmer {
    0% {
        background-position: -100px;
    }
    100% {
        background-position: 200px;
    }
}

.search-box {
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.search-wrapper {
    position: relative;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.search-wrapper:focus-within {
    background-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 2px var(--accent-color), 0 4px 20px rgba(0, 184, 255, 0.2);
}

.search-input {
    width: 100%;
    padding: 15px 24px;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 1.1rem;
    outline: none;
}

.search-input::placeholder {
    color: var(--text-secondary);
}

.search-button {
    background-color: var(--accent-color);
    color: #000000;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 184, 255, 0.3);
}

.search-button:hover {
    background-color: #0099ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 184, 255, 0.4);
}

.info-text {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 0.9rem;
}

.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-primary);
    background-color: var(--card-bg);
    height: 150px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.card:hover {
    transform: translateY(-8px) rotateX(5deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(0, 184, 255, 0.2);
    border-color: rgba(0, 184, 255, 0.3);
}

.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.7;
    background-size: cover;
    background-position: center;
    transition: all 0.4s ease;
}

.card:hover .card-bg {
    transform: scale(1.05);
    opacity: 0.8;
}

.card-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, var(--gradient-start), var(--gradient-end));
}

.card-content {
    position: relative;
    z-index: 2;
    padding: 1.2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.card-title {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.card-description {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Card shining effect */
.card-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
            45deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.03) 30%,
            rgba(255, 255, 255, 0.1) 45%,
            rgba(255, 255, 255, 0.03) 60%,
            rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    z-index: 3;
    pointer-events: none;
    transition: all 0.4s ease;
    opacity: 0;
}

.card:hover .card-shine {
    animation: shine 2s infinite;
    opacity: 1;
}

@keyframes shine {
    0% {
        transform: rotate(30deg) translate(-200px, -100px);
    }
    100% {
        transform: rotate(30deg) translate(200px, 100px);
    }
}

/* Card decoration (golden corners) */
.card-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 4;
}

.corner {
    position: absolute;
    width: 15px;
    height: 15px;
    border-color: rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.card:hover .corner {
    border-color: var(--accent-color);
    box-shadow: 0 0 5px rgba(0, 184, 255, 0.5);
}

.top-left {
    top: 6px;
    left: 6px;
    border-top: 2px solid;
    border-left: 2px solid;
    border-top-left-radius: 5px;
}

.top-right {
    top: 6px;
    right: 6px;
    border-top: 2px solid;
    border-right: 2px solid;
    border-top-right-radius: 5px;
}

.bottom-left {
    bottom: 6px;
    left: 6px;
    border-bottom: 2px solid;
    border-left: 2px solid;
    border-bottom-left-radius: 5px;
}

.bottom-right {
    bottom: 6px;
    right: 6px;
    border-bottom: 2px solid;
    border-right: 2px solid;
    border-bottom-right-radius: 5px;
}

/* Card backgrounds */
.card-datalake {
    /*background-image: url('https://via.placeholder.com/400x300/003366/ffffff?text=DataLake');*/
    background: linear-gradient(135deg, #1abc9c, #16a085);
}

.card-bitcoin {
    background-image: url('https://via.placeholder.com/400x300/F7931A/ffffff?text=Bitcoin');
}

.card-market {
    background-image: url('https://via.placeholder.com/400x300/16c784/ffffff?text=Market');
}

.card-binance {
    background-image: url('https://via.placeholder.com/400x300/F0B90B/ffffff?text=Binance');
}

.card-ai {
    background-image: url('https://via.placeholder.com/400x300/9c27b0/ffffff?text=AI');
}

.card-util {
    background-image: url('https://via.placeholder.com/400x300/4CAF50/ffffff?text=Utility');
}

.card-hero {
    background-image: url('https://via.placeholder.com/400x300/E91E63/ffffff?text=Hero');
}

.card-security {
    background-image: url('https://via.placeholder.com/400x300/607D8B/ffffff?text=Security');
}

.card-models {
    background-image: url('https://via.placeholder.com/400x300/3F51B5/ffffff?text=AI+Models');
}

.card-facebook {
    background-image: url('https://via.placeholder.com/400x300/1877F2/ffffff?text=Facebook');
}

.graph-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.7;
}

/* Sections */
.section-title {
    margin: 3rem 0 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    position: relative;
}

.section-title::before {
    content: '';
    width: 3px;
    height: 1.2em;
    background-color: var(--accent-color);
    margin-right: 0.8rem;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0, 184, 255, 0.5);
}

.section-title::after {
    content: '';
    flex-grow: 1;
    height: 1px;
    background: linear-gradient(to right,
    rgba(0, 184, 255, 0.5),
    rgba(255, 255, 255, 0.05)
    );
    margin-left: 1rem;
}

footer {
    text-align: center;
    padding: 1.8rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    background-color: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
}

/* Media queries for better responsiveness */
@media (min-width: 1400px) {
    .card-container {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    }

    .card {
        height: 160px;
    }
}

@media (max-width: 768px) {
    .logo {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .card-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1.5rem 1rem;
    }

    .logo {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .search-input {
        padding: 12px 20px;
    }

    .card-container {
        gap: 1rem;
    }

    .card {
        height: 130px;
    }

    .card-content {
        padding: 1rem;
    }
}

/* Featured card styles */
.featured-card {
    grid-column: span 2;
    height: 180px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(0, 184, 255, 0.3);
    border: 1px solid rgba(0, 184, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.card-featured-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, var(--accent-color), #80dbff);
    color: #000;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 5;
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

.featured-card .card-content {
    padding: 1.5rem;
}

.featured-card .card-title {
    font-size: 1.5rem;
    margin-bottom: 0.6rem;
}

.featured-card .card-description {
    font-size: 1rem;
}

.featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg,
    rgba(0, 184, 255, 0.1) 0%,
    rgba(0, 184, 255, 0) 50%,
    rgba(0, 184, 255, 0.1) 100%);
    z-index: 2;
}

.featured-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(0, 184, 255, 0.4);
}

/* Card backgrounds */
.card-clip {
    background-image: url('https://via.placeholder.com/800x600/00B8FF/ffffff?text=Clip+Service');
    background-position: center;
    opacity: 0.8;
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
    .featured-card {
        grid-column: span 1;
        height: 160px;
    }

    .featured-card .card-title {
        font-size: 1.3rem;
    }

    .featured-card .card-description {
        font-size: 0.9rem;
    }
}

.card-news {
    background: linear-gradient(135deg, #3498db, #2c3e50);
}

.card-korea {
    background: linear-gradient(135deg, #e74c3c, #8e44ad);
}

.card-sales {
    background: linear-gradient(135deg, #f39c12, #d35400);
}

.card-jobs {
    background: linear-gradient(135deg, #1abc9c, #16a085);
}



/* Card Icon Style */
.card-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    color: rgba(255, 255, 255, 0.15);
    z-index: 0;
}


/* For Creators Style */
.card-creator {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(0, 184, 255, 0.2));
    color: var(--text-primary);
    font-size: 0.7rem;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    z-index: 5;
    backdrop-filter: blur(2px);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.card:hover .card-creator {
    opacity: 1;
    background: linear-gradient(135deg, rgba(0, 184, 255, 0.2), rgba(255, 255, 255, 0.1));
    transform: translateY(-2px);
}


/* 화이트페이퍼 섹션 스타일 */
.whitepaper-container {
    margin-bottom: 3rem;
}

.card-whitepaper {
    background: linear-gradient(135deg, #2c3e50, #4a6491);
    position: relative;
    overflow: hidden;
}

.whitepaper-card {
    position: relative;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whitepaper-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(74, 100, 145, 0.4);
    border-color: rgba(74, 100, 145, 0.5);
}

.whitepaper-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.15);
    z-index: 1;
}

.card-creator {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(74, 100, 145, 0.2));
    color: var(--text-primary);
    font-size: 0.7rem;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    z-index: 5;
    backdrop-filter: blur(2px);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.card:hover .card-creator {
    opacity: 1;
    background: linear-gradient(135deg, rgba(74, 100, 145, 0.2), rgba(255, 255, 255, 0.1));
    transform: translateY(-2px);
}

/* Media Query - 화이트페이퍼 섹션 반응형 */
@media (max-width: 768px) {
    .whitepaper-icon {
        font-size: 2.5rem;
    }

    .whitepaper-card .card-title {
        font-size: 1.1rem;
    }

    .whitepaper-card .card-description {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .whitepaper-icon {
        font-size: 2rem;
    }
}

/* 해시레이트 모니터링 섹션 스타일 */
.hashrate-container {
    margin-bottom: 3rem;
}

.card-hashrate {
    background: linear-gradient(135deg, #2a4365, #4c51bf);
    position: relative;
    overflow: hidden;
}

.hashrate-card {
    position: relative;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hashrate-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(76, 81, 191, 0.4);
    border-color: rgba(76, 81, 191, 0.5);
}

.hashrate-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.15);
    z-index: 1;
}

.hashrate-card .card-description {
    font-size: 0.8rem;
    line-height: 1.3;
}

/* 미디어 쿼리 - 해시레이트 섹션 반응형 */
@media (max-width: 768px) {
    .hashrate-icon {
        font-size: 2.5rem;
    }

    .hashrate-card .card-title {
        font-size: 1.1rem;
    }

    .hashrate-card .card-description {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hashrate-icon {
        font-size: 2rem;
    }
}


/* 블록체인 메타버스 AI 섹션 스타일 */
.tech-container {
    margin-bottom: 3rem;
}

.card-blockchain {
    background: linear-gradient(135deg, #ff9500, #ff5e3a);
    position: relative;
    overflow: hidden;
}

.card-metaverse {
    background: linear-gradient(135deg, #7f00ff, #e100ff);
    position: relative;
    overflow: hidden;
}

.card-ai {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    position: relative;
    overflow: hidden;
}

.tech-card {
    position: relative;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tech-card:hover {
    transform: translateY(-10px) rotateX(5deg);
}

.card-blockchain:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 94, 58, 0.4);
    border-color: rgba(255, 94, 58, 0.5);
}

.card-metaverse:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(225, 0, 255, 0.4);
    border-color: rgba(225, 0, 255, 0.5);
}

.card-ai:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(0, 114, 255, 0.4);
    border-color: rgba(0, 114, 255, 0.5);
}

.tech-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.15);
    z-index: 1;
}

.tech-card .card-description {
    font-size: 0.8rem;
    line-height: 1.3;
}

/* 미디어 쿼리 - 테크 섹션 반응형 */
@media (max-width: 768px) {
    .tech-icon {
        font-size: 2.5rem;
    }

    .tech-card .card-title {
        font-size: 1.1rem;
    }

    .tech-card .card-description {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .tech-icon {
        font-size: 2rem;
    }
}