﻿/* Club Links Page Styles */
.success-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    overflow: hidden;
}

    .success-container::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
        background-size: 20px 20px;
        animation: float 20s linear infinite;
        pointer-events: none;
    }

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(-20px, -20px) rotate(360deg);
    }
}

.success-message {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 600;
    color: white;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.4;
}

.links-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.product-link {
    display: flex;
    align-items: center;
    padding: 1.2rem 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

    .product-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
        transition: left 0.5s ease;
    }

    .product-link:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        border-color: #667eea;
        text-decoration: none;
        color: #333;
    }

        .product-link:hover::before {
            left: 100%;
        }

.product-info {
    flex: 1;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.3rem;
}

.product-description {
    font-size: 0.9rem;
    color: #718096;
    line-height: 1.4;
}

.no-links {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    border: 2px dashed #cbd5e0;
}

    .no-links p {
        margin: 0;
        color: #718096;
        font-size: 1rem;
    }

.btn-home {
    display: block;
    width: 100%;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.9);
    color: #667eea;
    text-align: center;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

    .btn-home:hover {
        background: white;
        color: #5a67d8;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
        border-color: #667eea;
        text-decoration: none;
    }

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .success-container {
        margin: 1rem;
        padding: 1.5rem;
        border-radius: 16px;
    }

    .success-message {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .product-link {
        padding: 1rem 1.2rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .product-title {
        font-size: 1rem;
    }

    .product-description {
        font-size: 0.85rem;
    }

    .btn-home {
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .success-container {
        margin: 0.5rem;
        padding: 1.2rem;
        border-radius: 12px;
    }

    .success-message {
        font-size: 1.1rem;
    }

    .links-container {
        gap: 0.8rem;
    }

    .product-link {
        padding: 0.9rem 1rem;
    }

    .btn-home {
        padding: 0.8rem 1.2rem;
    }
}

/* Адаптивность для очень маленьких экранов */
@media (max-width: 360px) {
    .success-container {
        margin: 0.3rem;
        padding: 1rem;
    }

    .success-message {
        font-size: 1rem;
    }

    .product-title {
        font-size: 0.95rem;
    }

    .product-description {
        font-size: 0.8rem;
    }
}

/* Поддержка темной темы */
@media (prefers-color-scheme: dark) {
    .product-link {
        background: rgba(45, 55, 72, 0.95);
        color: #e2e8f0;
    }

    .product-title {
        color: #f7fafc;
    }

    .product-description {
        color: #a0aec0;
    }

    .no-links {
        background: rgba(45, 55, 72, 0.9);
        border-color: #4a5568;
    }

        .no-links p {
            color: #a0aec0;
        }

    .btn-home {
        background: rgba(45, 55, 72, 0.9);
        color: #90cdf4;
    }

        .btn-home:hover {
            background: #2d3748;
            color: #63b3ed;
        }
}

/* Анимация появления */
.success-container {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Улучшенная доступность */
.product-link:focus {
    outline: 3px solid #667eea;
    outline-offset: 2px;
}

.btn-home:focus {
    outline: 3px solid #667eea;
    outline-offset: 2px;
}
