/* Coin Page Styles - TrueWallet */

/* Hero Section */
.coin-hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1a2e 50%, #16213e 100%);
    color: white;
    margin: 0;
    padding: 0;
}

.coin-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    filter: brightness(0.4) contrast(1.1) saturate(0.8);
    will-change: transform;
}

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

.coin-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(10, 14, 39, 0.7) 0%, rgba(26, 26, 46, 0.6) 50%, rgba(22, 33, 62, 0.7) 100%),
        radial-gradient(circle at 50% 50%, rgba(103, 61, 230, 0.15) 0%, transparent 70%);
    z-index: 2;
}

.coin-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 1000px;
    padding: 2rem;
}

.coin-hero-title {
    font-size: clamp(2rem, 8vw, 4.5rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.coin-hero-description {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    line-height: 1.8;
    opacity: 0.95;
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* Supported Coins Section */
.supported-coins-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #0a0e27 0%, #1a1a2e 100%);
    color: white;
    margin: 0;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.section-subtitle {
    text-align: center;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 4rem;
    word-break: keep-all;
    overflow-wrap: break-word;
    line-height: 1.6;
}

.coins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.coin-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.coin-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(103, 61, 230, 0.1) 0%, rgba(52, 152, 219, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.coin-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(103, 61, 230, 0.5);
    box-shadow: 0 20px 40px rgba(103, 61, 230, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.coin-card:hover::before {
    opacity: 1;
}

.coin-image-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.coin-card:hover .coin-image-wrapper {
    background: rgba(103, 61, 230, 0.2);
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(103, 61, 230, 0.4);
    border-color: rgba(103, 61, 230, 0.5);
}

.coin-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 50%;
    filter: drop-shadow(0 0 10px rgba(103, 61, 230, 0.3));
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px;
}

.coin-card:hover .coin-image {
    filter: drop-shadow(0 0 20px rgba(103, 61, 230, 0.6));
    transform: scale(1.1);
}

.coin-info {
    position: relative;
    z-index: 1;
}

.coin-symbol {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.coin-name {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Features Section */
.coin-features-section {
    padding: 6rem 0;
    background: #0a0e27;
    color: white;
    margin: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: rgba(103, 61, 230, 0.5);
    background: rgba(255, 255, 255, 0.05);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    word-break: keep-all;
}

.feature-item p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    word-break: keep-all;
}

/* Quick Links Section */
.quick-links-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #0a0e27 100%);
    color: white;
    margin: 0;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.quick-link-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    text-decoration: none;
    color: white;
    transition: all 0.4s ease;
    display: block;
}

.quick-link-card:hover {
    transform: translateY(-10px);
    border-color: rgba(103, 61, 230, 0.5);
    box-shadow: 0 20px 40px rgba(103, 61, 230, 0.3);
    background: rgba(255, 255, 255, 0.08);
    color: white;
}

.quick-link-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.quick-link-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    word-break: keep-all;
}

.quick-link-card p {
    color: rgba(255, 255, 255, 0.7);
    word-break: keep-all;
}

/* Responsive */
@media (max-width: 768px) {
    .coin-hero-section {
        min-height: 80vh;
    }
    
    .supported-coins-section,
    .coin-features-section,
    .quick-links-section {
        padding: 4rem 0;
    }
    
    .coins-grid,
    .features-grid,
    .quick-links-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .coin-card,
    .feature-item,
    .quick-link-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .coin-hero-section {
        min-height: 70vh;
    }
    
    .supported-coins-section,
    .coin-features-section,
    .quick-links-section {
        padding: 3rem 0;
    }
    
    .coin-image-wrapper {
        width: 100px;
        height: 100px;
        padding: 15px;
    }
    
    .coin-image {
        width: 70px;
        height: 70px;
    }
}

/* Partners Section */
.partners-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #1a1a2e 0%, #0a0e27 100%);
    color: white;
    margin: 0;
}

.partners-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.partners-category {
    margin-bottom: 5rem;
}

.partners-category:last-child {
    margin-bottom: 0;
}

.category-header {
    display: flex;
    align-items: center;
    margin-bottom: 2.5rem;
    gap: 0.75rem;
}

.category-icon {
    color: #ff4757;
    font-size: 1.5rem;
}

.category-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    margin: 0;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1.5rem;
}

.partner-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: default;
    position: relative;
    overflow: hidden;
}

.partner-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(103, 61, 230, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.partner-item:hover {
    transform: translateY(-5px);
    border-color: rgba(103, 61, 230, 0.5);
    box-shadow: 0 10px 30px rgba(103, 61, 230, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

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

.partner-logo {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.partner-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.4;
    word-break: keep-all;
    overflow-wrap: break-word;
    position: relative;
    z-index: 1;
}

.partner-name-kr {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.25rem;
    word-break: keep-all;
    overflow-wrap: break-word;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .partners-section {
        padding: 4rem 0;
    }
    
    .partners-category {
        margin-bottom: 3.5rem;
    }
    
    .category-header {
        margin-bottom: 2rem;
    }
    
    .partners-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 1rem;
    }
    
    .partner-item {
        padding: 1.25rem 0.75rem;
    }
    
    .partner-logo {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
}

@media (max-width: 480px) {
    .partners-section {
        padding: 3rem 0;
    }
    
    .partners-container {
        padding: 0 1rem;
    }
    
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }
    
    .partner-item {
        padding: 1rem 0.5rem;
    }
    
    .partner-logo {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }
}
