#contact {
    padding: 100px 0;
    min-height: 100vh;
    position: relative;
    align-items: center;
    justify-content: center;
}

.contact .container {
    flex-direction: column;
    gap: 4rem;
    max-width: 800px;
    width: 100%;
    padding: 0 1rem;
}
.contact .glass-panel {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.contact-rules {
    max-height: none;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.rules-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-left: 4rem;
    position: relative;
}

.rules-header h2 {
    margin: 0;
    color: white;
    font-size: 1.8rem;
    flex: 1;
}

.toggle-btn {
    background: rgba(255, 255, 255, 0);
    border: 1px solid rgba(255, 255, 255, 0);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
    flex-shrink: 0;
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 10;
}

.toggle-btn:hover {
    background: rgba(57, 0, 1, 0.8);
}

.rules-content {
    max-height: none;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.rules-content.collapsed {
    max-height: 0;
    padding: 0;
    margin: 0;
}

.rules-content p,
.rules-content h4,
.rules-content ul {
    color: white;
    margin-bottom: 1rem;
}

.rules-content ul {
    padding-left: 1.5rem;
}

.rules-content li {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.rules-footer {
    margin-top: 1.5rem;
    text-align: center;
}

.oferta-btn {
    display: inline-block;
    background: rgb(57, 0, 1);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease;
    font-weight: bold;
}

.oferta-btn:hover {
    background: rgba(57, 0, 1, 0);
}

#contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: white;
}

.contact-content {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    justify-content: center;
    max-width: 100%;
}

.contact-info {
    flex: 1;
    text-align: center;
}

.contact-info h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-info p {
    color: white;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.contact-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    justify-content: center;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
    height: 40px;
    padding: 0 12px 0 0;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.btn-icon {
    height: 100%;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.btn-text {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .container {
        gap: 1.5rem;
        padding: 0 0.5rem;
    }

    .glass-panel {
        padding: 1.5rem;
    }

    .rules-header {
        padding-left: 3.5rem;
    }

    .toggle-btn {
        width: 28px;
        height: 28px;
        font-size: 1.2rem;
        top: 0.5rem;
        left: 0.5rem;
    }

    .rules-header h2 {
        font-size: 1.4rem;
    }

    #contact {
        padding: 60px 15px;
        min-height: auto;
    }

    #contact h2 {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 2rem;
    }

    .contact-content {
        flex-direction: column;
        gap: 1.5rem;
        justify-content: center;
        align-items: center;
    }

    .contact-info {
        flex: 1 1 100%;
        text-align: center;
    }

    .contact-info h3 {
        font-size: clamp(1.2rem, 4vw, 1.5rem);
    }

    .contact-info p {
        font-size: clamp(0.9rem, 3.5vw, 1.1rem);
    }

    .contact-buttons {
        flex-direction: column;
        gap: 8px;
        margin-top: 10px;
        justify-content: center;
        align-items: center;
    }

    .contact-btn {
        height: 48px;
        padding: 0 16px 0 0;
        font-size: 1rem;
    }

    .btn-icon {
        height: 100%;
        max-width: 28px;
    }

    .oferta-btn {
        width: 100%;
        text-align: center;
    }
}