/* Contract Specifications Section - Dark Theme */
.contract-specs-section {
    padding: 6rem 2rem;
    background-color: #1e1e1e;
    color: white;
    border-radius: 9px;
    padding-bottom: 1%;
    padding-top: 2%;
}

.specs-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #51AF95;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding: 0 30px;
}

.section-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 60%;
    background: rgba(81, 175, 149, 0.2);
    transform: translateY(-50%) perspective(500px) rotateX(10deg);
    border-radius: 10px;
    filter: blur(20px);
    z-index: 0;
    animation: glow-pulse 3s ease-in-out infinite alternate;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #51AF95, transparent);
    border-radius: 50%;
    opacity: 0.7;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #aaa;
    max-width: 700px;
    margin: 0 auto;
}

.specs-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.specs-card {
    background: #252525;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #26A17B;
}

.specs-card.addresses-card {
    grid-column: span 2;
}

.specs-card.details-card {
    grid-column: span 1;
}

.specs-card.quick-access-card {
    grid-column: span 1;
}

.specs-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.card-header {
    background: #252525;
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #333;
}

.card-header i {
    font-size: 1.8rem;
    margin-right: 15px;
    color: #26A17B;
}

.card-header h3 {
    margin: 0;
    font-size: 1.3rem;
    color: #51AF95;
}

.card-body {
    padding: 25px;
    color: #ddd;
}

/* Address Group Styles */
.address-group {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.address-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.network-label {
    font-weight: 600;
    color: #51AF95;
    font-size: 0.95rem;
}

.address-container {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #1e1e1e;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #333;
}

.contract-address {
    background: transparent;
    color: #ddd;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    word-break: break-all;
    flex: 1;
    margin: 0;
    padding: 0;
}

.copy-btn {
    background: #26A17B;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
}

.copy-btn:hover {
    background: #1e8c6e;
    transform: translateY(-1px);
}

.explorer-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: #1e1e1e;
    border-radius: 6px;
    color: #ddd;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #333;
    font-size: 0.9rem;
    width: 100%;
}

.explorer-link:hover {
    background: #26A17B;
    color: white;
    transform: translateX(5px);
    border-color: #26A17B;
}

.explorer-link i:first-child {
    font-size: 1.3rem;
}

.explorer-link i:last-child {
    font-size: 0.8rem;
    margin-left: auto;
}

/* Details Grid Styles */
.details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #333;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: #51AF95;
    font-size: 0.9rem;
}

.detail-value {
    color: #ddd;
    font-weight: 500;
    font-size: 0.9rem;
}

.verification-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    padding: 15px;
    background: rgba(38, 161, 123, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(38, 161, 123, 0.3);
    color: #26A17B;
    font-weight: 500;
    font-size: 0.9rem;
}

.verification-badge i {
    font-size: 1.1rem;
}

/* Quick Links Styles */
.quick-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.quick-btn {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #1e1e1e;
    border-radius: 8px;
    color: #ddd;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #333;
    gap: 12px;
}

.quick-btn:hover {
    background: #26A17B;
    color: white;
    transform: translateX(5px);
    border-color: #26A17B;
}

.quick-btn:hover i {
    color: white !important;
}

.quick-btn i:first-child {
    font-size: 1.5rem;
    color: #51AF95;
}

.quick-btn i:last-child {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-left: auto;
}

.btn-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.btn-title {
    font-weight: 600;
    font-size: 0.95rem;
}

.btn-subtitle {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 2px;
}

/* آیکون‌های کریپتو */
.cc {
    font-size: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .specs-content {
        grid-template-columns: 1fr;
    }
    
    .specs-card.addresses-card,
    .specs-card.details-card,
    .specs-card.quick-access-card {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.2rem;
        padding: 0 20px;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .address-container {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .copy-btn {
        align-self: flex-end;
        min-width: 70px;
    }
    
    .detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .contract-address {
        font-size: 0.75rem;
    }
    
    .quick-btn {
        padding: 12px;
    }
    
    .card-body {
        padding: 20px;
    }
    
    .explorer-link {
        font-size: 0.85rem;
        padding: 8px 12px;
    }
}