/* Mint page specific styles */

.main-nav {
    margin-top: 15px;
}

.main-nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.main-nav a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.main-nav a.active {
    background-color: rgba(255, 255, 255, 0.3);
}

.minting-section {
    background-color: white;
    padding: 40px;
    margin: 40px 0;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.minting-section h2 {
    color: var(--secondary-color);
    margin-bottom: 30px;
    font-size: 2rem;
}

.nft-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.shirt-container {
    position: relative;
    width: 240px;
    height: 320px;
    margin: 0 auto 20px;
    perspective: 1000px;
}

.shirt {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: spin 10s linear infinite;
}

.front, .back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}

.back {
    transform: rotateY(180deg);
}

@keyframes spin {
    0% {transform: rotateY(0deg);}
    100% {transform: rotateY(360deg);}
}

.nft-details {
    background-color: var(--bg-color);
    padding: 20px;
    border-radius: 8px;
    max-width: 500px;
    margin: 0 auto 30px;
}

.nft-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin: 15px 0;
}

.price-eth {
    background-color: #627eea;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    margin-left: 10px;
}

.minting-details {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 30px 0;
}

.detail-item {
    background-color: var(--bg-color);
    padding: 15px;
    border-radius: 8px;
    width: 200px;
    margin: 10px;
    text-align: center;
}

.detail-label {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 5px;
}

.detail-value {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.mint-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 15px 40px;
    font-size: 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    margin-top: 20px;
    transition: all 0.3s ease;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    box-shadow: var(--button-shadow);
}

.mint-button:hover {
    background-color: var(--hover-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.mint-button:disabled {
    background-color: #999;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.mint-input {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.quantity-input {
    width: 60px;
    height: 40px;
    text-align: center;
    font-size: 1.2rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    margin: 0 10px;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    background-color: var(--bg-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quantity-btn:hover {
    background-color: #ddd;
}

.quantity-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    z-index: 1000;
    display: none;
}

.requirements {
    background-color: rgba(255, 245, 230, 0.95);
    padding: 15px;
    border-radius: 8px;
    margin: 20px auto;
    max-width: 500px;
    border: 1px solid #ffe0b2;
    text-align: left;
}

.requirements h4 {
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.requirements ul {
    margin-left: 20px;
}

.requirements li {
    margin-bottom: 5px;
}

.connect-wallet-btn {
    background-color: #333;
    margin-bottom: 20px;
}

.transaction-status {
    margin-top: 20px;
    padding: 10px;
    border-radius: 5px;
    background-color: #f8f9fa;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    min-height: 20px;
}

.status-pending {
    color: #f39c12;
    font-weight: bold;
}

.status-success {
    color: #2ecc71;
    font-weight: bold;
}

.status-error {
    color: #e74c3c;
    font-weight: bold;
}

.telegram-button {
    background-color: #0088cc;
}

.telegram-button:hover {
    background-color: #0077b3;
}

@media (max-width: 768px) {
    .minting-section {
        padding: 20px;
    }

    .detail-item {
        width: 45%;
        margin: 5px;
    }

    .mint-button {
        padding: 12px 25px;
        font-size: 1.2rem;
    }
}